Module blockchain

Source
Expand description

Blockchain

Contains the blockchain manager, syncer and an interface to mutate the blockchain.

Re-exports§

pub use fast_sync::set_fast_sync_hashes;
pub use manager::init_blockchain_manager;
pub use types::ConsensusBlockchainReadHandle;

Modules§

chain_service 🔒
fast_sync 🔒
interface
The blockchain manager interface.
manager 🔒
syncer 🔒
types 🔒

Functions§

check_add_genesis
Checks if the genesis block is in the blockchain and adds it if not.
init_consensus
Initializes the consensus services.