Documentation ¶
Index ¶
- func Factory(params *consensus.ConsensusParams) (consensus.Consensus, error)
- type Dummy
- func (d *Dummy) Close() error
- func (d *Dummy) GetBlockCreator(header *types.Header) (types.Address, error)
- func (d *Dummy) GetSyncProgression() *progress.Progression
- func (d *Dummy) Initialize() error
- func (d *Dummy) Start() error
- func (d *Dummy) VerifyHeader(parent *types.Header, header *types.Header) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dummy ¶
type Dummy struct {
// contains filtered or unexported fields
}
func (*Dummy) GetBlockCreator ¶
func (*Dummy) GetSyncProgression ¶
func (d *Dummy) GetSyncProgression() *progress.Progression
Click to show internal directories.
Click to hide internal directories.