From 1d8ed84f3aa4051dd3e65c2e50ce1ff91be7e99d Mon Sep 17 00:00:00 2001 From: J62 Date: Tue, 17 Sep 2019 16:51:34 -0700 Subject: [PATCH 1/5] Added alternate dns seeder Added alternate DNS seeder ran and maintained by myself located at dnsseed.interbiznw.com. Latest DNS seeder code ran on an actively maintained BTCP node to ensure that the seeder only seeds the correct up to date nodes. --- src/chainparams.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index ed0a1a663..7de53abb4 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -110,6 +110,7 @@ class CMainParams : public CChainParams { // TODO: setup a DNSSeed vSeeds.push_back(CDNSSeedData("btcprivate.org", "dnsseed.btcprivate.org")); vSeeds.push_back(CDNSSeedData("btcprivate.co", "dnsseed.btcprivate.co")); + vSeeds.push_back(CDNSSeedData("interbiznw.com", "dnsseed.interbiznw.com")); // dev run seeder by "J62" // guarantees the first 2 characters, when base58 encoded, are "b1" base58Prefixes[PUBKEY_ADDRESS] = {0x13,0x25}; From b849f721b630955e9fa5485bf8dc204d429fcb8c Mon Sep 17 00:00:00 2001 From: J62 Date: Sat, 12 Oct 2019 01:01:42 -0700 Subject: [PATCH 2/5] Update Mac Build instructions for clarity --- README.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2e0aa6e1a..a0865cb24 100644 --- a/README.md +++ b/README.md @@ -121,24 +121,36 @@ sudo make install DESTDIR=/mnt/c/btcp/BTCPrivate ``` ### Mac -Get dependencies: +1. Install xcode ```{r, engine='bash'} -# Install xcode xcode-select --install - +``` +2. Install HomeBrew +```{r, engine='bash'} /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +``` +3. Install Dependencies with HomeBrew +```{r, engine='bash'} brew install cmake autoconf libtool automake coreutils pkgconfig gmp wget - +``` +4. Install gcc5 with HomeBrew +```{r, engine='bash'} brew install gcc5 --without-multilib ``` - -Install: +5. Change to BitcoinPrivate Directory +```{r, engine='bash'} +cd BitcoinPrivate +``` +6. Build Bitcoin Private Daemon code ```{r, engine='bash'} -# Build ./btcputil/build-mac.sh -j$(sysctl -n hw.physicalcpu) -# fetch key +``` +7. Fetch key & Params +```{r, engine='bash'} ./btcputil/fetch-params.sh -# Run +``` +8. Run the Bitcoin Private Daemon that was just built +```{r, engine='bash'} ./src/btcpd ``` From 3c5aba39ab234c6c25f5f55b6bb37811a559b944 Mon Sep 17 00:00:00 2001 From: J62 Date: Sat, 12 Oct 2019 01:06:03 -0700 Subject: [PATCH 3/5] added step to git clone repo --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a0865cb24..61cd4adce 100644 --- a/README.md +++ b/README.md @@ -121,35 +121,39 @@ sudo make install DESTDIR=/mnt/c/btcp/BTCPrivate ``` ### Mac -1. Install xcode +1. Install xcode. ```{r, engine='bash'} xcode-select --install ``` -2. Install HomeBrew +2. Install HomeBrew. ```{r, engine='bash'} /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` -3. Install Dependencies with HomeBrew +3. Install Dependencies with HomeBrew. ```{r, engine='bash'} brew install cmake autoconf libtool automake coreutils pkgconfig gmp wget ``` -4. Install gcc5 with HomeBrew +4. Install gcc5 with HomeBrew. ```{r, engine='bash'} brew install gcc5 --without-multilib ``` -5. Change to BitcoinPrivate Directory +5. Clone the Bitcoin Private repo to your computer. +```{r, engine='bash'} +git clone https://github.com/BTCPrivate/BitcoinPrivate.git +``` +6. Change to BitcoinPrivate Directory. ```{r, engine='bash'} cd BitcoinPrivate ``` -6. Build Bitcoin Private Daemon code +7. Build Bitcoin Private Daemon code. ```{r, engine='bash'} ./btcputil/build-mac.sh -j$(sysctl -n hw.physicalcpu) ``` -7. Fetch key & Params +8. Fetch key & Params. ```{r, engine='bash'} ./btcputil/fetch-params.sh ``` -8. Run the Bitcoin Private Daemon that was just built +9. Run the Bitcoin Private Daemon that was just built. ```{r, engine='bash'} ./src/btcpd ``` From 8f437e0ac8123133fb2dc8440e254bb2bafa7b79 Mon Sep 17 00:00:00 2001 From: J62 Date: Sat, 12 Oct 2019 01:14:59 -0700 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61cd4adce..8c9c7c868 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ If compiling using WSL, use the following command to build the executables in `c sudo make install DESTDIR=/mnt/c/btcp/BTCPrivate ``` -### Mac +### Building for Mac 1. Install xcode. ```{r, engine='bash'} xcode-select --install From 80ab6f180f7834bbc71f7f8f6536701a4c8c7808 Mon Sep 17 00:00:00 2001 From: J62 Date: Sat, 12 Oct 2019 23:44:00 -0700 Subject: [PATCH 5/5] (** IF USING XCODE 10+ remove --without-multilib flag**) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c9c7c868..36e678c83 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ xcode-select --install ```{r, engine='bash'} brew install cmake autoconf libtool automake coreutils pkgconfig gmp wget ``` -4. Install gcc5 with HomeBrew. +4. Install gcc5 with HomeBrew. (** IF USING XCODE 10+ remove --without-multilib flag**) ```{r, engine='bash'} brew install gcc5 --without-multilib ```