expanded on comments
This commit is contained in:
parent
d14d77482c
commit
6489c48aee
|
@ -54,17 +54,19 @@ fi
|
||||||
# Build Bitcoin Private
|
# Build Bitcoin Private
|
||||||
./BitcoinPrivate/btcputil/build.sh -j$(nproc)
|
./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/ ]
|
if [ ! -e ~/.btcprivate/ ]
|
||||||
then
|
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
|
mkdir ~/.btcprivate
|
||||||
fi
|
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
|
wget https://storage.googleapis.com/btcp-blockchain/BTCprivate.7z
|
||||||
sudo apt install p7zip-full
|
sudo apt install p7zip-full
|
||||||
7z x BTCprivate.7z
|
7z x BTCprivate.7z
|
||||||
|
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