[−][src]Struct tendermint::block::header::Header
Block Header
values contain metadata about the block and about the
consensus, as well as commitments to the data in the current block, the
previous block, and the results returned by the application.
https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/blockchain.md#header
Fields
version: Version
Header version
chain_id: Id
Chain ID
height: Height
Current block height
time: Time
Current timestamp
num_txs: u64
Number of transactions in block
total_txs: u64
Total number of transactions
last_block_id: Id
Previous block info
last_commit_hash: Hash
Commit from validators from the last block
data_hash: Hash
Merkle root of transaction hashes
validators_hash: Hash
Validators for the current block
next_validators_hash: Hash
Validators for the next block
consensus_hash: Hash
Consensus params for the current block
app_hash: Hash
State after txs from the previous block
last_results_hash: Hash
Root hash of all results from the txs from the previous block
evidence_hash: Hash
Hash of evidence included in the block
proposer_address: Id
Original proposer of the block
Trait Implementations
impl Clone for Header
[src]
impl Debug for Header
[src]
impl Serialize for Header
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Header
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
impl RefUnwindSafe for Header
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Typeable for T where
T: Any,
T: Any,