Commit graph

15 commits

Author SHA1 Message Date
Tanguy Pruvot
f31dd15d4e stratum: link new limits db fields
the share counter will allow you to auto restart the stratum, if required.
2016-11-24 00:54:06 +01:00
Tanguy Pruvot
9a60f2dc75 stratum: add bench memory field (todo in ccminer) 2016-06-07 21:41:33 +02:00
Tanguy Pruvot
6d3dd22082 stratum: add a flag indicating we need exit
can be useful to filter real valgrind leaks on exit and trap reboot signal

also protect against db queries after close
2016-06-03 17:05:36 +02:00
Tanguy Pruvot
1a53bf093e benchmarks: function to clean cpu names 2016-05-21 04:02:44 +02:00
Tanguy Pruvot
c47244bea3 stratum/stats: fix double values, were rounded to int 2016-05-17 22:00:14 +02:00
Tanguy Pruvot
ed3cd5fb69 db/benchmarks: allow ccminer to report device stats
user password should contain "stats", made for ccminer 1.7.6+

will see to allow a special bench "test" account to allow devs to
easily test the stratum and fill benchmarks, for the moment, its
enabled while mining with the -p stats password option.
2016-05-15 18:46:16 +02:00
Tanguy Pruvot
4eaab8c05d link new coin fields, auto filled 2016-05-11 21:25:42 +02:00
Tanguy Pruvot
74b80292a6 stratum/decred: link new db coin rpc fields
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
55ada4b908 decred: prepare a usegetwork setting 2016-02-13 07:38:38 +01:00
Tanguy Pruvot
20c8056943 stratum: prepare future rpc of TLS
split "https://mycert@host" host field
2016-02-03 05:05:50 +01:00
Tanguy Pruvot
6fb14b3346 stratum: handle coins with a diff under stratum conf
sometimes the nbits value can be under the minimum allowed by the pool
in this case, force it to the minimum (instead of 0).
2016-01-12 15:21:15 +01:00
Tanguy Pruvot
9d4c4d41c7 stratum: reduce defines, prepare the autoexchange variable
also improve the user wallet addresses checks

and allow to mine aux coins in normal (gbt) + aux at the same time
2015-09-26 06:51:14 +02:00
Tanguy Pruvot
3684958354 stratum: prevent sql injections
At least the symbol was accepting special chars... we dont want any...
2015-07-23 05:56:50 +02:00
Tanguy Pruvot
46b188dfc9 stratum: link hasmasternodes new db field
and fix possible segfault if "payee" string does not exists for masternodes

Also handle MDT masternodes amounts
2015-07-23 05:56:48 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00