Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
Geth-Modification
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • 张蕾
  • Geth-Modification
  • Repository

Switch branch/tag
  • geth-modification
  • rlp
History Find file
  • Source code
  • Download zip
  • Download tar.gz
  • Download tar.bz2
  • Download tar
  • Felix Lange's avatar
    p2p/discover: improve discv5 NODES response packing (#26033) · 9027ee0b
    Felix Lange authored 2 years ago
    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: 's avatarMartin Holst Swende <martin@swende.se>
    Unverified
    9027ee0b
Name
Last commit
Last update
..
internal/rlpstruct all: fix docstrings 2 years ago
rlpgen rlp/rlpgen: fix error handling when target type not found (#25547) 2 years ago
decode.go build: upgrade to go 1.19 (#25726) 2 years ago
decode_tail_test.go all: update license information 9 years ago
decode_test.go rlp: add more tests for nil pointer / optional field encoding (#26077) 2 years ago
doc.go build: upgrade to go 1.19 (#25726) 2 years ago
encbuffer.go all: fix docstrings 2 years ago
encbuffer_example_test.go rlp/rlpgen: RLP encoder code generator (#24251) 3 years ago
encode.go all: fix docstrings 2 years ago
encode_test.go rlp: add more tests for nil pointer / optional field encoding (#26077) 2 years ago
encoder_example_test.go rlp/rlpgen: RLP encoder code generator (#24251) 3 years ago
iterator.go all: add whitespace linter (#25312) 2 years ago
iterator_test.go all: update license headers and AUTHORS from git history (#24947) 2 years ago
raw.go p2p/discover: improve discv5 NODES response packing (#26033) 2 years ago
raw_test.go p2p/discover: improve discv5 NODES response packing (#26033) 2 years ago
safe.go rlp: minor optimizations for slice/array encoding (#23467) 3 years ago
typecache.go rlp/rlpgen: RLP encoder code generator (#24251) 3 years ago
unsafe.go rlp: minor optimizations for slice/array encoding (#23467) 3 years ago