Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockAuctioneer ¶
type BlockAuctioneer interface { // AuctionBlock obtains the best available use of the block space. AuctionBlock(ctx context.Context, slot phase0.Slot, parentHash phase0.Hash32, pubkey phase0.BLSPubKey, ) ( *Results, error, ) }
BlockAuctioneer is the interface for auctioning block space.
type Results ¶
type Results struct { // Values is a map of provider=>value. Values map[string]*big.Int // AllProviders is the list of providers that were queried for bids. AllProviders []builderclient.BuilderBidProvider // Providers is the list of providers that returned the winning bid. Providers []builderclient.BuilderBidProvider // Bid is the winning signed builder bid. Bid *spec.VersionedSignedBuilderBid }
Results provides the results of the auction process.
Click to show internal directories.
Click to hide internal directories.