Anton Kaliaev
8f463cf35c
to prevent malicious nodes from sending us large messages (~21MB, which is the default `RecvMessageCapacity`) This allows us to remove unnecessary `maxMsgSize` check in `decodeMsg`. Since each channel has a msg capacity set to `maxMsgSize`, there's no need to check it again in `decodeMsg`. Closes #1503 |
5 years ago | |
---|---|---|
.. | ||
codec.go | format: add format cmd & goimport repo (#4586) | 5 years ago |
doc.go | lint fix | 5 years ago |
pool.go | improve evidence db #4722 | 5 years ago |
pool_test.go | improve evidence db #4722 | 5 years ago |
reactor.go | p2p: set RecvMessageCapacity to maxMsgSize in all reactors | 5 years ago |
reactor_test.go | evidence: remove pubkey from duplicate vote evidence | 5 years ago |