Function multi_validator_libp2p::infra::generate_transactions
source ยท fn generate_transactions<TYPES: NodeType<Transaction = TestTransaction>>(
node_index: u64,
rounds: usize,
transactions_to_send_per_round: usize,
transaction_size: usize,
) -> Vec<TestTransaction>where
<TYPES as NodeType>::ValidatedState: TestableState<TYPES>,
<TYPES as NodeType>::BlockPayload: TestableBlock<TYPES>,
Expand description
Helper function to generate transactions a given node should send