Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 28 Jul 2013 03:12:12 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: cryptocurrency mining fallback in JtR

2013/7/26 Lukas Odzioba <lukas.odzioba@...il.com>:
> I would be happy to see miner_start() function splited into two
> separate static functions now it mixes logic of two separate features.

To be clear:
void miner_start(int miner)
{
   if(cgminerinstance == 1)
      functionA();  //pause miner
  else
     functionB(); //run miner at exit
}

This also shows that cgminerinstance is not the perfect name.

Lukas

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ