mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
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> |
||
---|---|---|
.. | ||
internal/rlpstruct | ||
rlpgen | ||
decode_tail_test.go | ||
decode_test.go | ||
decode.go | ||
doc.go | ||
encbuffer_example_test.go | ||
encbuffer.go | ||
encode_test.go | ||
encode.go | ||
encoder_example_test.go | ||
iterator_test.go | ||
iterator.go | ||
raw_test.go | ||
raw.go | ||
safe.go | ||
typecache.go | ||
unsafe.go |