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
sudo apt-get update | |
sudo apt-get install git build-essential libtool autotools-dev autoconf libssl-dev pkg-config | |
sudo apt-get install libboost1.55-dev libboost-chrono1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-system1.55-dev libboost-test1.55-dev libboost-thread1.55-dev | |
sudo apt-get install libdb5.1++-dev | |
sudo apt-get install libminiupnpc-dev | |
## to include the QT GUI, also do: | |
sudo apt-get install libqt4-dev | |
sudo apt-get install libprotobuf-dev protobuf-compiler | |
sudo apt-get install libqrencode-dev |
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
# builds dogecoin 1.8.2 with openssl 1.0.1l and boost 1.55 | |
# tested and verified on CentOS: 2.6.32-504.el6.x86_64 | |
export DOGEREF=v1.8.2 # change this if you want | |
export DEST_DIR=~/dogecoin # change this if you want, too | |
export DOGE_BUILD_LOC=~/doge-build # and this, too | |
# init env | |
mkdir -p $DOGE_BUILD_LOC | |
pushd $DOGE_BUILD_LOC |
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/python | |
import hashlib | |
import re | |
import sys | |
import os | |
import base64 | |
import time | |
import random | |
import hmac |
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
@3de28f1 | |
------- | |
accounting_tests | |
------- | |
Running 1 test case... | |
*** No errors detected | |
------- |
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
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project altcoinj: Compilation failure: Compilation failure: | |
[ERROR] src/main/java/org/bitcoinj/core/AltcoinBlock.java:[78,72] cannot find symbol | |
[ERROR] symbol: class MessageSerializer | |
[ERROR] location: class org.bitcoinj.core.AltcoinBlock | |
[ERROR] src/main/java/org/bitcoinj/core/AltcoinBlock.java:[84,25] cannot find symbol | |
[ERROR] symbol: class MessageSerializer | |
[ERROR] location: class org.bitcoinj.core.AltcoinBlock | |
[ERROR] src/main/java/org/bitcoinj/core/AuxPoW.java:[78,89] cannot find symbol | |
[ERROR] symbol: class MessageSerializer | |
[ERROR] location: class org.bitcoinj.core.AuxPoW |
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
CORES=8 | |
pushd depends/ | |
make -j${CORES} NO_QT=1 NO_UPNP=1 | |
popd | |
./autogen.sh | |
./configure --prefix=`pwd`/depends/x86_64-unknown-linux-gnu --without-gui --without-miniupnpc --enable-hardening --enable-cxx --disable-shared --with-pic CPPFLAGS="-O2" LDFLAGS=-static-libstdc++ | |
pushd src/ |
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
curl -s -H 'Content-Type: application/json' \ | |
--data '{"code":"newdexpublic","table":"buyorder","scope":"..........12a","json":true,"limit":1000}' \ | |
https://eos.greymass.com/v1/chain/get_table_rows | \ | |
jq '.rows[] | select( (.remain_convert | match("[0-9]+").string | tonumber > 5) and (.price | tonumber > 20)) | [.owner, .remain_quantity, "@", .price] | join(" ")' |
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/bash | |
# | |
# requirements: bash, up-to-date dogecoind with -txindex, jq, bc | |
# usage: ./crawl_block_fee.sh <number of blocks to look back> | |
START=`dogecoin-cli getbestblockhash` | |
NUM_BLOCKS=$1 | |
CUR=$START | |
COUNTER=$NUM_BLOCKS |
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
sudo apt update | |
sudo apt install -y ruby git build-essential | |
sudo apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt update | |
sudo apt install -y docker-ce docker-ce-cli containerd.io | |
sudo apt install -y apt-cacher-ng | |
sudo systemctl enable apt-cacher-ng.service | |
sudo systemctl start apt-cacher-ng.service |
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
diff --git a/main.go b/main.go | |
index fd397b0..5123269 100644 | |
--- a/main.go | |
+++ b/main.go | |
@@ -189,6 +189,21 @@ func main() { | |
return server.Shutdown(ctx) | |
}) | |
+ ticker := time.NewTicker(5 * time.Second) | |
+ quit := make(chan struct{}) |
OlderNewer