From 3a2f55905a2bd90502bb2c3d79fbd8e9128b99b2 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Tue, 6 Jul 2021 22:06:13 -0300 Subject: [PATCH] Replace chaindata with datadir --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b9a523..8852ea2 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,10 @@ Run it paying attention to enable the `erigon`, `ots`, `eth` apis to whatever cl `ots` stands for Otterscan and it is the namespace we use for our own custom APIs. ``` -./build/bin/rpcdaemon --http.api "eth,erigon,ots," --private.api.addr 127.0.0.1:9090 --chaindata --http.corsdomain "*" +./build/bin/rpcdaemon --http.api "eth,erigon,ots," --private.api.addr 127.0.0.1:9090 --datadir --http.corsdomain "*" ``` -Be sure to include both `--private.api.addr` and `--chaindata` parameter so you run it in dual mode, otherwise the performance will be much worse. +Be sure to include both `--private.api.addr` and `--datadir` parameter so you run it in dual mode, otherwise the performance will be much worse. Also pay attention to the `--http.corsdomain` parameter, CORS is required for the browser to call the node directly.