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
This commit is contained in:
Lee *!* Clagett 2024-06-24 19:57:20 -04:00
parent cc73fe7116
commit 88afcdb8fa
4 changed files with 87 additions and 0 deletions

View file

@ -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;