Implemented CCClient and extended CCServer service
This commit is contained in:
parent
003e17d18f
commit
215efcabb8
31 changed files with 1538 additions and 701 deletions
|
@ -138,6 +138,16 @@ static void print_api()
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef XMRIG_NO_CC
|
||||
static void print_cc()
|
||||
{
|
||||
if (Options::i()->ccUrl() == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
Log::i()->text(Options::i()->colors() ? "\x1B[01;32m * \x1B[01;37mCC Server: \x1B[01;36m%s" : " * CC Server: %s", Options::i()->ccUrl());
|
||||
}
|
||||
#endif
|
||||
|
||||
static void print_commands()
|
||||
{
|
||||
|
@ -162,5 +172,9 @@ void Summary::print()
|
|||
print_api();
|
||||
# endif
|
||||
|
||||
# ifndef XMRIG_NO_CC
|
||||
print_cc();
|
||||
# endif
|
||||
|
||||
print_commands();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue