Why Nostr? What is Njump?
2023-06-07 23:17:57
in reply to

jk_14 at op.pl [ARCHIVE] on Nostr: 📅 Original date posted:2022-12-23 📝 Original message:Necessary or not - it ...

📅 Original date posted:2022-12-23
📝 Original message:Necessary or not - it doesn't hurt to plan the robust model, just in case. The proposal is:

Let every 210,000 the code calculate the average difficulty of 100 last retargets (100 fit well in 210,000 / 2016 = 104.166)
and compare with the maximum of all such values calculated before, every 210,000 blocks:


if average_diff_of_last_100_retargets > maximum_of_all_previous_average_diffs
do halving
else
do nothing


This way:

1. system cannot be played
2. only in case of destructive halving: system waits for the recovery of network security


Best Regards
Jaroslaw
Author Public Key
npub1dalwmzu6f0yqdl0cy8qeaa6zcrzkara3jh8jjv7zky5s0tuypatsu07r9n