Crate dlc_trie

source ·
Expand description

Dlc-trie

Package for storing and retrieving DLC data using tries.

Modules

Combination Iterator
Utility functions to decompose numeric outcome values
DigitTrie
Utility functions to compute outcome combinations to work with multi oracle DLC.
MultiOracleTrie
MultiOracleTrieWithDiff
Data structure and functions to create, insert, lookup and iterate a trie of trie.

Structs

Structure containing a reference to a looked-up value and the path at which it was found.
Information about the base and number of digits used by the oracle.
Structure that stores the indexes at which the CET and adaptor signature related to a given outcome are located in CET and adaptor signatures arrays respectively.
Holds information provided when iterating a DlcTrie.

Enums

Enum representing the different type of nodes in a tree

Traits

A common trait for trie data structures that store DLC adaptor signature information.