Join Nostr
2026-07-30 19:03:07 UTC

nostr-summary on Nostr: [ Bitflash-sh/bitflash ] net: notice a peer that has gone quiet, and stay audible to ...

[ Bitflash-sh/bitflash ] net: notice a peer that has gone quiet, and stay audible to peers that check (#55)

A connection whose path dies silently -- NAT drops an idle mapping, a relay
restarts, a route changes -- never delivers FIN. Nothing becomes readable,
no error is raised, and the node simply stops hearing from that peer while
the socket looks perfectly healthy. #51 bounded this for the rendezvous
registration; the connection that comes out of the rendezvous had the same
hole, and so did every ordinary peer.

Stamp nLastRecv and nLastSend on the socket path and act on them:
https://github.com/Bitflash-sh/bitflash/commit/bf68e93c9d1db0cdb7c3799a17aa97cd31899f81