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

builder

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: BSD-3-Clause Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const MaxTxsPerBlock = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	SetPreference(preferred ids.ID)
	AddTx(ctx context.Context, tx *tx.Tx) error
	WaitForEvent(ctx context.Context) (vmcore.Message, error)
	BuildBlock(ctx context.Context, blockContext *runtime.Runtime) (chain.Block, error)
}

func New

func New(chainRuntime *runtime.Runtime, chain chain.Chain) Builder

Jump to

Keyboard shortcuts

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