mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
a9f4f36117
* Re-introduce peer regular ping/pong * Fix partial header reads. Turns out that on async tcp streams, even a small chunk like a header can be read partially. So header read needs to rely on our fixed-up `read_exact`, with an additional boolean to allow yield when no bytes were read. |
||
---|---|---|
.. | ||
peer_handshake.rs |