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

Function rebroadcasts_complete

lightningd/chaintopology.c:127–134  ·  view source on GitHub ↗

We are last. Refresh timer, and free refcnt */

Source from the content-addressed store, hash-verified

125
126/* We are last. Refresh timer, and free refcnt */
127static void rebroadcasts_complete(struct chain_topology *topo,
128 size_t *num_rebroadcast_remaining)
129{
130 tal_free(num_rebroadcast_remaining);
131 topo->rebroadcast_timer = new_reltimer(topo->ld->timers, topo,
132 time_from_sec(30 + pseudorand(30)),
133 rebroadcast_txs, topo);
134}
135
136static void destroy_tx_broadcast(struct tx_rebroadcast *txrb, struct chain_topology *topo)
137{

Callers 2

destroy_tx_broadcastFunction · 0.85
rebroadcast_txsFunction · 0.85

Calls 2

tal_freeFunction · 0.85
time_from_secFunction · 0.85

Tested by

no test coverage detected