Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_u64
Function
towire_u64
wire/towire.c:36–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
void towire_u64(u8 **pptr, u64 v)
37
{
38
be64 l = cpu_to_be64(v);
39
towire(pptr, &l, sizeof(l));
40
}
41
42
static void towire_tlv_uint(u8 **pptr, u64 v)
43
{
Callers
2
towire_wally_tx_output
Function · 0.50
towire_short_channel_id
Function · 0.50
Calls
2
cpu_to_be64
Function · 0.85
towire
Function · 0.70
Tested by
no test coverage detected