mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Added somme comments
This commit is contained in:
parent
e923ac78d5
commit
593022dfd7
3
main.c
3
main.c
@ -361,10 +361,12 @@ static struct pool *current_pool(void)
|
||||
return pool;
|
||||
}
|
||||
|
||||
// Algo benchmark, crash-prone, system independent stage
|
||||
static double bench_algo_stage3(
|
||||
enum sha256_algos algo
|
||||
)
|
||||
{
|
||||
// Random work pulled from a pool
|
||||
static uint8_t some_block[] = {
|
||||
0x00, 0x00, 0x00, 0x01, 0x20, 0x00, 0xD8, 0x07, 0x17, 0xC9, 0x13, 0x6F, 0xDC, 0xBE, 0xDE, 0xB7,
|
||||
0xB2, 0x14, 0xEF, 0xD1, 0x72, 0x7F, 0xA3, 0x72, 0xB2, 0x5D, 0x88, 0xF0, 0x00, 0x00, 0x05, 0xAA,
|
||||
@ -781,6 +783,7 @@ static void bench_algo(
|
||||
}
|
||||
}
|
||||
|
||||
// Figure out the longest algorithm name
|
||||
static void init_max_name_len()
|
||||
{
|
||||
size_t i;
|
||||
|
Loading…
Reference in New Issue
Block a user