orchestrator

package
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_BLOCKS_PER_COMMIT = 1000
View Source
const DEFAULT_BLOCKS_PER_POLL = 10
View Source
const DEFAULT_CHAIN_TRACKER_POLL_INTERVAL = 300000 // 5 minutes
View Source
const DEFAULT_COMMITTER_TRIGGER_INTERVAL = 2000
View Source
const DEFAULT_FAILURES_PER_POLL = 10
View Source
const DEFAULT_FAILURE_TRIGGER_INTERVAL = 1000
View Source
const DEFAULT_TRIGGER_INTERVAL = 1000

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockNumberWithError

type BlockNumberWithError struct {
	BlockNumber *big.Int
	Error       error
}

type ChainTracker

type ChainTracker struct {
	// contains filtered or unexported fields
}

func NewChainTracker

func NewChainTracker(rpc common.RPC) *ChainTracker

func (*ChainTracker) Start

func (ct *ChainTracker) Start()

type Committer

type Committer struct {
	// contains filtered or unexported fields
}

func NewCommitter

func NewCommitter(rpc common.RPC, storage storage.IStorage) *Committer

func (*Committer) Start

func (c *Committer) Start()

type FailureRecoverer

type FailureRecoverer struct {
	// contains filtered or unexported fields
}

func NewFailureRecoverer

func NewFailureRecoverer(rpc common.RPC, storage storage.IStorage) *FailureRecoverer

func (*FailureRecoverer) Start

func (fr *FailureRecoverer) Start()

type Orchestrator

type Orchestrator struct {
	// contains filtered or unexported fields
}

func NewOrchestrator

func NewOrchestrator(rpc common.RPC) (*Orchestrator, error)

func (*Orchestrator) Start

func (o *Orchestrator) Start()

type Poller

type Poller struct {
	// contains filtered or unexported fields
}

func NewPoller

func NewPoller(rpc common.RPC, storage storage.IStorage) *Poller

func (*Poller) Start

func (p *Poller) Start()

Jump to

Keyboard shortcuts

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