Also explicitly limit how many bytes we're willing to read in one go such that we're capable of reading a worst-case tipset (like, really, never going to happen worst-case). Previously, this wasn't an issue. However, we've bumped the max number of messages from 8,192 to 150,000 and need to limit allocations somewhere else. |
||
|---|---|---|
| .. | ||
| cbor_gen.go | ||
| client.go | ||
| doc.go | ||
| interfaces.go | ||
| peer_tracker.go | ||
| protocol_encoding.go | ||
| protocol.go | ||
| server.go | ||