batchservice

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Interface

type Interface interface {
	voucher.EventUpdater
}

func New

func New(
	stateStore storage.StateStorer,
	storer voucher.Storer,
	logger log.Logger,
	listener voucher.Listener,
	owner []byte,
	batchListener voucher.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