Draft: Implement CHIP 2023-04 Adaptive Blocksize Limit Algorithm for Bitcoin Cash
Getting the ball rolling, todo:
-
add a unit test harness for running over these test vectors, similar to existing -
add code to switch to algo on MTP. Note: the algo's initialization state will match that of the first block with MTP>upgrade10MTP. The limit for the NEXT block will be determined from the algo's initialization state + mined size of the initialization block. The limit for block n+1 is determined from algo's state for block n and size of block n. -
add code for algo's parameters configuration & set default config -
reset scalenet back to block 10,000, with the new algo but and with 32MB starting limit same as intended for mainnet, and some MTP for testing, e.g. November 15th MTP
Edited by bitcoincashautist