Documentation ¶
Overview ¶
package deadline is a strategy that obtains builder bids from multiple relays repeatedly up to the supplied deadline into a slot.
Index ¶
- type Parameter
- func WithChainTime(service chaintime.Service) Parameter
- func WithDomainProvider(provider consensusclient.DomainProvider) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithReleaseVersion(version string) Parameter
- func WithSpecProvider(provider consensusclient.SpecProvider) Parameter
- func WithTimeout(timeout time.Duration) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithChainTime ¶
WithChainTime sets the chaintime service.
func WithDomainProvider ¶
func WithDomainProvider(provider consensusclient.DomainProvider) Parameter
WithDomainProvider sets the signature domain provider.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the service.
func WithReleaseVersion ¶
WithReleaseVersion sets the release version for Vouch.
func WithSpecProvider ¶
func WithSpecProvider(provider consensusclient.SpecProvider) Parameter
WithSpecProvider sets the spec provider.
func WithTimeout ¶
WithTimeout sets the timeout for requests.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the provider for builder bids.
func (*Service) BuilderBid ¶
func (s *Service) BuilderBid(ctx context.Context, slot phase0.Slot, parentHash phase0.Hash32, pubkey phase0.BLSPubKey, proposerConfig *beaconblockproposer.ProposerConfig, builderConfigs map[phase0.BLSPubKey]*blockrelay.BuilderConfig, ) ( *blockauctioneer.Results, error, )
BuilderBid provides the best builder bid from a number of relays.
Click to show internal directories.
Click to hide internal directories.