tendermint 0.10.1

Tendermint is a high-performance blockchain consensus engine that powers Byzantine fault tolerant applications written in any programming language. This crate provides core types for representing information about Tendermint blockchain networks, including chain information types, secret connections, and remote procedure calls (JSONRPC).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Block metadata

use super::{Header, Id};
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

/// Block metadata
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Clone, Debug)]
pub struct Meta {
    /// ID of the block
    pub block_id: Id,

    /// Header of the block
    pub header: Header,
}