From 8a2f502b394d05d9093810e300e6d06aa8e50472 Mon Sep 17 00:00:00 2001 From: Nanocryk <nanocryk@gmail.com> Date: Fri, 22 Dec 2017 10:21:43 +0100 Subject: [PATCH] license headers --- README.md | 25 ++++++++++++++++++++++--- keys/ed25519.rs | 15 +++++++++++++++ keys/lib.rs | 15 +++++++++++++++ wotb/lib.rs | 15 +++++++++++++++ 4 files changed, 67 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 420fbc74..7dbcb1e8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ -# What is Duniter ? +# duniter-rs + +## What is Duniter Duniter is a libre software allowing to create a new kind of P2P crypto-currencies based on individuals and a Universal Dividend. it's inspired by [Bitcoin] and [OpenUDC] projects. -# What is `duniter-rs` ? +## What is `duniter-rs` `duniter-rs` is a new implementation of Duniter protocol and software in [Rust], a "safe, concurrent, practical language". @@ -12,4 +14,21 @@ It's in active developpement but is not usable yet. [Bitcoin]: https://github.com/bitcoin/bitcoin [OpenUDC]: https://github.com/Open-UDC/open-udc -[Rust]: https://www.rust-lang.org/fr-FR/ \ No newline at end of file +[Rust]: https://www.rust-lang.org/fr-FR/ + +## License + +Copyright (C) 2017 The Duniter Project Developers. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. \ No newline at end of file diff --git a/keys/ed25519.rs b/keys/ed25519.rs index b05745fc..bab6cb14 100644 --- a/keys/ed25519.rs +++ b/keys/ed25519.rs @@ -1,3 +1,18 @@ +// Copyright (C) 2017 The Duniter Project Developers. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. + //! Provide wrappers around ed25519 keys and signatures //! //! Key pairs can be generated with [`KeyPairGenerator`]. diff --git a/keys/lib.rs b/keys/lib.rs index 2e95aec0..5f807abe 100644 --- a/keys/lib.rs +++ b/keys/lib.rs @@ -1,3 +1,18 @@ +// Copyright (C) 2017 The Duniter Project Developers. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. + //! Provide wrappers around public keys, private keys and signatures. //! //! - Keys can be converted to/from Base58 string format. diff --git a/wotb/lib.rs b/wotb/lib.rs index 8e05f093..1291b619 100644 --- a/wotb/lib.rs +++ b/wotb/lib.rs @@ -1,3 +1,18 @@ +// Copyright (C) 2017 The Duniter Project Developers. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. + //! `wotb` is a crate making "Web of Trust" computations for //! the [Duniter] project. //! -- GitLab