Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { // lifecycle controls Start() error Stop() error // engine event output channel ChanEventSend() <-chan []byte ChanEventReq() <-chan common.Hash // engine output channel Output() <-chan *Output // send event raw bytes to engine SendEvent([]byte) SendParentEvent([]byte) // send tx hash to engine SendTx(common.Hash) // inform engine txs has been sealed in block OnTxSealed(uint64, []common.Hash) // inform engine txs has been dropped OnTxDropped([]common.Hash) }
Engine defines what a consensus engine provides
Click to show internal directories.
Click to hide internal directories.