pub trait Settings {
    type Block: Block;
    fn tip(&self) -> <Self::Block as Block>::Id;
fn chain_length(&self) -> <Self::Block as Block>::ChainLength;
fn max_number_of_transactions_per_block(&self) -> u32;
fn block_version(&self) -> <Self::Block as Block>::Version; }
Expand description

the settings of the blockchain this is something that can be used to maintain the blockchain protocol update details:

Associated Types

Required methods

return the tip of the current branch

the current chain_length

the number of transactions in a block

the block version format

Implementors