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

Function pull_le32

bitcoin/block.c:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

bitcoin_block_from_hexFunction · 0.85

Calls 2

pullFunction · 0.85
le32_to_cpuFunction · 0.85

Tested by

no test coverage detected