Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoTransactions = errors.New("no transactions")
)
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface {
// WaitForEvent waits until there is at least one tx available to the
// builder.
WaitForEvent(ctx context.Context) (consensuscore.Message, error)
// BuildBlock can be called to attempt to create a new block
BuildBlock(context.Context) (chainblock.Block, error)
}
Click to show internal directories.
Click to hide internal directories.