Theese instructions are to replace the data directory on pruning nodes that had corrupted dbs.
- ~150GB of available space
- Make backup of priv_validator_state.json and remove existing state
| #!/bin/bash | |
| # sidekiq Init script for Sidekiq | |
| # chkconfig: 345 100 75 | |
| # | |
| # Description: Starts and Stops Sidekiq message processor for Stratus application. | |
| # | |
| # User-specified exit parameters used in this script: | |
| # | |
| # Exit Code 5 - Incorrect User ID | |
| # Exit Code 6 - Directory not found |
| /* | |
| * node-ws - pure Javascript WebSockets server | |
| * Copyright Bradley Wright <[email protected]> | |
| */ | |
| // Use strict compilation rules - we're not animals | |
| 'use strict'; | |
| var net = require('net'), | |
| crypto = require('crypto'); |