Expand description

Implements storage primitives required by the chain

Structs

An atomic batch in which all changes can be committed all at once or discarded on error.

All chain-related database operations

An iterator on blocks, from latest to earliest, specialized to return information pertaining to block difficulty calculation (timestamp and previous difficulties). It searches for blocks with the same type as the head PoWType. Mostly used by the consensus next difficulty calculation.

An iterator on blocks, from latest to earliest, specialized to return information pertaining to block difficulty calculation (timestamp and previous difficulties). It gets blocks regardless of the head’s PoWType. Mostly used by uptading the TUI stats.