package
0.5.0
Repository: https://github.com/bianjieai/tibc-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.
GetProcessedTime gets the time (in nanoseconds) at which this chain received and processed a tendermint header.
IterateConsensusStateAscending iterates through the consensus states in ascending order.
IterateProcessedTime iterates through the prefix store and applies the callback.
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.
ProcessedTimeKey returns the key under which the processed time will be stored in the client store.
RegisterInterfaces registers the tendermint concrete client-related implementations and interfaces.
SetIterationKey stores the consensus state key under a key that is more efficient for ordered iteration.
SetProcessedTime stores the time at which a header was processed and the corresponding consensus state was created.

# Constants

No description provided by the author

# Variables

DefaultTrustLevel is the tendermint light client default trust level.
TIBC tendermint client sentinel errors.
No description provided by the author
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
No description provided by the author
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
TIBC tendermint client sentinel errors.
No description provided by the author
KeyProcessedTime is appended to consensus state key to store the processed time.
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.