diff options
author | xiphon <xiphon@protonmail.com> | 2020-02-11 23:27:30 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-02-11 23:36:50 +0000 |
commit | cc18926ebab0c117b88a08da19bac14021fa4c2d (patch) | |
tree | 44066a92f235a625021f714eb1132d0012911da4 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #6145 (diff) | |
download | monero-cc18926ebab0c117b88a08da19bac14021fa4c2d.tar.xz |
wallet2_api: wallet recovery - seed offset passphrase support
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index e543a115b..024732a06 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -1085,10 +1085,12 @@ struct WalletManager * \param nettype Network type * \param restoreHeight restore from start height * \param kdf_rounds Number of rounds for key derivation function + * \param seed_offset Seed offset passphrase (optional) * \return Wallet instance (Wallet::status() needs to be called to check if recovered successfully) */ virtual Wallet * recoveryWallet(const std::string &path, const std::string &password, const std::string &mnemonic, - NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1) = 0; + NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1, + const std::string &seed_offset = {}) = 0; Wallet * recoveryWallet(const std::string &path, const std::string &password, const std::string &mnemonic, bool testnet = false, uint64_t restoreHeight = 0) // deprecated { |