Author

Topic: When a wallet is encrypted does that mean all keys and future keys are also? (Read 482 times)

hero member
Activity: 686
Merit: 502
So I am wondering,

I open bitcoin core, create a new address/private key. I encrypt my wallet.

When I create a new address/private key will that also be encrypted with the same pass?
Yes. Every time you decrypt the wallet, the keypool is refilled and those newly generated addresses are always encrypted. The keypool can only be refilled when the wallet is decrypted because it must generate the private keys and write them to the wallet as encrypted private keys.

Thank you for the thorough reply.
staff
Activity: 3458
Merit: 6793
Just writing some code
So I am wondering,

I open bitcoin core, create a new address/private key. I encrypt my wallet.

When I create a new address/private key will that also be encrypted with the same pass?
Yes. Every time you decrypt the wallet, the keypool is refilled and those newly generated addresses are always encrypted. The keypool can only be refilled when the wallet is decrypted because it must generate the private keys and write them to the wallet as encrypted private keys.
hero member
Activity: 686
Merit: 502
So I am wondering,

I open bitcoin core, create a new address/private key. I encrypt my wallet.

When I create a new address/private key will that also be encrypted with the same pass?
Jump to: