Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSyncNotDone = errors.Errorf("sync is not done") ErrPillarNotDefined = errors.Errorf("pillar has no producer address defined") ErrNotOurEvent = errors.Errorf("not our event") ErrEventHasNotStarted = errors.Errorf("current time is before start time") ErrEventEnded = errors.Errorf("current time is after the event's finish time time") )
View Source
var (
ErrNothingToGenerate = errors.Errorf("nothing to generate. sequencer-queue is empty")
)
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { Init() error Start() error Stop() error // EventListener ensures that we can subscribe to consensus events // in order to produce new momentums when necessary consensus.EventListener // Process is used by the testing environment to force-process an event // and be able to wait for it to finish. Process(e consensus.ProducerEvent) common.Task SetCoinBase(coinbase *wallet.KeyPair) GetCoinBase() *types.Address }
Click to show internal directories.
Click to hide internal directories.