Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hardfork Dogecoin with static block rewards and a modified difficulty readjustment #314
UPDATE 2: Changed Difficulty retargeting at block 175K
I've edited the code to set static block rewards after block 175,000. This number can be changed and it can be pushed right now without affecting current mining for blocks below 175K (However don't do it yet, we still need testing)
I'm currently testing this with multiple testnet nodes and a reward change at block 100. I'll update this post when I finish my testing
Here are some of the values I've been using for my testnets, halving every 10 blocks with random rewards for block 0-17 with a switch to static after 17:
Update on my testing:
I used 3 nodes. Node #1 and #2 running the modified code below, node #3 was running original unmodified code. The end result was that nodes #1 & #2 ended up forking off the public dogecoin testnet network with their static rewards and node #3 stopped synching with them. This was the desired result.
So it looks like the static rewards are done, now we just need to choosing and implementing a different difficulty retarget method.
Old Node without static reward changes stops synching after reward were changed at block #23490