Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2023 Changes in this version + func Factory(params *consensus.Params) (consensus.Consensus, error) + type Dev struct + func (d *Dev) Close() error + func (d *Dev) FilterExtra(extra []byte) ([]byte, error) + func (d *Dev) GetBlockCreator(header *types.Header) (types.Address, error) + func (d *Dev) GetBridgeProvider() consensus.BridgeDataProvider + func (d *Dev) GetSyncProgression() *progress.Progression + func (d *Dev) Initialize() error + func (d *Dev) PreCommitState(_header *types.Header, _txn *state.Transition) error + func (d *Dev) ProcessHeaders(headers []*types.Header) error + func (d *Dev) Start() error + func (d *Dev) VerifyHeader(header *types.Header) error