mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +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();
|
||||
#endif
|
||||
print_status(false);
|
||||
P2PServer* server = m_pool->p2p_server();
|
||||
if (server) {
|
||||
server->print_status();
|
||||
server->print_bans();
|
||||
server->show_peers_async();
|
||||
|
||||
StratumServer* server1 = m_pool->stratum_server();
|
||||
P2PServer* server2 = m_pool->p2p_server();
|
||||
|
||||
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();
|
||||
bkg_jobs_tracker.print_status();
|
||||
m_pool->stop();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue