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

Function bitcoin_block_blkid

bitcoin/block.c:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

new_blockFunction · 0.85
block_from_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected