Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct { *task.Task // Finalized interactions Output chan int // contains filtered or unexported fields }
Periodically gets the current network height from warp's GW and confirms bundle is FINALIZED
func NewChecker ¶
Receives bundles that can be checked in bundlr
func (*Checker) WithInputChannel ¶
func (*Checker) WithMonitor ¶
func (self *Checker) WithMonitor(monitor monitoring.Monitor) *Checker
type Controller ¶
func NewController ¶
func NewController(config *config.Config) (self *Controller, err error)
Main class that orchestrates everything
type Poller ¶
Periodically gets the current network height from warp's GW and confirms bundle is FINALIZED
func (*Poller) WithMonitor ¶
func (self *Poller) WithMonitor(monitor monitoring.Monitor) *Poller
func (*Poller) WithNetworkMonitor ¶
func (self *Poller) WithNetworkMonitor(v *listener.NetworkMonitor) *Poller
type Store ¶
Periodically saves the states SinkTask handles caching data and periodically calling flush function
func (*Store) WithInputChannel ¶
func (*Store) WithMonitor ¶
func (self *Store) WithMonitor(monitor monitoring.Monitor) *Store
Click to show internal directories.
Click to hide internal directories.