1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-07-21 12:58:14 +00:00

bip3: Recommend SPDX-License-Identifier comments

This commit is contained in:
Tim Ruffing 2025-07-09 09:24:57 +02:00
parent 3de6ed6dc0
commit e1d72f0243

View File

@ -406,10 +406,11 @@ It is also possible to license source code differently from the BIP text by incl
after the License header. Again, the licensing terms must be specified using an SPDX License Expression.
Each source code file or source directory should specify the license under which it is made available as is common in
software (e.g., with a license header or a LICENSE/COPYING file). It is recommended to make any test vectors available
software (e.g., with a [`SPDX-License-Identifier: <SPDX License Expression>` comment](https://spdx.dev/ids/),
with a license header or a LICENSE/COPYING file). It is recommended to make any test vectors available
under CC0-1.0 or FSFAP in addition to any other licenses to allow anyone to copy test vectors into their
implementations without introducing license hindrances. Licenses listed in the License-Code header apply to all source
directories, source code files, and test vectors provided with the BIP except those where a LICENSE file in a directory
implementations without introducing license hindrances. Licenses listed in the License-Code header apply to all source directories,
source code files, and test vectors provided with the BIP except those where a LICENSE file in a directory
or the file header states otherwise.
For example, a preamble specifying the optional License-Code header might look like: