Commit graph

48 commits

Author SHA1 Message Date
Roy Lee
f331436417 Update pool signature to /lbeypool.net/ 2022-10-12 18:19:13 -07:00
npq7721
47ec59b8e5 stratum: support for founder reward gbt object (#342)
Implement founder reward in coinbase output

if present and enabled in block template (for PGN)
2019-02-25 02:11:47 +01:00
bleach86
c3ecd27943 stratum: handle Tuxcoin DonationSubsidy (#333) 2019-01-30 11:59:46 +01:00
Tanguy Pruvot
8ad60658e4 Add x22i algo support, based on ccminer-x22i code, cleaned
Personal note: imo a factor for 256 would have been useful

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-10-03 20:05:29 +02:00
Amir Abrams
cc456814c5 Add Dynamic Argon2d algorithm to YIIMP Stratum Pool (#301)
- Use dynode instead of masternode for Dynamic
- Updates Argon2d hash library (https://github.com/P-H-C/phc-winner-argon2)
- Adds argon2d-dyn.conf sample template file
- Code contributed by @BigEvilSoloMiner from Discord.
- testing and contributions by @R3D5H1RT from Discord
- testing and support by @InsaneITGeek from Discord.
- Dynamic test stratum pool: https://testpool.dualityblocks.com
2018-09-04 10:30:06 +02:00
Tanguy Pruvot
0ac47d7ef0 stratum: handle phi2 smart-contracts refunds 2018-08-01 09:04:44 +02:00
Tanguy Pruvot
ca0c6271a0 stratum: handle p2sh addresses for all coinbase variants
allow to mine on non-legacy addresses....
2018-06-24 14:00:11 +02:00
opensourcerulez
9dbce85dcc stratum: dev/charity fees for coins with masternodes (#276) 2018-06-11 21:00:55 +02:00
Tanguy Pruvot
495dcbba00 stratum: detect if master wallet is p2sh + mn started field 2018-05-11 11:18:45 +02:00
Tanguy Pruvot
b114a1c66f stratum: common p2sh_pack_tx func for p2sh masternodes 2018-05-07 16:16:40 +02:00
Nico
ed97818e61 stratum: support for MAC P2SH masternodes too (#266)
note: a field "isscript" should be added to getblocktemplate masternode/superblock objects
if the type of address can vary over time... 
Code may be refactored later (common func and p2sh fields in coind object)
2018-05-07 15:41:20 +02:00
Tanguy Pruvot
db7a145c0b stratum: fix superblock script order
was not easy to code without the future wallet code to test it ;)
2018-05-07 15:03:18 +02:00
Tanguy Pruvot
daac1a10c6 stratum: merge P2SH superblock code to prevent duplicated code 2018-05-04 21:46:26 +02:00
Tanguy Pruvot
d4b00a8b0b Revert "stratum: support for Machinecoin 0.16 mn+segwit (#265)"
This reverts commit a78ec34d37.
2018-05-04 21:41:06 +02:00
Tanguy Pruvot
fe47cca831 stratum: also prepare normal optional mn+segwit 2018-05-04 19:56:27 +02:00
Nico
a78ec34d37 stratum: support for Machinecoin 0.16 mn+segwit (#265) 2018-05-04 19:52:44 +02:00
Tanguy Pruvot
77e2624db1 stratum: drop STAK unused vars + git file mode fix 2018-03-16 11:04:06 +01:00
Daniel Mackie
333acc0d25 stratum: STAK special coinbase, with SegWit support
untested, but compiled fine
2018-03-16 10:26:33 +01:00
Tanguy Pruvot
4120ee7d62 stratum: auto detect 'old' masternodes rpc (#236) 2018-02-26 11:47:28 +01:00
Tanguy Pruvot
1d523798be stratum: use new dash masternodes as default
remember to do a make clean... coind struct was changed
2018-01-09 17:53:45 +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
AltMinerNet
87c7b8c481 stratum: support ONEX/GBX/KZC nodes (#189)
Including
* ONEX Cash (https://bitcointalk.org/index.php?topic=2393150.0)
* GoByte (https://bitcointalk.org/index.php?topic=2414021.0)
* KZCash (https://bitcointalk.org/index.php?topic=2312421.0)
2017-11-21 14:08:55 +01:00
Alastair Clark
333becac01 stratum: crown systemnode coinbase (#187) 2017-11-17 10:08:13 +01:00
phm87
2bc3ba7965 stratum: DSR masternodes (#184)
https://bitcointalk.org/index.php?topic=2272607.msg23083239#msg23083239

Masternode payments enabled.

getblocktemplate:
"masternode": {
"payee": "D5rbtUcYuyDPdFpotGBvzoGjt9z81QoKpj",
"script": "76a91407d98dac0453c81cc78e7b0c834a574894d1afc388ac",
"amount": 500001496
},
"masternode_payments_started": true,
"masternode_payments_enforced": true,

so, should be new version (like on Dash 12.1)

coinbase.cpp (stratum on yiimp)

  strcmp(coind->symbol, "DASH") == 0 || strcmp(coind->symbol, "DASH-TESTNET") == 0) // Dash 12.1

-------
Ticker is DSR:
http://coinsmarkets.com/trade-BTC-DSR.htm
2017-10-27 18:59:24 +02:00
AltMinerNet
9ec57d80e4 stratum: INN / ENT support (#183)
Handle coinbase for innova and eternity.
2017-10-26 16:47:32 +02:00
hashrefinery
6927be13fe VIVO support (#179)
Add support for VIVO masternodes
https://bitcointalk.org/index.php?topic=2110690
2017-09-03 16:49:05 +02:00
Tanguy Pruvot
bd64837278 Remove old MUE workarounds
remember to reset the reward multiplier to 1 (not 1000 like quark)
2017-06-28 10:47:56 +02:00
Tanguy Pruvot
cf9a3b75bd remove wrong bitcore block fees 2017-05-02 00:30:48 +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
e0e30c92d4 stratum: handle new sibcoin masternodes 2017-04-18 20:24:18 +02:00
crackfoo
eae758e308 stratum: add support for ARC 12.1 & superblocks (#89)
* stratum: add support for ARC 12.1 & superblocks
2017-03-08 18:46:52 +01:00
Tanguy Pruvot
495e3a51df stratum: handle new DASH masternode template #86
tested ok on the testnet...

+ XZC fix (coinbase tx dest count)
2017-03-02 01:44:10 +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
Alastair Clark
e78d933300 stratum: handle CRW masternodes (#78) 2017-02-08 10:55:07 +01:00
Tanguy Pruvot
09336533c0 decred: handle reggression in orphaned getblock + cleanup
removed confusing/dead code in stratum code (failed attempt to use gbt)
2017-01-17 16:53:10 +01:00
Tanguy Pruvot
a94c239b53 stratum: update vcash symbol 2016-07-06 11:28:44 +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
8a313b1281 decred: coinbase cleanup, to finish...
their coinbase structure is still a bit different
2016-02-16 09:58:44 +01:00
Tanguy Pruvot
9cbd9bf5e3 stratum: prepare real decred stratum
not finished, commited to test on another server

but, remains the problem of decred custom header fields... stakeroot etc
which should be passed to the miner..
2016-02-15 08:19:12 +01:00
Tanguy Pruvot
97e8dea474 decred: use getwork... sigh 2016-02-12 22:09:06 +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
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
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
0abc18069c Handle EGC specific blocks with dev fees 2016-01-11 00:46:25 +01: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
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