Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Limit Kademlia messages to 4kiB #920

Merged
merged 1 commit into from
Feb 6, 2019
Merged

Limit Kademlia messages to 4kiB #920

merged 1 commit into from
Feb 6, 2019

Conversation

tomaka
Copy link
Member

@tomaka tomaka commented Feb 6, 2019

cc paritytech/substrate#1645

The number of results is 20.
A message of 4kiB is enough to transfer 20 nodes with around 15 addresses each. Nodes typically don't have 15 addresses.

@ghost ghost assigned tomaka Feb 6, 2019
@ghost ghost added the in progress label Feb 6, 2019
@tomaka tomaka merged commit a22121c into libp2p:master Feb 6, 2019
@ghost ghost removed the in progress label Feb 6, 2019
@tomaka tomaka deleted the kad-limit branch February 6, 2019 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants