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

Function fromwire_bitcoin_blkid

bitcoin/block.c:250–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248REGISTER_TYPE_TO_STRING(bitcoin_blkid, fmt_bitcoin_blkid);
249
250void fromwire_bitcoin_blkid(const u8 **cursor, size_t *max,
251 struct bitcoin_blkid *blkid)
252{
253 fromwire_sha256_double(cursor, max, &blkid->shad);
254}
255
256void towire_bitcoin_blkid(u8 **pptr, const struct bitcoin_blkid *blkid)
257{

Callers 1

fromwire_chainparamsFunction · 0.85

Calls 1

fromwire_sha256_doubleFunction · 0.85

Tested by

no test coverage detected