You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bip-0003.md
+50-50Lines changed: 50 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -120,8 +120,8 @@ appear in the following order. Headers marked with "\*" are optional. All other
120
120
Status: <Draft | Complete | Deployed | Closed>
121
121
Type: <Specification | Informational | Process>
122
122
Created: <Date of number assignment (yyyy-mm-dd), or "?">
123
-
License: <Identifier(s) of acceptable license(s)>
124
-
* License-Code: <Identifier(s) for Code under different acceptable license(s)>
123
+
License: <SPDX License Expression>
124
+
* License-Code: <SPDX License Expression for Code (if different)>
125
125
* Discussion: <Noteworthy discussion threads in "yyyy-mm-dd: URL" format>
126
126
* Version: <MAJOR.MINOR.PATCH>
127
127
* Requires: <BIP number(s)>
@@ -147,10 +147,8 @@ appear in the following order. Headers marked with "\*" are optional. All other
147
147
Authors header. See the [BIP Ownership](#bip-ownership) section above.
148
148
* Status — The stage of the workflow of the proposal. See the [Workflow](#workflow) section below.
149
149
* Type — See the [BIP Types](#bip-types) section below for a description of the three BIP types.
150
-
* License and License-Code — These headers list SPDX License Identifier(s) of the acceptable licenses under which the
151
-
BIP and corresponding code are available. See the [BIP Licensing](#bip-licensing) section below for a description of
152
-
the Licenses and their SPDX License Identifiers. If there are multiple acceptable licenses, each should be on a
153
-
separate line.
150
+
* License and License-Code — These headers specify SPDX License Expressions describing the licenses under which the
151
+
BIP and corresponding code are available. See the [BIP Licensing](#bip-licensing) section below.
154
152
* Discussion — The Discussion header points the audience to relevant discussions of the BIP, e.g., the mailing list
155
153
thread in which the idea for the BIP was discussed, a thread where a new version of the BIP was presented, or relevant
156
154
discussion threads on other platforms. Entries take the format "yyyy-mm-dd: URL", e.g., `2009-01-09:
@@ -391,67 +389,69 @@ innovate on a level playing field. Only freely licensed contributions are accept
391
389
392
390
### Specification
393
391
394
-
Each new BIP must identify at least one acceptable license in its preamble. Licenses must be referenced per their
395
-
respective [SPDX License identifier](https://spdx.org/licenses). New BIPs may be accepted with the licenses described
396
-
below.
392
+
Each new BIP must specify in two ways under which license terms it is made available. First, it must specify an [SPDX
393
+
License Expression](https://spdx.dev/ids/) in the License field in the preamble. Second, it must include a matching
394
+
Copyright section, possibly providing further details on licensing.
397
395
398
396
For example, a preamble might include the following License header:
399
397
400
-
License: CC0-1.0
401
-
GNU-All-Permissive
398
+
License: CC0-1.0 OR MIT
402
399
403
-
In this case, the BIP text is fully licensed under both the Creative Commons CC0 1.0 Universal license as well as the
404
-
GNU All-Permissive License, and anyone may modify and redistribute the text provided they comply with the terms of
405
-
*either* license. In other words, the license list is an "OR choice", not an "AND also" requirement.
400
+
In this case, the BIP (including all auxiliary files) is made available under the terms of both Creative Commons CC0 1.0 Universal as well as the
401
+
MIT License, and anyone may modify and redistribute it provided they comply with the terms of
402
+
*either* license, at their option. In other words, the license list is an "OR choice", not an "AND also" requirement. See the [SPDX
403
+
documentation](https://spdx.dev/ids/) and the [SPDX License List](https://spdx.org/licenses/) for further details.
406
404
407
-
It is also possible to license source code differently from the BIP text by including the optional License-Code header
408
-
after the License header. Again, each license must be referenced by their respective SPDX License identifier shown
409
-
below.
405
+
It is also possible to specify that source code is licensed differently by including the optional License-Code header
406
+
after the License header. Again, the licensing terms must be specified using an SPDX License Expression.
410
407
411
-
Each source code file or source directory should specify the license under which it is made available as is common in
412
-
software (e.g., with a license header or a LICENSE/COPYING file). It is recommended to make any test vectors available
413
-
under CC0-1.0 or GNU-All-Permissive in addition to any other licenses to allow anyone to copy test vectors into their
414
-
implementations without introducing license hindrances. Licenses listed in the License-Code header apply to all source
415
-
directories, source code files, and test vectors provided with the BIP except those where a LICENSE file in a directory
408
+
Each auxiliary source code file or source directory should specify the license under which it is made available as is common in
409
+
software (e.g., with a [`SPDX-License-Identifier: <SPDX License Expression>` comment](https://spdx.dev/ids/),
410
+
a license header, or a LICENSE/COPYING file). It is recommended to make any test vectors available
411
+
under CC0-1.0 or FSFAP in addition to any other licenses to allow anyone to copy test vectors into their
412
+
implementations without introducing license hindrances. Licenses listed in the License-Code header apply to all source directories,
413
+
source code files, and test vectors provided with the BIP except those where a LICENSE file in a directory
416
414
or the file header states otherwise.
417
415
418
416
For example, a preamble specifying the optional License-Code header might look like:
419
417
420
418
License: CC0-1.0
421
419
License-Code: MIT
422
420
423
-
In this case, the code in the BIP is not available under CC0-1.0, but is only available under the terms of the MIT
421
+
In this case, the source code in the BIP is not available under Creative Commons CC01.0 Universal, but is only available under the MIT
424
422
License.
425
423
426
-
BIPs are not required to be *exclusively* licensed under approved terms, and may also be licensed under unacceptable
427
-
licenses *in addition to* at least one acceptable license. In this case, only the acceptable license(s) should be listed
428
-
in the License and License-Code headers.
429
-
430
-
It is recommended that BIPs that include literal code be licensed under the same license terms as the project it
431
-
modifies. For example, literal code intended for Bitcoin Core would ideally be licensed (or dual-licensed) under the MIT
432
-
license terms.
424
+
It is recommended that source code included in a BIP (whether within the text or in auxiliary files) be licensed under the same license terms as the project it
425
+
is proposed to modify, if any. For example, changes intended for Bitcoin Core would ideally be licensed (also) under the MIT
426
+
License.
433
427
434
428
In all cases, details of the licensing terms must be provided in the Copyright section of the BIP.
0 commit comments