avm

package
Version: v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIncorrectGenesisChainTxType = errors.New("incorrect genesis chain tx type")
)

Functions

This section is empty.

Types

type Writer added in v1.1.0

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

func NewWriter added in v1.1.0

func NewWriter(networkID uint32, chainID string) (*Writer, error)

func (*Writer) Bootstrap added in v1.1.0

func (w *Writer) Bootstrap(ctx context.Context, conns *servicesconn.Connections, persist idb.Persist) error

func (*Writer) Consume added in v1.1.0

func (w *Writer) Consume(ctx context.Context, conns *servicesconn.Connections, i services.Consumable, persist idb.Persist) error

func (*Writer) ConsumeConsensus added in v1.1.2

func (w *Writer) ConsumeConsensus(ctx context.Context, conns *servicesconn.Connections, c services.Consumable, persist idb.Persist) error

func (*Writer) Name added in v1.1.0

func (*Writer) Name() string

func (*Writer) ParseJSON added in v1.2.0

func (w *Writer) ParseJSON(txBytes []byte) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL