diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2016-07-19 16:43:11 -0700 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-09-30 19:11:00 +0200 |
commit | e198c521d39bb0ec17f42dfe72026969984af2c7 (patch) | |
tree | 8c4a869dedb488aef6661b6499af70831ff742de /src/wallet/wallet.h | |
parent | f560d9564f74ae8f4b449121b22703b23db3d010 (diff) | |
download | bitcoin-e198c521d39bb0ec17f42dfe72026969984af2c7.tar.xz |
Move key derivation logic from GenerateNewKey to DeriveNewChildKey
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) |