You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A node obeying this specification must not send UDP datagrams with a payload larger than 1024 octets,
We need to calculate the maximum number of values we can put into the response so the total message size is <= 1024 bytes. Call this number N. If we have more than N peers, we should take only N of them, but we should randomize which N to pick.
Note that N depend on whether we are sending ipv4 or ipv6 contacts and also on the number of ipv4 and/or ipv6 nodes we include in the message.
The text was updated successfully, but these errors were encountered:
The spec says:
We need to calculate the maximum number of
values
we can put into the response so the total message size is <= 1024 bytes. Call this numberN
. If we have more thanN
peers, we should take onlyN
of them, but we should randomize whichN
to pick.Note that
N
depend on whether we are sending ipv4 or ipv6 contacts and also on the number of ipv4 and/or ipv6 nodes we include in the message.The text was updated successfully, but these errors were encountered: