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

Function json_add_tx

common/json_stream.c:603–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603void json_add_tx(struct json_stream *result,
604 const char *fieldname,
605 const struct bitcoin_tx *tx)
606{
607 json_add_hex_talarr(result, fieldname, linearize_tx(tmpctx, tx));
608}
609
610void json_add_psbt(struct json_stream *stream,
611 const char *fieldname,

Callers 4

json_sign_last_txFunction · 0.85
bwatch_send_watch_foundFunction · 0.85

Calls 2

json_add_hex_talarrFunction · 0.85
linearize_txFunction · 0.85

Tested by

no test coverage detected