Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

swarm/pot: each() functions refactored #1114

Closed
wants to merge 3 commits into from

Conversation

gluk256
Copy link

@gluk256 gluk256 commented Jan 14, 2019

second parameter (int) was removed from each() and eachFrom(), since it does not contain any meaningful value. Related functions refactored accordingly.

fixes #1104

holisticode and others added 3 commits January 11, 2019 15:08
* 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
* swarm/pot: refactored pot.remove(), updated comments

* swarm/pot: comments updated
@zelig
Copy link
Member

zelig commented Jan 14, 2019

could you please rebase on master please??

@gluk256 gluk256 closed this Jan 15, 2019
@gluk256
Copy link
Author

gluk256 commented Jan 15, 2019

could not rebase. closed and created another one instead:
#1120

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

swarm/pot: Unconfirmed po results from pot tests
3 participants