mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-25 15:09:53 +01:00
As long as we receive messages from our peer, we consider it is online and don't send ping requests. If we don't hear from the peer, we send pings and expect timely answers, otherwise we'll close the connection. This is implemented by scheduling a ping request every 30 seconds, and pushing it back every time we receive a message from the peer. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |