aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-19 12:51:13 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-19 12:51:13 -0500
commit9a3bd88b9f65f4245b6b20ef0c33b75c39779b80 (patch)
tree9a7859d7d2c611058eeddfe385cf15ab74e804fc /src/rpc
parentMerge pull request #3844 (diff)
parentfix build with GCC 8.1.0 (diff)
downloadmonero-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.xz
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
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 70e186848..1e624da1b 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -1565,6 +1565,8 @@ namespace cryptonote
std::vector<txpool_histo> histo;
uint32_t num_double_spends;
+ txpool_stats(): bytes_total(0), bytes_min(0), bytes_max(0), bytes_med(0), fee_total(0), oldest(0), txs_total(0), num_failing(0), num_10m(0), num_not_relayed(0), histo_98pc(0), num_double_spends(0) {}
+
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(bytes_total)
KV_SERIALIZE(bytes_min)