Documentation ¶
Index ¶
- Variables
- func AugmentStackSizeLimit() error
- type BackupableChainSuperviser
- type BootstrapableChainSuperviser
- type ChainSuperviser
- type DeepMindDebuggable
- type HeadBlockUpdater
- type MetricsAndReadinessManager
- type MonitorableChainSuperviser
- type ProducerChainSuperviser
- type ProductionEvent
- type ProductionState
- type Readiness
- type SnapshotableChainSuperviser
- type StartOption
- type VolumeSnapshotableChainSuperviser
Constants ¶
This section is empty.
Variables ¶
View Source
var DisableDebugDeepmindOption = StartOption("disable-debug-deep-mind")
View Source
var EnableDebugDeepmindOption = StartOption("enable-debug-deep-mind")
Functions ¶
func AugmentStackSizeLimit ¶
func AugmentStackSizeLimit() error
Types ¶
type ChainSuperviser ¶
type DeepMindDebuggable ¶
type DeepMindDebuggable interface {
DebugDeepMind(enabled bool)
}
type MetricsAndReadinessManager ¶
type MetricsAndReadinessManager struct {
// contains filtered or unexported fields
}
func NewMetricsAndReadinessManager ¶
func NewMetricsAndReadinessManager(headBlockTimeDrift *dmetrics.HeadTimeDrift, headBlockNumber *dmetrics.HeadBlockNum, readinessMaxLatency time.Duration) *MetricsAndReadinessManager
func (*MetricsAndReadinessManager) IsReady ¶
func (m *MetricsAndReadinessManager) IsReady() bool
func (*MetricsAndReadinessManager) Launch ¶
func (m *MetricsAndReadinessManager) Launch()
func (*MetricsAndReadinessManager) UpdateHeadBlock ¶
func (m *MetricsAndReadinessManager) UpdateHeadBlock(num uint64, ID string, t time.Time)
type MonitorableChainSuperviser ¶
type MonitorableChainSuperviser interface {
Monitor()
}
type ProducerChainSuperviser ¶
type ProductionEvent ¶
type ProductionEvent int
const ( EventProduced ProductionEvent = iota EventReceived )
type ProductionState ¶
type ProductionState int
const ( StatePre ProductionState = iota // Just before we produce, don't restart StateProducing // We're producing right now StatePost // Right after production StateStale // We haven't produced for 12 minutes )
func (ProductionState) String ¶
func (s ProductionState) String() string
type StartOption ¶
type StartOption string
Click to show internal directories.
Click to hide internal directories.