Function hotshot_testing::block_builder::build_block

source ยท
async fn build_block<TYPES: NodeType>(
    transactions: Vec<TYPES::Transaction>,
    num_storage_nodes: Arc<RwLock<usize>>,
    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