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

Function ignore_output

onchaind/onchaind.c:997–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997static void ignore_output(struct tracked_output *out)
998{
999 status_debug("Ignoring output %s: %s/%s",
1000 type_to_string(tmpctx, struct bitcoin_outpoint,
1001 &out->outpoint),
1002 tx_type_name(out->tx_type),
1003 output_type_name(out->output_type));
1004
1005 out->resolved = tal(out, struct resolution);
1006 out->resolved->txid = out->outpoint.txid;
1007 out->resolved->depth = 0;
1008 out->resolved->tx_type = SELF;
1009}
1010
1011static enum wallet_tx_type onchain_txtype_to_wallet_txtype(enum tx_type t)
1012{

Callers 7

proposal_meets_depthFunction · 0.85
output_spentFunction · 0.85
handle_our_unilateralFunction · 0.85
their_unilateral_localFunction · 0.85
handle_their_cheatFunction · 0.85
handle_their_unilateralFunction · 0.85

Calls 3

tx_type_nameFunction · 0.85
output_type_nameFunction · 0.85
type_to_stringClass · 0.50

Tested by

no test coverage detected