Skip to main content

block_answer_of

Function block_answer_of 

Source
pub fn block_answer_of(
    quorum_hash: [u8; 32],
    header: Header,
    transactions: &[TestTransaction],
) -> Block
Expand description

The block an honest node returns from getBlocks when asked to prove the block of header, which holds transactions, signed by the test quorum quorum_hash. Start from header_of to give the block another protocol version or Core height.