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

Function json_add_tx

common/json_stream.c:540–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540void json_add_tx(struct json_stream *result,
541 const char *fieldname,
542 const struct bitcoin_tx *tx)
543{
544 json_add_hex_talarr(result, fieldname, linearize_tx(tmpctx, tx));
545}
546
547void json_add_psbt(struct json_stream *stream,
548 const char *fieldname,

Callers

nothing calls this directly

Calls 2

linearize_txFunction · 0.85
json_add_hex_talarrFunction · 0.70

Tested by

no test coverage detected