avm

package
v0.0.0-...-b0be35d Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: BSD-3-Clause Imports: 27 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

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

func NewWriter

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

func (*Writer) Bootstrap

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

func (*Writer) Consume

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

func (*Writer) ConsumeConsensus

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

func (*Writer) Name

func (*Writer) Name() string

func (*Writer) ParseJSON

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

Jump to

Keyboard shortcuts

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