aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-16 18:56:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-16 18:56:45 +0000
commit4eb7347fdd6f8cc52b4318ee4b29375dc139afb4 (patch)
tree5f70e681e938904eaa72215fbf2b039a0131d2a3 /src/wallet/wallet_rpc_server_commands_defs.h
parentwallet: fix serialization of new m_key_image_known member (diff)
downloadmonero-4eb7347fdd6f8cc52b4318ee4b29375dc139afb4.tar.xz
wallet: return fee in transfer RPC
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index cde9863a2..76de7bc9d 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -133,11 +133,13 @@ namespace wallet_rpc
std::string tx_hash;
std::string tx_key;
std::list<std::string> amount_keys;
+ uint64_t fee;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash)
KV_SERIALIZE(tx_key)
KV_SERIALIZE(amount_keys)
+ KV_SERIALIZE(fee)
END_KV_SERIALIZE_MAP()
};
};
@@ -178,10 +180,12 @@ namespace wallet_rpc
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<uint64_t> fee_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(fee_list)
END_KV_SERIALIZE_MAP()
};
};
@@ -212,10 +216,12 @@ namespace wallet_rpc
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<uint64_t> fee_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(fee_list)
END_KV_SERIALIZE_MAP()
};
};
@@ -256,10 +262,12 @@ namespace wallet_rpc
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<uint64_t> fee_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(fee_list)
END_KV_SERIALIZE_MAP()
};
};