diff options
author | moneromooo <moneromoo@nowhere.nowhere.nowhere> | 2017-08-23 18:20:51 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-25 22:21:38 +0100 |
commit | 4dbf29bd329c8891f9b6a8eaab71ee985518800b (patch) | |
tree | 417bd0c9fa436222a5c2c8ea8701de0611ab906a /src/rpc | |
parent | Merge pull request #2311 (diff) | |
download | monero-4dbf29bd329c8891f9b6a8eaab71ee985518800b.tar.xz |
txpool: add tx size median to the pool stats
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index c413f9af8..2ada091f8 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -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) |