Help us shape the future of Go! Take the 2026 Go Developer Survey

execute

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QuorumNumerator   = 2
	QuorumDenominator = 3
)

Variables

This section is empty.

Functions

func Block

func Block(
	ctx context.Context,
	chainRuntime *runtime.Runtime,
	db database.KeyValueReaderWriterDeleter,
	skipVerify bool,
	blockContext *runtime.Runtime,
	blk *xsblock.Stateless,
) error

func ExpectsContext

func ExpectsContext(blk *block.Stateless) (bool, error)

Types

type Tx

type Tx struct {
	Context  context.Context
	Runtime  *runtime.Runtime
	Database database.KeyValueReaderWriterDeleter

	SkipVerify   bool
	BlockContext *runtime.Runtime

	TxID        ids.ID
	Sender      ids.ShortID
	TransferFee uint64
	ExportFee   uint64
	ImportFee   uint64
}

func (*Tx) Export

func (t *Tx) Export(e *tx.Export) error

func (*Tx) Import

func (t *Tx) Import(i *tx.Import) error

func (*Tx) Transfer

func (t *Tx) Transfer(tf *tx.Transfer) error

type TxExpectsContext

type TxExpectsContext struct {
	Result bool
}

func (*TxExpectsContext) Export

func (*TxExpectsContext) Export(*tx.Export) error

func (*TxExpectsContext) Import

func (t *TxExpectsContext) Import(*tx.Import) error

func (*TxExpectsContext) Transfer

func (*TxExpectsContext) Transfer(*tx.Transfer) error

Jump to

Keyboard shortcuts

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