Skip to content

Commit 91edbf6

Browse files
update readme
1 parent 3a87c7a commit 91edbf6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@ curl -u blockpi:<password> 'http://localhost:8012/config'
3434
To update the configuration, the following command can be run:
3535
```shell
3636
curl -u blockpi:<password> -X POST 'http://localhost:8012/config' --header 'Content-Type: application/json' --data-raw '{"password":"blockpi","request_timeout":30,"max_retries":3,"nodes":{"bsc":[{"name":"blockpi-public-bsc","endpoint":"https://bsc.blockpi.network/v1/rpc/public","weight":100,"read_only":false,"disabled":false}],"ethereum":[{"name":"blockpi-public-ethereum","endpoint":"https://ethereum.blockpi.network/v1/rpc/public","weight":90,"read_only":false,"disabled":false},{"name":"ethereum-ankr","endpoint":"https://rpc.ankr.com/eth","weight":10,"read_only":false,"disabled":false}]},"phishing_db":["https://cfg.rpchub.io/agg/scam-addresses.json"],"phishing_db_update_interval":60}'
37-
```
37+
```
38+
39+
## Reset configuration
40+
1. Stop the aggregator.
41+
2. Delete the configuration directory `rm -rf $HOME/.blockpi/aggregator/`.
42+
3. Restart the aggregator

0 commit comments

Comments
 (0)