1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-09-14 19:01:38 +00:00
Commit Graph

4796 Commits

Author SHA1 Message Date
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
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
Murch
09e21036a4 Merge pull request #2274 from fmterrors/feature_fmterrors
docs(bip-353): fix DNSSEC proof extraction typo
2026-09-03 16:28:07 -07:00
fmterrors
58f1e33d96 docs(bip-353): fix DNSSEC proof extraction typo
Signed-off-by: fmterrors <fmterrors@outlook.com>
2026-09-03 14:32:41 +08:00
notTanveer
2ec04a0fa1 clarify silent payment address length 2026-09-03 01:05:26 +05:30
Murch
7273e178e5 Merge pull request #2270 from stutxo/bip-441-typos
BIP 441: fix typos and changelog date
2026-09-01 15:55:57 -07:00
stutxo
7e01c9822d BIP 441: fix typos and changelog date 2026-08-31 18:55:37 -04:00
Murch
2692bed479 Merge pull request #2268 from Yuri-SVB/feat/update-yuri-svb-email-on-bip-450
BIP450: Update author email address
2026-08-31 14:10:54 -07:00
Yuri-SVB
0ed23dc950 bip-450: update author contact email
The t3infosecurity.com domain is being retired, so mail to the address
listed for the first author will stop being delivered. BIP-3 ties several
process outcomes to author reachability: a Draft may be moved to Closed
unless its authors respond within four weeks of being contacted, and an
applicant asking to take over a BIP is appointed by the Editors if the
authors are unreachable or do not respond in a timely manner.

The new address is the one already behind the discussion threads linked in
this BIP's own preamble, so the contact and the discussion record now agree.
2026-08-31 14:07:56 -07:00
Jon Atack
2a783793f4 Merge pull request #2267 from guggero/bip379-malleability-caveat
BIP-379: note that the type properties assume their requirements
2026-08-30 15:06:53 -07:00
Oli
acbc7b000b bip379: note that the type properties assume their requirements
Both tables give the properties of a fragment in function of those of its
subexpressions, and both are written assuming that the conditions in the
"Requires" column of that fragment hold. Where they do not, the tables
still assign values, but the values carry none of the meaning the
descriptions of the properties give them, and implementations are free to
differ on them.

thresh is the case that surfaced this. Its rule is "e=all are s", so
thresh(2,or_i(pk(A),pk(B)),a:or_i(pk(C),pk(D))) is "e" even though each
or_i child has two unconditional dissatisfactions, giving the threshold
four, which is the opposite of the "unique unconditional dissatisfaction"
that the description of "e" promises. The threshold fails the "e"
requirement the same table imposes, though, so it is malleable and the
value is a don't-care.

Say so below both tables, so that implementations which disagree on the
type of an invalid or malleable expression are not read as contradicting
this document. Bitcoin Core (bitcoin/bitcoin#36028) and rust-miniscript
are aligning on the values the tables give, and the test vectors proposed
in #2240 leave out the properties that are not meaningful: z/o/n/d/u for
invalid expressions and s/f/e for malleable ones.
2026-08-30 19:44:35 +02:00
Ben Westgate
5117f5831b BIP93: Restrict supported master seed sizes
Restrict codex32-encoded BIP32 master seeds to 16, 20, 24, 28,
32, or 64 bytes. These sizes correspond to the BIP39 entropy
sizes and the 512-bit BIP32 seed produced by BIP39 recovery and provide
minimum six-character length gaps to reduce target length ambiguity
during optional insertion/deletion correction.

Move payload decoding out of the generic codex32 secret definition
and make it application-specific. Define the byte conversion and
length requirements under the master seed format instead.

Additionally:
- Enforce the new valid encoded lengths (48, 54, 61, 67, 74, 127) in
  the Python `ms32_decode` in-line reference.
- Remove obsolete short-checksum backward compatibility constraints and
  unsupported length test vectors.
- Add test vectors for 160, 192, and 224-bit master seeds
- Update rationale, compatibility, and reference implementation links.
2026-08-26 17:29:14 -05:00
Ben Westgate
c201536604 BIP93: Correct checksum selection boundaries
Include the expanded human-readable part when selecting the codex32
checksum. This keeps regular codewords within the 93-symbol BCH period
and rejects the 94- and 95-symbol gap before the long checksum starts
at 96 symbols.

Split regular and long checksum construction and verification so their
periods can be tested independently. Add assertions for both selection
boundaries and the long checksum upper limit.

Refs: https://github.com/bitcoin/bips/pull/2258#issuecomment-5411804501
2026-08-25 17:52:47 -05:00
Jon Atack
7fe0b034ec Merge pull request #2263 from sipa/202708_bip379_typo
Fix typo in BIP-379 malleability requirement rule
2026-08-20 10:14:27 -07:00
Pieter Wuille
25fd6bfeeb Fix typos in BIP-379 or_b and and_b malleability rules 2026-08-19 17:26:29 -04:00
SatsAndSports
eba8e50cb6 BIP-327: correct PartialSigAgg session-value unpacking and a typo (#2260)
* BIP-327: correct PartialSigAgg session-value unpacking and a typo

Co-authored-by: Jon Atack <jon@atack.com>
2026-08-19 13:53:39 -07:00
Murch
c2008a0663 Merge pull request #2215 from murchandamus/bip351-close
bip351: close due to lack of activity
2026-08-19 13:17:39 -07:00
Jon Atack
9934351d8b Merge pull request #2261 from SatsAndSports/fix-bip327-tests-mypy
BIP-327: fix reference.py type errors failing tests.sh
2026-08-19 08:18:29 -07:00
Sats And Sports
ccb5415095 BIP-327: fix reference.py type errors failing tests.sh 2026-08-18 18:41:24 +02:00
Murch
857a7debc6 Merge pull request #2243 from jonatack/2026-08-add-security_md-document
Add SECURITY.md
2026-08-17 14:33:23 -07:00
Jon Atack
5c84a15bd4 Merge pull request #2126 from ethicnology/bip85-nostr-application-86
BIP85: add Nostr application
2026-08-17 10:22:09 -07:00
Jon Atack
a30de518e8 Merge pull request #2253 from questfever/master
BIP375: correctly detect SegWit v2+ witness programs
2026-08-17 09:55:28 -07:00
Murch
d923cb825c Merge pull request #2233 from grandpig/master
scripts: validate the first Comments-URI entry
2026-08-14 17:05:25 -07:00
Jon Atack
d8cb214773 Add SECURITY.md
Co-authored-by: Murch <murch@murch.one>
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Co-authored-by: Edil Medeiros <jose.edil@gmail.com>
2026-08-13 12:04:19 -06:00
questfever
e726d13ade BIP375: correctly detect SegWit v2+ witness programs 2026-08-13 17:29:30 +08:00
Murch
60f5b33b0a Merge pull request #2252 from jurvis/bip89-deployed
bip89: advance to deployed
2026-08-12 21:22:56 -07:00
Jurvis Tan
b7bf6dda11 docs: advance bip89 to deployed 2026-08-12 21:09:47 -07:00
Murch
fe2d6caf85 Merge pull request #2250 from liamgilligan/bip324-method-name
BIP-324: Correct method name in handshake diagram
2026-08-12 10:35:03 -07:00
grandpig
6d5fc819a6 scripts: validate the first Comments-URI entry
Signed-off-by: grandpig <grandpig@outlook.com>
2026-08-12 22:31:30 +08:00
Liam Gilligan
3e4829c802 bip324: update method name for consistency
In everywhere except the handshake diagram, the transport initialization method name is `initialize_v2_transport`, but was `v2_initialize` in the diagram.
2026-08-11 13:51:40 -07:00
Murch
c38071c8c4 Merge pull request #2245 from jonatack/2026-08-bip110-status-update
BIP110: update status to Closed
2026-08-10 14:05:56 -07:00
Jon Atack
996d09a3b4 Merge pull request #2248 from murchandamus/editors-luke
process: Remove Luke from BIP Editors
2026-08-10 13:36:00 -07:00
Jon Atack
e4c6bbc099 bip110: update status to closed 2026-08-10 14:04:09 -06:00
Murch
967ed3fa0b process: Remove Luke from BIP Editors 2026-08-09 09:14:53 -07:00
Murch
1edd2f7be0 Merge pull request #2225 from dathonohm/bip110-p2a-clarification
BIP-110: Clarify P2A exemption in rule 3 requires an empty witness stack
2026-08-09 08:48:18 -07:00
Murch
b01048ebee bip110: Adopt John Moffett’s description of BIP433 relationship
Co-authored-by: John Moffett <116917595+john-moffett@users.noreply.github.com>
2026-08-09 08:46:25 -07:00
Jon Atack
8d4ccf6e0c bip 155: add reference implementation 2026-08-08 10:42:17 -06:00
Jon Atack
ed4ffcb6a4 Merge pull request #2234 from brunoerg/2026-08-bip155
BIP155: mention IPv4-in-IPv6 range MUST NOT be sent within IPV6
2026-08-06 13:09:21 -07:00
Jon Atack
c536a9ba99 Merge pull request #2239 from guggero/descriptors-bugfix
BIP-{383,386,389,390}: fix small issues and discrepancies
2026-08-06 13:02:52 -07:00