2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00
loop/sweepbatcher
Andras Banki-Horvath e1ddb50dfe
loopout+sweepbatcher: calculate the per sweep onchain fees correctly
Previously we'd report the fees per sweep as the total sweep cost of a
batch. With this change the reported cost will be the proportional fee
which should be equal for all sweeps except if there's any rounding
difference in which case that is paid by the sweep belonging to the
first input of the batch tx.
2024-03-04 16:15:21 +01:00
..
log.go sweepbatcher: add sweep batch 2024-01-23 20:38:09 +02:00
store_mock.go loopdb+sweepbatcher: add GetParentBatch and TotalSwept calls 2024-03-04 16:15:21 +01:00
store.go loopdb+sweepbatcher: add GetParentBatch and TotalSwept calls 2024-03-04 16:15:21 +01:00
sweep_batch.go loopout+sweepbatcher: calculate the per sweep onchain fees correctly 2024-03-04 16:15:21 +01:00
sweep_batcher_test.go loopout+sweepbatcher: calculate the per sweep onchain fees correctly 2024-03-04 16:15:21 +01:00
sweep_batcher.go loopout+sweepbatcher: calculate the per sweep onchain fees correctly 2024-03-04 16:15:21 +01:00