Skip to content

Commit 37a92dc

Browse files
committed
new daemon to auto backup private state json
1 parent 1b25303 commit 37a92dc

File tree

6 files changed

+485
-11
lines changed

6 files changed

+485
-11
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,23 @@ cd ~ && go install github.com/bcdevtools/node-management/cmd/nmngd@latest
1111

1212
```bash
1313
nmngd node setup-check ~/.node_home --type validator/rpc/snapshot/archival
14+
```
15+
16+
## Node management
17+
18+
```bash
1419
nmngd node extract-addrbook ~/.node_home_source/config/addrbook.json ~/.node_home_dst/config/addrbook.json
1520
nmngd node prune-addrbook ~/.node_home/config/addrbook.json
1621
nmngd node prune-data ~/.node_home --binary xxxd [--backup-pvs ~/priv_validator_state.json.backup]
1722
nmngd node state-sync ~/.node_home --binary xxxd --rpc http://localhost:26657 [--address-book /home/x/.node/config/addrbook.json] [--peers [email protected]:26656] [--seeds [email protected]:26656] [--max-duration 12h]
1823
nmngd node zip-snapshot ~/.node_home
1924
```
2025

26+
### For validator node
27+
```bash
28+
nmngd node auto-backup-priv-validator-state-json ~/.node_home --binary xxxd
29+
```
30+
2131
## Run web server
2232
```bash
2333
nmngd start-web ~/.rpc-gaia \

0 commit comments

Comments
 (0)