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

Function towire_bool_val

plugins/askrene/datastore_wire.c:8–12  ·  view source on GitHub ↗

Helper to append bool to data, and return value */

Source from the content-addressed store, hash-verified

6
7/* Helper to append bool to data, and return value */
8static bool towire_bool_val(u8 **pptr, bool v)
9{
10 towire_bool(pptr, v);
11 return v;
12}
13
14static void towire_short_channel_id_dir(u8 **pptr, const struct short_channel_id_dir *scidd)
15{

Callers 5

towire_opt_u32Function · 0.85
towire_opt_u16Function · 0.85
towire_opt_boolFunction · 0.85
towire_opt_amount_msatFunction · 0.85
towire_opt_wirestringFunction · 0.85

Calls 1

towire_boolFunction · 0.50

Tested by

no test coverage detected