Loading prices…
🔥BULLISH

Bitcoin Developer Proposes Witness-Proof Standard

A draft BIP would let lightweight wallets prove that the signatures they hold match what miners actually committed to a block, closing a trust gap that Lightning users inherit.

Bitcoin Developer Proposes Witness-Proof Standard
Bitcoin Developer Proposes Witness-Proof Standard

Bitcoin developer Jean Pablo submitted a draft Bitcoin Improvement Proposal on Nov. 22 proposing a verification standard that would let lightweight wallets independently authenticate transaction signatures recorded on-chain. Today's proofs let a wallet confirm a transaction was mined using its txid, but that identifier excludes witness data, so a wallet can successfully verify inclusion while holding signatures that differ from what miners actually included. Pablo's draft standardizes witness transaction inclusion proofs around a second identifier, the wtxid, which incorporates witness data and ties into Bitcoin's existing witness commitment in the block's coinbase transaction, then to the block header itself.

Why it matters

The gap matters most for wallets that lean on outside servers rather than storing the full chain, including Electrum, whose contributor SomberNight first asked for witness inclusion proofs to strengthen verification for the wallet's Lightning Network functionality. Lightning wallets touch the underlying chain when opening, closing and monitoring payment channels, so a mismatched witness can matter for channel safety rather than cosmetic display. Bitcoin Core explored extending its transaction proof commands to cover witness data, but that pull request closed in May unmerged, and developer Sjors Provoost continued through a separate implementation that added commands to generate and verify witness proofs. Bitcoin Knots shipped experimental witness-proof support in version 29.1, and Electrum developers have worked on related protocol changes, leaving three different proof formats in circulation.

Pablo's proposal specifies two binary formats plus a JSON representation for exchanging and verifying proofs. One format carries a separate cryptographic proof per transaction, the other cuts duplicated data when verifying many at once: in an example with 10 transactions, it reduced proof data from 4,523 bytes to 3,325 bytes, roughly 26%. The draft also ships a Python reference implementation and 93 test cases, 31 covering proofs that must be accepted and 62 covering invalid proofs that software must reject.

Related tokens
$BTC

Frequently asked questions

  1. What problem does the proposed Bitcoin witness-proof standard solve?

    Existing proofs confirm a transaction was mined using its txid, but txid excludes witness data. A wallet could verify inclusion while holding witness data that differs from what miners included in the block.

  2. What is the wtxid and why does the proposal rely on it?

    The wtxid is a second transaction identifier that incorporates witness data, unlike the conventional txid. Building proofs around it lets wallets verify that the full transaction they received matches the version included in a mined block.

  3. Why does this matter most to Lightning users?

    Lightning wallets interact with the underlying chain when opening, closing and monitoring payment channels, so reliable transaction information is a channel-safety issue. The proposal follows a request from Electrum contributor SomberNight for witness inclusion proofs.

  4. How much data do the standardized proof formats save?

    Pablo's proposal defines two binary formats plus a JSON representation. The format for verifying many transactions at once reduced proof data from 4,523 bytes to 3,325 bytes in a 10-transaction example, about a 26% reduction.

  5. What is the status of the proposal?

    It remains a draft BIP submitted on Nov. 22 and open for developer feedback on the proposed formats and verification requirements. Bitcoin Core, Bitcoin Knots and Electrum currently use different experimental witness-proof implementations.

Source attribution
Aggregated from CryptoSlate · Verified · Last refreshed 28m ago
Open original →