Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) GetBids(ctx context.Context, params url.Values) ([]*mevrelay.BidTrace, error)
- func (c *Client) GetProposerPayloadDelivered(ctx context.Context, params url.Values) ([]*mevrelay.ProposerPayloadDelivered, error)
- func (c *Client) GetValidatorRegistrations(ctx context.Context, pubkey string) (*mevrelay.ValidatorRegistration, error)
- func (c *Client) Name() string
- func (c *Client) URL() string
- type Config
- type Metrics
- func (m *Metrics) IncAPIFailures(relay, endpoint, network string)
- func (m *Metrics) IncAPIRequests(relay, endpoint, network string)
- func (m *Metrics) IncBidsReceived(relay, network string, count int)
- func (m *Metrics) IncProposerPayloadDelivered(relay, network string, count int)
- func (m *Metrics) IncValidatorRegistrationsReceived(relay, network string, count int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRateLimited = errors.New("rate limited")
View Source
var ErrValidatorNotRegistered = errors.New("validator not registered")
View Source
var (
GetBidsEndpoint = "get_bids"
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetProposerPayloadDelivered ¶ added in v0.0.197
func (*Client) GetValidatorRegistrations ¶ added in v1.0.24
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func GetMetrics ¶
func (*Metrics) IncAPIFailures ¶
func (*Metrics) IncAPIRequests ¶
func (*Metrics) IncBidsReceived ¶
func (*Metrics) IncProposerPayloadDelivered ¶ added in v0.0.197
func (*Metrics) IncValidatorRegistrationsReceived ¶ added in v1.0.24
Click to show internal directories.
Click to hide internal directories.