Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet: deep rescan http api #33

Merged
merged 23 commits into from
Oct 14, 2020
Merged

Conversation

turbomaze
Copy link

No description provided.

pinheadmz and others added 23 commits September 3, 2020 09:18
walletDB deepRescan():
- deletes all mapping of blocks, outpoints and tx hashes to wallet ids
- deletes ENTIRE txdb (all history, all balance data, for all wallets)
- keeps all account metadata (account name, type, address depth, etc)
- keeps all name->wallet ID mapping (although this may be unnecessary)
- keeps all address-hash path mapping (addresses from all accounts)
- automatically initiates a blockchain rescan from genesis once clear

wallet HTTP /deeprescan:
- requires admin token, like /rescan
- requires setting parameter `I_HAVE_BACKED_UP_MY_WALLET` to `true`
- initiates walletDB deepRescan()
txdb: Zippy's finalize locked unconfirmed fixes
wallet: Zippy's deep rescan endpoint
@turbomaze turbomaze merged commit 2a213df into production-namebase Oct 14, 2020
@turbomaze turbomaze deleted the anthony-rescan-fixes branch October 14, 2020 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants