Author

Topic: Node Open Mining Portal (NOMP) + difficulty change over time in CURRENT block !! (Read 366 times)

member
Activity: 293
Merit: 13
AKA merlin.
nice to see someone do work on NOMP, but i think you are a few years behind Tongue
everyone ditched it for yiimp, as it had too many holes and needed alot of work
yiimp got people like tpruvot to upkeep it and from there it went forward
https://github.com/tpruvot/yiimp

now THAT being said, i always wanted to use NOMP myself, so what you have done here looks mighty impressive
theres alot o work done there, im reading the code now, but damn, dude i fear you have still ALOT to do to get NOMP into 2019   Undecided

anyways, looks sweet, have some merit on me Smiley




I'm late but hey, thanks for the merit !!!!

Currently running this code, added to zny-nomp ( original : https://github.com/ROZ-MOFUMOFU-ME/zny-nomp ) :

https://pool.lightningcash-coin.com
legendary
Activity: 1820
Merit: 1092
~Full-Time Minter since 2016~
nice to see someone do work on NOMP, but i think you are a few years behind Tongue
everyone ditched it for yiimp, as it had too many holes and needed alot of work
yiimp got people like tpruvot to upkeep it and from there it went forward
https://github.com/tpruvot/yiimp

now THAT being said, i always wanted to use NOMP myself, so what you have done here looks mighty impressive
theres alot o work done there, im reading the code now, but damn, dude i fear you have still ALOT to do to get NOMP into 2019   Undecided

anyways, looks sweet, have some merit on me Smiley


member
Activity: 293
Merit: 13
AKA merlin.
If the current block's difficulty on which miners are working changes, this new code in pool.js and jobManager.js  ( in NOMP's module " stratum-pool " )

will make the stratum server send a new work request to miners.

Before that, it would send a new job id , but if the difficulty in CURRENT block would change, as some new coins include this possibility, it would not update this information to miners, so miners on the pool would continue to mine with the " old " block's difficulty, and if any miner on the pool would find a block, the block would not be accepted since it is not the correct difficulty.


This is a very good protection against high hash variation for new coins, that sometimes happen ( a big farm mines for a few minutes at a very high hash rate and then stops, which makes the network stales over a very difficult block to mine for a very long period of time, or even forever.... killing this new coin ! ).


Here is the source code with this change :

update coming soon





Here is a live pool that implements this change for the coin LightningCash, which includes the DarkGravityWave PoW algorithm ( difficulty change for every block ) with " progressively lower difficulty if there is a long stale tip " variation in it :


Jump to: