diff options
| author | Patrick Strateman <[email protected]> | 2016-07-19 16:43:11 -0700 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-09-30 19:11:00 +0200 |
| commit | e198c521d39bb0ec17f42dfe72026969984af2c7 (patch) | |
| tree | 8c4a869dedb488aef6661b6499af70831ff742de /src/wallet/wallet.h | |
| parent | Merge #8826: Do not include env_win.cc on non-Windows systems (diff) | |
| download | discoin-e198c521d39bb0ec17f42dfe72026969984af2c7.tar.xz discoin-e198c521d39bb0ec17f42dfe72026969984af2c7.zip | |
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 c700e0ca7..077edcab2 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) |