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

Function encoding_end

gossipd/queries.c:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static bool encoding_end(const u8 *encoded, size_t max_bytes)
61{
62#if DEVELOPER
63 if (tal_count(encoded) > dev_max_encoding_bytes)
64 return false;
65#endif
66 return tal_count(encoded) <= max_bytes;
67}
68
69/* Query this peer for these short-channel-ids. */
70bool query_short_channel_ids(struct daemon *daemon,

Callers 2

query_short_channel_idsFunction · 0.85
send_reply_channel_rangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected