Suppose that my wallet is encrypted with a passphase and currently I have not provided bitcoind
with the passphrase to access the private keys section of the wallet.
If I enter:
bitcoind getnewaddress
It prints a new address, say [someaddress], but where does it store the private key that goes with it?
If I enter:
bitcoind dumpprivkey [someaddress]
I get an error message since I have not provided the wallet passphrase.
But if I first provide the wallet passphrase and then try dumpprivkey
it shows the private key.
When I asked it to get a new address, I had not provided the passphrase, so how it store the private key?