mirror of https://github.com/GOSTSec/sgminer
Noel Maersk
11 years ago
2 changed files with 24 additions and 1 deletions
@ -1,10 +1,17 @@ |
|||||||
#ifndef ALGORITHM_H |
#ifndef ALGORITHM_H |
||||||
#define ALGORITHM_H |
#define ALGORITHM_H |
||||||
|
|
||||||
|
#include <inttypes.h> |
||||||
|
|
||||||
/* Describes the Scrypt parameters and hashing functions used to mine
|
/* Describes the Scrypt parameters and hashing functions used to mine
|
||||||
* a specific coin. |
* a specific coin. |
||||||
*/ |
*/ |
||||||
typedef struct algorithm_t algorithm_t; |
typedef struct algorithm_t algorithm_t; |
||||||
|
|
||||||
|
/* Set default parameters based on name. */ |
||||||
|
void set_algorithm(algorithm_t* algo, char* name); |
||||||
|
|
||||||
|
/* Set to specific N factor. */ |
||||||
|
void set_algorithm_nfactor(algorithm_t* algo, uint8_t nfactor); |
||||||
|
|
||||||
#endif /* ALGORITHM_H */ |
#endif /* ALGORITHM_H */ |
||||||
|
Loading…
Reference in new issue