aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-09 09:01:56 +0800
committerFelix Lange <fjl@twurst.com>2016-11-09 09:51:34 +0800
commitb8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075 (patch)
tree665ff34ed8416f170bccff768d21587393ed1e79 /les
parentbe3865211c2d8f71e0733b17c469881502e89371 (diff)
downloadgo-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar.gz
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar.bz2
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar.lz
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar.xz
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.tar.zst
go-tangerine-b8bd9a71c8b2722ec526ac5b0e35bf05d0fbd075.zip
all: update license information
Diffstat (limited to 'les')
-rw-r--r--les/api_backend.go16
-rw-r--r--les/backend.go2
-rw-r--r--les/fetcher.go2
-rw-r--r--les/flowcontrol/control.go2
-rw-r--r--les/flowcontrol/manager.go2
-rw-r--r--les/handler.go2
-rw-r--r--les/handler_test.go16
-rw-r--r--les/helper_test.go16
-rw-r--r--les/metrics.go2
-rw-r--r--les/odr.go3
-rw-r--r--les/odr_peerset.go3
-rw-r--r--les/odr_requests.go2
-rw-r--r--les/odr_test.go16
-rw-r--r--les/peer.go2
-rw-r--r--les/protocol.go2
-rw-r--r--les/request_test.go16
-rw-r--r--les/server.go2
-rw-r--r--les/sync.go2
-rw-r--r--les/txrelay.go3
19 files changed, 89 insertions, 22 deletions
diff --git a/les/api_backend.go b/les/api_backend.go
index d50b3ea33..04120c669 100644
--- a/les/api_backend.go
+++ b/les/api_backend.go
@@ -1,18 +1,18 @@
-// Copyright 2015 The go-ethereum Authors
-// This file is part of go-ethereum.
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
//
-// go-ethereum is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
+// The go-ethereum library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
-// go-ethereum is distributed in the hope that it will be useful,
+// The go-ethereum library 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 General Public License for more details.
+// GNU Lesser General Public License for more details.
//
-// You should have received a copy of the GNU General Public License
-// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+// You should have received a copy of the GNU Lesser General Public License
+// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
package les
diff --git a/les/backend.go b/les/backend.go
index 33c48e92a..38d1fd380 100644
--- a/les/backend.go
+++ b/les/backend.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/fetcher.go b/les/fetcher.go
index d93b7db37..ae9bf8474 100644
--- a/les/fetcher.go
+++ b/les/fetcher.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/flowcontrol/control.go b/les/flowcontrol/control.go
index 1b569db0b..0b8d7f58f 100644
--- a/les/flowcontrol/control.go
+++ b/les/flowcontrol/control.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/flowcontrol/manager.go b/les/flowcontrol/manager.go
index c0469e7b6..786884437 100644
--- a/les/flowcontrol/manager.go
+++ b/les/flowcontrol/manager.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/handler.go b/les/handler.go
index d2ed48870..44a0a1661 100644
--- a/les/handler.go
+++ b/les/handler.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/handler_test.go b/les/handler_test.go
index 2aa7a5590..37c5dd226 100644
--- a/les/handler_test.go
+++ b/les/handler_test.go
@@ -1,3 +1,19 @@
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
+//
+// The go-ethereum library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// The go-ethereum library 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (
diff --git a/les/helper_test.go b/les/helper_test.go
index 0b7576f6a..1b3c29e48 100644
--- a/les/helper_test.go
+++ b/les/helper_test.go
@@ -1,3 +1,19 @@
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
+//
+// The go-ethereum library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// The go-ethereum library 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
// This file contains some shares testing functionality, common to multiple
// different files and modules being tested.
diff --git a/les/metrics.go b/les/metrics.go
index 88e6726e2..aa0796790 100644
--- a/les/metrics.go
+++ b/les/metrics.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/odr.go b/les/odr.go
index 2674ba6a1..444b1da2a 100644
--- a/les/odr.go
+++ b/les/odr.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
@@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (
diff --git a/les/odr_peerset.go b/les/odr_peerset.go
index 0323ce27f..e9b7eec7f 100644
--- a/les/odr_peerset.go
+++ b/les/odr_peerset.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
@@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (
diff --git a/les/odr_requests.go b/les/odr_requests.go
index bf0346977..f4bd51888 100644
--- a/les/odr_requests.go
+++ b/les/odr_requests.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/odr_test.go b/les/odr_test.go
index cdf62464b..3c8ea8c3f 100644
--- a/les/odr_test.go
+++ b/les/odr_test.go
@@ -1,3 +1,19 @@
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
+//
+// The go-ethereum library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// The go-ethereum library 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (
diff --git a/les/peer.go b/les/peer.go
index dbddbb020..5d566d899 100644
--- a/les/peer.go
+++ b/les/peer.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/protocol.go b/les/protocol.go
index 3d2de64e1..46da2b8c8 100644
--- a/les/protocol.go
+++ b/les/protocol.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/request_test.go b/les/request_test.go
index 77788d4a9..a6fbb06ce 100644
--- a/les/request_test.go
+++ b/les/request_test.go
@@ -1,3 +1,19 @@
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
+//
+// The go-ethereum library is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// The go-ethereum library 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (
diff --git a/les/server.go b/les/server.go
index 0f0e2db42..daa28be05 100644
--- a/les/server.go
+++ b/les/server.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/sync.go b/les/sync.go
index f92f8ce04..72c979c61 100644
--- a/les/sync.go
+++ b/les/sync.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
diff --git a/les/txrelay.go b/les/txrelay.go
index 2df2fa0a9..036158f5d 100644
--- a/les/txrelay.go
+++ b/les/txrelay.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The go-ethereum Authors
+// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
@@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
+
package les
import (