processor

package
v1.0.5-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(o ProcessorOpts) *Processor

func (*Processor) ProcessBlock

func (p *Processor) ProcessBlock(ctx context.Context, blockNumber uint64) error

type ProcessorOpts

type ProcessorOpts struct {
	Cache cache.Cache
	DB    db.DB
	Chain chain.Chain
	Pub   pub.Pub
	Logg  *slog.Logger
	Stats *stats.Stats
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL