mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-01 18:55:36 +00:00
Added algorithm name to 'pools' API command.
This commit is contained in:
parent
01e96606f0
commit
2a087a7dae
1
api.c
1
api.c
@ -1820,6 +1820,7 @@ static void poolstatus(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __m
|
||||
root = api_add_int(root, "POOL", &i, false);
|
||||
root = api_add_string(root, "Name", pool->name, false);
|
||||
root = api_add_escape(root, "URL", pool->rpc_url, false);
|
||||
root = api_add_string(root, "Algorithm", pool->algorithm.name, false);
|
||||
root = api_add_string(root, "Description", pool->description, false);
|
||||
root = api_add_string(root, "Status", status, false);
|
||||
root = api_add_int(root, "Priority", &(pool->prio), false);
|
||||
|
Loading…
Reference in New Issue
Block a user