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

Function use_uniform_writes

connectd/multiplex.c:494–499  ·  view source on GitHub ↗

Oh, and then there was a node running LND master. And those running * LND with LNDK: so we added global disable. */

Source from the content-addressed store, hash-verified

492/* Oh, and then there was a node running LND master. And those running
493 * LND with LNDK: so we added global disable. */
494static bool use_uniform_writes(const struct peer *peer)
495{
496 return peer->daemon->message_padding
497 && feature_offered(peer->their_features, OPT_ONION_MESSAGES)
498 && !feature_offered(peer->their_features, 154);
499}
500
501/* (Continue) writing the encrypted_peer_out array */
502static struct io_plan *write_encrypted_to_peer(struct peer *peer)

Callers 2

write_encrypted_to_peerFunction · 0.85
write_to_peerFunction · 0.85

Calls 1

feature_offeredFunction · 0.85

Tested by

no test coverage detected