From a7ca273eeb4a52a75d5bb7876cb66a64fecb3923 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sun, 30 Jun 2019 02:45:20 +0200 Subject: [PATCH] remove info in txindex=1 from docs --- FAQ.md | 2 +- README.md | 4 ++-- WORKSHOP.md | 9 +-------- home.admin/50copyHDD.sh | 4 ++-- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/FAQ.md b/FAQ.md index fd2d7be7..8c1ae451 100644 --- a/FAQ.md +++ b/FAQ.md @@ -143,7 +143,7 @@ The torrent download use a prepared blockchain to kick start the RaspiBlitz. If Copying a already synced blockchain from another computer (for example your Laptop) can be a quick way to get the RaspiBlitz started or replacing a corrupted blockchain with a fresh one. Also that way you synced and verified the blockchain yourself and not trusting the RaspiBlitz Torrent downloads (dont trust, verify). -One requirement is that the blockchain is from another bitcoin-core client with version greater or equal to 0.17.1 with transaction index switched on (`txindex=1` in the `bitcoin.conf`). +One requirement is that the blockchain is from another bitcoin-core client with version greater or equal to 0.17.1. But we dont copy the data via USB to the device, because the HDD needs to be formatted in EXT4 and that is usually not read/writeable by Windows or Mac computers. So I will explain a way to copy the data through your local network. This should work from Windows, Mac, Linux and even from another already synced RaspiBlitz. diff --git a/README.md b/README.md index 54e444f4..e3d42bde 100644 --- a/README.md +++ b/README.md @@ -221,9 +221,9 @@ You can cancel the torrent download by keeping the key `x` pressed. Then the dow #### 2. Copying from another Computer -If you have another computer available (laptop, desktop or another raspiblitz) that already runs a working blockchain (with txindex=1) you can use this option to copy it over to the RaspiBlitz. This will be done over the local network by SCP (SSH file transfere). Choose this option and follow the given instructions. +If you have another computer available (laptop, desktop or another raspiblitz) that already runs a working blockchain you can use this option to copy it over to the RaspiBlitz. This will be done over the local network by SCP (SSH file transfere). Choose this option and follow the given instructions. -This is also the best option if you dont like to run your RaspiBlitz with a prepared blockchain by a third party. Then install bitcoin-core on a more powerful computer, sync+validate the blockchain (with txindex=1) there by yourself and copy it over after that thru the local network. +This is also the best option if you dont like to run your RaspiBlitz with a prepared blockchain by a third party. Then install bitcoin-core (0.17.1 or higher) on a more powerful computer, sync+validate the blockchain there by yourself and copy it over after that thru the local network. More details: [I have the full blockchain on another computer. How do I copy it to the RaspiBlitz?](FAQ.md#i-have-the-full-blockchain-on-another-computer-how-do-i-copy-it-to-the-raspiblitz) diff --git a/WORKSHOP.md b/WORKSHOP.md index 6b8d496d..1ac1c907 100644 --- a/WORKSHOP.md +++ b/WORKSHOP.md @@ -144,14 +144,7 @@ A prepared HDD is formatted in EXT4 and named "BLOCKCHAIN". In folder called `bi /bitcoin/chainstate ``` -optionaly you can add also the testnet data: - -``` -/bitcoin/testnet3/blocks -/bitcoin/testnet3/chainstate -``` - -The bitcoin core client the folders are from needs to have `txindex=1` in the bitcoin.conf and needs to be stopped while the data is copied to the HDD. +The bitcoin core client (0.17.1 or higher) needs to be stopped while the data is copied to the HDD. The easiest way to get a "template" of such HDD is to setup a fresh RaspiBlitz (without channel and fundings) and then run the script `/home/admin/XXcleanHDD.sh` and manually delete all rest data from the HDD and just leave those folders. diff --git a/home.admin/50copyHDD.sh b/home.admin/50copyHDD.sh index b7361256..99f0b7b6 100755 --- a/home.admin/50copyHDD.sh +++ b/home.admin/50copyHDD.sh @@ -60,8 +60,8 @@ echo "************************************************************************** echo "Instructions to COPY/TRANSFER SYNCED BLOCKCHAIN from another computer" echo "************************************************************************************" echo "" -echo "You can use the blockchain from another bitcoin-core client with version greater or equal" -echo "to 0.17.1 with transaction index switched on (txindex=1 in the bitcoin.conf)." +echo "You can use the blockchain from another bitcoin-core client with version" +echo "greater or equal to 0.17.1." echo "" echo "Both computers (your RaspberryPi and the other computer with the full blockchain on) need" echo "to be connected to the same local network."