diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-30 19:55:58 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-30 19:56:03 +0200 |
commit | 940748b4b08700ca2a4e790bd22bcc64ee80b6fe (patch) | |
tree | 85c281c31d09fec38e0078165b3b45b8aced2f5a /src/wallet/wallet.h | |
parent | fb24d7eeb47e6caeef7b4ce62a1c35130d42f67f (diff) | |
parent | e198c521d39bb0ec17f42dfe72026969984af2c7 (diff) | |
download | bitcoin-940748b4b08700ca2a4e790bd22bcc64ee80b6fe.tar.xz |
Merge #8851: [wallet] Move key derivation logic from GenerateNewKey to DeriveNewChildKey (pstratem)
e198c52 Move key derivation logic from GenerateNewKey to DeriveNewChildKey (Patrick Strateman)
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index c700e0ca7c..077edcab2d 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -698,6 +698,7 @@ public: * Generate a new key */ CPubKey GenerateNewKey(); + void DeriveNewChildKey(CKeyMetadata& metadata, CKey& secret); //! Adds a key to the store, and saves it to disk. bool AddKeyPubKey(const CKey& key, const CPubKey &pubkey); //! Adds a key to the store, without saving it to disk (used by LoadWallet) |