9027ee0b45
Instead of using a limit of three nodes per message, we can pack more nodes into each message based on ENR size. In my testing, this halves the number of sent NODES messages, because ENR size is usually < 300 bytes. This also adds RLP helper functions that compute the encoded size of []byte and string. Co-authored-by: Martin Holst Swende <martin@swende.se> |
||
---|---|---|
.. | ||
v4wire | ||
v5wire | ||
common.go | ||
lookup.go | ||
node.go | ||
ntp.go | ||
table.go | ||
table_test.go | ||
table_util_test.go | ||
v4_lookup_test.go | ||
v4_udp.go | ||
v4_udp_test.go | ||
v5_udp.go | ||
v5_udp_test.go |