From c2f4825550b5e13df0c8db650610808e1869cefd Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Wed, 26 Jul 2023 20:39:45 +0000 Subject: bip-0300: Add some guesstimate weight adjustments --- bip-0300.mediawiki | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'bip-0300.mediawiki') diff --git a/bip-0300.mediawiki b/bip-0300.mediawiki index 0a7315b..ab81c32 100644 --- a/bip-0300.mediawiki +++ b/bip-0300.mediawiki @@ -429,6 +429,53 @@ without it, sidechain numbers 0 and 128 would cause the legacy script interprete If an OP_DRIVECHAIN input is spent, the additional rules for M5 or M6 (see above) must be enforced. +====Weight adjustments==== + +To account for the additional drivechain checks, each message adds to the block's weight: + +{|class="wikitable" +! Message !! Additional weight +|- +| M1 || 840 +|- +| M2 || 336 +|- +| M3 || 848 +|- +| M4 || ? +|- +| M5 || 340 +|- +| M6 || 352 +|} + + + + ==Backward compatibility== As a soft fork, older software will continue to operate without modification. Non-upgraded nodes will see a number of phenomena that they don't understand -- coinbase txns with non-txn data, value accumulating in anyone-can-spend UTXOs for months at a time, and then random amounts leaving these UTXOs in single, infrequent bursts. However, these phenomena don't affect them, or the validity of the money that they receive. -- cgit v1.2.3