fix docs about --builder
(#4754)
Align the document with the [implementation](2841f60686/beacon_node/execution_layer/src/lib.rs (L740)
) regarding the `--builder` flag.
The `tokio::join!` macro takes a list of async expressions and evaluates them concurrently on the same task.
This commit is contained in:
parent
ba891e1fed
commit
b82d1a993c
@ -21,9 +21,7 @@ The beacon node and validator client each require a new flag for lighthouse to b
|
|||||||
```
|
```
|
||||||
lighthouse bn --builder https://mainnet-builder.test
|
lighthouse bn --builder https://mainnet-builder.test
|
||||||
```
|
```
|
||||||
The `--builder` flag will cause the beacon node to query the provided URL during block production for a block
|
The `--builder` flag will cause the beacon node to simultaneously query the provided URL and the local execution engine during block production for a block payload with stubbed-out transactions. If either fails, the successful result will be used; If both succeed, the more profitable result will be used.
|
||||||
payload with stubbed-out transactions. If this request fails, Lighthouse will fall back to the local
|
|
||||||
execution engine and produce a block using transactions gathered and verified locally.
|
|
||||||
|
|
||||||
The beacon node will *only* query for this type of block (a "blinded" block) when a validator specifically requests it.
|
The beacon node will *only* query for this type of block (a "blinded" block) when a validator specifically requests it.
|
||||||
Otherwise, it will continue to serve full blocks as normal. In order to configure the validator client to query for
|
Otherwise, it will continue to serve full blocks as normal. In order to configure the validator client to query for
|
||||||
|
Loading…
Reference in New Issue
Block a user