Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBridgeDaemonTaskLoop ¶
func RunBridgeDaemonTaskLoop( ctx context.Context, logger log.Logger, ethClient types.EthClient, queryClient bridgetypes.QueryClient, serviceClient api.BridgeServiceClient, ) error
RunBridgeDaemonTaskLoop does the following: 1) Fetches configuration information by querying the gRPC server. 2) Fetches Ethereum events from a configured Ethereum client. 3) Sends newly-recognized bridge events to the gRPC server.
func Start ¶
func Start( ctx context.Context, flags daemonflags.DaemonFlags, appFlags appflags.Flags, logger log.Logger, grpcClient daemontypes.GrpcClient, ) error
Start begins a job that periodically runs the RunBridgeDaemonTaskLoop function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.