aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/kademlia_test.go
diff options
context:
space:
mode:
authorholisticode <holistic.computing@gmail.com>2019-01-11 22:08:09 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2019-01-11 22:08:09 +0800
commit88168ff5c57b1a9c944d02e93e6e49368ccc968f (patch)
tree150f46d66bccf780044469af65ee3c70d395a320 /swarm/network/kademlia_test.go
parentd5cad488be0069d768b358b2267cd5432b0f9a43 (diff)
downloadgo-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar.gz
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar.bz2
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar.lz
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar.xz
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.tar.zst
go-tangerine-88168ff5c57b1a9c944d02e93e6e49368ccc968f.zip
Stream subscriptions (#18355)
* swarm/network: eachBin now starts at kaddepth for nn * swarm/network: fix Kademlia.EachBin * swarm/network: fix kademlia.EachBin * swarm/network: correct EachBin implementation according to requirements * swarm/network: less addresses simplified tests * swarm: calc kad depth outside loop in EachBin test * swarm/network: removed printResults * swarm/network: cleanup imports * swarm/network: remove kademlia.EachBin; fix RequestSubscriptions and add unit test * swarm/network/stream: address PR comments * swarm/network/stream: package-wide subscriptionFunc * swarm/network/stream: refactor to kad.EachConn
Diffstat (limited to 'swarm/network/kademlia_test.go')
-rw-r--r--swarm/network/kademlia_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/kademlia_test.go b/swarm/network/kademlia_test.go
index c1a26f612..fcb277fde 100644
--- a/swarm/network/kademlia_test.go
+++ b/swarm/network/kademlia_test.go
@@ -1,4 +1,4 @@
-// Copyright 2017 The go-ethereum Authors
+// Copyright 2018 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