Trait VersionedBlockPayload

Source
pub trait VersionedBlockPayload {
    // Required methods
    fn height(&self) -> &BlockHeight;
    fn consensus_header(&self) -> &ConsensusHeader<Empty>;
    fn application_header(&self) -> &ApplicationHeader<Empty>;
    fn registrations(&self) -> &RegistrationsPerTable;
    fn transactions(&self) -> Vec<CompressedTransaction>;
    fn partial_block_header(&self) -> PartialBlockHeader;
}
Expand description

A compressed block payload MUST implement this trait It is used to provide a convenient interface for usage within compression

Required Methods§

Implementors§