#1756 Added results and connection reports.
This commit is contained in:
parent
aa5a7c3c13
commit
26c2200af3
8 changed files with 225 additions and 46 deletions
|
@ -98,3 +98,10 @@ xmrig::Network *xmrig::Controller::network() const
|
|||
|
||||
return m_network;
|
||||
}
|
||||
|
||||
|
||||
void xmrig::Controller::execCommand(char command)
|
||||
{
|
||||
miner()->execCommand(command);
|
||||
network()->execCommand(command);
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@ public:
|
|||
|
||||
Miner *miner() const;
|
||||
Network *network() const;
|
||||
void execCommand(char command);
|
||||
|
||||
private:
|
||||
Miner *m_miner = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue