Struct tendermint::block::Commit [−][src]
pub struct Commit { pub height: Height, pub round: Round, pub block_id: Id, pub signatures: Vec<CommitSig>, }
Expand description
Commit contains the justification (ie. a set of signatures) that a block was committed by a set of validators. TODO: Update links below! https://github.com/tendermint/tendermint/blob/51dc810d041eaac78320adc6d53ad8b160b06601/types/block.go#L486-L502 https://github.com/tendermint/spec/blob/d46cd7f573a2c6a2399fcab2cde981330aa63f37/spec/core/data_structures.md#lastcommit
Fields
height: Height
Block height
round: Round
Round
block_id: Id
Block ID
signatures: Vec<CommitSig>
Signatures
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Commit
impl UnwindSafe for Commit
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V