nanocurrency / protocol

Implementation independent content related to the Nano protocol
BSD 2-Clause "Simplified" License
36 stars 10 forks source link

Explain timeout and connection drop #15

Open inkeliz opened 4 years ago

inkeliz commented 4 years ago

Currently there's some situations when node drops the connections:

I think it should be writen at "keepalive" how long and how often that packet must be sent. Also, if sending other types of messages (like "push", "confirm_ack") will "reset" the timeout counter. Also, if it's mandatory to reply the keepalive.

zhyatt commented 4 years ago

@wezrule @SergiySW Since you both have looked at this recently, can one of you take a look at making these updates?

dsiganos commented 3 years ago

I have the same questions and I have not yet found authoritative answers. I mostly got connections and keepalives to work by trial and error. @clemahieu ?