Skip to content

Conversation

@nisdas
Copy link
Contributor

@nisdas nisdas commented Dec 27, 2024

In this PR we add in a new config parameter called MaxIDontWantLength which would be very similarly used as MaxIHaveLength has been used of IHAVE messgaes . This parameter has been set as the value of 10 now.

The main purpose is to bring how IDONTWANT messages are handled in line with how IHAVE have been handled. We add the relevant changes to the handleIDontWant method along with adding in a new regression test for this check.

Copy link
Collaborator

@vyzo vyzo left a comment

Choose a reason for hiding this comment

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

LGTM

@vyzo vyzo merged commit 0936035 into libp2p:master Dec 28, 2024
9 checks passed
@nisdas
Copy link
Contributor Author

nisdas commented Dec 30, 2024

@vyzo Is it possible to tag a new release with this ?

@vyzo
Copy link
Collaborator

vyzo commented Dec 30, 2024

yes, can do

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