aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-22 20:47:31 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-23 00:32:55 +0100
commit10a79eae240753e4e63b9b5ac1b55bbc06da45d3 (patch)
treea9d515cec3026b0f0f01a3c39ba49d0707e7757b /src/cryptonote_core
parentcore: notify the txpool when transactions are relayed (diff)
downloadmonero-10a79eae240753e4e63b9b5ac1b55bbc06da45d3.tar.xz
daemon: report transaction relay status in print_pool* commands
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 644ad4727..dba05a539 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -425,6 +425,8 @@ namespace cryptonote
txi.last_failed_height = txd.last_failed_height;
txi.last_failed_id_hash = epee::string_tools::pod_to_hex(txd.last_failed_id);
txi.receive_time = txd.receive_time;
+ txi.relayed = txd.relayed;
+ txi.last_relayed_time = txd.last_relayed_time;
tx_infos.push_back(txi);
}