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

Function json_to_txid

common/json_parse.c:575–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575bool json_to_txid(const char *buffer, const jsmntok_t *tok,
576 struct bitcoin_txid *txid)
577{
578 return bitcoin_txid_from_hex(buffer + tok->start,
579 tok->end - tok->start, txid);
580}
581
582bool json_to_outpoint(const char *buffer, const jsmntok_t *tok,
583 struct bitcoin_outpoint *op)

Callers 3

json_to_outpointFunction · 0.70
param_txidFunction · 0.70
param_txoutFunction · 0.50

Calls 1

bitcoin_txid_from_hexFunction · 0.85

Tested by

no test coverage detected