2

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)
3
  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? – Bitcoin Hodler Dec 23 '18 at 16:33

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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