lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit 3575f1a0cbfeb6942f9f33187d9a93cab61b71e8
parent 8a8516d8fd501c388facc6a9d4e82b086611ccab
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 17 Jan 2022 21:27:40 -0800

more license updates

Diffstat:
MLICENSE | 3+++
Mbigsize.c | 22++++++++++++++++++++++
Mcrypto.c | 22++++++++++++++++++++++
Mendian.h | 2+-
4 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/LICENSE b/LICENSE @@ -1,5 +1,8 @@ Copyright 2022 William Casarin. MIT license +This license applies to everywhere in the codebase, but files with licenses at +the top of the file override this for those files. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to diff --git a/bigsize.c b/bigsize.c @@ -1,3 +1,25 @@ +/* Copyright Rusty Russell (Blockstream) 2015. + William Casarin 2022 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + #include <assert.h> #include "config.h" diff --git a/crypto.c b/crypto.c @@ -1,3 +1,25 @@ +/* Copyright Rusty Russell (Blockstream) 2015. + William Casarin 2022 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + #include "config.h" #include "crypto.h" diff --git a/endian.h b/endian.h @@ -1,4 +1,4 @@ -/* CC0 (Public domain) - see LICENSE file for details */ +/* CC0 (Public domain) */ #ifndef CCAN_ENDIAN_H #define CCAN_ENDIAN_H #include <stdint.h>