View lotion.trace
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
root@ubuntu-s-2vcpu-4gb-tor1-01:~/go/src/github.com/wtf# npm install lotion | |
> utp-native@1.7.3 install /root/go/src/github.com/wtf/node_modules/utp-native | |
> node-gyp-build | |
make: Entering directory '/root/go/src/github.com/wtf/node_modules/utp-native/build' | |
CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o | |
../deps/libutp/utp_internal.cpp: In function ‘size_t utp_process_incoming(UTPSocket*, const byte*, size_t, bool)’: | |
../deps/libutp/utp_internal.cpp:1970:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (conn->mtu_probe_seq && seq == conn->mtu_probe_seq) { |
View bosmarmot.sh
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
sudo apt-get update --yes | |
sudo apt-get upgrade --yes | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz |
View sdk.sh
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
#!/usr/bin/env bash | |
# XXX: this script is intended to be run from a fresh Digital Ocean droplet | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install -y make | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz |
View init_testnet.sh
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
#!/usr/bin/env bash | |
# make all the files | |
tendermint init --home ./tester/node0 | |
tendermint init --home ./tester/node1 | |
tendermint init --home ./tester/node2 | |
tendermint init --home ./tester/node3 | |
file0=./tester/node0/config/genesis.json | |
file1=./tester/node1/config/genesis.json |
View setup_testnet_deps.sh
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
# NOTE: you must set this manually now | |
echo "export DO_API_TOKEN=\"yourToken\"" >> ~/.profile | |
sudo apt-get update -y | |
sudo apt-get upgrade -y |
View gist:3a854c56a8da448512a0bef6d2367398
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
{ | |
"app_hash": "", | |
"app_state": { | |
"accounts": [ | |
{ | |
"address": "1FEADCDC8CCB22244769B9CC93C1F6D7489FC5AF", | |
"coins": [ | |
{ | |
"denom": "mycoin", | |
"amount": 9007199254740992 |
View install_ethermint.sh
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# get and unpack golang |
View install_tendermint.sh
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | |
tar -xvf go1.10.linux-amd64.tar.gz | |
apt install make |
View new_app.js
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
'use strict'; | |
var contracts = require('eris-contracts'); | |
var fs = require('fs'); | |
var http = require('http'); | |
var address = require('./epm.json').deployStorageK; | |
var abi = JSON.parse(fs.readFileSync('./abi/' + address, 'utf8')); | |
var accounts = require('./accounts.json'); | |
var chainUrl; | |
var manager; |
View eris_compilers-0.12.2.toml
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
# For more information on configurations, see the services specification: | |
# https://monax.io/docs/documentation/cli/latest/specifications/services_specification/ | |
# These fields marshal roughly into the [docker run] command, see: | |
# https://docs.docker.com/engine/reference/run/ | |
# This is a TOML config file. | |
# For more information, see https://github.com/toml-lang/toml | |
name = "compilers" |
NewerOlder