From 0952b68e64c0949cc255e04761a980c6a09ac2a0 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 27 Nov 2017 16:12:09 -0800 Subject: [PATCH] multi: retain original copyright on files copied/modified from btcsuite Early in the lifetime of the project here were a few files we either copied entirely, or used as the basis for code within lnd. Before this PR, this was not recognized by retaining the original copyright. With this commit, we remedy that by explicitly noting the copyright in the relevant files. Fixes #423. --- cmd/lncli/main.go | 4 ++++ config.go | 4 ++++ lnd.go | 4 ++++ lnwire/message.go | 7 +++++-- signal.go | 7 +++++-- version.go | 7 +++++-- 6 files changed, 27 insertions(+), 6 deletions(-) diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index 25343959..4344a28b 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -1,3 +1,7 @@ +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers +// Copyright (C) 2015-2017 The Lightning Network Developers + package main import ( diff --git a/config.go b/config.go index 45e5a192..7182a834 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,7 @@ +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers +// Copyright (C) 2015-2017 The Lightning Network Developers + package main import ( diff --git a/lnd.go b/lnd.go index afbfa50b..48370761 100644 --- a/lnd.go +++ b/lnd.go @@ -1,3 +1,7 @@ +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers +// Copyright (C) 2015-2017 The Lightning Network Developers + package main import ( diff --git a/lnwire/message.go b/lnwire/message.go index 4963eef7..7c0dae79 100644 --- a/lnwire/message.go +++ b/lnwire/message.go @@ -1,6 +1,9 @@ -package lnwire - +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers // code derived from https://github .com/btcsuite/btcd/blob/master/wire/message.go +// Copyright (C) 2015-2017 The Lightning Network Developers + +package lnwire import ( "bytes" diff --git a/signal.go b/signal.go index 147b1fdf..dbbd433c 100644 --- a/signal.go +++ b/signal.go @@ -1,6 +1,9 @@ -package main - +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers // Heavily inspired by https://github.com/btcsuite/btcd/blob/master/signal.go +// Copyright (C) 2015-2017 The Lightning Network Developers + +package main import ( "os" diff --git a/version.go b/version.go index dfd1ae16..188cdff0 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,9 @@ -package main - +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers // Heavily inspired by https://github.com/btcsuite/btcd/blob/master/version.go +// Copyright (C) 2015-2017 The Lightning Network Developers + +package main import ( "bytes"