Documentation
¶
Index ¶
- func CreateBeaconStateFileName(node string, network string, slot phase0.Slot, stateRoot string) string
- func CreateExecutionBadBlockFileName(node string, network string, blockHash string) string
- func CreateExecutionBlockTraceFileName(node string, network string, blockNumber uint64, blockHash string) string
- func New(ctx context.Context, log logrus.FieldLogger, config *Config) (*agent, error)
- type BadBlockRequest
- type BeaconStateRequest
- type Config
- type ExecutionBlockTraceRequest
- type Metrics
- type Queue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BadBlockRequest ¶
type BadBlockRequest struct {
}
type BeaconStateRequest ¶
type Config ¶
type Config struct {
LoggingLevel string `yaml:"logging" default:"info"`
MetricsAddr string `yaml:"metricsAddr" default:":9090"`
PProfAddr *string `yaml:"pprofAddr"`
// The name of the agent
Name string `yaml:"name"`
// Ethereum configuration
Ethereum ethereum.Config `yaml:"ethereum"`
// Indexer configuration
Indexer *indexer.Config `yaml:"indexer"`
// Store configuration
Store *store.Config `yaml:"store"`
}
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func (*Metrics) IncrementItemExported ¶ added in v0.0.11
func (*Metrics) ObserveQueueItemProcessingTime ¶
func (*Metrics) SetQueueSize ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.