It's not clear to me how unloaded wallets behave in Bitcoin Core v0.17.0.1.

If I create a new wallet with createwallet, add a receiving address to it using importmulti, then unload it using unloadwallet:

  1. Will bitcoind still detect payments to this wallet’s address(es)? (seems yes)
  2. If yes, will that detection happen only when I use loadwallet again? (seems yes)
  3. If yes, will that require a rescan of (recent) blocks? (I'm worried about how long this might take, if it's been months or years since I last loaded this wallet.)
  4. If yes, will that be a problem on a pruned node?
  5. If yes, should I avoid this multi-wallet feature on a pruned node, or is there a safe way to use it without risking large re-downloads? (e.g. never unload it)

1 Answer 1

  1. Yes
  2. Yes
  3. Yes
  4. Possibly
  5. By making sure the node does not prune beyond the point the wallet was last loaded. You can either set the prune size large enough that enough blocks remain, or use manual pruning. With manual pruning you can determine how much to prune and when, using the pruneblockchain RPC command.
  • Thank you! One last question: after loadwallet, how can I tell (via RPC) when the rescan has completed and getbalance is reliable? Dec 23, 2018 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.