[−][src]Struct abci::types::Header
Fields
version: Option<Version>
Version of the blockchain and the application
chain_id: String
ID of the blockchain
height: i64
Height of the block in the chain
time: Option<Duration>
Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in
the block.last_commit
. For height == 1, it's genesis time. (duration since epoch)
num_txs: i64
Number of transactions in the block
total_txs: i64
Total number of transactions in the blockchain until now
last_block_id: Option<BlockId>
Hash of the previous (parent) block
last_commit_hash: Vec<u8>
Hash of the previous block's commit
data_hash: Vec<u8>
Hash if data in the block
validators_hash: Vec<u8>
Hash of the validator set for this block
next_validators_hash: Vec<u8>
Hash of the validator set for the next block
consensus_hash: Vec<u8>
Hash of the consensus parameters for this block
app_hash: Vec<u8>
Data returned by the last call to Commit
- typically the Merkle root of the application state after executing
the previous block's transactions
last_results_hash: Vec<u8>
Hash of the ABCI results returned by the last block
evidence_hash: Vec<u8>
Hash of the evidence included in this block
proposer_address: Vec<u8>
Original proposer for the block
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,