Documentation
¶
Index ¶
- func BeaconNodeAddresses(path string) []string
- func BeaconNodeAddressesForAggregateAttestations() []string
- func BeaconNodeAddressesForAttestationData() []string
- func BeaconNodeAddressesForBeaconBlockHeader() []string
- func BeaconNodeAddressesForBeaconBlockProposal() []string
- func BeaconNodeAddressesForBeaconBlockRoots() []string
- func BeaconNodeAddressesForProposing() []string
- func BeaconNodeAddressesForSignedBeaconBlock() []string
- func BeaconNodeAddressesForSyncCommitteeContributions() []string
- func CommitHash() string
- func EpochToInt64(epoch phase0.Epoch) int64
- func ExpectedGasLimit(lastBlockGasLimit uint64, targetGasLimit uint64) uint64
- func FetchBuilderClient(ctx context.Context, service string, address string, monitor metrics.Service, ...) (builder.Service, error)
- func HierarchicalBool(variable string, path string) bool
- func Int64ToUint64(val int64) uint64
- func IntToUint64(val int) uint64
- func LogLevel(path string) zerolog.Level
- func LogWithID(_ context.Context, log zerolog.Logger, tag string) zerolog.Logger
- func ProcessConcurrency(path string) int64
- func SetBuilderClientTimeoutDefaults()
- func SlotToInt64(slot phase0.Slot) 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 BeaconNodeAddressesForAggregateAttestations ¶ added in v1.13.0
func BeaconNodeAddressesForAggregateAttestations() []string
BeaconNodeAddressesForAggregateAttestations obtains the beacon node addresses used for aggregate attestations from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForAttestationData ¶ added in v1.13.0
func BeaconNodeAddressesForAttestationData() []string
BeaconNodeAddressesForAttestationData obtains the beacon node addresses used for attestation data from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForBeaconBlockHeader ¶ added in v1.13.0
func BeaconNodeAddressesForBeaconBlockHeader() []string
BeaconNodeAddressesForBeaconBlockHeader obtains the beacon node addresses used for beacon block headers from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForBeaconBlockProposal ¶ added in v1.13.0
func BeaconNodeAddressesForBeaconBlockProposal() []string
BeaconNodeAddressesForBeaconBlockProposal obtains the beacon node addresses used for beacon block proposals from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForBeaconBlockRoots ¶ added in v1.13.0
func BeaconNodeAddressesForBeaconBlockRoots() []string
BeaconNodeAddressesForBeaconBlockRoots obtains the beacon node addresses used for beacon block roots 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 BeaconNodeAddressesForSignedBeaconBlock ¶ added in v1.13.0
func BeaconNodeAddressesForSignedBeaconBlock() []string
BeaconNodeAddressesForSignedBeaconBlock obtains the beacon node addresses used for signed beacon blocks from the configuration. This takes into account the used styles in strategies, and removes duplicates.
func BeaconNodeAddressesForSyncCommitteeContributions ¶ added in v1.13.0
func BeaconNodeAddressesForSyncCommitteeContributions() []string
BeaconNodeAddressesForSyncCommitteeContributions obtains the beacon node addresses used for sync committee contributions 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
CommitHash returns the commit hash of the build, if available.
func EpochToInt64 ¶ added in v1.9.0
EpochToInt64 converts an epoch to an int64.
func ExpectedGasLimit ¶ added in v1.10.0
ExpectedGasLimit returns the expected gas limit for a block given the gas limit of the previous block and the target gas limit for the subsequent proposer.
func FetchBuilderClient ¶ added in v1.6.0
func FetchBuilderClient(ctx context.Context, service string, 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 Int64ToUint64 ¶ added in v1.10.0
Int64ToUint64 converts an int64 to a uint64.
func IntToUint64 ¶ added in v1.10.0
IntToUint64 converts an int to a uint64.
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.
func SetBuilderClientTimeoutDefaults ¶ added in v1.11.1
func SetBuilderClientTimeoutDefaults()
SetBuilderClientTimeoutDefaults sets default timeouts for builderclient services only if not already configured.
func SlotToInt64 ¶ added in v1.9.0
SlotToInt64 converts a slot to an int64.
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.