Documentation
¶
Index ¶
Constants ¶
View Source
const NumTxnsToBatchExecute = 10 // TODO: Make this configurable
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proposer ¶
type Proposer interface {
ProposalInit() (types.ProposalInit, error)
// Blocks until BlockInfo is ready, then returns it.
BlockInfo(ctx context.Context) (types.BlockInfo, bool)
// Returns a channel that emits transaction batches (can emit multiple times).
Txns(ctx context.Context) <-chan []types.Transaction
// Blocks until the proposal commitment is ready or context is cancelled.
ProposalCommitment() (types.ProposalCommitment, error)
ProposalFin() (types.ProposalFin, error)
}
Click to show internal directories.
Click to hide internal directories.