avm

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const MaxCodecSize = 100_000_000

Variables

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

Functions

This section is empty.

Types

type Reader added in v1.1.0

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

func NewReader added in v1.1.0

func NewReader(conns *services.Connections) *Reader

func (*Reader) GetAsset added in v1.1.0

func (r *Reader) GetAsset(ctx context.Context, p *params.ListAssetsParams, idStrOrAlias string) (*models.Asset, error)

func (*Reader) ListAssets added in v1.1.0

func (r *Reader) ListAssets(ctx context.Context, p *params.ListAssetsParams) (*models.AssetList, error)

type Writer added in v1.1.0

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

func NewWriter added in v1.1.0

func NewWriter(conns *services.Connections, networkID uint32, chainID string) (*Writer, error)

func (*Writer) Bootstrap added in v1.1.0

func (w *Writer) Bootstrap(ctx context.Context) error

func (*Writer) Consume added in v1.1.0

func (w *Writer) Consume(i services.Consumable) error

func (*Writer) ConsumeConsensus added in v1.1.2

func (w *Writer) ConsumeConsensus(c services.Consumable) error

func (*Writer) Name added in v1.1.0

func (*Writer) Name() string

Jump to

Keyboard shortcuts

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