Documentation
¶
Index ¶
- Constants
- Variables
- func GetURI(url *url.URL, path string) string
- func HexToPubkey(s string) (ret phase0.BLSPubKey, err error)
- func LoggingMiddleware(logger *logrus.Entry, next http.Handler) http.Handler
- type BuilderApiService
- func (b *BuilderApiService) CliCommand() *cli.Command
- func (b *BuilderApiService) Configure(moduleFlags common.ModuleFlags) (err error)
- func (b *BuilderApiService) ConnectCore(coreClient *coreCommon.Client, pingId string) error
- func (b *BuilderApiService) ListenAddress() string
- func (b *BuilderApiService) Name() string
- func (b *BuilderApiService) Start() (err error)
- func (b *BuilderApiService) Stop() error
Constants ¶
View Source
const ( HeaderKeySlotUID = "X-MEVPlusID" HeaderKeyVersion = "X-MEVPlus-Version" )
Variables ¶
View Source
var (
ErrLength = errors.New("invalid length")
)
Functions ¶
func HexToPubkey ¶
HexToPubkey takes a hex string and returns a PublicKey
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
Click to show internal directories.
Click to hide internal directories.