Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { mempool.Mempool mempool.BlockTimer Network // set preferred block on top of which we'll build next SetPreference(blockID ids.ID) // get preferred block on top of which we'll build next Preferred() (snowman.Block, error) // AddUnverifiedTx verifier the tx before adding it to mempool AddUnverifiedTx(tx *txs.Tx) error // BuildBlock is called on timer clock to attempt to create // next block BuildBlock(context.Context) (snowman.Block, error) // Shutdown cleanly shuts Builder down Shutdown() }
Click to show internal directories.
Click to hide internal directories.