Skip to content

swarm: Added lightnode flag #17291

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 10 commits into from
Aug 7, 2018
Merged

swarm: Added lightnode flag #17291

merged 10 commits into from
Aug 7, 2018

Conversation

agazso
Copy link
Contributor

@agazso agazso commented Jul 31, 2018

Added a command-line argument and config option to enable Swarm lightnodes.
Currently it does not do anything, later we will add the implementation
so that light nodes does not participate in routing in Kademlia.
For more details see https://hackmd.io/O5PvHQVhQnaNCbhJbAJVog?view

The PR is already approved by the Swarm team:
ethersphere/swarm#816

@gbalint gbalint added the swarm label Jul 31, 2018
@gbalint gbalint merged commit 9df16f3 into ethereum:master Aug 7, 2018
@karalabe karalabe added this to the 1.8.14 milestone Aug 7, 2018
firmianavan pushed a commit to firmianavan/go-ethereum that referenced this pull request Aug 28, 2018
* swarm: Added lightnode flag

Added --lightnode command line parameter
Added LightNode to Handshake message

* swarm/config: Fixed variable naming

* cmd/swarm: Changed BoolTFlag to BoolFlag for SwarmLightNodeEnabled

* swarm/network: Changed logging

* swarm/network: Changed protocol version testing

* swarm/network: Renamed DefaultNetworkID variable to TestProtocolNetworkID

* swarm/network: Bumped protocol version

* swarm/network: Changed LightNode handhsake test to table driven

* swarm/network: Changed back TestProtocolVersion to 5 for now

* swarm/network: Moved the test configuration inside the test function scope
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants