aboutsummaryrefslogtreecommitdiffstats
path: root/les/ulc_test.go
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2019-05-27 00:15:05 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-05-27 00:15:05 +0800
commit4e0c1a1a6b97ad062d79c7c8717273cc51f0111c (patch)
tree11ae0d7c4d9b28ffc729f378f86a18ed25924ffc /les/ulc_test.go
parent922e757f193a773548e2c6f6f7e503d6f8a7e373 (diff)
downloadgo-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar.gz
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar.bz2
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar.lz
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar.xz
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.tar.zst
go-tangerine-4e0c1a1a6b97ad062d79c7c8717273cc51f0111c.zip
eth, les: reject light client connection is server is not synced (#19616)
* eth, les: reject light client connection is server is not synced * eth, les: rename function and variables * les: format
Diffstat (limited to 'les/ulc_test.go')
-rw-r--r--les/ulc_test.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/les/ulc_test.go b/les/ulc_test.go
index 81986fa1e..38adeb95f 100644
--- a/les/ulc_test.go
+++ b/les/ulc_test.go
@@ -1,3 +1,19 @@
+// Copyright 2019 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 (