Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderBidProvider ¶
type BuilderBidProvider interface {
Service
// BuilderBidProvider obtains a builder bid.
BuilderBid(ctx context.Context,
slot phase0.Slot,
parentHash phase0.Hash32,
pubKey phase0.BLSPubKey,
) (
*spec.VersionedSignedBuilderBid,
error,
)
}
BuilderBidProvider is the interface for a provider of builder bids.
type Service ¶
type Service interface {
// Name returns the name of the builder implementation.
Name() string
// Address returns the address of the builder.
Address() string
// Pubkey returns the public key of the builder (if any).
Pubkey() *phase0.BLSPubKey
}
Service is the service providing a connection to an MEV relay.
type UnblindedBlockProvider ¶
type UnblindedBlockProvider interface {
Service
// UnblindBlock unblinds a block.
UnblindBlock(ctx context.Context,
block *consensusapi.VersionedSignedBlindedBeaconBlock,
) (
*consensusspec.VersionedSignedBeaconBlock,
error,
)
}
UnblindedBlockProvider is the interface for a provider of unblinded blocks.
type ValidatorRegistrationsSubmitter ¶
type ValidatorRegistrationsSubmitter interface {
Service
// SubmitValidatorRegistrations submits validator registrations.
SubmitValidatorRegistrations(ctx context.Context, registrations []*api.VersionedSignedValidatorRegistration) error
}
ValidatorRegistrationsSubmitter is the interface for a submitter of validator registrations.
Directories
¶
| Path | Synopsis |
|---|---|
|
bellatrix
Code generated by fastssz.
|
Code generated by fastssz. |
|
capella
Code generated by fastssz.
|
Code generated by fastssz. |
|
v1
Code generated by fastssz.
|
Code generated by fastssz. |
|
Package metrics tracks various metrics that measure the performance of vouch.
|
Package metrics tracks various metrics that measure the performance of vouch. |
Click to show internal directories.
Click to hide internal directories.