Limit the size of reject network message strings #4632
Labels
A-network
Area: Network protocol updates or fixes
C-bug
Category: This is a bug
C-security
Category: Security issues
I-heavy
Problems with excessive memory, disk, or CPU usage
I-remote-node-overload
Zebra can overload other nodes on the network
Motivation
We want to avoid sending large error messages on the network.
zcashd
does this with a limit of111
, we might want ours to be slightly smaller:https://github.com/zcash/zcash/blob/1b5ab4a06e52c23aca48afb1ebb72a25ef5dd3ca/src/main.cpp#L7334-L7335
Specifications
Bitcoin doesn't say much about limits:
https://en.bitcoin.it/wiki/Protocol_documentation#reject
The text was updated successfully, but these errors were encountered: