Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArweaveFetcher ¶ added in v0.1.217
type ArweaveFetcher struct {
*task.Task
Output chan *Payload
// contains filtered or unexported fields
}
Gets L1 (Arweave) interactions from the DB in batches Fills in last_sort_key for each interaction before emiting to the output channel
func NewArweaveFetcher ¶ added in v0.1.217
func NewArweaveFetcher(config *config.Config) (self *ArweaveFetcher)
func (*ArweaveFetcher) WithDB ¶ added in v0.1.217
func (self *ArweaveFetcher) WithDB(db *gorm.DB) *ArweaveFetcher
func (*ArweaveFetcher) WithInputChannel ¶ added in v0.1.217
func (self *ArweaveFetcher) WithInputChannel(input chan uint64) *ArweaveFetcher
func (*ArweaveFetcher) WithMonitor ¶ added in v0.1.217
func (self *ArweaveFetcher) WithMonitor(monitor monitoring.Monitor) *ArweaveFetcher
type Controller ¶
func NewController ¶
func NewController(config *config.Config) (self *Controller, err error)
type InteractionStreamer ¶ added in v0.1.217
type InteractionStreamer struct {
*task.Task
// Current Syncer's block height
Output chan *Payload
// contains filtered or unexported fields
}
Produces current syncer's height
func NewInteractionStreamer ¶ added in v0.1.217
func NewInteractionStreamer(config *config.Config) (self *InteractionStreamer)
func (*InteractionStreamer) WithMonitor ¶ added in v0.1.217
func (self *InteractionStreamer) WithMonitor(monitor monitoring.Monitor) *InteractionStreamer
type Payload ¶ added in v0.1.217
type Payload struct {
First bool
Last bool
Interaction *model.Interaction
}
type Sequencer ¶
type Sequencer struct {
*task.Task
// Current Syncer's block height
Output chan uint64
// contains filtered or unexported fields
}
Produces current syncer's height
func NewSequencer ¶
func (*Sequencer) WithMonitor ¶
func (self *Sequencer) WithMonitor(monitor monitoring.Monitor) *Sequencer
Click to show internal directories.
Click to hide internal directories.