aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-27 18:15:13 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-27 18:15:13 +0200
commit72b5f37f58754c05627f89fc9e6c1f44d4a3b3ce (patch)
tree9c097b08047e8508dca175344687810d084f93cb /src/rpc
parentMerge pull request #2347 (diff)
parenttxpool: update db tx metadata when it changes (diff)
downloadmonero-72b5f37f58754c05627f89fc9e6c1f44d4a3b3ce.tar.xz
Merge pull request #2349
1914c999 txpool: update db tx metadata when it changes (moneromooo) 4dbf29bd txpool: add tx size median to the pool stats (moneromooo)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h2
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 59508bcaa..88327dd75 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -1114,6 +1114,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;
@@ -1127,6 +1128,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)