update blockchain download url and remove 7z
This commit is contained in:
parent
403d9860b7
commit
8326c1a313
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in New Issue