loop/sweepbatcher
Boris Nagaev 864d7f24cd
sweepbatcher: make sure feerate does not decrease
Previous behaviour was to overwrite batch's feerate with minFeeRate of
its primary sweep, which could be lower that previus batch's feerate or
lower that feerate of some other sweep.

Instead, batch's feerate only grows and never declines and is at least as high
as the highest feerate of its sweeps.

Added a test to verify this.
2024-10-15 11:28:40 -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: make sure feerate does not decrease 2024-10-15 11:28:40 -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