mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: rebroadcast all pending txs each 30-60 seconds.
We also do it on every block, but since bitcoind can't always be counted to rebroadcast for us, we might as well be aggressive! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -133,7 +133,7 @@ struct chain_topology {
|
||||
struct bitcoind *bitcoind;
|
||||
|
||||
/* Timers we're running. */
|
||||
struct oneshot *extend_timer, *updatefee_timer;
|
||||
struct oneshot *extend_timer, *updatefee_timer, *rebroadcast_timer;
|
||||
|
||||
/* Bitcoin transactions we're broadcasting */
|
||||
struct outgoing_tx_map *outgoing_txs;
|
||||
|
||||
Reference in New Issue
Block a user