Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCantIssueAdvanceTimeTx = errors.New("can not issue an advance time tx") ErrCantIssueRewardValidatorTx = errors.New("can not issue a reward validator tx") )
Functions ¶
This section is empty.
Types ¶
type Mempool ¶
type Mempool interface { txmempool.Mempool[*txs.Tx] // RequestBuildBlock notifies the consensus engine that a block should be // built. If [emptyBlockPermitted] is true, the notification will be sent // regardless of whether there are no transactions in the mempool. If not, // a notification will only be sent if there is at least one transaction in // the mempool. RequestBuildBlock(emptyBlockPermitted bool) }
func New ¶ added in v1.10.16
func New( namespace string, registerer prometheus.Registerer, toEngine chan<- common.Message, ) (Mempool, error)
Directories ¶
Path | Synopsis |
---|---|
Package mempoolmock is a generated GoMock package.
|
Package mempoolmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.