build_block

Function build_block 

Source
async fn build_block<TYPES: NodeType>(
    transactions: Vec<TYPES::Transaction>,
    pub_key: TYPES::BuilderSignatureKey,
    priv_key: <TYPES::BuilderSignatureKey as BuilderSignatureKey>::BuilderPrivateKey,
) -> BlockEntry<TYPES>
where <TYPES as NodeType>::InstanceState: Default,
Expand description

Helper function to construct all builder data structures from a list of transactions