builder

package
v1.11.3-test-height-in... Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-3-Clause Imports: 12 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
	BuildBlock(ctx context.Context, blockContext *smblock.Context) (chain.Block, error)
}

func New

func New(chainContext *snow.Context, engineChan chan<- common.Message, chain chain.Chain) Builder

Jump to

Keyboard shortcuts

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