Author | SHA1 | Message | Date |
---|---|---|---|
M. J. Fromberger |
c24f003b55
|
protoio: fix incorrect test assertion (#7606)
After writing and then reading a bunch of random messages, the test was checking that it did not read the same number of messages that it wrote. The sense of this check was inverted; they should match. Introduced by accident in #7522. I'm not sure why this did not show up in CI. Edit: I now know why it didn't show up in ci: #7608. |
3 years ago |
Sam Kleinman |
569629486b
|
tests: remove panics from test fixtures (#7522) | 3 years ago |
Sam Kleinman |
ded310093e
|
lint: fix collection of stale errors (#7090)
Few things that had been annoying. |
3 years ago |
Marko |
719e028e00
|
libs: internalize some packages (#6366)
## Description Internalize some libs. This reduces the amount ot public API tendermint is supporting. The moved libraries are mainly ones that are used within Tendermint-core. |
4 years ago |
Erik Grinaker |
1ccd23ca1d
|
p2p: fix MConnection inbound traffic statistics and rate limiting (#5868)
Fixes #5866. Inbound traffic monitoring (and by extension inbound rate limiting) was inadvertently removed in
|
4 years ago |
Marko |
346aa14db5
|
fix lint failures with 1.31 (#5489) | 4 years ago |
Erik Grinaker |
660e72a12f
|
p2p/conn: migrate to Protobuf (#4990)
Migrates the p2p connections to Protobuf. Supersedes #4800. gogoproto's `NewDelimitedReader()` uses an internal buffer, which makes it unsuitable for reading individual messages from a shared reader (since any remaining data in the buffer will be discarded). We therefore add a new `protoio` package with an unbuffered `NewDelimitedReader()`. Additionally, the `NewDelimitedWriter()` returns the number of bytes written, and we've added `MarshalDelimited()` and `UnmarshalDelimited()`, to ease migration of existing code. |
5 years ago |