Commit graph

13 commits

Author SHA1 Message Date
Tanguy Pruvot
39d123a071 stratum: reduce client algo & socket struct size
to reduce a bit the memory usage... require a make clean!

+ prevent null/local ips from bans.
2017-12-17 07:25:25 +01:00
Tanguy Pruvot
a8e98c1839 stratum: ipset function to block botnets
can be (manually) used, if needed, in client_authorize
2017-12-15 23:53:39 +01:00
Tanguy Pruvot
07ff36c866 stratum: reduce the client auth rpc calls (#111) 2017-08-30 14:55:00 +02:00
Tanguy Pruvot
dab748ec0c stratum: delete worker after socket shutdown 2017-08-17 07:27:28 +02:00
Tanguy Pruvot
38a35f0084 more job prune checks 2016-07-19 23:13:38 +02:00
Tanguy Pruvot
28872880d7 stratum: check job broadcast errors (disconnect bad clients) 2016-07-01 05:27:14 +02:00
Tanguy Pruvot
7ae4a67ab0 stratum: defines for valid address min/max length 2016-05-20 18:33:16 +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
6950057b17 db: handle custom user donation percents
The setting is set with g=10% in password field

its disabled by default, to do maybe per worker...

prevent negative donation percents
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
6d6fd9337f stratum: new algos, attempt to allow old sha merkleroot
blake (SFR) and whirlpool (J) tested ok with a sha256d merkleroot

So add a stratum setting to allow single sha256 merkle root...
The shares are now valid on the pool side, but remains to find
an old wallet to test... like Whirlcoin or blakecoin

keccak not tested, could have the same problem about merkle/miners
2015-10-07 05:04:04 +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
bb31cec957 dos2unix all files, we are on linux
trim them, btw... its important to start on a clean base...
2015-07-12 04:40:50 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00