# README
relay
package is a high level controller that implements whole mechanism of relaying a query
This high level logic is encapsulated in Relayer
struct
# Functions
No description provided by the author
No description provided by the author
NewErrSubmitTxProofCritical creates a new ErrSubmitTxProofCritical.
No description provided by the author
# Constants
Committed describes tx successfully committed into a block.
ErrorOnCommit describes error during commit operation.
ErrorOnSubmit describes error during submit operation.
Submitted describes successfully submitted tx (temporary status, should be eventually replaced with Committed or ErrorOnCommit).
TxHeight describes tendermint filter by tx.height that we use to get only actual txs.
# Structs
ErrSubmitTxProofCritical is an error type that represents errors critical for the Relayer.
MessageKV contains params of a KV interchain query.
MessageTX contains params of a TX interchain query.
PendingSubmittedTxInfo contains information about transaction which was submitted but has to be confirmed (committed or not).
Relayer is controller for the whole app: 1.
SubmittedTxInfo is a struct which contains status of fetched and submitted transaction.
Transaction represents single searched tx with height.
No description provided by the author
# Interfaces
ChainClient is a minimal interface for tendermint client.
KVProcessor processes event query KV type.
Storage is local storage we use to store queries history: known queries, know transactions and its statuses.
Submitter knows how to submit proof to the chain.
Subscriber is an interface that subscribes to Neutron and provides chain data in real time.
TrustedHeaderFetcher able to get trusted headers for a given height.
TXProcessor precesses transactions from a remote chain and sends them to the neutron.
TXQuerier fetches transactions from a remote chain with specified txFilter.
TxSubmitChecker runs in background and updates submitted tx statuses.
# Type aliases
No description provided by the author