Type Alias LightClientState

Source
pub type LightClientState = GenericLightClientState<CircuitField>;
Expand description

Concrete type for light client state

Aliased Type§

struct LightClientState {
    pub view_number: u64,
    pub block_height: u64,
    pub block_comm_root: Fp<MontBackend<FrConfig, 4>, 4>,
}

Fields§

§view_number: u64

Current view number

§block_height: u64

Current block height

§block_comm_root: Fp<MontBackend<FrConfig, 4>, 4>

Root of the block commitment tree