bitcoincashorg / spec

Technical specifications
112 stars 64 forks source link

Difficulty Adjustment; this would be useful to add #15

Closed zander closed 7 years ago

zander commented 7 years ago

To avoid a second hardfork to remove this temporary measurement again, this special adjustment rule will only be valid for 8 full difficulty adjustment periods or until 2018-01-01 00:00. Whichever comes first.

zander commented 7 years ago

The main reason here is about SPV wallets. They need to implement difficulty changes too. If this is a temporary thing that will have a big impact on a large section of the software products out there.

I did the math and the hashrate has to go really quite low (7.5% of prev difficulty period) for a significant amount of time. I have trouble picturing that long term for a chain. I'm specifically thinking multiple difficulty adjustment periods here.

zander commented 7 years ago

Someone ran the numbers on this; https://www.reddit.com/r/btc/comments/6rxzga/bitcoin_cashs_new_difficulty_adjustment_might/

deadalnix commented 7 years ago

This is a hard fork. If we are to hard fork, we can do better than this.

zander commented 7 years ago

it wasn't when this issue was opened, ignoring this made it a hard fork. yes. Unfortunately.