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

Enable wallet key imports without rescan in pruned mode. #4350

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

oxarbitrage
Copy link
Contributor

Fixes #4080 by isolating the prune related commits. Should be easier to review than the full pull request: #2225

gmaxwell and others added 2 commits February 14, 2020 16:27
Complete rescan is incompatible with pruning, but rescan is optional on
 our wallet key import RPCs.  Import on use is very useful in some common
 situations in conjunction with pruning, e.g. merchant payment tracking.

This reenables importprivkey/importaddress/importpubkey when rescan
 is not used.

In the future we should consider changing the rescan argument to allow depth
 or date to allow limited rescanning when compatible with the retained
 block depth.
@daira daira requested review from daira and str4d February 17, 2020 09:54
@zkbot
Copy link
Contributor

zkbot commented Jul 11, 2020

☔ The latest upstream changes (presumably #4560) made this pull request unmergeable. Please resolve the merge conflicts.

@zancas
Copy link
Contributor

zancas commented Jun 23, 2021

Should this PR have the C-upstream-port label?

@daira daira added C-upstream-port Category: Changes that are ported from the Bitcoin Core codebase. C-community-contribution Category: A contribution from the community! labels Mar 28, 2022
@nuttycom nuttycom marked this pull request as draft April 28, 2023 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-community-contribution Category: A contribution from the community! C-upstream-port Category: Changes that are ported from the Bitcoin Core codebase.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable wallet when pruning
6 participants