Function hotshot_testing::block_builder::build_block
source · async fn build_block<TYPES: NodeType>(
transactions: Vec<TYPES::Transaction>,
num_storage_nodes: usize,
pub_key: TYPES::BuilderSignatureKey,
priv_key: <TYPES::BuilderSignatureKey as BuilderSignatureKey>::BuilderPrivateKey
) -> BlockEntry<TYPES>
Expand description
Helper function to construct all builder data structures from a list of transactions