Struct tendermint::genesis::Genesis [−][src]
pub struct Genesis<AppState = Value> {
pub genesis_time: Time,
pub chain_id: Id,
pub initial_height: i64,
pub consensus_params: Params,
pub validators: Vec<Info>,
pub app_hash: Vec<u8>,
pub app_state: AppState,
}
Expand description
Genesis data
Fields
genesis_time: Time
Time of genesis
chain_id: Id
Chain ID
initial_height: i64
Starting height of the blockchain
consensus_params: Params
Consensus parameters
validators: Vec<Info>
Validators
app_hash: Vec<u8>
App hash
app_state: AppState
App state
Trait Implementations
impl<'de, AppState> Deserialize<'de> for Genesis<AppState> where
AppState: Deserialize<'de>,
AppState: Default,
impl<'de, AppState> Deserialize<'de> for Genesis<AppState> where
AppState: Deserialize<'de>,
AppState: Default,
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<AppState> RefUnwindSafe for Genesis<AppState> where
AppState: RefUnwindSafe,
impl<AppState> UnwindSafe for Genesis<AppState> where
AppState: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more