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

Function have_full_encrypted_queue

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

Do we have enough bytes without padding? */

Source from the content-addressed store, hash-verified

471
472/* Do we have enough bytes without padding? */
473static bool have_full_encrypted_queue(const struct peer *peer)
474{
475 return membuf_num_elems(&peer->encrypted_peer_out) >= UNIFORM_MESSAGE_SIZE;
476}
477
478/* Do we have nothing in queue? */
479static 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