Documentation ¶
Index ¶
- func BeaconNodeAddresses(path string) []string
- func BeaconNodeAddressesForAttesting() []string
- func BeaconNodeAddressesForProposing() []string
- func CommitHash() string
- func FetchBuilderClient(ctx context.Context, address string, monitor metrics.Service, ...) (builder.Service, error)
- func HierarchicalBool(variable string, path string) bool
- func LogLevel(path string) zerolog.Level
- func LogWithID(_ context.Context, log zerolog.Logger, tag string) zerolog.Logger
- func ProcessConcurrency(path string) int64
- func Timeout(path string) time.Duration
- func ValidatorPubkey(account e2wtypes.Account) phase0.BLSPubKey
- type ScatterResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeaconNodeAddresses ¶ added in v1.5.0
BeaconNodeAddresses returns the best beacon node addresses for the path.
func BeaconNodeAddressesForAttesting ¶ added in v1.8.0
func BeaconNodeAddressesForAttesting() []string
BeaconNodeAddressesForAttesting obtains the beacon node addresses used for attesting from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForProposing ¶ added in v1.8.0
func BeaconNodeAddressesForProposing() []string
BeaconNodeAddressesForProposing obtains the beacon node addresses used for proposing from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func CommitHash ¶ added in v1.8.0
func CommitHash() string
CommitHah returns the commit hash of the build, if available.
func FetchBuilderClient ¶ added in v1.6.0
func FetchBuilderClient(ctx context.Context, address string, monitor metrics.Service, releaseVersion string) (builder.Service, error)
FetchBuilderClient fetches a builder client, instantiating it if required.
func HierarchicalBool ¶ added in v1.9.0
HierarchicalBool returns the best configuration value for the path.
func LogWithID ¶ added in v1.2.0
LogWithID returns a new logger based on the supplied logger with an additional ID field.
func ProcessConcurrency ¶ added in v1.2.0
ProcessConcurrency returns the best process concurrency for the path.
Types ¶
type ScatterResult ¶
type ScatterResult struct { // Offset is the offset at which the worker started. Offset int // Extent is the user-defined result of running the scatter function. Extent interface{} }
ScatterResult is the result of a single scatter worker.