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

Function txwatch_fire

lightningd/watch.c:237–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void txwatch_fire(struct chain_topology *topo,
238 const struct bitcoin_txid *txid,
239 unsigned int depth)
240{
241 struct txwatch_hash_iter it;
242
243 for (struct txwatch *txw = txwatch_hash_getfirst(topo->txwatches, txid, &it);
244 txw;
245 txw = txwatch_hash_getnext(topo->txwatches, txid, &it)) {
246 txw_fire(txw, txid, depth);
247 }
248}
249
250void txowatch_fire(const struct txowatch *txow,
251 const struct bitcoin_tx *tx,

Callers 1

remove_tipFunction · 0.85

Calls 1

txw_fireFunction · 0.85

Tested by

no test coverage detected