Module blockchain

Source
Expand description

Blockchain

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

Re-exportsยง

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

Modulesยง

chain_service ๐Ÿ”’
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.