aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-08-19 15:35:37 +0200
committertobtoht <thotbot@protonmail.com>2021-08-19 15:52:01 +0200
commitbe6c61e2eedeba4da307b485ce08eaa84441aa5d (patch)
treef629a10d920ab6f6fe57a2a054ea6a36377a8b93 /src/wallet/api/wallet2_api.h
parentMerge pull request #7839 (diff)
downloadmonero-be6c61e2eedeba4da307b485ce08eaa84441aa5d.tar.xz
wallet_api: add make_uri
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index e34332734..73daad4bb 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -1019,6 +1019,7 @@ struct Wallet
virtual bool verifyMessageWithPublicKey(const std::string &message, const std::string &publicKey, const std::string &signature) const = 0;
virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) = 0;
+ virtual std::string make_uri(const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const = 0;
virtual std::string getDefaultDataDir() const = 0;