|
|
|
@ -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
|
|
|
|
|
{
|
|
|
|
|