Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Submitter ¶
type Submitter struct { Cfg *config.SubmitterConfig // contains filtered or unexported fields }
func New ¶
func New( cfg *config.SubmitterConfig, btcWallet btcclient.BTCWallet, queryClient query.BabylonQueryClient, submitterAddr sdk.AccAddress, retrySleepTime, maxRetrySleepTime time.Duration, metrics *metrics.SubmitterMetrics) (*Submitter, error)
func (*Submitter) ShuttingDown ¶
ShuttingDown returns whether the vigilante is currently in the process of shutting down or not.
func (*Submitter) Start ¶
func (s *Submitter) Start()
Start starts the goroutines necessary to manage a vigilante.
func (*Submitter) Stop ¶
func (s *Submitter) Stop()
Stop signals all vigilante goroutines to shutdown.
func (*Submitter) WaitForShutdown ¶
func (s *Submitter) WaitForShutdown()
WaitForShutdown blocks until all vigilante goroutines have finished executing.
Click to show internal directories.
Click to hide internal directories.