mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-03-26 17:19:02 +00:00
API: zmq_last_active
now shows seconds since last active
This commit is contained in:
parent
fb0dc586b2
commit
24524eb0fd
1 changed files with 1 additions and 1 deletions
|
@ -1559,7 +1559,7 @@ void p2pool::api_update_network_stats()
|
|||
<< "\",\"height\":" << mainnet_tip.height
|
||||
<< ",\"reward\":" << mainnet_tip.reward
|
||||
<< ",\"timestamp\":" << mainnet_tip.timestamp
|
||||
<< ",\"zmq_last_active\":" << zmq_last_active()
|
||||
<< ",\"zmq_last_active\":" << (seconds_since_epoch() - zmq_last_active())
|
||||
<< "}";
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue