diff options
author | Jon Atack <jon@atack.com> | 2024-07-26 15:33:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 15:33:53 +0000 |
commit | 0f40dd7554cabe9bdc8066dda5e18aeda421120f (patch) | |
tree | 5852b148be8fec7178679b7280bedd51bf542f60 /bip-0106.mediawiki | |
parent | f085cc29221f0f28310804d4482b33bb1afd9e07 (diff) | |
parent | 9a56d3544eac1f949a747c251810f7a440d63fb9 (diff) |
Merge pull request #1653 from OrfeasLitos/trailing-whitespace
Remove trailing whitespace from all BIPs
Diffstat (limited to 'bip-0106.mediawiki')
-rw-r--r-- | bip-0106.mediawiki | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bip-0106.mediawiki b/bip-0106.mediawiki index 193d4cd..84b0498 100644 --- a/bip-0106.mediawiki +++ b/bip-0106.mediawiki @@ -36,13 +36,13 @@ https://blockchain.info/charts/avg-block-size?timespan=all&showDataPoints=false& Keep the same MaxBlockSize ===Proposal 2 : Depending on previous block size calculation and previous Tx fee collected by miners=== - + TotalBlockSizeInLastButOneDifficulty = Sum of all Block size of first 2008 blocks in last 2 difficulty period TotalBlockSizeInLastDifficulty = Sum of all Block size of second 2008 blocks in last 2 difficulty period (This actually includes 8 blocks from last but one difficulty) - + TotalTxFeeInLastButOneDifficulty = Sum of all Tx fees of first 2008 blocks in last 2 difficulty period TotalTxFeeInLastDifficulty = Sum of all Tx fees of second 2008 blocks in last 2 difficulty period (This actually includes 8 blocks from last but one difficulty) - + If ( ( (Sum of first 4016 block size in last 2 difficulty period)/4016 > 50% MaxBlockSize) AND (TotalTxFeeInLastDifficulty > TotalTxFeeInLastButOneDifficulty) AND (TotalBlockSizeInLastDifficulty > TotalBlockSizeInLastButOneDifficulty) ) MaxBlockSize = TotalBlockSizeInLastDifficulty * MaxBlockSize / TotalBlockSizeInLastButOneDifficulty Else If ( ( (Sum of first 4016 block size in last 2 difficulty period)/4016 < 50% MaxBlockSize) AND (TotalTxFeeInLastDifficulty < TotalTxFeeInLastButOneDifficulty) AND (TotalBlockSizeInLastDifficulty < TotalBlockSizeInLastButOneDifficulty) ) |