Rav3nPL/p2pool-rav

DigiByte got updated, Please Update Networks.py files

Opened this issue · 4 comments

Hi Rav,

Digibyte got updated to v2.0, they made quite a few changes (mainly the rewards and the difficulty re-targeting)

https://github.com/digibyte/DigiByteProject/blob/master/src/main.cpp#L833

What amends do you think should be made to the networks.py files?
The Digibyte difficulty retargeting and rewards will kick in next friday, so the p2pool operators have enough time to update to the new networks.py files.

Thanks in advance!
-Storm

So its sort of like this: For Every 10080 Blocks after the 67200th Block: the Reward is reduced by 0.5%

What do you think, Rav?

Hi,
I dont think that makes any difference the diff re-targeting for the networks.py

Also I don't think that there is an option for 0.5% reward reducing.
So far the option is to set the halving block not to add a persentage.
Also as far as I know this is not a problem for p2pool as it scans for the reward amount itself.
Maybe in a future development of p2pool to be available more options.

I think p2pools will go smoothly on digishield :D

We should at least remove the block halving code, right?
from bitcoin/networks.py

Only time when subsidy function is used is between blocks (pool have information from another node about higher block but local daemon did not catch it yet).
We can put 1*100000000 there and it will work good (from block template) 99.9% of time :)