Documentation ¶
Index ¶
- func NewProvider() module.Provider[*engine.Engine, scheduler.Scheduler]
- type Scheduler
- func (s *Scheduler) AddBlock(block *blocks.Block)
- func (s *Scheduler) BasicBufferSize() int
- func (s *Scheduler) IsBlockIssuerReady(_ iotago.AccountID, _ ...iotago.WorkScore) bool
- func (s *Scheduler) IssuerQueueBlockCount(_ iotago.AccountID) int
- func (s *Scheduler) IssuerQueueWork(_ iotago.AccountID) iotago.WorkScore
- func (s *Scheduler) ReadyBlocksCount() int
- func (s *Scheduler) Reset()
- func (s *Scheduler) ValidatorBufferSize() int
- func (s *Scheduler) ValidatorQueueBlockCount(_ iotago.AccountID) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Scheduler ¶
func (*Scheduler) BasicBufferSize ¶
func (*Scheduler) IsBlockIssuerReady ¶
func (*Scheduler) IssuerQueueBlockCount ¶
func (*Scheduler) IssuerQueueWork ¶
func (*Scheduler) ReadyBlocksCount ¶
func (*Scheduler) Reset ¶
func (s *Scheduler) Reset()
Reset resets the component to a clean state as if it was created at the last commitment.
func (*Scheduler) ValidatorBufferSize ¶
Click to show internal directories.
Click to hide internal directories.