Commit graph

15 commits

Author SHA1 Message Date
crackfoo
078ace3a65 stratum: log ip of new clients (#262) 2018-05-02 14:10:39 +02:00
Tanguy Pruvot
b7a562542d stratum: truncate worker fields if too long
for recent mysql default constraints
2017-11-18 08:47:50 +01:00
Tanguy Pruvot
bdad68d11b stratum: disable useless client sort
its not required to sort them, and can cause some "race" issues
2017-11-01 02:02:03 +01:00
Tanguy Pruvot
dab748ec0c stratum: delete worker after socket shutdown 2017-08-17 07:27:28 +02:00
Tanguy Pruvot
f8a5a099f6 stratum: check symbol validity and set swap_time field #135 2017-07-01 18:56:46 +02:00
Tanguy Pruvot
0862ff66a9 coindb: allow to grab bittrex icons 2017-05-04 04:35:00 +02:00
Tanguy Pruvot
9121aa8f23 stratum: prevent account coin symbol change with a balance 2017-01-06 18:19:24 +01:00
Tanguy Pruvot
7ae4a67ab0 stratum: defines for valid address min/max length 2016-05-20 18:33:16 +02:00
Tanguy Pruvot
f816169c04 stratum: improve guest users, do not create accounts 2016-05-18 22:52:13 +02:00
Tanguy Pruvot
976c87d601 stratum: allow test/benchmark/donate usernames
+ spaces check
2016-05-18 21:45:10 +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
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
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +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
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00