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

Function record_external_spend

onchaind/onchaind.c:230–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230static void record_external_spend(const struct bitcoin_txid *txid,
231 struct tracked_output *out,
232 u32 blockheight,
233 struct mvt_tags tags)
234{
235 send_coin_mvt(take(new_coin_external_spend(NULL, &out->outpoint,
236 txid, blockheight,
237 out->sat, tags)));
238}
239
240static void record_external_output(const struct bitcoin_outpoint *out,
241 struct amount_sat amount,

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