Trait hotshot_types::traits::block_contents::TestableBlock
source · pub trait TestableBlock<TYPES: NodeType>: BlockPayload<TYPES> + Debug {
// Required methods
fn genesis() -> Self;
fn txn_count(&self) -> u64;
}
Expand description
extra functions required on block to be usable by hotshot-testing
Required Methods§
Object Safety§
This trait is not object safe.