IntersectMBO / ouroboros-network

Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.

Home Page:https://ouroboros-network.cardano.intersectmbo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeepAlive client

coot opened this issue · comments

The keep alive client has two small issues:

  1. it should record time when it sends the initial MsgKeepAlive, and compute the rtt when we receive the reply.
  2. currently after first round trip with MsgKeepAlive -> MsgKeepAliveResponse, we immediately send the next MsgKeepAlive message without doing the delay. If we refactor the code to fix the first issue we will actually fix this one as well, if we eliminate ref.

Will look into this.