From c3b58318da6ac29364c1d2a0880c73f36f2fb669 Mon Sep 17 00:00:00 2001 From: BitZk <98849237+BitZk@users.noreply.github.com> Date: Sat, 15 Oct 2022 09:19:24 -1000 Subject: [PATCH] Update data-from-other-node.md Added the option to copy over Electrs index. This solves the problem of reindexing errors using the builtin Electrs server which have been experienced when using blockchain data from another device. This code will be different if Electrs was not the previous indexer or the desired indexer in the destination node. --- docs/bitcoin/data-from-other-node.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/bitcoin/data-from-other-node.md b/docs/bitcoin/data-from-other-node.md index f596acf..b41c9b2 100644 --- a/docs/bitcoin/data-from-other-node.md +++ b/docs/bitcoin/data-from-other-node.md @@ -41,6 +41,10 @@ sudo scp -r admin@othernode.local:/mnt/hdd/mynode/bitcoin/blocks /mnt/hdd/mynode sudo scp -r admin@othernode.local:/mnt/hdd/mynode/bitcoin/chainstate /mnt/hdd/mynode/bitcoin/ sudo scp -r admin@othernode.local:/mnt/hdd/mynode/bitcoin/indexes /mnt/hdd/mynode/bitcoin/ sudo chown -R bitcoin:bitcoin /mnt/hdd/mynode/bitcoin/ + +# Optionally, if the blockchain data you are copying was previously indexed by Electrs and Electrs will be used on the destination node, copy the existing index to save time and avoid reindexing errors +sudo scp -r admin@othernode.local:/mnt/hdd/mynode/electrs/bitcoin /mnt/hdd/mynode/electrs/ + sudo reboot ```