vertex

package
v1.4.8-rc.7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMeterVM

func NewMeterVM(vm vertex.DAGVM) vertex.DAGVM

Types

type MeterVM

type MeterVM struct {
	vertex.DAGVM
	// contains filtered or unexported fields
}

func (*MeterVM) GetTx

func (vm *MeterVM) GetTx(txID ids.ID) (snowstorm.Tx, error)

func (*MeterVM) Initialize

func (vm *MeterVM) Initialize(
	ctx *snow.Context,
	db manager.Manager,
	genesisBytes,
	upgradeBytes,
	configBytes []byte,
	toEngine chan<- common.Message,
	fxs []*common.Fx,
) error

func (*MeterVM) ParseTx

func (vm *MeterVM) ParseTx(b []byte) (snowstorm.Tx, error)

func (*MeterVM) PendingTxs

func (vm *MeterVM) PendingTxs() []snowstorm.Tx

Jump to

Keyboard shortcuts

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