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
Showing
- swarm/network/kademlia.go 0 additions, 31 deletionsswarm/network/kademlia.go
- swarm/network/kademlia_test.go 1 addition, 1 deletionswarm/network/kademlia_test.go
- swarm/network/stream/snapshot_sync_test.go 0 additions, 266 deletionsswarm/network/stream/snapshot_sync_test.go
- swarm/network/stream/stream.go 71 additions, 22 deletionsswarm/network/stream/stream.go
- swarm/network/stream/streamer_test.go 162 additions, 0 deletionsswarm/network/stream/streamer_test.go
Loading
Please register or sign in to comment