Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nddeluca's full-sized avatar

Nick DeLuca nddeluca

View GitHub Profile
@nddeluca
nddeluca / instructions.md
Last active May 13, 2022 23:57 — forked from karzak/instructions.md
Kava EVM Alpha Upgrade 3 Data Directory Replacement

Theese instructions are to replace the data directory on pruning nodes that had corrupted dbs.

Requirements

  • ~150GB of available space

Steps

  1. Make backup of priv_validator_state.json and remove existing state
@nddeluca
nddeluca / sidekiq
Last active August 29, 2015 14:12 — forked from dyerc/sidekiq
#!/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 <brad@intranation.com>
*/
// Use strict compilation rules - we're not animals
'use strict';
var net = require('net'),
crypto = require('crypto');