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

Function unknown_spend

onchaind/onchaind.c:798–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798static void unknown_spend(struct tracked_output *out,
799 const struct tx_parts *tx_parts)
800{
801 out->resolved = tal(out, struct resolution);
802 out->resolved->txid = tx_parts->txid;
803 out->resolved->depth = 0;
804 out->resolved->tx_type = UNKNOWN_TXTYPE;
805
806 status_broken("Unknown spend of %s/%s by %s",
807 tx_type_name(out->tx_type),
808 output_type_name(out->output_type),
809 fmt_bitcoin_txid(tmpctx, &tx_parts->txid));
810}
811
812static u64 unmask_commit_number(const struct tx_parts *tx,
813 uint32_t locktime,

Callers 1

output_spentFunction · 0.85

Calls 3

tx_type_nameFunction · 0.85
output_type_nameFunction · 0.85
fmt_bitcoin_txidFunction · 0.85

Tested by

no test coverage detected