cuprated::rpc::request::blockchain_context

Function calculate_pow

Source
pub(crate) async fn calculate_pow(
    blockchain_context: &mut BlockChainContextService,
    hardfork: HardFork,
    height: u64,
    block: Box<Block>,
    seed_hash: [u8; 32],
) -> Result<[u8; 32], Error>
Expand description