BIPs bitcoin improvement proposals

54 - Consensus Cleanup

BIP: 54 source Layer: Consensus (soft fork) Title: Consensus Cleanup Authors: Antoine Poinsot Matt Corallo Status: Draft Type: Specification Assigned: 2025-04-11 License: CC0-1.0 Abstract This document proposes new consensus rules in order to fix the timewarp attack, reduce the worst case block validation time, prevent Merkle tree weaknesses, and avoid duplicate transactions without bip-0030 validation. Motivation This proposal addresses a number of long-standing vulnerabilities and weaknesses in the Bitcoin protocol. Bundling these fixes together allows to overcome the fixed cost of deploying a Bitcoin soft fork. The timewarp bug permits a majority hashrate attacker to arbitrarily increase the block rate, allowing them to steal block subsidy from future miners and increase validation costs to nodes that have to deal with the increased average transaction rate. By strategically setting the block timestamp, the timewarp bug lets miners bring down the difficulty...

379 - Miniscript

BIP: 379 source Layer: Applications Title: Miniscript Authors: Pieter Wuille Andrew Poelstra Sanket Kanjalkar Antoine Poinsot Ava Chow Status: Draft Type: Informational Assigned: 2023-10-10 License: CC0-1.0 Requires: 380 Abstract This document specifies Miniscript, a language for writing (a subset of) Bitcoin Scripts in a structured way, enabling analysis, composition, generic signing and more. Copyright This document is licensed under the Creative Commons CC0 1.0 Universal license. Motivation Bitcoin Script is an unusual stack-based language with many edge cases, designed for implementing spending conditions consisting of various combinations of signatures, hash locks, and time locks. Yet, despite being limited in functionality, it is still highly nontrivial to: Given a combination of spending conditions, finding the most economical script to implement it. Given two scripts, construct a script that implements a composition...