diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-22 20:47:31 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 00:32:55 +0100 |
commit | 10a79eae240753e4e63b9b5ac1b55bbc06da45d3 (patch) | |
tree | a9d515cec3026b0f0f01a3c39ba49d0707e7757b /src/rpc | |
parent | core: notify the txpool when transactions are relayed (diff) | |
download | monero-10a79eae240753e4e63b9b5ac1b55bbc06da45d3.tar.xz |
daemon: report transaction relay status in print_pool* commands
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 4 |
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 135cf1fe7..cb58d0d07 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -855,6 +855,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) @@ -867,6 +869,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() }; |