Commit graph

15 commits

Author SHA1 Message Date
opensourcerulez
0c542e8395 stratum: handle XSH multialgo pow_hash special field (#281) 2018-07-08 13:50:53 +02:00
Tanguy Pruvot
669ab6bb0f stratum: ensure all blocks are put in db (#241)
may be important for pool op noobs who dunno what they do,
doesn't setup blocknotify or have server efficiency issues..

squashed commit of today's commits, sorry for the mess ;)

prevent job delays if no blocks were submitted
double check coin id on blocknotify
remove noblocknotify boolean
prevent notify debuglog on normal blocks
2018-03-12 19:00:24 +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
97a1f3148d stratum: ignored shares should be purged too 2017-08-16 13:03:58 +02:00
Tanguy Pruvot
a2b0b7d423 stratum: do not store anonymous invalid shares 2017-08-16 12:06:16 +02:00
Tanguy Pruvot
25ec9c7d94 stratum: handle ORB proofhash block field 2017-07-10 15:36:09 +02: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
b2aa3d9ffd stratum: fix height displayed for AUX debug logs 2016-06-09 14:57:05 +02:00
Tanguy Pruvot
f61d53bc67 stratum: handle block confirmations on multialgos coins
+ var typo fix
2016-05-11 19:59:28 +02:00
Tanguy Pruvot
553c920cab shares: store (temporary) submitted work diff for future stats...
PS: this table is only used for current round (until a bloc is found)

also log a part of the submitted shares by default, to show activity
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
71de6d635b db: save blocks worker id for worker stats
Note: need database change!
2016-04-02 15:08:43 +02:00
Tanguy Pruvot
1d4551e004 decred: add a check for empty/invalid extranonces
Its important to have this data filled to prevent duplicates
against clients.
2016-03-17 07:20:30 +01:00
Tanguy Pruvot
5460cb205d stratum: increase decred blocks purge time
show some user diff and finder id on block accept

curl: increase the credentials field size to allow very long passwords
2016-02-23 19:27:39 +01:00
Tanguy Pruvot
48964e8393 stratum: allow to bypass blocknotify requests
for decred, to detect new blocks faster and store finder infos
2016-02-17 17:30:24 +01:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00