package
0.0.1
Repository: https://github.com/golang88/ibc-go.git
Documentation: pkg.go.dev

# Functions

GetConsensusState retrieves the consensus state from the client prefixed store.
GetHeightFromIterationKey takes an iteration key and returns the height that it references.
GetIterationKey returns the consensus state key stored under the efficient iteration key.
GetNextConsensusState returns the lowest consensus state that is larger than the given height.
GetPreviousConsensusState returns the highest consensus state that is lower than the given height.
GetProcessedHeight gets the height at which this chain received and processed a tendermint header.
GetProcessedTime gets the time (in nanoseconds) at which this chain received and processed a tendermint header.
IsMatchingClientState returns true if all the client state parameters match except for frozen height, latest height, and chain-id.
IterateConsensusMetadata iterates through the prefix store and applies the callback.
IterateConsensusStateAscending iterates through the consensus states in ascending order.
IterationKey returns the key under which the consensus state key will be stored.
NewClientState creates a new ClientState instance.
NewConsensusState creates a new ConsensusState instance.
NewFractionFromTm returns a new Fraction instance from a tmmath.Fraction.
NewMisbehaviour creates a new Misbehaviour instance.
ProcessedHeightKey returns the key under which the processed height will be stored in the client store.
ProcessedTimeKey returns the key under which the processed time will be stored in the client store.
PruneAllExpiredConsensusStates iterates over all consensus states for a given client store.
RegisterInterfaces registers the tendermint concrete client-related implementations and interfaces.
SetConsensusState stores the consensus state at the given height.
SetIterationKey stores the consensus state key under a key that is more efficient for ordered iteration.
SetProcessedHeight stores the height at which a header was processed and the corresponding consensus state was created.
SetProcessedTime stores the time at which a header was processed and the corresponding consensus state was created.

# Constants

No description provided by the author
No description provided by the author

# Variables

DefaultTrustLevel is the tendermint light client default trust level.
IBC tendermint client sentinel errors.
No description provided by the author
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
No description provided by the author
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
IBC tendermint client sentinel errors.
No description provided by the author
Use the same FrozenHeight for all misbehaviour.
KeyIteration stores the key mapping to consensus state key for efficient iteration.
KeyProcessedHeight is appended to consensus state key to store the processed height.
KeyProcessedTime is appended to consensus state key to store the processed time.

# Structs

ClientState from Tendermint tracks the current validator set, latest height, and a possible frozen height.
ConsensusState defines the consensus state from Tendermint.
Fraction defines the protobuf message type for tmmath.Fraction that only supports positive values.
Header defines the Tendermint client consensus Header.
Misbehaviour is a wrapper over two conflicting Headers that implements Misbehaviour interface expected by ICS-02.