Oddbean new post about | logout
 Why does the entire blockchain on a full node get wiped out when Core has to get reinstalled?

Makes no sense. The chain was clearly verified and being used by the node. Why does the data get wiped out if Core does? It would make it much faster to sync to Chain Tip if the data wasn't chained at the hip to Core.

What am I missing here? Surely I am not the first person to think about this so I feel like there is something in my logic that is all jacked up.

Chain re-sync now at 13.11% (1 hour and 40 minutes of syncing) 
 bitcoin core uses leveldb, there is some bug where it occasionally gets corrupted. it's pretty horrible. usually you don't need to redownload, just reindex. 
 I’ve had to do 5-10 reindexes on my node 😕 my drive is fine. I have heard many cases of this from other people. 
 I’m not worried about the drive. Time to do all this means I can’t accept lightning payments. No zaps, boosts or streaming sats until Core is resynced. Not gonna kill me but most of the support I get from the podcast comes it during this time. 
 This is me all the time (also right now) 
 We need failover. 
 Like a fallback dns 
 …? I have the chain data and indexes symlinked. When updating core, I just reenable the symlinks and pick up where I’ve left off. That assumes a whole new installation. Often it’s just a binary update. 
 I want this. By 'symlink' you are referring to symbolic link? 
 Yep. Make a shady spot for your chain data and indexes, then link them into the appropriate places for core. Unlink if concerned about an upgrade / change / whatever. Link back when done. 

Good for electrum, too. 
 My lightning node finally died a few months ago, causing me to need to upgrade my hardware and resync entire chain. Painful for sure. I was able to setup a node on voltage while everything was syncing though. Decent option to keep you up and running.