mock

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErroringService

type ErroringService struct{}

ErroringService is a mock block auctioneer.

func NewErroring

func NewErroring() *ErroringService

NewErroring creates a new mock block auctioneer.

func (*ErroringService) AuctionBlock

AuctionBlock obtains the best available use of the block space.

type Service

type Service struct{}

Service is a mock block auctioneer.

func New

func New() *Service

New creates a new mock block auctioneer.

func (*Service) AuctionBlock

func (s *Service) AuctionBlock(_ context.Context,
	_ phase0.Slot,
	_ phase0.Hash32,
	_ phase0.BLSPubKey,
) (
	*blockauctioneer.Results,
	error,
)

AuctionBlock obtains the best available use of the block space.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL