Expand description
Abstraction over the contents of a block
This module provides the Transaction
, BlockPayload
, and BlockHeader
traits, which
describe the behaviors that a block is expected to have.
Structs§
- Builder
Fee - Information about builder fee for proposed block
Constants§
- GENESIS_
VID_ NUM_ STORAGE_ NODES - The number of storage nodes to use when computing the genesis VID commitment.
Traits§
- Block
Header - Header of a block, which commits to a
BlockPayload
. - Block
Payload - Abstraction over the full contents of a block
- Encode
Bytes - Trait for structures that need to be unambiguously encoded as bytes.
- Testable
Block - extra functions required on block to be usable by hotshot-testing
- Transaction
- Abstraction over any type of transaction. Used by
BlockPayload
.