diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-08-04 23:31:33 +0200 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-10-15 17:57:43 +0200 |
commit | fc9229342dfe56655415c190b84cec267d041540 (patch) | |
tree | 4afb2ee9adb7895e5b34efd0b60568c39c356618 /src/wallet/wallet2_api.h | |
parent | walletAPI: init() lightwallet and SSL support (diff) | |
download | monero-fc9229342dfe56655415c190b84cec267d041540.tar.xz |
walletAPI: add lightwallet login() and importWalletRequest()
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index be17c7506..4d734ab94 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -725,6 +725,12 @@ struct Wallet * \return true on success */ virtual bool rescanSpent() = 0; + + //! Light wallet authenticate and login + virtual bool lightWalletLogin(bool &isNewWallet) const = 0; + + //! Initiates a light wallet import wallet request + virtual bool lightWalletImportWalletRequest(std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status) = 0; }; /** |