Crate grin_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.
  • Set of static definitions for all parameters related to PIBD and Desegmentation Note these are for experimentation via compilation, not meant to be exposed as configuration parameters anywhere
  • 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.

Enums§

  • Chain error definitions

Constants§