sigp / lighthouse

Ethereum consensus client in Rust
https://lighthouse.sigmaprime.io/
Apache License 2.0
2.92k stars 741 forks source link

Set user agent for builder calls #4185

Closed michaelsproul closed 1 year ago

michaelsproul commented 1 year ago

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

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.

michaelsproul commented 1 year ago

I'll take this

michaelsproul commented 1 year ago

Closed by #4199