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

Function have_full_encrypted_queue

connectd/multiplex.c:470–473  ·  view source on GitHub ↗

Do we have enough bytes without padding? */

Source from the content-addressed store, hash-verified

468
469/* Do we have enough bytes without padding? */
470static bool have_full_encrypted_queue(const struct peer *peer)
471{
472 return membuf_num_elems(&peer->encrypted_peer_out) >= UNIFORM_MESSAGE_SIZE;
473}
474
475/* Do we have nothing in queue? */
476static bool have_empty_encrypted_queue(const struct peer *peer)

Callers 2

pad_encrypted_queueFunction · 0.85
write_to_peerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected