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

Function bitcoin_block_blkid

bitcoin/block.c:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void bitcoin_block_blkid(const struct bitcoin_block *b,
227 struct bitcoin_blkid *out)
228{
229 *out = b->hdr.hash;
230}
231
232static bool bitcoin_blkid_to_hex(const struct bitcoin_blkid *blockid,
233 char *hexstr, size_t hexstr_len)

Callers 1

new_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected