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

Function record_external_spend

onchaind/onchaind.c:228–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static void record_external_spend(const struct bitcoin_txid *txid,
229 struct tracked_output *out,
230 u32 blockheight,
231 enum mvt_tag tag)
232{
233 send_coin_mvt(take(new_coin_external_spend(NULL, &out->outpoint,
234 txid, blockheight,
235 out->sat, tag)));
236}
237
238static void record_external_spend_tags(const struct bitcoin_txid *txid,
239 struct tracked_output *out,

Callers 1

output_spentFunction · 0.85

Calls 2

send_coin_mvtFunction · 0.85
new_coin_external_spendFunction · 0.50

Tested by

no test coverage detected