| 235 | } |
| 236 | |
| 237 | void 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 | |
| 250 | void txowatch_fire(const struct txowatch *txow, |
| 251 | const struct bitcoin_tx *tx, |
no test coverage detected