You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new sweeper in place, we still have some TODOs that need to be fixed in 0.18.1,
1. remove the hacks used in itest - there are lots of hacks used in the multi-hop and sweeper itests due to block sync issues among different subsystems, which should be fixed. Covered with mutil: introduce simple BlockBeat to fix itest flakes #8717
2. reconstruct the input set from the mempool tx, which is the missing part that gives the sweeper the ability to recover its state from a restart.
3. properly lock wallet utxos in sweeper using LeaseOutput and ReleaseOutput - we need to make sure the wallet utxo is not locked forever, which means we should release the output when the sweeping tx fails. On the other hand, since the RBF can take hundreds of blocks, we need to figure out how long the wallet utxo should be locked.
4. add breach outputs to the sweeper, should be straightforward.
5. anchor channel fee rate should be min relay fee to maximize the utility provided by the fee bumper:
6. kick out the bad input from failed sweeping txns - we need to analyze the broadcast failure and decide whether to regroup the input or remove it.
7. update PendingSweeps to return inputs in InputSet, which gives users more info about the sweeping tx, so better decisions can be made when calling BumpFee.
9. make sure anchor outputs after confirmation of the commitment transaction are never bundled with other sweeping inputs, because they bear the risk of being replaced by a third party.
10. fix sample configuration check so we don't require the dummy in our sample.conf (; sweeper.budget=)
make sure anchor outputs after confirmation of the commitment transaction are never bundled with other sweeping inputs, because they bear the risk of being replaced by a third party.
With the new sweeper in place, we still have some TODOs that need to be fixed in 0.18.1,
BlockBeat
to fix itest flakes #8717LeaseOutput
andReleaseOutput
- we need to make sure the wallet utxo is not locked forever, which means we should release the output when the sweeping tx fails. On the other hand, since the RBF can take hundreds of blocks, we need to figure out how long the wallet utxo should be locked.lnd/htlcswitch/link.go
Lines 1341 to 1345 in d4c1937
PendingSweeps
to return inputs inInputSet
, which gives users more info about the sweeping tx, so better decisions can be made when callingBumpFee
.Think the last item may be fixed in future releases?
The text was updated successfully, but these errors were encountered: