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.Client, babylonClient *babylonclient.Client) (*Submitter, error)
func (*Submitter) GetBabylonClient ¶
func (s *Submitter) GetBabylonClient() (*babylonclient.Client, error)
func (*Submitter) MustGetBabylonClient ¶
func (s *Submitter) MustGetBabylonClient() *babylonclient.Client
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.