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

Function bitcoin_blkid_to_hex

bitcoin/block.c:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232static bool bitcoin_blkid_to_hex(const struct bitcoin_blkid *blockid,
233 char *hexstr, size_t hexstr_len)
234{
235 struct bitcoin_txid fake_txid;
236 fake_txid.shad = blockid->shad;
237 return bitcoin_txid_to_hex(&fake_txid, hexstr, hexstr_len);
238}
239
240static char *fmt_bitcoin_blkid(const tal_t *ctx,
241 const struct bitcoin_blkid *blkid)

Callers 1

fmt_bitcoin_blkidFunction · 0.85

Calls 1

bitcoin_txid_to_hexFunction · 0.85

Tested by

no test coverage detected