txpool: add tx size median to the pool stats

This commit is contained in:
moneromooo
2017-08-23 18:20:51 +01:00
committed by moneromooo-monero
parent 335681896a
commit 4dbf29bd32
3 changed files with 8 additions and 2 deletions
+2
View File
@@ -1087,6 +1087,7 @@ namespace cryptonote
uint64_t bytes_total;
uint32_t bytes_min;
uint32_t bytes_max;
uint32_t bytes_med;
uint64_t fee_total;
uint64_t oldest;
uint32_t txs_total;
@@ -1100,6 +1101,7 @@ namespace cryptonote
KV_SERIALIZE(bytes_total)
KV_SERIALIZE(bytes_min)
KV_SERIALIZE(bytes_max)
KV_SERIALIZE(bytes_med)
KV_SERIALIZE(fee_total)
KV_SERIALIZE(oldest)
KV_SERIALIZE(txs_total)