update blockchain download url and remove 7z

This commit is contained in:
J62 2018-04-13 10:49:40 -07:00 committed by GitHub
parent 403d9860b7
commit 8326c1a313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -53,12 +53,11 @@ then
echo "Bitcoin Private Data Dir(.btcprivate) does not exist in the current user home directory, creating folder..."
mkdir ~/.btcprivate
fi
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"
echo "Bitcoin Private Data Dir(.btcprivate) does exist in the current user home directory. Downloading and Extracting files"
cd ~/.btcprivate
wget https://storage.googleapis.com/btcpblockchain/blockchain.tar.gz
tar -zxvf blockchain.tar.gz
echo "Downloading and extracting of blockchain files completed"
# Make initial, empty btcprivate.conf if needed
if [ ! -e ~/.btcprivate/btcprivate.conf ]