mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Store and display stripped url in its own variable.
This commit is contained in:
parent
3db6fb4fac
commit
ac47f7f3a6
@ -4154,7 +4154,8 @@ static inline int cp_prio(void)
|
||||
|
||||
static void pool_resus(struct pool *pool)
|
||||
{
|
||||
applog(LOG_WARNING, "Pool %d %s alive", pool->pool_no, pool->rpc_url);
|
||||
applog(LOG_WARNING, "Pool %d %s alive", pool->pool_no,
|
||||
pool->has_stratum ? pool->stratum_url : pool->rpc_url);
|
||||
if (pool->prio < cp_prio() && pool_strategy == POOL_FAILOVER)
|
||||
switch_pools(NULL);
|
||||
}
|
||||
|
1
miner.h
1
miner.h
@ -833,6 +833,7 @@ struct pool {
|
||||
struct cgminer_pool_stats cgminer_pool_stats;
|
||||
|
||||
/* Stratum variables */
|
||||
char *stratum_url;
|
||||
SOCKETTYPE sock;
|
||||
struct sockaddr_in *server, client;
|
||||
char *subscription;
|
||||
|
Loading…
x
Reference in New Issue
Block a user