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

Function unknown_spend

onchaind/onchaind.c:849–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849static void unknown_spend(struct tracked_output *out,
850 const struct tx_parts *tx_parts)
851{
852 out->resolved = tal(out, struct resolution);
853 out->resolved->txid = tx_parts->txid;
854 out->resolved->depth = 0;
855 out->resolved->tx_type = UNKNOWN_TXTYPE;
856
857 status_broken("Unknown spend of %s/%s by %s",
858 tx_type_name(out->tx_type),
859 output_type_name(out->output_type),
860 fmt_bitcoin_txid(tmpctx, &tx_parts->txid));
861}
862
863static u64 unmask_commit_number(const struct tx_parts *tx,
864 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