aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-30 10:49:22 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-30 10:49:22 +0000
commit1f9e6a46d8887c4c29803ff5e639d1cf192865de (patch)
treebe8ee40af53578ef9444a1a7b29ba4e59f541b8e /src/simplewallet/simplewallet.h
parentMerge pull request #1270 (diff)
downloadmonero-1f9e6a46d8887c4c29803ff5e639d1cf192865de.tar.xz
wallet: print tx overview on submit_transfer too
This is on the potentially compromised wallet, but still guards against stupid mistakes.
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h
index 375716604..674c375be 100644
--- a/src/simplewallet/simplewallet.h
+++ b/src/simplewallet/simplewallet.h
@@ -156,7 +156,9 @@ namespace cryptonote
uint64_t get_daemon_blockchain_height(std::string& err);
bool try_connect_to_daemon(bool silent = false);
bool ask_wallet_create_if_needed();
+ bool accept_loaded_tx(const std::function<size_t()> get_num_txes, const std::function<const tools::wallet2::tx_construction_data&(size_t)> &get_tx);
bool accept_loaded_tx(const tools::wallet2::unsigned_tx_set &txs);
+ bool accept_loaded_tx(const tools::wallet2::signed_tx_set &txs);
bool get_address_from_str(const std::string &str, cryptonote::account_public_address &address, bool &has_payment_id, crypto::hash8 &payment_id);
/*!