From 42e9e773363944f77f70a703aa436666906bfa1a Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 30 Jan 2020 15:05:55 -0500 Subject: [PATCH] sign_txs(), submit_txs() placeholders --- src/wallet/monero_wallet_core.cpp | 10 ++++++++++ src/wallet/monero_wallet_core.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/wallet/monero_wallet_core.cpp b/src/wallet/monero_wallet_core.cpp index ff0767a..358e3a0 100644 --- a/src/wallet/monero_wallet_core.cpp +++ b/src/wallet/monero_wallet_core.cpp @@ -2494,6 +2494,16 @@ namespace monero { } } + string monero_wallet_core::sign_txs(const string& unsigned_tx_hex) { + cout << "monero_wallet_core::sign_txs()" << endl; + throw runtime_error("Not implemented"); + } + + vector monero_wallet_core::submit_txs(const string& signed_tx_hex) { + cout << "monero_wallet_core::submit_txs()" << endl; + throw runtime_error("Not implemented"); + } + string monero_wallet_core::sign(const string& msg) const { return m_w2->sign(msg); } diff --git a/src/wallet/monero_wallet_core.h b/src/wallet/monero_wallet_core.h index 8a02c12..af2b48f 100644 --- a/src/wallet/monero_wallet_core.h +++ b/src/wallet/monero_wallet_core.h @@ -226,6 +226,8 @@ namespace monero { monero_tx_set sweep_output(const monero_send_request& request); monero_tx_set sweep_dust(bool do_not_relay = false); monero_tx_set parse_tx_set(const monero_tx_set& tx_set); + string sign_txs(const string& unsigned_tx_hex); + vector submit_txs(const string& signed_tx_hex); string sign(const string& msg) const; bool verify(const string& msg, const string& address, const string& signature) const; string get_tx_key(const string& tx_hash) const;