Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_u32
Function
towire_u32
wire/towire.c:30–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
void towire_u32(u8 **pptr, u32 v)
31
{
32
be32 l = cpu_to_be32(v);
33
towire(pptr, &l, sizeof(l));
34
}
35
36
void towire_u64(u8 **pptr, u64 v)
37
{
Callers
14
towire_s32
Function · 0.70
towire_jsonrpc_errcode
Function · 0.70
towire_htlc_stub
Function · 0.50
towire_hsm_utxo
Function · 0.50
towire_wally_tx_witness_stack
Function · 0.50
towire_wally_tx_input
Function · 0.50
towire_wally_tx_output
Function · 0.50
towire_tx_parts
Function · 0.50
towire_bitcoin_outpoint
Function · 0.50
towire_bitcoin_tx
Function · 0.50
towire_wally_psbt
Function · 0.50
towire_onchain_fee
Function · 0.50
Calls
2
cpu_to_be32
Function · 0.85
towire
Function · 0.70
Tested by
no test coverage detected