Files
tendermint/p2p
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.
2020-06-09 16:09:51 +00:00
..
2020-04-29 10:47:00 +02:00
2020-06-08 09:23:58 +00:00
2019-12-05 10:12:08 +01:00
2020-02-21 19:21:39 +01:00
2019-04-03 11:22:52 +02:00
2019-12-17 13:02:45 +01:00
2020-05-18 10:20:06 +00:00
2020-06-05 10:47:16 +02:00
2020-04-29 10:47:00 +02:00
2020-02-07 12:53:28 +01:00
2020-05-27 11:36:42 +00:00

p2p

The p2p package provides an abstraction around peer-to-peer communication.

Docs:

  • Connection for details on how connections and multiplexing work
  • Peer for details on peer ID, handshakes, and peer exchange
  • Node for details about different types of nodes and how they should work
  • Pex for details on peer discovery and exchange
  • Config for details on some config option