contractcourt: integration aux sweeper to breach arb

Similar to the sweeper, when we're about to make a new breach
transaction, we ask the sweeper for a new change address, if it has one.
Then when we go to publish, we notify broadcast.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-10-02 18:10:03 -07:00
1 parent c59f11168b
commit 4920bf6e1a
3 files changed
+105 -17

No files matched your search

+1
View File
@@ -1187,6 +1187,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
Store: contractcourt.NewRetributionStore(
dbs.ChanStateDB,
),
AuxSweeper: s.implCfg.AuxSweeper,
},
)