passthrough

package
v1.0.0-beta.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Scheduler

type Scheduler struct {
	module.Module
	// contains filtered or unexported fields
}

func New

func New(subModule module.Module) *Scheduler

func (*Scheduler) AddBlock

func (s *Scheduler) AddBlock(block *blocks.Block)

func (*Scheduler) BasicBufferSize

func (s *Scheduler) BasicBufferSize() int

func (*Scheduler) IsBlockIssuerReady

func (s *Scheduler) IsBlockIssuerReady(_ iotago.AccountID, _ ...iotago.WorkScore) bool

func (*Scheduler) IssuerQueueBlockCount

func (s *Scheduler) IssuerQueueBlockCount(_ iotago.AccountID) int

func (*Scheduler) IssuerQueueWork

func (s *Scheduler) IssuerQueueWork(_ iotago.AccountID) iotago.WorkScore

func (*Scheduler) ReadyBlocksCount

func (s *Scheduler) ReadyBlocksCount() int

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

func (s *Scheduler) ValidatorBufferSize() int

func (*Scheduler) ValidatorQueueBlockCount

func (s *Scheduler) ValidatorQueueBlockCount(_ iotago.AccountID) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL