From 408b8e2f7681678cab03269bc39d81d5b45ef50b Mon Sep 17 00:00:00 2001 From: Aleksey Bykhun Date: Sat, 11 Dec 2021 16:44:27 +0800 Subject: [PATCH] docs: note on invalid SPDX `UNLICENSED` https://github.com/ethereum/solidity/issues/12251 --- docs/layout-of-source-files.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/layout-of-source-files.rst b/docs/layout-of-source-files.rst index b3a27bf1e..921211248 100644 --- a/docs/layout-of-source-files.rst +++ b/docs/layout-of-source-files.rst @@ -27,6 +27,9 @@ it does include the supplied string in the :ref:`bytecode metadata `. If you do not want to specify a license or if the source code is not open-source, please use the special value ``UNLICENSED``. +Note that ``UNLICENSED`` (no usage allowed, not present in SPDX license list) +is different from ``UNLICENSE`` (grants all rights to everyone). +Solidity follows `the npm recommendation `_. Supplying this comment of course does not free you from other obligations related to licensing like having to mention