[][src]Trait ibc::ics02_client::state::ConsensusState

pub trait ConsensusState {
    type ValidationError: Error;
    fn client_type(&self) -> ClientType;
fn height(&self) -> Height;
fn root(&self) -> &CommitmentRoot;
fn validate_basic(&self) -> Result<(), Self::ValidationError>; }

Associated Types

Loading content...

Required methods

fn client_type(&self) -> ClientType

Type of client associated with this consensus state (eg. Tendermint)

fn height(&self) -> Height

Height of consensus state

fn root(&self) -> &CommitmentRoot

Commitment root of the consensus state, which is used for key-value pair verification.

fn validate_basic(&self) -> Result<(), Self::ValidationError>

Performs basic validation of the consensus state

Loading content...

Implementors

impl ConsensusState for ConsensusState[src]

Loading content...