Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_opt_u16
Function
towire_opt_u16
plugins/askrene/datastore_wire.c:86–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
static void towire_opt_u16(u8 **p, const u16 *v)
87
{
88
if (towire_bool_val(p, v != NULL))
89
towire_u16(p, *v);
90
}
91
92
static void towire_opt_bool(u8 **p, const bool *v)
93
{
Callers
1
towire_dstore_channel_update
Function · 0.85
Calls
2
towire_bool_val
Function · 0.85
towire_u16
Function · 0.50
Tested by
no test coverage detected