loop/sweepbatcher
Boris Nagaev 6efd010014
sweepbatcher: run batch with currentHeight set
Prevent a crash with "a height hint greater than 0 must be provided" error when
monitorSpend starts at the beginning of batch.Run.

The timer timerChan is now initialized at the start, because it was previously
initialized after the first block (the current tip) was read from blockChan and
now the first block is read before the main for-select loop to fill the field
currentHeight in advance.
2025-01-17 12:39:31 -03:00
..
greedy_batch_selection.go sweepbatcher: set max batch size to 1000 sweeps 2024-08-26 14:17:24 -03:00
greedy_batch_selection_test.go sweepbatcher: make greedy algo mixed batch aware 2024-08-21 14:05:50 -03:00
log.go sweepbatcher: fix too long lines 2024-05-29 12:17:18 -03:00
store.go sweepbatcher/store: remove unused field clock 2024-08-13 09:20:31 -03:00
store_mock.go Revert "sweepbatcher/StoreMock: load LoopOut from loopdb" 2024-05-31 12:28:02 -03:00
sweep_batch.go sweepbatcher: run batch with currentHeight set 2025-01-17 12:39:31 -03:00
sweep_batcher.go sweepbatcher: add option WithPublishErrorHandler 2024-08-27 19:26:29 -03:00
sweep_batcher_test.go sweepbatcher: make sure feerate does not decrease 2024-10-15 11:28:40 -03:00