expanded on comments

This commit is contained in:
J62 2018-04-13 08:51:30 -07:00 committed by Ubuntu
parent d14d77482c
commit 6489c48aee
1 changed files with 5 additions and 3 deletions

View File

@ -54,17 +54,19 @@ fi
# Build Bitcoin Private
./BitcoinPrivate/btcputil/build.sh -j$(nproc)
#Make
#Make hidden .btcprivate dir because the daemon has not ran and created the folder yet
#Then download the blockchain zip and extract to speed up the initial syncing when first starting
if [ ! -e ~/.btcprivate/ ]
then
echo "does not exist, creating folder"
echo "Bitcoin Private Data Dir(.btcprivate) does not exist in the current user home directory, creating folder..."
mkdir ~/.btcprivate
fi
echo "folder does exist..copying files"
echo "Bitcoin Private Data Dir(.btcprivate) does exist in the current user home directory. Downloading and Extracting files"
wget https://storage.googleapis.com/btcp-blockchain/BTCprivate.7z
sudo apt install p7zip-full
7z x BTCprivate.7z
echo "Downloading and extracting of blockchain files completed"
# Make initial, empty btcprivate.conf if needed
if [ ! -e ~/.btcprivate/btcprivate.conf ]