mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Sync test: log stratum data when finished
This commit is contained in:
parent
05b88a48a3
commit
2877e5dfc1
1 changed files with 15 additions and 5 deletions
|
@ -2108,13 +2108,23 @@ void SideChain::prune_old_blocks()
|
||||||
show_top_10_allocations();
|
show_top_10_allocations();
|
||||||
#endif
|
#endif
|
||||||
print_status(false);
|
print_status(false);
|
||||||
P2PServer* server = m_pool->p2p_server();
|
|
||||||
if (server) {
|
StratumServer* server1 = m_pool->stratum_server();
|
||||||
server->print_status();
|
P2PServer* server2 = m_pool->p2p_server();
|
||||||
server->print_bans();
|
|
||||||
server->show_peers_async();
|
if (server1 && server2) {
|
||||||
|
server1->print_status();
|
||||||
|
server2->print_status();
|
||||||
|
|
||||||
|
server1->print_bans();
|
||||||
|
server2->print_bans();
|
||||||
|
|
||||||
|
server1->show_workers_async();
|
||||||
|
server2->show_peers_async();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pool->print_hosts();
|
m_pool->print_hosts();
|
||||||
|
bkg_jobs_tracker.print_status();
|
||||||
m_pool->stop();
|
m_pool->stop();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue