Commit Graph
4872 Commits
Author SHA1 Message Date
Ferdinando Ametrano 8629462a94 bip-0371: drop the finalizer clause from PSBT_OUT_TAP_BIP32_DERIVATION
The six taproot input fields say "Finalizers should remove this field
after PSBT_IN_FINAL_SCRIPTWITNESS is constructed", and so does the
output field PSBT_OUT_TAP_BIP32_DERIVATION. An output has no
PSBT_IN_FINAL_SCRIPTWITNESS, the clause names no input, and its two
neighbours in the output table carry no such clause. Drop it; Bitcoin
Core does not clear output fields on finalization.
2026-09-23 22:59:15 +02:00
Ferdinando Ametrano 1e431879af bip-0370: say what the Input Finalizer keeps in a version 2 input
BIP 174 tells the Input Finalizer to clear all other data except the
UTXO and unknown fields from a finalized input. It was written when the
unsigned transaction was a global field. PSBTv2 moves the data that
defines the input into the input map, and a finalizer that follows the
sentence literally removes it: without PSBT_IN_PREVIOUS_TXID or
PSBT_IN_OUTPUT_INDEX the result is invalid, and without
PSBT_IN_SEQUENCE and the locktime fields the Transaction Extractor
builds a different transaction.

BIP 370 amends Creator, Updater, Signer and Transaction Extractor for
PSBTv2, adds the Constructor, and says nothing about the Input
Finalizer. Add the section: the five fields are kept. Bitcoin Core
does this today: at 19b0ff2fa0, PSBTInput::Serialize in src/psbt.h
writes them for every PSBTv2 input, finalized or not.
2026-09-23 22:59:14 +02:00
Murch fc1b9f40ea Merge pull request #2275 from Sjors/2026/09/psbt-sighash
bip174: add combiner test vector for PSBT_IN_SIGHASH_TYPE
2026-09-23 10:25:00 -07:00
Murch 722d01e5e0 174: consistently indent test vectors 2026-09-23 10:22:22 -07:00
Sjors Provoost bc3b6c1842 bip174: record combiner test vectors in changelog 2026-09-23 12:46:16 +02:00
Sjors Provoost a17e953782 bip174: record commutativity clarification in changelog 2026-09-23 12:46:03 +02:00
Murch 848dce9a6d Merge pull request #2292 from danielabrozzoni/update_descriptor_bips_to_spec
bip379 to bip390: Update to Specification type
2026-09-22 13:22:13 -07:00
Murch 9ea984930e Merge pull request #2276 from bitsagarob/patch-1
BIP376: keep PSBT_IN_WITNESS_UTXO after finalization
2026-09-22 13:10:20 -07:00
Jon Atack acdce4d50c Merge pull request #2279 from fametrano/bip352-guard-optional-expected
bip-0352: do not require the optional expected argument
2026-09-21 22:04:59 -07:00
Murch 989df0e893 Merge pull request #1951 from pythcoiner/encrypted_descriptor
BIP138: Compact Encryption Scheme for Non-seed Wallet Data
2026-09-21 13:18:48 -07:00
Jon Atack 9cf75150d2 Merge pull request #2262 from theStack/bip374_treat-e-as-scalar
BIP-374: treat challenge hash result `e` as scalar
2026-09-20 20:21:15 -07:00
Jon Atack ae34fea045 Merge pull request #2273 from let-the-dreamers-rise/bip360-refimpl-depth-bound-and-raises
bip360: bound merkle depth at 128 and replace validation asserts in ref-impl
2026-09-20 20:14:22 -07:00
Ferdinando Ametrano 8754690b72 bip-0352: do not require the optional expected argument
create_outputs and scanning declare expected with a default of None but
dereference it unconditionally (expected.get(...)), so calling either
without it raises AttributeError, although the parameter is documented
optional. Guard the expected-value checks with `if expected is not None:`.

The self-test, which always passes expected, is unaffected.
2026-09-19 15:03:27 +02:00
Murch e71448c81f Merge pull request #2296 from murchandamus/2026-09-update-typos-flow
ci: Update typos action to use main branch
2026-09-18 12:02:05 -07:00
Murch 92f4b86430 ci: Update typos action to use main branch
The typos repository switched from the `master` branch to `main`.
2026-09-18 11:54:55 -07:00
Murch 658fe07449 Merge pull request #2259 from ViniciusCestarii/pseudocode-bip-324
bip324: fix handshake pseudocode errors
2026-09-18 11:49:14 -07:00
Daniela Brozzoni 2a20ce4e8e bip390: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni c2c39e02f3 bip389: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 3ac7c77174 bip387: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 9d735fb36f bip386: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 4b63b2eb99 bip385: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 2490324891 bip384: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 803c984919 bip383: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni a31ee298c4 bip382: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 66dbdb4710 bip381: Update to Specification type 2026-09-17 15:31:24 +02:00
Daniela Brozzoni 93607da01d bip380: Update to Specification type 2026-09-17 15:31:20 +02:00
Daniela Brozzoni 12e5a9ffdf bip379: Update to Specification type 2026-09-17 15:31:16 +02:00
Murch 55083d36dd Merge pull request #2224 from liamgilligan/bip-low-r-grinding
BIP461: Deterministic ECDSA Signatures
2026-09-16 14:11:02 -07:00
Liam Gilligan b24f038c78 Add BIP: Deterministic ECDSA Signatures
BIP specifying how to deterministically produce
valid ECDSA signatures using low-r grinding and
low-s normalization with RFC 6979.
2026-09-16 11:27:52 -07:00
Murch 173f386dfb Merge pull request #2290 from kriss39/fix/bip10-pre-tag
bip-10: open the example TxDP block with <pre>, not </pre>
2026-09-14 16:26:29 -07:00
KananandKanan M 3a13d60ff2 bips 89/114/441: add missing Footnotes and references tag (#2289)
* bip-89, bip-114, bip-441: add missing <references/> tag

These three BIPs use <ref> footnotes but never place a <references/>
tag, so GitHub's mediawiki renderer drops the footnote text entirely and
the [n] superscripts link to anchors that do not exist.

Add a Footnotes section as well, so the notes are rendered.

---------

Co-authored-by: Kanan M <kanan@MacBook-Pro-Sanan.local>
2026-09-14 15:56:36 -07:00
Jon Atack aeff23635d Merge pull request #2291 from kriss39/fix/bip433-formatting
bip-433: fix heading levels, stray '<', typos, add Copyright section
2026-09-14 14:51:11 -07:00
Kanan e2e7a03d69 bip-433: fix heading levels, stray '<', typos, add Copyright section
- Specification was a level-3 heading and therefore rendered as a
  subsection of Motivation; Backward Compatibility, Implementation and
  Related Work were one level too deep as well.
- Drop the stray '<' in front of the testnet address tb1pfees9rn5nz.
- 'typea' -> 'type', 'ineherent' -> 'inherent'.
- Add the Copyright section required by BIP 3, matching the
  BSD-3-Clause License header.
2026-09-13 20:17:47 +04:00
Kanan 9c694c8711 bip-10: open the example TxDP block with <pre>, not </pre>
Line 57 uses a closing </pre> where the opening tag was intended, so
the example TxDP that follows (up to the real </pre> on line 90) is
rendered as prose instead of a preformatted block.
2026-09-13 20:17:07 +04:00
Murch bfc142f2b5 Merge pull request #2271 from notTanveer/fix/sp-addr-len
BIP-352: clarify silent payment address length
2026-09-11 13:40:30 -07:00
Murch 86d96b63b0 Merge pull request #2258 from BenWestgate/bip93-checksum-boundary
BIP93: Fix checksum selection bounds and restrict `ms` sizes
2026-09-11 12:28:30 -07:00
Murch b8a614417f Merge pull request #2282 from kriss39/fix/mediawiki-relative-link-check
script: catch relative BIP links in mediawiki files
2026-09-11 12:21:15 -07:00
Murch 2974f9f091 Merge pull request #2283 from kriss39/fix/deputies-email-domain-validation
script: allow hyphens in deputy email domains
2026-09-11 12:17:12 -07:00
Murch adfe317fc4 Merge pull request #2284 from kriss39/fix/allow-mit-0-license
script: allow MIT-0 license
2026-09-11 12:10:15 -07:00
Kanan 3c359de780 script: allow MIT-0 license 2026-09-11 18:19:32 +04:00
Kanan afc982a096 script: allow hyphens in deputy email domains 2026-09-11 17:26:17 +04:00
Kanan 43bd57b707 script: catch relative BIP links in mediawiki files 2026-09-11 17:16:07 +04:00
Murch 620871a7a4 Merge pull request #2278 from fametrano/bip327-portable-monotonic-clock
bip-0327: derive extra_in from secrets in the reference self-test
2026-09-10 08:25:02 -07:00
Ferdinando Ametrano 4f9567fd60 bip-0327: derive extra_in from secrets in the reference self-test
The self-test reads time.clock_gettime_ns(time.CLOCK_MONOTONIC) for
extra_in on even iterations. CPython documents both symbols
"Availability: Unix", so the attribute lookup raises AttributeError on
Windows and python3 reference.py does not run there.

Take extra_in from secrets instead, at a random length, so the self-test
also exercises extra_in of varying length. time has no other use in the
file, so its import goes too.
2026-09-10 15:55:28 +02:00
Sjors Provoost 0bae693f0f bip174: add combiner test vector for PSBT_IN_SIGHASH_TYPE
Add a vector where only one of the two PSBTs has the
PSBT_IN_SIGHASH_TYPE field.

See bitcoin/bitcoin#36076
2026-09-10 08:43:01 +02:00
Murch 2120121c40 Merge pull request #2244 from jonatack/2026-08-bip155-add-ref-impl
BIP155: add reference implementation
2026-09-09 13:56:22 -07:00
Murch 4adea840e7 Merge pull request #2241 from pseudoramdom/staletip-bip
BIP332: Stale Tip Relay
2026-09-09 13:47:47 -07:00
pseudoramdom 8aacefed18 Add BIP-332: Stale Tip Relay 2026-09-09 12:12:14 -07:00
BitsagaRob c8cbc9804e BIP376: keep PSBT_IN_WITNESS_UTXO after finalization 2026-09-04 09:01:55 +00:00
Sjors Provoost 56217f9720 bip174: combiner test vectors must pass in any input order
The Combiner section is updated to say combining is commutative unless
the PSBTs have conflicting fields. None of the current combiner test
vectors contain such fields.
2026-09-04 10:08:58 +02:00