Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 311d6176a80cb483a42555bae1bb09242ca5cc67
https://github.com/conformal/btcwallet/commit/311d6176a80cb483a42555bae1bb09242ca5cc67
Author: Josh Rickmar <[email protected]>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Changed paths:
M wallet/wallet.go
M wallet/wallet_test.go
Log Message:
-----------
Generate new addresses from pubkeys if keypool is depleted.
This change uses the ChainedPubKey function to create addresses from
the previous address's public key and the wallet chaincode, without
the need for the private key, if the keypool has been depleted and the
wallet is locked. This is done since the next chained private key is
unsolvable without a locked wallet.
If a wallet contains any of these chained addresses with missing
private keys, the private keys are created during the next wallet
unlock, using ChainedPrivKey.