Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
cc45681
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried this and only results in:
2018-09-05 11:08:26 ERROR: CheckProofOfWork(): hash doesn't match nBits
2018-09-05 11:08:26 ERROR: CheckBlockHeader(): proof of work failed
2018-09-05 11:08:26 ERROR: ProcessNewBlock: AcceptBlock FAILED
Any ideas?
cc45681
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on discord, I was not able to reproduce the bug on testnet, we'll try to understand why it failed on mainet and worked on testnet.
tail -f argon2d-dyn.log
15:29:09: *** ACCEPTED DynamicTest 8201 (diff 0.000771964) by 87.66.69.194 (id: 30)
15:29:09: *** CONFIRMED 8201 : 0000050f609d7f7bbeeed607d7d564f180fd53c38cb1aae8972c794a1eaa17a6
grep 8201 -A 6 -B 6 debug.log
--
2018-09-05 13:29:02
2018-09-05 13:29:02 ProcessNewBlock : ACCEPTED
2018-09-05 13:29:02 CDynodePayments::FillBlockPayee: Found Dynode to pay!
2018-09-05 13:29:02 CDynodePayments::FillBlockPayee -- Dynode payment 350.11111 to DSbbZcqHJqr2ZHxoj1jR4aGMZtMzxdrsen
2018-09-05 13:29:02 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-09-05 13:29:02 CreateNewBlock(): Computed Miner Block Reward is 3.50693 DYN
2018-09-05 13:29:03 UpdateTip: new best=0000050f609d7f7bbeeed607d7d564f180fd53c3 8cb1aae8972c794a1eaa17a6 height=8201 log2_work=31.071119 tx=8242 date=2018-0 9-05 13:29:02 progress=0.999998 cache=0.0MiB(23tx)
2018-09-05 13:29:03
2018-09-05 13:29:03 AddToWallet 89d919a3a68a444cd3998fede6bec753e2043a33882601a3 2d9999dd8960fc1d new
2018-09-05 13:29:03 ProcessNewBlock : ACCEPTED
2018-09-05 13:29:03 CDynodePayments::FillBlockPayee: Failed to detect Dynode to pay
2018-09-05 13:29:03 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-09-05 13:29:03 CreateNewBlock(): Computed Miner Block Reward is 3.50693 DYN
cc45681
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@crackfoo , I deployed a new pool on mainnet (https://pool.dualityblocks.com) using this repo and was able to find a block after about 1 day. I am going to take down that pool soon since it was only used to test the code after being merged into this repo.
Can you send me an invite to your discord channel so we can discuss this further? My email is [email protected].