1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-09-22 13:51:38 +00:00

4292 Commits

Author SHA1 Message Date
Mark "Murch" Erhardt
86b29c5d81
Merge pull request #1941 from jonatack/2025-08-bip2-licenses
BIP2: license section fixups
2025-08-25 11:58:40 -07:00
Jon Atack
c23b8a958e BIP2: fix 301 redirects in license URLs
Co-authored-by: 1BitcoinBoWP1FZ4xwTNkq6XksKidmgYYw <contact@bitcoin.foundation>
2025-08-21 16:44:59 -06:00
Jon Atack
7511c7ec77 BIP2: update MIT license name
per both of:

- https://opensource.org/license/MIT
- https://spdx.org/licenses/MIT

Co-authored-by: Murch <murch@murch.one>
2025-08-21 16:44:34 -06:00
Mark "Murch" Erhardt
2e3dd3f273
Merge pull request #1940 from jonatack/2025-08-bip3-licenses
BIP3: license section updates
2025-08-21 14:34:35 -07:00
Jon Atack
3f2a403f69
Merge pull request #1939 from ethicnology/master
BIP85: replace Base64 by Base85 in PWD BASE85 section
2025-08-21 08:48:35 -07:00
ethicnology
3e9befd444
refactor: unify capitalization 2025-08-21 07:46:21 -04:00
ethicnology
2fc8da8871
fix: replace Base64 by Base85 encoding in PWD BASE85 section 2025-08-21 07:31:26 -04:00
Jon Atack
3f61b68f22 BIP3: update MIT license name
per both of:

- https://opensource.org/license/MIT
- https://spdx.org/licenses/MIT
2025-08-20 21:53:17 -06:00
1BitcoinBoWP1FZ4xwTNkq6XksKidmgYYw
e98fb73faa BIP3: add MIT-0 to acceptable licenses 2025-08-20 21:53:17 -06:00
1BitcoinBoWP1FZ4xwTNkq6XksKidmgYYw
d610c8a232 BIP3: fix license URLs with 301 redirects 2025-08-20 21:52:51 -06:00
sashass1315
4f00b499c9
BIP345: fix broken links (#1938)
* BIP345: fix broken links
2025-08-18 12:43:37 -07:00
Jon Atack
ebfcfa4808
Merge pull request #1935 from Fibonacci747/unused-import
BIP352: remove unused import from reference.py
2025-08-15 08:40:37 -07:00
Fibonacci747
4463068012
feat: remove unused permutations import from bip-0352/reference.py 2025-08-15 10:58:43 +02:00
Jon Atack
9a55a542cc
Merge pull request #1934 from strmfos/master
scripts: remove unused FILES variable in link-format-chk.sh
2025-08-14 07:05:45 -07:00
Jon Atack
e9181258a1
Merge pull request #1932 from ANtutov/broken-link
BIP345: fix broken link
2025-08-14 05:20:41 -07:00
strmfos
e8b9da9284
scripts: remove unused FILES variable in link-format-chk.sh 2025-08-14 11:53:03 +02:00
Jon Atack
9a2791bf8b
Merge pull request #1929 from jonatack/2025-08-ci-update
ci: update github actions checkout version
2025-08-13 07:40:26 -07:00
ANtutov
b786c64080
bip-0345: fix broken link 2025-08-13 08:56:35 +03:00
Jon Atack
647e40ea04
Merge pull request #1914 from Forostovec/fix/broken-link
BIP 70: fix link to payment request generator
2025-08-12 09:30:42 -07:00
Jon Atack
3eff7c9626 ci: update github actions checkout version
see https://github.com/actions/checkout/releases/tag/v5.0.0
2025-08-11 09:52:58 -06:00
Jon Atack
4f1359d0f8
Merge pull request #1920 from strmfos/master
BIP374: remove debug print from test runner
2025-08-10 14:40:59 -07:00
strmfos
1421be407e
BIP374: remove debug print statement from BIP-374 test runner 2025-08-09 19:17:39 +02:00
Jon Atack
e97c908096
Merge pull request #1918 from murchandamus/bip3-reformat-existing-licenses
BIP3: Update License header format on activation
2025-08-09 10:05:07 -07:00
Murch
1fc26cbb24
BIP3: Update License header format on activation
Addresses follow-up from #1892
2025-08-08 17:21:17 -07:00
Jon Atack
3821aa3a1c
Merge pull request #1797 from shesek/patch-3 2025-08-08 11:59:09 -07:00
Forostovec
4a68f37bf7
fix: broken link to payment request generator 2025-08-07 12:48:58 +03:00
Mark "Murch" Erhardt
6c5d396fba
Merge pull request #1910 from bethoffman/fix-typo
BIP443: fix typo in the section "Transaction-wide initialization"
2025-08-05 15:40:32 -07:00
josie
3e15178a43
BIP352: add warning against omitting outputs (#1908)
* doc: add warning against omitting outputs

While implied by the specification, add an explicit warning that
generated outputs MUST not be omitted from the final transaction.

Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2025-08-04 09:36:01 -07:00
hoffman
c72c59a8db
Update bip-0443.mediawiki 2025-08-02 11:42:07 +08:00
Jon Atack
31450c3dbd
Merge pull request #1905 from otc-png/patch-1
[bip-0010]: remove repeated "the"
2025-08-01 06:27:04 -07:00
Jon Atack
5dd89238bd
Merge pull request #1907 from anim001k/master
Fix dead link in BIP-70: Update Mozilla root store URL
2025-08-01 06:25:56 -07:00
Jon Atack
4dc2165dba
Merge pull request #1906 from GarmashAlex/links
Fix broken MES16.pdf link in BIP-347
2025-08-01 06:25:30 -07:00
anim001k
c038164697
Update bip-0070.mediawiki 2025-07-30 16:34:43 +02:00
Mark "Murch" Erhardt
b8a39dfba3
Merge pull request #1904 from jonatack/2025-07-remove-License-Code-from-BIP3
BIP3: drop optional License Code header
2025-07-29 08:33:01 -07:00
Jon Atack
6f2f4aa233 BIP3: refer to CC0 1.0 Universal
per https://creativecommons.org/publicdomain/zero/1.0/legalcode.en

and add a missing word

Co-authored-by: Tim Ruffing <crypto@timruffing.de>
2025-07-28 16:52:41 -06:00
Jon Atack
12dc0e04a2 BIP3: drop optional License Code header
Co-authored-by: Tim Ruffing <crypto@timruffing.de>
Co-authored-by: Murch <murch@murch.one>
2025-07-28 16:52:29 -06:00
GarmashAlex
f4787bdb6f
fix broken link 2025-07-29 00:28:51 +03:00
otc group
a3e4d14e0d
remove repeated "the" 2025-07-28 23:14:16 +02:00
Mark "Murch" Erhardt
7f13f8f9f5
Merge pull request #1899 from dplusplus1024/patch-7
BIP32: Use plural “bytes”
2025-07-28 13:53:04 -07:00
Jon Atack
0a8c271715
Merge pull request #1902 from josibake/bip352-updates
BIP352: be explicit for the input_hash corner case
2025-07-25 08:22:15 -07:00
josibake
c70bc9f018
doc: be explicit for the input_hash corner case 2025-07-25 15:07:52 +01:00
Jon Atack
e8c02024f0
Merge pull request #1901 from crStiv/typo
BIP77: fix links to Client/Directory interactions
2025-07-21 13:11:08 -07:00
crStiv
c83aeb8d28
Update bip-0077.md 2025-07-21 21:11:36 +02:00
Jon Atack
0f8a2269c2 Merge branch 'nothingmuch-field-ordering-pr'
* nothingmuch-field-ordering-pr:
  CI: Enforce BIP 2 & 3 field ordering requirements
  scripted-diff: fix BIP 2 field order violations
2025-07-20 14:29:41 -06:00
Yuval Kogman
0eb3718c5d CI: Enforce BIP 2 & 3 field ordering requirements
The specified field order is consistent with both BIPs 2 and 3. The
ordering of fields which are only present in one or the other is
ambiguous, e.g. as in `Proposed-Replacement` and `Superseded-By` but
only one of these applies to a given BIP.

The `Editor` field is spurious, only being used in BIP 69, and appears
after Author.
2025-07-20 14:29:13 -06:00
Yuval Kogman
cd19d89e58 scripted-diff: fix BIP 2 field order violations
-BEGIN VERIFY SCRIPT-
set -e
perl <<'-END PERL-'
use strict;
use warnings;

my $topbip = 9999;

my @FieldOrder = qw(
	BIP
	Layer
	Title
	Author
	Authors
	Editor
	Deputies
	Discussions-To
	Comments-Summary
	Comments-URI
	Status
	Type
	Created
	License
	License-Code
	Discussion
	Post-History
	Version
	Requires
	Replaces
	Proposed-Replacement
	Superseded-By
);

my $bipnum = 0;
while (++$bipnum <= $topbip) {
	my $fn = sprintf "bip-%04d.mediawiki", $bipnum;
	my $is_markdown = 0;
	if (!-e $fn) {
		$fn = sprintf "bip-%04d.md", $bipnum;
		$is_markdown = 1;
	}
	-e $fn || next;
	open my $F, "<", $fn or die "$!";

	my (@before, %preamble, @after);

	if ($is_markdown) {
		while (<$F>) {
			push @before, $_;
			last if m[^(?:\xef\xbb\xbf)?```$]
		}
		die "No ``` in $fn" if eof $F;
	} else {
		while (<$F>) {
			push @before, $_;
			last if m[^(?:\xef\xbb\xbf)?<pre>$];
		}
		die "No <pre> in $fn" if eof $F;
	}
	my %found;
	my ($title, $author, $status, $type, $layer);
	my ($field, $val, @field_order);
	while (<$F>) {
		push @after, $_ and last if ($is_markdown && m[^```$]);
		push @after, $_ and last if (!$is_markdown && m[^</pre>$]);

		if (m[^  ([\w-]+)\: (.*\S)$]) {
			$field = $1;
			$val = $2;
		} elsif (m[^  ( +)(.*\S)$]) {
			$val = $2;
		} else {
			die "Bad line in $fn preamble";
		}

		push @{$preamble{$field} ||= []}, $_;
	}
	push @after, <$F>;
	close $F or die $!;

	open my $W, ">", "$fn" or die "$!";

	print $W @before;
	print $W map { @$_ } grep { defined } delete @preamble{@FieldOrder};
	die "Unknown fields: @{[ keys %preamble ]}" if %preamble;
	print $W @after;

	close $W or die $!;
}
-END PERL-
-END VERIFY SCRIPT-
2025-07-20 14:29:13 -06:00
D++
651e273ee8
Fix: Use plural “bytes” in serialization table to match field size convention
Aligns the first field in the serialization table with the rest, which use plural “bytes” (e.g., “4 bytes: child number”) for consistency.
2025-07-19 18:07:10 -07:00
Jon Atack
340c1a3d53
Merge pull request #1892 from real-or-random/202507-spdx
bip3: Switch to SPDX identifiers
2025-07-18 13:45:02 -07:00
Tim Ruffing
88d29188c6 bip3: Editorial cleanup of the license lists 2025-07-18 13:29:46 +02:00
Tim Ruffing
7aa54dd696 bip3: Change License example to CC0-1.0 OR MIT
The actual reason why I suggest this is that I think that's a great
default choice for a new BIP, so it's a perfect example. CC0-1.0 is a
great liberal choice for the BIP document (and test vectors etc.), and
MIT is the common choice for code in our ecosystem. Putting both BIP and
code under the "OR" avoids any confusion about which part is licensed
under which terms and also avoids any hassle when reorganizing, e.g.,
when moving code out of the BIP Markdown file to a separate file etc.

But I don't want this PR to recommend a license, so let me sell this
change as an editorial change to an example, which is warranted because
the MIT is much more known than FSFAP, in particular in this ecosystem.
2025-07-18 13:29:46 +02:00