question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting up a new clean NBXplorer with existing data

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDoriercommented, Jun 23, 2020

@farukterzioglu if you rescan, used address will not be reused.

1reaction
NicolasDoriercommented, Jun 23, 2020

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NBXplorer/docs/API.md at master
You can check the available settings with --help . NBXplorer can be configured in three way: ... Else, launch profiles, which are settings...
Read more >
NBXplorer/README.md at master
Run NBXplorer and locate you cookie file (NBXplorer will generate a new Cookie file each time it runs in its default data folder)...
Read more >
Extended Manual Setup
Extended Manual Setup. This document lists steps for manually deploying BTCPay Server and additional related components. Following these steps is likely to ...
Read more >
Hosting BTCPayserver (#33750) · Issues - Tor gitLab
On this issue the docker setup has some scripts to prune the synced data to ... fix credentials in password manager (remove old,...
Read more >
How do I reduce the size of the block chain data on my ...
Start the client again creating a new data directory, and block chain download. Copy an address from the client.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found