mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(docs): op-node flags (#8884)
This commit is contained in:
@ -83,10 +83,12 @@ op-node \
|
|||||||
--l2.jwt-secret=/path/to/jwt.hex \
|
--l2.jwt-secret=/path/to/jwt.hex \
|
||||||
--rpc.addr=0.0.0.0 \
|
--rpc.addr=0.0.0.0 \
|
||||||
--rpc.port=7000 \
|
--rpc.port=7000 \
|
||||||
--l1.trustrpc \
|
|
||||||
--l1.beacon=<your-beacon-node-http-endpoint>
|
--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:
|
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,
|
> 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user