fix(docs): op-node flags (#8884)

This commit is contained in:
Emilia Hane
2024-06-17 13:47:28 +02:00
committed by GitHub
parent d131540352
commit 26d8bd6a4f

View File

@ -83,10 +83,12 @@ op-node \
--l2.jwt-secret=/path/to/jwt.hex \
--rpc.addr=0.0.0.0 \
--rpc.port=7000 \
--l1.trustrpc \
--l1.beacon=<your-beacon-node-http-endpoint>
--syncmode=execution-layer
```
Consider adding the `--l1.trustrpc` flag to improve performance, if the connection to l1 is over localhost.
If you opted to build the `op-node` with the `rethdb` build tag, this feature can be enabled by appending one extra flag to the `op-node` invocation:
> Note, the `reth_db_path` is the path to the `db` folder inside of the reth datadir, not the `mdbx.dat` file itself. This can be fetched from `op-reth db path [--chain <chain-name>]`, or if you are using a custom datadir location via the `--datadir` flag,