builderapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderKeySlotUID = "X-MEVPlusID"
	HeaderKeyVersion = "X-MEVPlus-Version"
)

Variables

View Source
var (
	ErrLength = errors.New("invalid length")
)

Functions

func GetURI

func GetURI(url *url.URL, path string) string

GetURI returns the full request URI with scheme, host, path and args.

func HexToPubkey

func HexToPubkey(s string) (ret phase0.BLSPubKey, err error)

HexToPubkey takes a hex string and returns a PublicKey

func LoggingMiddleware

func LoggingMiddleware(logger *logrus.Entry, next http.Handler) http.Handler

Types

type BuilderApiService

type BuilderApiService struct {
	// contains filtered or unexported fields
}

func NewBuilderApiService

func NewBuilderApiService() *BuilderApiService

func (*BuilderApiService) CliCommand added in v1.0.0

func (b *BuilderApiService) CliCommand() *cli.Command

func (*BuilderApiService) Configure

func (b *BuilderApiService) Configure(moduleFlags common.ModuleFlags) (err error)

func (*BuilderApiService) ConnectCore

func (b *BuilderApiService) ConnectCore(coreClient *coreCommon.Client, pingId string) error

func (*BuilderApiService) ListenAddress

func (b *BuilderApiService) ListenAddress() string

func (*BuilderApiService) Name

func (b *BuilderApiService) Name() string

func (*BuilderApiService) Start

func (b *BuilderApiService) Start() (err error)

func (*BuilderApiService) Stop

func (b *BuilderApiService) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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