Crate aigc_chain

source ·
Expand description

The block chain itself, validates and accepts new blocks, handles reorgs.

Re-exports

Modules

  • Implements “linked list” storage primitive for lmdb index supporting multiple entries.
  • Implementation of the chain block acceptance (or refusal) pipeline.
  • Implements storage primitives required by the chain
  • Utility structs to handle the 3 hashtrees (output, range proof, kernel) more conveniently and transactionally.
  • Base types that the block chain pipeline requires.

Structs

  • Facade to the blockchain block processing pipeline and storage. Provides the current view of the TxHashSet according to the chain state. Also maintains locking for the pipeline to avoid conflicting processing.
  • Error definition

Enums

Constants