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

Function json_to_bitcoin_blkid

common/json_parse.c:604–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604bool json_to_bitcoin_blkid(const char *buffer, const jsmntok_t *tok,
605 struct bitcoin_blkid *blkid)
606{
607 return bitcoin_blkid_from_hex(buffer + tok->start,
608 tok->end - tok->start, blkid);
609}
610
611bool json_to_outpoint(const char *buffer, const jsmntok_t *tok,
612 struct bitcoin_outpoint *op)

Callers

nothing calls this directly

Calls 1

bitcoin_blkid_from_hexFunction · 0.85

Tested by

no test coverage detected