Skip to main content

Module chain

Module chain 

Source
Expand description

Chain implements a single non-finalized blockchain, starting at the finalized tip.

Modulesยง

index
Transparent address indexes for non-finalized chains.

Structsยง

Chain
A single non-finalized partial chain, from the child of the finalized tip, to a non-finalized chain tip.
ChainInner
The internal state of Chain.

Enumsยง

RevertPosition ๐Ÿ”’
The revert position being performed on a chain.

Traitsยง

UpdateWith ๐Ÿ”’
Helper trait to organize inverse operations done on the Chain type.

Functionsยง

insert_within_limit ๐Ÿ”’
Inserts key and value into map, then removes its last entry if it has more than limit entries.
rebase_map ๐Ÿ”’
Returns base without the removed keys, and with the added keys and their values in own.
solution_size ๐Ÿ”’
Returns the serialized length of blockโ€™s Equihash solution, including its length prefix.

Type Aliasesยง

SpendingTransactionId ๐Ÿ”’
Spending transaction id type when the indexer feature is selected.