ExtendedBlockInfoV0Setters

Trait ExtendedBlockInfoV0Setters 

Source
pub trait ExtendedBlockInfoV0Setters {
    // Required methods
    fn set_basic_info(&mut self, info: BlockInfo);
    fn set_app_hash(&mut self, hash: [u8; 32]);
    fn set_quorum_hash(&mut self, hash: [u8; 32]);
    fn set_signature(&mut self, signature: [u8; 96]);
    fn set_round(&mut self, round: u32);
}
Expand description

Trait for setting values in ExtendedBlockInfoV0

Required Methods§

Source

fn set_basic_info(&mut self, info: BlockInfo)

Sets the basic block info.

Source

fn set_app_hash(&mut self, hash: [u8; 32])

Sets the app hash.

Source

fn set_quorum_hash(&mut self, hash: [u8; 32])

Sets the quorum hash.

Source

fn set_signature(&mut self, signature: [u8; 96])

Sets the signature.

Source

fn set_round(&mut self, round: u32)

Sets the round.

Implementors§