Skip to content

Commit

Permalink
fix docs about --builder (#4754)
Browse files Browse the repository at this point in the history
Align the document with the [implementation](https://github.com/sigp/lighthouse/blob/2841f60686d642fcc0785c884d43e34e47a800dc/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.
  • Loading branch information
zhiqiangxu committed Oct 26, 2023
1 parent ba891e1 commit b82d1a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions book/src/builders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
The `--builder` flag will cause the beacon node to query the provided URL during block production for a block
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 `--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.

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
Expand Down

0 comments on commit b82d1a9

Please sign in to comment.