aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/message_data_structs.h
diff options
context:
space:
mode:
authorLee *!* Clagett <code@leeclagett.com>2024-06-24 19:57:20 -0400
committerLee *!* Clagett <code@leeclagett.com>2024-06-24 20:06:33 -0400
commitc5ad937cc11d3181b7549db573ac37ec635be96e (patch)
tree7990e5461bacf0e08feea5411addcc85990b39f0 /src/rpc/message_data_structs.h
parent24ccaba6ef429fdd37a3281c586e655987201a5c (diff)
downloadmonzero-core-c5ad937cc11d3181b7549db573ac37ec635be96e.tar.gz
monzero-core-c5ad937cc11d3181b7549db573ac37ec635be96e.tar.xz
monzero-core-c5ad937cc11d3181b7549db573ac37ec635be96e.zip
Fix ZMQ DaemonInfo:
* top_block_hash was never set in handler * wide_difficulty was never sent in JSON * wide_cumulative_difficulty was never sent in JSON
Diffstat (limited to 'src/rpc/message_data_structs.h')
-rw-r--r--src/rpc/message_data_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/message_data_structs.h b/src/rpc/message_data_structs.h
index dd9d198ed..7f3b787b6 100644
--- a/src/rpc/message_data_structs.h
+++ b/src/rpc/message_data_structs.h
@@ -176,6 +176,7 @@ namespace rpc
{
uint64_t height;
uint64_t target_height;
+ uint64_t top_block_height;
cryptonote::difficulty_type wide_difficulty;
uint64_t difficulty;
uint64_t target;