aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-10-23 19:16:30 +0200
committerRiccardo Spagni <ric@spagni.net>2016-10-23 19:16:30 +0200
commit854abeb3bbdb1b9399309297a533be09442faa40 (patch)
treeb4814fa9f74ca734dccb598a6fffbfb8b3a5098c /src/rpc
parentMerge pull request #1246 (diff)
parentdaemon: report transaction relay status in print_pool* commands (diff)
downloadmonero-854abeb3bbdb1b9399309297a533be09442faa40.tar.xz
Merge pull request #1247
10a79ea daemon: report transaction relay status in print_pool* commands (moneromooo-monero) 1e16366 core: notify the txpool when transactions are relayed (moneromooo-monero) f3c374f tx_pool: set relayed flag on relay (moneromooo-monero)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h
index 64f7ebf5e..85895a71a 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -857,6 +857,8 @@ namespace cryptonote
uint64_t last_failed_height;
std::string last_failed_id_hash;
uint64_t receive_time;
+ bool relayed;
+ uint64_t last_relayed_time;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(id_hash)
@@ -869,6 +871,8 @@ namespace cryptonote
KV_SERIALIZE(last_failed_height)
KV_SERIALIZE(last_failed_id_hash)
KV_SERIALIZE(receive_time)
+ KV_SERIALIZE(relayed)
+ KV_SERIALIZE(last_failed_id_hash)
END_KV_SERIALIZE_MAP()
};