aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-02 00:31:30 +0200
committerRiccardo Spagni <ric@spagni.net>2018-01-02 00:31:30 +0200
commit803f54b9fd6f3c25e6a6e55dfac500f50443bd60 (patch)
treeee407e2412f1e9498b0aec74281ce93aa135585a /src/wallet/wallet_rpc_server.h
parentMerge pull request #2965 (diff)
parentwallet_rpc_server: factor transfer info return and add missing info (diff)
downloadmonero-803f54b9fd6f3c25e6a6e55dfac500f50443bd60.tar.xz
Merge pull request #2967
55556fab wallet_rpc_server: factor transfer info return and add missing info (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r--src/wallet/wallet_rpc_server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h
index b20198b78..88f2a85a4 100644
--- a/src/wallet/wallet_rpc_server.h
+++ b/src/wallet/wallet_rpc_server.h
@@ -207,6 +207,11 @@ namespace tools
bool not_open(epee::json_rpc::error& er);
void handle_rpc_exception(const std::exception_ptr& e, epee::json_rpc::error& er, int default_error_code);
+ template<typename Ts, typename Tu>
+ bool fill_response(std::vector<tools::wallet2::pending_tx> &ptx_vector,
+ bool get_tx_key, Ts& tx_key, Tu &amount, Tu &fee, std::string &multisig_txset, bool do_not_relay,
+ Ts &tx_hash, bool get_tx_hex, Ts &tx_blob, bool get_tx_metadata, Ts &tx_metadata, epee::json_rpc::error &er);
+
wallet2 *m_wallet;
std::string m_wallet_dir;
tools::private_file rpc_login_file;