Merge pull request #239 from interbiznw/master
Updated Mac build instructions & alternate seeder
This commit is contained in:
commit
6af8ce106f
36
README.md
36
README.md
|
@ -129,25 +129,41 @@ If compiling using WSL, use the following command to build the executables in `c
|
|||
sudo make install DESTDIR=/mnt/c/btcp/BTCPrivate
|
||||
```
|
||||
|
||||
### Mac
|
||||
Get dependencies:
|
||||
### Building for Mac
|
||||
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. (** IF USING XCODE 10+ remove --without-multilib flag**)
|
||||
```{r, engine='bash'}
|
||||
brew install gcc5 --without-multilib
|
||||
```
|
||||
|
||||
Install:
|
||||
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
|
||||
```
|
||||
7. Build Bitcoin Private Daemon code.
|
||||
```{r, engine='bash'}
|
||||
# Build
|
||||
./btcputil/build-mac.sh -j$(sysctl -n hw.physicalcpu)
|
||||
# fetch key
|
||||
```
|
||||
8. Fetch key & Params.
|
||||
```{r, engine='bash'}
|
||||
./btcputil/fetch-params.sh
|
||||
# Run
|
||||
```
|
||||
9. Run the Bitcoin Private Daemon that was just built.
|
||||
```{r, engine='bash'}
|
||||
./src/btcpd
|
||||
```
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@ public:
|
|||
// 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};
|
||||
|
|
Loading…
Reference in New Issue