kyuupichan / difficulty

19 stars 24 forks source link

New Idea for preventing profit-based osciallations #23

Closed zawy12 closed 6 years ago

zawy12 commented 7 years ago

I post the idea of changing coin reward based on difficulty to the hard fork page, but here should be the technical discussion. I'll edit this post later to insert the code.

In the chart where it says CoinReward, it has two sum's that should be avg's.

https://github.com/Bitcoin-UAHF/spec/issues/27

zawyv5

Although it brutally discourages hash attacks, it also is brutal after the attack to constant miners for about 5 blocks with low fees and high difficulty. It acts like raising the difficulty twice as fast in response to an attack, but I was not able to devise an equation for difficulty that would act that fast without causing other problems.