cuprated::rpc::request::blockchain_manager

Function generate_blocks

Source
pub(crate) async fn generate_blocks(
    blockchain_manager: &mut DatabaseReadService<BlockchainManagerRequest, BlockchainManagerResponse>,
    amount_of_blocks: u64,
    prev_block: [u8; 32],
    starting_nonce: u32,
    wallet_address: String,
) -> Result<(Vec<[u8; 32]>, u64), Error>
Expand description