This file contains hidden or 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 | |
bitcoin-cli getpeerinfo | jq -r .[].subver | sort | uniq -c | sort -nr |
This file contains hidden or 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
DEBUG ssh: Checking key permissions: /home/uber/.ssh/id_rsa | |
INFO ssh: Attempting SSH connection... | |
INFO ssh: Attempting to connect to SSH... | |
INFO ssh: - Host: 54.71.167.14 | |
INFO ssh: - Port: 22 | |
INFO ssh: - Username: uber | |
INFO ssh: - Password? false | |
INFO ssh: - Key Path: ["/home/uber/.ssh/id_rsa"] | |
DEBUG ssh: == Net-SSH connection debug-level log START == | |
DEBUG ssh: D, [2015-04-23T00:59:49.475268 #51503] DEBUG -- net.ssh.transport.session[17bfdd0]: establishing connection to 54.71.167.14:22 |
This file contains hidden or 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
$ vagrant -v | |
Vagrant 1.6.0 | |
$ vagrant plugin list | |
vagrant-aws (0.4.1) | |
vagrant-login (1.0.1, system) | |
vagrant-share (1.0.1, system) | |
vagrant-triggers (0.3.0) | |
vagrant-vbguest (0.10.0) |
This file contains hidden or 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/src/makefile.osx b/src/makefile.osx | |
index 50279fd..6ab92b1 100644 | |
--- a/src/makefile.osx | |
+++ b/src/makefile.osx | |
@@ -7,18 +7,22 @@ | |
# Originally by Laszlo Hanyecz ([email protected]) | |
CXX=llvm-g++ | |
DEPSDIR=/opt/local | |
+DB4DIR=$(DEPSDIR)/opt/berkeley-db4 |
This file contains hidden or 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/src/keystore.cpp b/src/keystore.cpp | |
index 46402ea..b5657c8 100644 | |
--- a/src/keystore.cpp | |
+++ b/src/keystore.cpp | |
@@ -56,3 +56,16 @@ bool CBasicKeyStore::GetCScript(const CScriptID &hash, CScript& redeemScriptOut) | |
return false; | |
} | |
+bool CBasicKeyStore::AddWatchOnly(const CTxDestination &dest) | |
+{ |
This file contains hidden or 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/configure.ac b/configure.ac | |
index 5ad6e6d..c07566f 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -64,6 +64,9 @@ AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH], | |
[pkgconfigdir="$withval"], [pkgconfigdir='${libdir}/pkgconfig']) | |
AC_SUBST([pkgconfigdir]) | |
+AC_SUBST(EXTRA_CFLAGS) | |
+AC_SUBST(EXTRA_LDFLAGS) |
This file contains hidden or 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
# I'm not sure any of this is right, but assuming you have a blockchain from bitcoin-qt or bitcoind... | |
$ brew tap homebrew/versions | |
$ brew tap WyseNynja/bitcoin | |
$ brew prune | |
$ brew install libbitcoin-tools sx | |
$ cd /usr/local/var | |
$ mkdir -p bitcoin/worker | |
$ cd bitcoin | |
$ tmux |
This file contains hidden or 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
[bwstitt:~] 1 $ brew install wysenynja/bitcoin/libbitcoin --verbose | |
==> Cloning https://github.com/spesmilo/libbitcoin.git | |
git --git-dir /Library/Caches/Homebrew/libbitcoin--git/.git status -s | |
Updating /Library/Caches/Homebrew/libbitcoin--git | |
git config remote.origin.url https://github.com/spesmilo/libbitcoin.git | |
git config remote.origin.fetch +refs/tags/v1.4:refs/tags/v1.4 | |
git --git-dir /Library/Caches/Homebrew/libbitcoin--git/.git rev-parse -q --verify v1.4 | |
git checkout -f v1.4 | |
HEAD is now at 0cd3b04... incorrect version number in version.hpp - corrected it. | |
git reset --hard v1.4 |
This file contains hidden or 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
$ make -f makefile.osx | |
llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/bwstitt/src/bitcoin/src/leveldb/include -I/Users/bwstitt/src/bitcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/bwstitt/src/bitcoin/src" -I"/Users/bwstitt/src/bitcoin/src/obj" -I"/usr/local/include" -I"/usr/local/opt/berkeley-db4/include" -I"/usr/local/opt/openssl/include" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp | |
In file included from alert.cpp:11: | |
In file included from /Users/bwstitt/src/bitcoin/src/alert.h:13: | |
In file included from /Users/bwstitt/src/bitcoin/src/util.h:32: | |
In file included from /Users/bwstitt/src/bitcoin/src/netbase.h:10: | |
/Users/bwstitt/src/bitcoin/src/serialize.h:911:10: error: class member cannot be redeclared | |
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last) | |
^ | |
/Users/bwstitt/src/bitcoin/src/serialize.h:898:10: note: previous |
This file contains hidden or 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
$ make -f makefile.osx test | |
llvm-g++ -c -DTEST_DATA_DIR=/Users/bwstitt/src/bitcoin/src/test/data -DBOOST_TEST_DYN_LINK -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/bwstitt/src/bitcoin/src/leveldb/include -I/Users/bwstitt/src/bitcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/bwstitt/src/bitcoin/src" -I"/Users/bwstitt/src/bitcoin/src/obj" -I"/usr/local/include" -I"/usr/local/opt/berkeley-db4/include" -I"/usr/local/opt/openssl/include" -MMD -MF obj-test/Checkpoints_tests.d -o obj-test/Checkpoints_tests.o test/Checkpoints_tests.cpp | |
In file included from test/Checkpoints_tests.cpp:9: | |
In file included from test/../util.h:32: | |
In file included from /Users/bwstitt/src/bitcoin/src/netbase.h:10: | |
/Users/bwstitt/src/bitcoin/src/serialize.h:911:10: error: class member cannot be redeclared | |
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last) | |
^ | |
/U |