Switching back and forth between Knots and Core

I originally started with Knots and now want to v29.2 of Core. Can I switch back and forth and using the same blockchain data? It seems as though my node is now downloading a completely separate copy of the blockchain for Core to sync to.

Seems you can’t, just stick with Knots and change the policy reqs to whatever is default for 29.2?

You should be able to do that, have you seen this? this should work from Knots to Core as well

Switching back and forth can be done very easily by using a symbolic link to the data directory and not require you to install anything nor download a second copy of the blockchain. (But only run 1 at a time, of course!)

Going from CORE to Knots:

ssh to umbrel
cd ~/umbrel/app-data/bitcoin-knots
sudo rm -rf data
ln -s /home/umbrel/umbrel/app-data/bitcoin/data data
cd data/app
mv settings.json CORE.settings.json

Start Bitcon Knots
cp settings.json Knots.settings.json

It is that easy and is working on my Test System which is running under VMware.

NOTE: I have custom settings defined in my settings files for CORE and Knots which is why I keep a copy of them and just coping them over to settings.json file before I start the app.

Also of Note: I don’t run a PRUNED Blockchain, so, I am not sure this would work in that environment.

–Rod

I just tried it with a PRUNED data base and it worked too.

I would think the key thing to do is make sure the value for Prune Old Blocks matches in each settings.json files before you start the apps.

Of course, that breaks the apps that require access to the full blockchain!

Again, this was only tested on my Test System which is running in VMware that is fully backed up!

–Rod