batchservice

package
v1.10.0-rc15 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: BSD-3-Clause Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterruped = errors.New("postage sync interrupted")
View Source
var ErrZeroValueBatch = errors.New("low balance batch")

Functions

This section is empty.

Types

type Interface

type Interface interface {
	postage.EventUpdater
}

func New

func New(
	stateStore storage.StateStorer,
	storer postage.Storer,
	logger log.Logger,
	listener postage.Listener,
	owner []byte,
	batchListener postage.BatchEventListener,
	checksumFunc func() hash.Hash,
	resync bool,
) (Interface, error)

New will create a new BatchService.

Jump to

Keyboard shortcuts

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