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

Function txwatch_fire

lightningd/watch.c:244–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void txwatch_fire(struct chain_topology *topo,
245 const struct bitcoin_txid *txid,
246 unsigned int depth)
247{
248 struct txwatch *txw;
249
250 txw = txwatch_hash_get(&topo->txwatches, txid);
251
252 if (txw)
253 txw_fire(txw, txid, depth);
254}
255
256void txowatch_fire(const struct txowatch *txow,
257 const struct bitcoin_tx *tx,

Callers 1

remove_tipFunction · 0.85

Calls 1

txw_fireFunction · 0.85

Tested by

no test coverage detected