Commit Graph

13 Commits (static-addr-staging)

Author SHA1 Message Date
Andras Banki-Horvath 14de8f1f5d
sweepbatcher: test that empty batches won't prevent startup 5 days ago
Andras Banki-Horvath e5ade6a0b1
sweepbatcher: close the quit channel when the batcher is shutting down 5 days ago
Andras Banki-Horvath c01e8014e1
sweepbatcher: do not fail on restoring empty batches
Previously storing an empty batch would make the batcher fail to start
as spinning up a restored batch assumes that there's a primary sweep
added already. As there's no point in spinning up such batch we can just
skip over it.
Furthermore we'll ensure that we won't try to ever publish an empty
batch to avoid setting the fee rate too early.
5 days ago
Andras Banki-Horvath 939c9b4ccf
loopdb+sweepbatcher: add the DropBatch call 5 days ago
Andras Banki-Horvath 56902352cd
loopout: fix negative reported fees 6 days ago
Andras Banki-Horvath 75d7641d74
sweepbatcher: add more debug logging 4 weeks ago
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.
3 months ago
Andras Banki-Horvath b4ebb19a77
loopdb+sweepbatcher: add GetParentBatch and TotalSwept calls 3 months ago
Andras Banki-Horvath c094ad4a85
sweepbatcher: refactor monitorSpendAndNotify to return an error 3 months ago
George Tsagkarelis 849d26bba6
sweepbatcher: add batcher tests 4 months ago
George Tsagkarelis 7081fb7aae
sweepbatcher: add sweep batcher 4 months ago
George Tsagkarelis 56784ab921
sweepbatcher: add sweep batch 4 months ago
George Tsagkarelis 99608ad515
loopdb+sweepbatcher: add sweepbatcher store 4 months ago