Skip to content

Set user agent for builder calls #4185

Closed
@michaelsproul

Description

@michaelsproul

Description

The MEV relays analyse calls based on their HTTP user agent, which Lighthouse currently does not set. In the incident immediately after Capella, relays used the user-agent to block faulty Prysm nodes from requesting blocks and triggering failures.

Expected Behaviour

  • Add a default user agent header like Lighthouse/vX.Y.Z to each builder request.
  • (Optional) Add a CLI flag to configure this user agent

Note that when connecting to relays via mev-boost it will add its own version as a prefix of the CL supplied user agent, so we will often end up with a user agent like mev-boost/v1.5.0 Lighthouse/v4.1.0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions