From 78e7562de35093dc8f53f5c73e9a2f5e2cf9f24f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 29 Mar 2026 14:33:12 +1030 Subject: [PATCH] BIP 440, 441: official numbers, into README.mediawiki and renamed. Signed-off-by: Rusty Russell --- README.mediawiki | 14 ++++++++++++++ ...n-varops-budget.mediawiki => bip-0440.mediawiki | 4 ++-- ...ipt-restoration.mediawiki => bip-0441.mediawiki | 12 ++++++------ 3 files changed, 22 insertions(+), 8 deletions(-) rename bip-unknown-varops-budget.mediawiki => bip-0440.mediawiki (99%) rename bip-unknown-script-restoration.mediawiki => bip-0441.mediawiki (98%) diff --git a/README.mediawiki b/README.mediawiki index 55580ee0..5ac15ab4 100644 --- a/README.mediawiki +++ b/README.mediawiki @@ -1409,6 +1409,20 @@ users (see also: [https://en.bitcoin.it/wiki/Economic_majority economic majority | Specification | Draft |- +| [[bip-0440.mediawiki|440]] +| Consensus (soft fork) +| Varops Budget For Script Runtime Constraint +| Rusty Russell, Julian Moik +| Specification +| Draft +|- +| [[bip-0441.mediawiki|441]] +| Consensus (soft fork) +| Restoration of disabled script (Tapleaf 0xC2) +| Rusty Russell, Julian Moik +| Specification +| Draft +|- | [[bip-0442.md|442]] | Consensus (soft fork) | OP_PAIRCOMMIT diff --git a/bip-unknown-varops-budget.mediawiki b/bip-0440.mediawiki similarity index 99% rename from bip-unknown-varops-budget.mediawiki rename to bip-0440.mediawiki index bfc927b3..409b5a0f 100644 --- a/bip-unknown-varops-budget.mediawiki +++ b/bip-0440.mediawiki @@ -1,12 +1,12 @@
-  BIP: ?
+  BIP: 440
   Layer: Consensus (soft fork)
   Title: Varops Budget For Script Runtime Constraint
   Authors: Rusty Russell 
            Julian Moik 
   Status: Draft
   Type: Specification
-  Assigned: ?
+  Assigned: 2026-03-25
   License: BSD-3-Clause
   Discussion: https://groups.google.com/g/bitcoindev/c/GisTcPb8Jco/m/8znWcWwKAQAJ
               https://delvingbitcoin.org/t/benchmarking-bitcoin-script-evaluation-for-the-varops-budget-great-script-restoration/2094
diff --git a/bip-unknown-script-restoration.mediawiki b/bip-0441.mediawiki
similarity index 98%
rename from bip-unknown-script-restoration.mediawiki
rename to bip-0441.mediawiki
index bb3b0dfc..f658bcef 100644
--- a/bip-unknown-script-restoration.mediawiki
+++ b/bip-0441.mediawiki
@@ -1,16 +1,16 @@
 
-  BIP: ?
+  BIP: 441
   Layer: Consensus (soft fork)
   Title: Restoration of disabled script (Tapleaf 0xC2)
   Authors: Rusty Russell 
            Julian Moik 
   Status: Draft
   Type: Specification
-  Assigned: ?
+  Assigned: 2026-03-25
   License: BSD-3-Clause
   Discussion: https://groups.google.com/g/bitcoindev/c/GisTcPb8Jco/m/8znWcWwKAQAJ
   Version: 0.2.1
-  Requires: Varops BIP
+  Requires: 440
 
==Introduction== @@ -19,7 +19,7 @@ This BIP introduces a new tapleaf version (0xc2) which restores Bitcoin script to its pre-0.3.1 capability, relying on the Varops Budget in -[[bip-unknown-varops-budget.mediawiki|BIP-varops]] to prevent the excessive +[[bip-0440.mediawiki|BIP440]] to prevent the excessive computational time which caused CVE-2010-5137. In particular, this BIP: @@ -184,7 +184,7 @@ fail validation. These are popped off the stack in right-to-left order, i.e. [A B] means pop B off the stack, then pop A off the stack. -See [[bip-unknown-varops-budget.mediawiki|BIP-varops]] for the meaning of the +See [[bip-0440.mediawiki|BIP440]] for the meaning of the annotations in the varops cost field. ====Splice Opcodes==== @@ -577,7 +577,7 @@ For simplicity, this is charged whether the OP_CHECKSIGADD succeeds or not. ===Other Operators=== The varops costs of the following opcodes are defined in -[[bip-unknown-varops-budget.mediawiki|BIP-varops]]: +[[bip-0440.mediawiki|BIP440]]: * OP_VERIFY * OP_NOT