move reactor descriptions to relevant specs

This commit is contained in:
Anton Kaliaev
2018-05-29 16:49:02 +04:00
parent f7106bfb39
commit 252a0a392b
7 changed files with 87 additions and 90 deletions

View File

@ -47,3 +47,13 @@ type bcStatusResponseMessage struct {
## Protocol
TODO
## Channels
Defines `maxMsgSize` for the maximum size of incoming messages,
`SendQueueCapacity` and `RecvBufferCapacity` for maximum sending and
receiving buffers respectively. These are supposed to prevent amplification
attacks by setting up the upper limit on how much data we can receive & send to
a peer.
Sending incorrectly encoded data will result in stopping the peer.