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
#This file is used by Rack-based servers to start the application. | |
if defined?(Unicorn) | |
require 'unicorn/oob_gc' | |
require 'unicorn/worker_killer' | |
# Prevent garbage collection from running during requests | |
GC.disable | |
# Run garbage collection out-of-band every n requests |
/* | |
* 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'); |
\curl -sSL https://get.rvm.io | bash -s -- --version 1.26.6 | |
rvm reload | |
rvm 2.1.4 do rvm gemset create foobar | |
rvm 2.1.4@foobar | |
\curl -sSL https://get.rvm.io | bash -s -- --version 1.26.7 | |
rvm reload | |
rvm 2.1.4 do rvm gemset create foobar |
#!/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 |
class Hash | |
def to_underscore | |
convert_keys(self, :underscore) | |
end | |
def to_camel_case | |
convert_keys(self, :camelize, :lower) | |
end | |
def to_underscore! |
package main | |
import ( | |
"encoding/base64" | |
"fmt" | |
"log" | |
"os" | |
sdk "github.com/cosmos/cosmos-sdk/types" | |
auth "github.com/cosmos/cosmos-sdk/x/auth" |