mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
small x16s fixes, and stratum sample
This commit is contained in:
parent
a954c13b36
commit
5bb898f651
4 changed files with 19 additions and 2 deletions
|
@ -43,7 +43,7 @@ enum Algo {
|
|||
|
||||
static void getAlgoString(const uint8_t* prevblock, char *output)
|
||||
{
|
||||
strcpy(output, "0123456789ABCDEF");
|
||||
strcpy(output, "0123456789ABCDEF");
|
||||
|
||||
for(int i = 0; i < 16; i++){
|
||||
uint8_t b = (15 - i) >> 1; // 16 ascii hex chars, reversed
|
||||
|
|
16
stratum/config.sample/x16s.conf
Normal file
16
stratum/config.sample/x16s.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
[TCP]
|
||||
server = yaamp.com
|
||||
port = 3663
|
||||
password = tu8tu5
|
||||
|
||||
[SQL]
|
||||
host = yaampdb
|
||||
database = yaamp
|
||||
username = root
|
||||
password = patofpaq
|
||||
|
||||
[STRATUM]
|
||||
algo = x16s
|
||||
difficulty = 0.25
|
||||
max_ttf = 50000
|
||||
|
|
@ -125,6 +125,7 @@ YAAMP_ALGO g_algos[] =
|
|||
{"xevan", xevan_hash, 0x100, 0, 0},
|
||||
|
||||
{"x16r", x16r_hash, 0x100, 0, 0},
|
||||
{"x16s", x16s_hash, 0x100, 0, 0},
|
||||
{"timetravel", timetravel_hash, 0x100, 0, 0},
|
||||
{"bitcore", timetravel10_hash, 0x100, 0, 0},
|
||||
{"hsr", hsr_hash, 1, 0, 0},
|
||||
|
|
|
@ -214,7 +214,7 @@ function getAlgoPort($algo)
|
|||
'x13' => 3633,
|
||||
'x15' => 3733,
|
||||
'x16r' => 3636,
|
||||
'x16s' => 3666,
|
||||
'x16s' => 3663,
|
||||
'x17' => 3737,
|
||||
'xevan' => 3739,
|
||||
'hmq1725' => 3747,
|
||||
|
|
Loading…
Add table
Reference in a new issue