Commit graph

54 commits

Author SHA1 Message Date
Tanguy Pruvot
0019ca611d new x16r algo, with stratum factor 256, like timetravel algos
beware: this algo may have a variable hashrate, unlike timetravel

its ignored from benchs for this reason
2018-01-24 20:43:52 +01:00
Tanguy Pruvot
758e591348 stratum: initialize segwit flag 2018-01-19 00:53:38 +01:00
AltMinerNet
7729b5c2ef stratum: possibility to change sql port 2018-01-06 13:51:48 +01:00
Tanguy Pruvot
69a8f951a3 stratum: allow wallet filters in the .conf
Allow to create a stratum port for only one wallet
2017-11-30 13:02:17 +01:00
Tanguy Pruvot
cbe55a3a84 Squashed commit for segwit support:
commit c59abe5d203fabdabcca81ff5f9c6ff133cfae3b
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 11:13:52 2017 +0100

    segwit: show a segwit icon on blocks history

    + remove some inline styles...

commit b4a8639370e6837ebc5a2047e7c334e9f931abfc
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 09:55:40 2017 +0100

    segwit: cleanup + masternode case

    tested ok with BSD (block 400996), and with real BTX segwit txs (block 90958)

    also ok on VTC and GRS

commit 926dbd11757ebff7f7d4930266de9b9061c8ab16
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 18:41:01 2017 +0100

    sql: add segwit fields, and ui config

    and fill block segwit field if it contains segwit txs,
    an icon is added in the dashboard "last blocks" for these blocks

commit 0b13bf55e9dd1d2229d188f0f8382b27642b20da
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 13:47:20 2017 +0100

    segwit: include commitment in coinbase + .conf toggle

    tested ok on BTX, GRS and VTC with normal txs, but the commitment merkle hash maybe need some more love...

    so, to prevent useless bigger blocks, only generate segwit commitment if a segwit tx is present in mempool

    to check with real segwit txs... not seen any yet..

commit b508bc87943d9e426cda994c2f53c16c11e8d4c3
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 11:18:34 2017 +0100

    segwit: prepare the witness data, but disabled

    need more test, may affect the coinbase merkle and the miners...

commit 19bd3a83b9ddddd8b5ed4b7a1bdf8cf8c233e346
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 10:30:29 2017 +0100

    stratum: handle and auto toggle segwit if supported
2017-11-28 11:55:20 +01:00
Tanguy Pruvot
bfd614859f polytimos algo 2017-11-16 11:06:11 +01:00
Tanguy Pruvot
c6e140ef7c handle phi algo too 2017-10-11 18:06:19 +02:00
Tanguy Pruvot
b97c52f14d hsr algo (x13 + custom hash) 2017-10-10 08:05:51 +02:00
Tanguy Pruvot
dab748ec0c stratum: delete worker after socket shutdown 2017-08-17 07:27:28 +02:00
Tanguy Pruvot
06078c9f2a stratum: exit/restart on repeated socket failure 2017-08-04 01:41:53 +02:00
Tanguy Pruvot
c53ff49a63 Signatum skunk algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-07-21 11:11:04 +02:00
Tanguy Pruvot
c3721b77c9 tribus algo, nothing complicated...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-07-05 19:17:06 +02:00
Tanguy Pruvot
066da4d8e1 stratum: log rejected blocks in a special file 2017-06-20 13:49:42 +02:00
Tanguy Pruvot
1c22ec4df6 refresh/fix jha algo, keep only the last variant 2017-05-19 13:20:56 +02:00
Tanguy Pruvot
8428d49750 bitcore timetravel-10 algo variant
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-05-01 01:02:14 +02:00
Tanguy Pruvot
acdb0bd6fd handle bastion algo 2017-03-09 18:01:08 +01:00
Tanguy Pruvot
be1064a25b sha256t algo + fix sha/decred pool hashrate axis 2017-03-08 11:44:57 +01:00
Tanguy Pruvot
ca022f2628 stratum: add deep, timetravel and hmq1725 algos
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-02-27 20:38:05 +01:00
Tanguy Pruvot
0bed2e0465 lyra2z (v3) xzc at block 20500
disable the public explorer for now + dyn payee

note: xzc coinbase value is already without dev fees

warning: this wallet rpc is very slow and seems to slow down the backend (use it at your risks)
2017-02-12 09:23:32 +01:00
Tanguy Pruvot
1e72d4fb81 stratum: new function to log with the date (start/stop)
it was hard to estimate the shares/day activity with only hours
2016-12-30 07:18:35 +01:00
Tanguy Pruvot
ff136d53af stratum: skip screen instances if there is no .conf 2016-12-03 09:20:34 +01:00
Tanguy Pruvot
11c8d5b767 stratum: shares counter log mistake 2016-11-28 06:13:51 +01:00
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
e3fef4b970 xevan algo (x17 x2... but on 128 bytes hashes) 2016-11-04 19:19:59 +01:00
Tanguy Pruvot
9f023450dd stratum: allow to limit connections with max_cons setting 2016-10-17 20:05:48 +02:00
Tanguy Pruvot
1b4d4c788d veltor algo 2016-08-21 01:20:00 +02:00
Tanguy Pruvot
a88c1e0b43 handle lbry algo and protocol
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-19 23:14:34 +02:00
Tanguy Pruvot
7e37bd14e9 stratum: re-enable the watchdog, take too much time 2016-06-03 19:01:16 +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
96097edfe9 x11evo algo, properly rewrote
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-06-01 06:37:14 +02:00
Tanguy Pruvot
c059a912db add x17 algo 2016-05-09 16:12:07 +02:00
Tanguy Pruvot
90b29f7cd2 blakecoin: add to default algos + diff factor fix 2016-05-02 15:40:07 +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
1692a47570 stratum: dont hardcode the files rlimit in binary 2016-03-31 21:24:48 +02:00
Tanguy Pruvot
e48a0cd335 blake2s algo 2016-03-10 08:07:08 +01:00
Tanguy Pruvot
88733a14e6 stratum: new rpc curl ini/conf setting 2016-02-13 11:00:45 +01:00
Tanguy Pruvot
5ef293e938 decred stratum hack with extranonce field
override the coinbase field with the static part of the decred header...
2016-02-12 14:49:18 +01:00
Tanguy Pruvot
d9d1be135e Add support for VNL blake 2016-01-27 16:56:28 +01:00
Tanguy Pruvot
52580a5636 Add argon2 algo support 2016-01-24 17:15:40 +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
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
307fba924d bmw algo 2015-07-23 05:56:47 +02:00