MCPcopy Create free account
hub / github.com/ElementsProject/lightning / pull_le32

Function pull_le32

bitcoin/block.c:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static u32 pull_le32(const u8 **cursor, size_t *max)
31{
32 le32 ret;
33
34 if (!pull(cursor, max, &ret, sizeof(ret)))
35 return 0;
36 return le32_to_cpu(ret);
37}
38
39static u64 pull_varint(const u8 **cursor, size_t *max)
40{

Callers 1

bitcoin_block_from_hexFunction · 0.85

Calls 2

pullFunction · 0.85
le32_to_cpuFunction · 0.85

Tested by

no test coverage detected