Versions in this module Expand all Collapse all v0 v0.0.1 Jun 22, 2020 Changes in this version + var DisableDebugDeepmindOption = StartOption("disable-debug-deep-mind") + var EnableDebugDeepmindOption = StartOption("enable-debug-deep-mind") + func AugmentStackSizeLimit() error + type BackupableChainSuperviser interface + RestoreBackup func(backupName, backupTag string, backupStoreURL string) error + TakeBackup func(backupTag string, backupStoreURL string) error + type BootstrapableChainSuperviser interface + Bootstrap func(dataName string, dataStore dstore.Store) error + type ChainSuperviser interface + GetCommand func() string + GetName func() string + HasData func() bool + IsRunning func() bool + LastExitCode func() int + LastSeenBlockNum func() uint64 + RegisterPostRestoreHandler func(func()) + ServerID func() (string, error) + Start func(options ...StartOption) error + Stop func() error + Stopped func() <-chan struct{} + type DeepMindDebuggable interface + DebugDeepMind func(enabled bool) + type HeadBlockUpdater func(uint64, string, time.Time) + type MetricsAndReadinessManager struct + func NewMetricsAndReadinessManager(headBlockTimeDrift *dmetrics.HeadTimeDrift, ...) *MetricsAndReadinessManager + func (m *MetricsAndReadinessManager) IsReady() bool + func (m *MetricsAndReadinessManager) Launch() + func (m *MetricsAndReadinessManager) UpdateHeadBlock(num uint64, ID string, t time.Time) + type MonitorableChainSuperviser interface + Monitor func() + type ProducerChainSuperviser interface + IsActiveProducer func() bool + IsProducing func() (bool, error) + PauseProduction func() error + ResumeProduction func() error + WaitUntilEndOfNextProductionRound func(timeout time.Duration) error + type ProductionEvent int + const EventProduced + const EventReceived + type ProductionState int + const StatePost + const StatePre + const StateProducing + const StateStale + func (s ProductionState) String() string + type Readiness interface + IsReady func() bool + type SnapshotableChainSuperviser interface + RestoreSnapshot func(snapshotName string, snapshotStore dstore.Store) error + TakeSnapshot func(snapshotStore dstore.Store, numberOfSnapshotsToKeep int) error + type StartOption string + type VolumeSnapshotableChainSuperviser interface + TakeVolumeSnapshot func(volumeSnapshotTag, project, namespace, pod, prefix string, ...) error