cuprated::blockchain

Function check_add_genesis

Source
pub async fn check_add_genesis(
    blockchain_read_handle: &mut BlockchainReadHandle,
    blockchain_write_handle: &mut BlockchainWriteHandle,
    network: Network,
)
Expand description

Checks if the genesis block is in the blockchain and adds it if not.