Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppContext = "app" SubscriberContext = "subscriber" RelayerContext = "relayer" TargetChainRPCClientContext = "target_chain_rpc" NeutronChainRPCClientContext = "neutron_chain_rpc" TargetChainProviderContext = "target_chain_provider" NeutronChainProviderContext = "neutron_chain_provider" TxSenderContext = "tx_sender" TxProcessorContext = "tx_processor" TxSubmitCheckerContext = "tx_submit_checker" TrustedHeadersFetcherContext = "trusted_headers_fetcher" KVProcessorContext = "kv_processor" )
Variables ¶
View Source
var ( Version string = "" Commit string = "" )
Functions ¶
func NewDefaultRelayer ¶
func NewDefaultRelayer( ctx context.Context, cfg config.NeutronQueryRelayerConfig, logRegistry *nlogger.Registry, ) (*relay.Relayer, error)
NewDefaultRelayer returns a relayer built with cfg.
func NewDefaultSubscriber ¶
func NewDefaultSubscriber(cfg config.NeutronQueryRelayerConfig, logRegistry *nlogger.Registry) (relay.Subscriber, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.