Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_bool
Function
towire_bool
wire/towire.c:93–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
void towire_bool(u8 **pptr, bool v)
94
{
95
u8 val = v;
96
towire(pptr, &val, sizeof(val));
97
}
98
99
void towire_jsonrpc_errcode(u8 **pptr, enum jsonrpc_errcode v)
100
{
Callers
5
towire_hsm_utxo
Function · 0.50
towire_tx_parts
Function · 0.50
towire_account
Function · 0.50
towire_bool_val
Function · 0.50
towire_opt_bool
Function · 0.50
Calls
1
towire
Function · 0.70
Tested by
no test coverage detected