Setting up a new clean NBXplorer with existing data
See original GitHub issueI am looking for an appropriate way to setup a clean NBXplorer setup. Current one has lots of small transactions which we can’t spend, lower than our business minimum. Spending these even for once currently not possible. And at the first run, we didn’t set minutxovalue and now 2/3 of utxos are never being spent (so their transactions can’t be pruned.)
And I suspect we may have some missed transactions when we got exception as
Current Index Progress not found, start syncing from the header's chain tip
and I can’t rescan as before as I want to be confident, because it takes too much time and requests to NBX while it rescanning being timed out.
Is it enough to install a clean NBX, track all derivation schemes and rescan as before as I wish? How about addresses generated with previous one? (some of them received tx, some of them never used before)
Should I generate the addresses which generated before, again with the newly setup NBX, without storing them on my db (since I already saved them)?
What else will be required to align with the existing one?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
@farukterzioglu if you rescan, used address will not be reused.
@farukterzioglu you can certainly start a new NBX, use scanutxoset, but this is not available in all shitcoins, so you need to test. Also, it may not work on non segwit address.
You can also manually import transactions in NBX manually via some calls in the doc (check it out). So you can do a script that take data out of your current NBX, and put it in the new NBX.