mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Fix builder API headers (#7009)
Resolves https://github.com/sigp/lighthouse/issues/7000 Set the accept header on builder to the correct value when requesting ssz. This PR also adds a flag to disable ssz over the builder api altogether. In the case that builders/relays have an ssz bug, we can react quickly by asking clients to restart their nodes with the `--disable-ssz-builder` flag to force json. I'm not fully convinced if this is useful so open to removing it or opening another PR for it. Testing this currently.
This commit is contained in:
@@ -28,6 +28,8 @@ Options:
|
||||
network. Multiaddr is also supported.
|
||||
--builder <builder>
|
||||
The URL of a service compatible with the MEV-boost API.
|
||||
--builder-disable-ssz
|
||||
Disables sending requests using SSZ over the builder API.
|
||||
--builder-fallback-epochs-since-finalization <builder-fallback-epochs-since-finalization>
|
||||
If this node is proposing a block and the chain has not finalized
|
||||
within this number of epochs, it will NOT query any connected
|
||||
|
||||
Reference in New Issue
Block a user