Update fork-instructions.md

This commit is contained in:
CryptoJake22 2018-03-02 19:36:58 -05:00 committed by GitHub
parent 27d0bd8019
commit 812e8eea6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 5 deletions

View File

@ -15,28 +15,38 @@ sudo apt-get -y install \
zlib1g-dev wget bsdmainutils make automake
# OPTIONAL: Make sure you have a big enough Swapfile
```cd /
```
cd /
sudo dd if=/dev/zero of=swapfile bs=1M count=3000
sudo mkswap swapfile
sudo chmod 0600 /swapfile
sudo swapon swapfile
echo "/swapfile none swap sw 0 0" | sudo tee -a etc/fstab > /dev/null```
echo "/swapfile none swap sw 0 0" | sudo tee -a etc/fstab > /dev/null
```
cd ~
`cd ~`
# Clone the BitcoinPrivate repo
```
git clone https://github.com/BTCPrivate/BitcoinPrivate
cd BitcoinPrivate
```
```
# Build Wallet / Daemon
./btcputil/fetch-params.sh
./btcputil/build.sh -j$(nproc)
```
```
cd ~/.btcprivate/
```
# Download + Decompress Snapshot Data (BTC UTXOs)
```
curl https://s3.amazonaws.com/btcp.snapshot/utxo_snapshot.tar.gz | tar xvz
```
# Run the daemon
```
cd ~/BitcoinPrivate
./src/btcpd
```