4

I heard that the wallet has 100 of the next receiving addresses already. Shouldn't I be able to get one of those without unlocking it?

  • I believe you can. So long as the wallet has spare receiving addresses, you should be able to get one without supplying a password. If you can't, then it's probably out of spare receiving addresses. – David Schwartz Apr 9 '13 at 22:46
3

The Bitcoin-Qt/bitcoind client will try to maintain a key pool of unused keys at an even size (default is 100 keys). So each time you click "New key" it is going to try to add one to the key pool.

These keys in the key pool need to be encrypted, so your passphrase is required to do that.

The getnewaddress API call will, I believe, give you an address from the pool and if the wallet is locked, will simply deplete keys from the key pool without requiring the passphrase to replenish.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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