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

Function json_to_txid

common/json_parse.c:597–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597bool json_to_txid(const char *buffer, const jsmntok_t *tok,
598 struct bitcoin_txid *txid)
599{
600 return bitcoin_txid_from_hex(buffer + tok->start,
601 tok->end - tok->start, txid);
602}
603
604bool json_to_bitcoin_blkid(const char *buffer, const jsmntok_t *tok,
605 struct bitcoin_blkid *blkid)

Callers 7

json_to_outpointFunction · 0.70
param_txidFunction · 0.70
param_txoutFunction · 0.50
splice_signed_get_resultFunction · 0.50
chain_eventsFunction · 0.50
init_blockheightsFunction · 0.50

Calls 1

bitcoin_txid_from_hexFunction · 0.85

Tested by

no test coverage detected