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

Don't respond to GetKnownPeers p2p msg if the number of peers requested exceeds the default number #1445

Merged
merged 2 commits into from Aug 16, 2022

Conversation

shamardy
Copy link
Collaborator

No description provided.

Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alrighttt
Copy link
Member

Works as expected.

@sergeyboyko0791 sergeyboyko0791 merged commit 23a8ca7 into mm2.1 Aug 16, 2022
@sergeyboyko0791 sergeyboyko0791 deleted the known-peers-num-hotfix branch August 16, 2022 14:09
sergeyboyko0791 pushed a commit that referenced this pull request Aug 18, 2022
…ed exceeds the default number (#1445)

* return random known peers with a maximum of DEFAULT_PEERS_NUM

* Do not respond to GetKnownPeers p2p msg if requested number is greater than DEFAULT_PEERS_NUM
borngraced pushed a commit that referenced this pull request Sep 11, 2022
…ed exceeds the default number (#1445)

* return random known peers with a maximum of DEFAULT_PEERS_NUM

* Do not respond to GetKnownPeers p2p msg if requested number is greater than DEFAULT_PEERS_NUM
@shamardy shamardy mentioned this pull request Feb 17, 2023
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.

None yet

3 participants