Expand description
Blocks within the chains of a Tendermint network
Re-exports§
pub use self::header::Header;
pub use self::commit_sig::*;
Modules§
- CommitSig within Commit
- Block headers
- Block parts
- SignedHeader contains commit and and block header. It is what the rpc endpoint /commit returns and hence can be used by a light client.
Structs§
- Blocks consist of a header, transactions, votes (the commit), and a list of evidence of malfeasance (i.e. signing conflicting votes).
- 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
- Block height for a particular chain (i.e. number of blocks created since the chain began)
- Block identifiers which contain two distinct Merkle roots of the block, as well as the number of parts in the block.
- Block metadata - Todo: implement constructor and getters
- Block round for a particular chain
- Block size parameters
Enums§
- Indicates whether the validator voted for a block, nil, or did not vote at all
Traits§
- Parse
block::Height
from a type - Parse
block::Id
from a type