algos: enable whirlpool and myr-gr

drop fresh
This commit is contained in:
Tanguy Pruvot 2016-01-23 14:36:19 +01:00
parent 1f68e1c0cc
commit 61f280b64d
4 changed files with 22 additions and 7 deletions

View file

@ -39,7 +39,7 @@ screen -dmS lyra2v2 $STRATUM_DIR/run.sh lyra2v2
screen -dmS blake $STRATUM_DIR/run.sh blake
#screen -dmS keccak $STRATUM_DIR/run.sh keccak
#screen -dmS whirlpool $STRATUM_DIR/run.sh whirlpool
screen -dmS whirlpool $STRATUM_DIR/run.sh whirlpool
screen -dmS skein $STRATUM_DIR/run.sh skein
screen -dmS skein2 $STRATUM_DIR/run.sh skein2

View file

@ -1,6 +1,6 @@
[TCP]
server = yaamp.com
port = 4133
port = 4144
password = tu8tu5
[SQL]

View file

@ -0,0 +1,16 @@
[TCP]
server = yaamp.com
port = 4133
password = tu8tu5
[SQL]
host = yaampdb
database = yaamp
username = root
password = patofpaq
[STRATUM]
algo = whirlpool
difficulty = 0.02
max_ttf = 20000000

View file

@ -48,19 +48,19 @@ function yaamp_get_algo_norm($algo)
'x11' => 1.0,
'x13' => 1.0,
'zr5' => 1.0,
'myr-gr' => 1.0,
'nist5' => 1.0,
'neoscrypt' => 1.0,
'lyra2' => 1.0,
'lyra2v2' => 1.0,
'quark' => 1.0,
'fresh' => 1.0,
'qubit' => 1.0,
'skein' => 1.0,
'groestl' => 1.0,
'blake' => 1.0,
'keccak' => 1.0,
'skein2' => 1.0,
'velvet' => 1.0,
'whirlpool' => 1.0,
'yescrypt' => 1.0,
);
@ -125,7 +125,7 @@ function getAlgoPort($algo)
'nist5' => 3833,
'x14' => 3933,
'quark' => 4033,
'fresh' => 4133,
'whirlpool' => 4133,
'neoscrypt' => 4233,
'scryptn' => 4333,
'lyra2' => 4433,
@ -139,8 +139,7 @@ function getAlgoPort($algo)
'skein2' => 5233,
//'groestl' => 5333,
'dmd-gr' => 5333,
//'myr-gr' => 5433,
'whirlpool' => 5433,
'myr-gr' => 5433,
'zr5' => 5533,
// 5555 to 5683 reserved
'blake' => 5733,