This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Tmux script to create 2 dcrd nodes connected in series. | |
# Network layout: | |
# master <-> 1 | |
# 19555 19665 | |
set -e | |
SESSION="dcrd-simnet-nodes" | |
NODES_ROOT=~/dcrdsimnetnodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WS = require('ws') | |
const _ = require('lodash') | |
const async = require('async') | |
const fs = require('fs') | |
const moment = require('moment') | |
const pair = process.argv[2] | |
const conf = { | |
wshost: "wss://api.bitfinex.com/ws/2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WS = require('ws') | |
const _ = require('lodash') | |
const async = require('async') | |
const fs = require('fs') | |
const moment = require('moment') | |
const pair = process.argv[2] | |
const conf = { | |
wshost: "wss://api.bitfinex.com/ws/2" |