mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
p2p/enr: size limit comment
This commit is contained in:
parent
6eeb127627
commit
0206b31c6a
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// SizeLimit is the maximum encoded size of a node record in bytes.
|
||||
// Implementations should reject records larger than this size.
|
||||
SizeLimit = 300
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue