From 5fafa6b5296dc9e43e21c955b86cc258157f344c Mon Sep 17 00:00:00 2001 From: Jimmy Song Date: Sat, 20 May 2017 03:15:48 -0700 Subject: [PATCH] Added licensing and readme --- LICENSE | 8 ++++++++ LICENSE-BSD | 27 +++++++++++++++++++++++++++ LICENSE-MIT | 25 +++++++++++++++++++++++++ README.md | 4 ++++ const.go | 2 +- edwards25519.go | 2 +- 6 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 LICENSE create mode 100644 LICENSE-BSD create mode 100644 LICENSE-MIT create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c6cddb9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +Monero Utilities +Copyright (c) 2013 Go Authors +Copyright (c) 2017 Paxos + +Portion of the code is Go Author's property, licensed under the BSD-3 license +Portion of the code is Paxos's property, licensed under the MIT license + +const.go and edwards25519.go are licensed under BSD-3 (see LICENSE-BSD), all other files are licensed under MIT (see LICENSE-MIT). diff --git a/LICENSE-BSD b/LICENSE-BSD new file mode 100644 index 0000000..7e33363 --- /dev/null +++ b/LICENSE-BSD @@ -0,0 +1,27 @@ +Copyright (c) 2009 The Go Authors. All rights reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..9c743d0 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,25 @@ +Monero Utilities +Copyright (c) 2017, Paxos + +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. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..b0d2440 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +Monero Utilities +================ + +These are a set of utilities for working with Monero. diff --git a/const.go b/const.go index 59456e7..5f658e0 100644 --- a/const.go +++ b/const.go @@ -1,6 +1,6 @@ // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSE-BSD file. package moneroutil diff --git a/edwards25519.go b/edwards25519.go index 43db761..3bb7e65 100644 --- a/edwards25519.go +++ b/edwards25519.go @@ -1,6 +1,6 @@ // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSE-BSD file. // Package edwards25519 implements operations in GF(2**255-19) and on an // Edwards curve that is isomorphic to curve25519. See