Commit graph

287 commits

Author SHA1 Message Date
Tanguy Pruvot
f4371654d7 stratum: some cleanup about coinbase and txmessage
txmessage/pos change was suggested by bitbandi...
2016-01-24 17:15:37 +01:00
Tanguy Pruvot
61f280b64d algos: enable whirlpool and myr-gr
drop fresh
2016-01-23 14:37:15 +01:00
Tanguy Pruvot
fa47829c4e stratum: attempt to reduce memory leaks 2016-01-20 14:49:58 +01:00
Tanguy Pruvot
13d56d462d bittrex cleanup + c11 sample conf 2016-01-19 13:42:05 +01:00
Tanguy Pruvot
2a6ccf6e8f stratum: implement mandatory foundation txs (dev fees)
At least 2 coins are using this system (EGC and LTCR)

Fields are present in the database but were not used, link them.
2016-01-18 12:08:44 +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
0abc18069c Handle EGC specific blocks with dev fees 2016-01-11 00:46:25 +01:00
Tanguy Pruvot
a8a5a8280f Add velvet algo 2015-12-19 20:19:38 +01:00
Tanguy Pruvot
f4fcf685ae add support for yescrypt algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-12-17 21:41:52 +01:00
Tanguy Pruvot
b197a17a49 stratum: reduce the opt level for neoscrypt/gcc 5.2 2015-12-04 12:34:53 +01:00
Tanguy Pruvot
803476d0ad lyra2: set blake 256 rounds 2015-10-22 02:48:28 +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
8c97bba761 groestl: fix the algos mismatches, make 2 2015-10-06 17:37:56 +02:00
Tanguy Pruvot
e34da61806 stratum: add support for m7m algo (XMG)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-10-05 23:56:29 +02:00
Tanguy Pruvot
f9fc2084e6 stratum: add support for sib and hive algos
PS: hive is just a test, this (scam/trojan) coin is broken...
2015-10-02 22:27:41 +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
d04b4bff97 add/handle penta(blake), luffa and nist5 algos 2015-09-19 10:36:21 +02:00
Tanguy Pruvot
1ff8ce1afa lyra2v2: change diff to 256 2015-08-18 11:16:59 +02:00
Tanguy Pruvot
4a2ec5a9fd Add lyra2v2 algo 2015-08-18 05:09:47 +02:00
Tanguy Pruvot
68bd3702e9 stratum: clear unauthorized workers 2015-07-24 05:36:57 +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
Tanguy Pruvot
30e8b9f43e stratum: prevent possible segfault 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
Tanguy Pruvot
bc6f7166bf stratum: fix makefile on fedora (mysql lib) 2015-07-23 05:56:48 +02:00
Tanguy Pruvot
307fba924d bmw algo 2015-07-23 05:56:47 +02:00
Tanguy Pruvot
2738fe1439 stratum: attempt to support skeincoin wallet
accountaddress doesnt return an array but a simple string....
2015-07-23 05:56:46 +02:00
Tanguy Pruvot
7a0112c6a9 add skein2 stratum support and change some algo colors 2015-07-23 05:56:45 +02:00
Tanguy Pruvot
4ab72f3839 stratum: log invalid share data... 2015-07-23 05:56:45 +02:00
Tanguy Pruvot
9fad62357b fix zr5 algo 2015-07-23 05:56:45 +02:00
Tanguy Pruvot
f249ec0140 add drop algo, and hash debug flag 2015-07-23 05:56:45 +02:00
Tanguy Pruvot
cc925bc5f1 c11 stratum ok, link first exchanges 2015-07-14 09:29:10 +02:00
Tanguy Pruvot
ce1457a183 stratum: allow my own ip 2015-07-14 09:29:10 +02:00
Tanguy Pruvot
d5a22387c2 enable zr5, disable scrypt 2015-07-14 09:22:24 +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
Tanguy Pruvot
d8fe695a46 Some constants for the btc addr, email and site url..
+ missing .gitignore / folder git keepers
2015-07-02 21:17:04 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00