diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-01-26 21:33:36 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-30 23:28:09 +0100 |
commit | 774a21394ab95bb3303bb99beb236570bafd5731 (patch) | |
tree | bf11d1355b6f726392441feb7d8eff360ae92d2e /src/wallet/api/wallet_manager.h | |
parent | Merge pull request #1618 (diff) | |
download | monero-774a21394ab95bb3303bb99beb236570bafd5731.tar.xz |
Wallet API: Create wallet from keys
Diffstat (limited to 'src/wallet/api/wallet_manager.h')
-rw-r--r-- | src/wallet/api/wallet_manager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wallet/api/wallet_manager.h b/src/wallet/api/wallet_manager.h index ca9570254..ce9b70e96 100644 --- a/src/wallet/api/wallet_manager.h +++ b/src/wallet/api/wallet_manager.h @@ -41,6 +41,13 @@ public: const std::string &language, bool testnet); Wallet * openWallet(const std::string &path, const std::string &password, bool testnet); virtual Wallet * recoveryWallet(const std::string &path, const std::string &memo, bool testnet, uint64_t restoreHeight); + virtual Wallet * createWalletFromKeys(const std::string &path, + const std::string &language, + bool testnet, + uint64_t restoreHeight, + const std::string &addressString, + const std::string &viewKeyString, + const std::string &spendKeyString = ""); virtual bool closeWallet(Wallet *wallet); bool walletExists(const std::string &path); std::vector<std::string> findWallets(const std::string &path); |