builder

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

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