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§
Sourcefn set_basic_info(&mut self, info: BlockInfo)
fn set_basic_info(&mut self, info: BlockInfo)
Sets the basic block info.
Sourcefn set_app_hash(&mut self, hash: [u8; 32])
fn set_app_hash(&mut self, hash: [u8; 32])
Sets the app hash.
Sourcefn set_quorum_hash(&mut self, hash: [u8; 32])
fn set_quorum_hash(&mut self, hash: [u8; 32])
Sets the quorum hash.
Sourcefn set_signature(&mut self, signature: [u8; 96])
fn set_signature(&mut self, signature: [u8; 96])
Sets the signature.