Commit graph

263 commits

Author SHA1 Message Date
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
Brandon
6889836ac7 Add LBK3 algo to yiimp (#319)
+ finitions
2018-10-03 19:48:48 +02:00
crackfoo
00e5dd024c stratum: update DGB addy check to include multi-alogs (#316) 2018-09-26 16:39:55 +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
902da54e27
add rainforest algo (#297)
from https://github.com/bschn2/rainforest/blob/master/patches/yiimp-rainforest.diff
2018-08-29 13:54:19 +02:00
opensourcerulez
f3b70fdbcc Add hex algo... (#285)
made by XDNA Core developers
2018-08-07 22:39:29 +02:00
Tanguy Pruvot
0ac47d7ef0 stratum: handle phi2 smart-contracts refunds 2018-08-01 09:04:44 +02:00
opensourcerulez
0c542e8395 stratum: handle XSH multialgo pow_hash special field (#281) 2018-07-08 13:50:53 +02:00
Tanguy Pruvot
373c7396ab stratum: add sonoa algo (lol)
i let you choose a port if you want to use it...
2018-06-24 14:31:23 +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
b6f212ee6c stratum: small clean up :) (#279) 2018-06-22 10:30:24 +02:00
Tanguy Pruvot
ae6af25dec stratum: ensure share params are all strings 2018-06-22 09:25:28 +02:00
Tanguy Pruvot
609f6126ca stratum: remove duplicated code, merge issue 2018-06-22 08:54:29 +02:00
Tanguy Pruvot
27176b2e09 phi2 changes to handle lux smart contracts
adds a smart contract roots field (stateroot+utxoroot) to mining.notify

like lbry do with their claimtrie.

These fields are optional, means there are 2 variants of the phi2 algo

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-06-21 17:27:33 +02:00
opensourcerulez
9dbce85dcc stratum: dev/charity fees for coins with masternodes (#276) 2018-06-11 21:00:55 +02:00
itamarcps
eee06c920b stratum: add aergo algo (#274)
+ spaces fixes
2018-06-08 19:57:04 +02:00
Tanguy Pruvot
6e87460216 stratum: reduce valid ntime range 2018-06-07 11:08:01 +02:00
Tanguy Pruvot
5e0f1e1d1c handle phi2 algo 2018-06-06 18:30:37 +02:00
Tanguy Pruvot
411a6c7343 stratum: more string params checks 2018-06-03 18:42:40 +02:00
Tanguy Pruvot
ba20dc3ffa stratum: check if blocknotify string param is set 2018-06-01 18:11:28 +02:00
Tanguy Pruvot
ab24ba8145 stratum: getaddressinfo doesnt return isvalid 2018-05-25 19:22:10 +02:00
Tanguy Pruvot
b5e22c5a00 stratum: DGB getaddressinfo to check master wallet 2018-05-25 15:59:16 +02:00
Tanguy Pruvot
c72dd91511 Revert "stratum: handle ismine check moved in getaddressinfo"
most wallets are not ready for that...

This reverts commit afc80e2a68.
2018-05-25 15:48:33 +02:00
Tanguy Pruvot
afc80e2a68 stratum: handle ismine check moved in getaddressinfo 2018-05-25 15:12:06 +02:00
Tanguy Pruvot
2b932a8a96 stratum: check json version string ptr validity 2018-05-21 15:53:19 +02:00
Tanguy Pruvot
8c1964d0d9 lyra2z: prevent filenames with different cases
+ rename blake2 to blake2s and reorder algo makefile
2018-05-18 13:09:07 +02:00
Tanguy Pruvot
a3103af7ba stratum: fix client memory leak in yescrypt 2018-05-14 17:41:03 +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
d428130df3 allium: fix pool diff ratio, same as lyra2v2, cf cpuminer-opt 2018-05-06 17:11:20 +02:00
Tanguy Pruvot
b43d646548 handle allium algo, kind of double lyra2 2018-05-06 16:52:57 +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
Jia Wu
8fb9a74164 stratum: add vitalium algo (#261)
note: beware of the masterscams
2018-05-02 14:27:39 +02:00
crackfoo
078ace3a65 stratum: log ip of new clients (#262) 2018-05-02 14:10:39 +02:00
Tanguy Pruvot
138b0079bb stratum: pre-check bad usernames before db add 2018-05-01 15:36:42 +02:00
Tanguy Pruvot
1bfec2be32 stratum: precheck addresses are valid base58 2018-05-01 15:05:11 +02:00
Lukáš Nový
10be25ee82 stratum: correctly create blocks with 253-255 transactions (#260)
According to [1], varints of 0xfd to 0xff are prefixed with 0xfd too.

[1]: http://learnmeabitcoin.com/glossary/varint
2018-04-22 04:25:40 +02:00
Tanguy Pruvot
5b91a559f9 stratum: do more checks on stats device names 2018-04-10 15:48:26 +02:00
Tanguy Pruvot
5bb898f651 small x16s fixes, and stratum sample 2018-03-29 02:55:01 +02:00
opensourcerulez
a954c13b36 x16s algo, shuffle variant (#251)
see https://bitcointalk.org/?topic=3208091.0 for more explanations
2018-03-29 02:49:37 +02:00
Tanguy Pruvot
2ad138591e x12 algo + GCH multi-algos definition 2018-03-26 09:37:11 +02:00
exmac
1b3f15fef3 Add yescryptR32 (#247)
YescryptR32 for coin WAVI
https://bitcointalk.org/index.php?topic=3146751.0

Tested on : https://lpool.name/pool/WAVI
2018-03-19 19:27:31 +01: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
c56969c51c stratum: socket recv timeout config
With a default value set to 10mn, better than unlimited (0)
2018-03-16 10:21:19 +01:00