aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-04 23:31:33 +0200
committerJaquee <jaquee.monero@gmail.com>2017-10-15 17:57:43 +0200
commitfc9229342dfe56655415c190b84cec267d041540 (patch)
tree4afb2ee9adb7895e5b34efd0b60568c39c356618 /src/wallet/wallet2_api.h
parentwalletAPI: init() lightwallet and SSL support (diff)
downloadmonero-fc9229342dfe56655415c190b84cec267d041540.tar.xz
walletAPI: add lightwallet login() and importWalletRequest()
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h6
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;
};
/**