With WDC changing it's specifications p2pool code will need to be updated.
The two parts I have identified that need to change are:
BLOCK_PERIOD=15, # s targetspacing
change to:
BLOCK_PERIOD=30, # s targetspacing
and...
SUBSIDY_FUNC=lambda height: 32*10000000 >> (height + 1)//4147200,
SUBSIDY_FUNC is a bit tricky. Anyone have some code examples from another coin that reduce subsidy similar to how WDC will?
New block reward details:
Block Reward: 64 coins, reduced 1% every week (20,160 blocks)
I suppose it could just be changed to SUBSIDY_FUNC=lambda height: 64*10000000, but that is not optimal.
Help?