MCPcopy 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
30void towire_u32(u8 **pptr, u32 v)
31{
32 be32 l = cpu_to_be32(v);
33 towire(pptr, &l, sizeof(l));
34}
35
36void towire_u64(u8 **pptr, u64 v)
37{

Callers 14

towire_s32Function · 0.70
towire_jsonrpc_errcodeFunction · 0.70
towire_htlc_stubFunction · 0.50
towire_hsm_utxoFunction · 0.50
towire_wally_tx_inputFunction · 0.50
towire_wally_tx_outputFunction · 0.50
towire_tx_partsFunction · 0.50
towire_bitcoin_outpointFunction · 0.50
towire_bitcoin_txFunction · 0.50
towire_wally_psbtFunction · 0.50
towire_onchain_feeFunction · 0.50

Calls 2

cpu_to_be32Function · 0.85
towireFunction · 0.70

Tested by

no test coverage detected