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..." echo "Bitcoin Private Data Dir(.btcprivate) does not exist in the current user home directory, creating folder..."
mkdir ~/.btcprivate mkdir ~/.btcprivate
fi fi
echo "Bitcoin Private Data Dir(.btcprivate) does exist in the current user home directory. Downloading and Extracting files" 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/btcp-blockchain/BTCprivate.7z wget https://storage.googleapis.com/btcpblockchain/blockchain.tar.gz
sudo apt install p7zip-full tar -zxvf blockchain.tar.gz
7z x BTCprivate.7z echo "Downloading and extracting of blockchain files completed"
echo "Downloading and extracting of blockchain files completed"
# Make initial, empty btcprivate.conf if needed # Make initial, empty btcprivate.conf if needed
if [ ! -e ~/.btcprivate/btcprivate.conf ] if [ ! -e ~/.btcprivate/btcprivate.conf ]