Bitcoin core reindex - exactly would
does Bitcoin Core automatically use reindex when you specify txindex=1 with existing sync’d chain?
I sync’d a bitcoin node with Bitcoin Core Qt GUI. Hundreds of GB, naturally.
I realized I needed txindex on for Lightning node stuff, so I changed the conf file via the GUI to include . I launched it on my Mac and then slapped myself in the face – how would I tell it to reindex instead of throwing away my database?? Didn’t wanna download all those GB again.
But then I noticed debug.log started saying this:
which, if I remember right means it’s doing a reindex, not a full-blown restart of a sync. Checked on disk, and indeed, files still there.
I’m grateful, but also mystified. Questions:
- does Bitcoin Core see when you’re about to throw away a full sync with and then inject a into the start command?
- how can I see the startup command that uses when I start with with the Mac OSX launcher?
-
-