You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit does not change behavior, it just moves code from
CWallet::CreateWalletFromFile to CWallet:::AttachChain so it can be updated in
the next commit.
This commit is most easily reviewed with
"git diff -w --color-moved=dimmed_zebra" or by diffing CWallet:::AttachChain
against the previous code with an external diff tool.
// We can't rescan beyond non-pruned blocks, stop and throw an error.
4162
+
// This might happen if a user uses an old wallet within a pruned node
4163
+
// or if they ran -disablewallet for a longer time, then decided to re-enable
4164
+
// Exit early and print an error.
4165
+
// If a block is pruned after this check, we will load the wallet,
4166
+
// but fail the rescan with a generic error.
4138
4167
error = _("Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)");
0 commit comments