mirror of https://github.com/status-im/op-geth.git
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> |
||
---|---|---|
.. | ||
enr.go | ||
enr_test.go | ||
entries.go |