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

Function handle_onchaind_depth

onchaind/onchaind.c:1582–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1580}
1581
1582static void handle_onchaind_depth(struct tracked_output ***outs, const u8 *msg)
1583{
1584 struct bitcoin_txid txid;
1585 u32 depth;
1586
1587 if (!fromwire_onchaind_depth(msg, &txid, &depth))
1588 master_badmsg(WIRE_ONCHAIND_DEPTH, msg);
1589
1590 tx_new_depth(*outs, &txid, depth);
1591}
1592
1593static void handle_onchaind_spent(struct tracked_output ***outs, const u8 *msg)
1594{

Callers 1

wait_for_resolvedFunction · 0.85

Calls 3

fromwire_onchaind_depthFunction · 0.85
tx_new_depthFunction · 0.85
master_badmsgFunction · 0.50

Tested by

no test coverage detected