MCPcopy Create free account
hub / github.com/ElementsProject/lightning / have_empty_encrypted_queue

Function have_empty_encrypted_queue

connectd/multiplex.c:476–479  ·  view source on GitHub ↗

Do we have nothing in queue? */

Source from the content-addressed store, hash-verified

474
475/* Do we have nothing in queue? */
476static bool have_empty_encrypted_queue(const struct peer *peer)
477{
478 return membuf_num_elems(&peer->encrypted_peer_out) == 0;
479}
480
481/* Funny story: we discovered an LND bug, where they hung up if we sent
482 * "no reply" ping messages. This was fixed in (the upcoming) v21, which

Callers 1

write_to_peerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected