package
0.0.0-20230801020109-22ee8c03b0ae
Repository: https://github.com/mapdev33/yui-relayer.git
Documentation: pkg.go.dev

# Functions

CreateChannel runs the channel creation messages on timeout until they pass TODO: add max retries or something to this function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenPath generates a path with random client, connection and channel identifiers given chainIDs and portIDs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewChainProverConfig returns a new config instance.
No description provided by the author
NewProvableChain returns a new ProvableChain instance.
NewRelayMsgs returns an initialized version of relay messages.
NewRelayService returns a new service.
NewSyncHeaders returns a new instance of SyncHeadersI that can be easily kept "reasonably up to date".
OrderFromString parses a string into a channel order byte.
QueryChannelPair returns a pair of channel responses.
QueryClientConsensusStatePair allows for the querying of multiple client states at the same time.
QueryClientStatePair returns a pair of connection responses.
QueryConnectionPair returns a pair of connection responses.
RandLowerCaseLetterString returns a lowercase letter string of given length.
RunStrategy runs a given strategy.
No description provided by the author
StartService starts a relay service.
No description provided by the author
UpdatesWithHeaders calls UpdateLightWithHeader on the passed chains concurrently.

# Constants

TODO make it to be configurable.

# Structs

ChainProverConfig defines the top level configuration for a chain instance.
NaiveStrategy is an implementation of Strategy.
Path represents a pair of chains and the identifiers needed to relay over them.
No description provided by the author
PathEnd represents the local connection identifers for a relay path The path is set on the chain before performing operations.
PathStatus holds the status of the primatives in the path.
PathWithStatus is used for showing the status of the path.
ProvableChain represents a chain that is supported by the relayer.
RelayMsgs contains the msgs that need to be sent to both a src and dst chain after a given relay round.
RelaySequences represents unrelayed packets on src and dst.
No description provided by the author
StrategyCfg defines which relaying strategy to take for a given path.

# Interfaces

ChainConfigI defines a chain configuration and its builder.
ChainI represents a chain that supports sending transactions and querying the state.
No description provided by the author
IBCProvableQuerierI is an interface to the state of IBC and its proof.
IBCQuerierI is an interface to the state of IBC.
LightClientI is an interface to the light client.
LightClientIBCQueryierI is LightClientI + IBCQuerierI.
ProverConfigI defines a prover configuration and its builder.
ProverI represents a prover that supports generating a commitment proof.
StrategyI defines.
No description provided by the author

# Type aliases

Paths represent connection paths between chains.