diff options
author | Chris Moore <dooglus@gmail.com> | 2017-09-12 14:01:12 -0700 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2018-05-12 13:15:21 -0400 |
commit | b5ba01a18707b1d50c4d073bd40e1e92d78d04c1 (patch) | |
tree | a5d778bd459b76b06aaf94532590878402ccd894 /src/wallet/wallet.h | |
parent | dd3c07acce7ab67f32a79393abf6227009bd440d (diff) |
Add 'sethdseed' RPC to initialize or replace HD seed
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 3208a20f0f..b6cdf041a8 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1127,6 +1127,9 @@ public: /* Generates a new HD master key (will not be activated) */ CPubKey GenerateNewHDMasterKey(); + /* Derives a new HD master key (will not be activated) */ + CPubKey DeriveNewMasterHDKey(const CKey& key); + /* Set the current HD master key (will reset the chain child index counters) Sets the master key's version based on the current wallet version (so the caller must ensure the current wallet version is correct before calling |