-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cnct: anchor output sweeping and fee bumping #3758
cnct: anchor output sweeping and fee bumping #3758
Commits on Mar 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 30fc03d - Browse repository at this point
Copy the full SHA 30fc03dView commit details -
lnwallet+channeldb: add anchor resolutions
Co-authored-by: Joost Jager <joost.jager@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dc6c463 - Browse repository at this point
Copy the full SHA dc6c463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c93e9e - Browse repository at this point
Copy the full SHA 1c93e9eView commit details -
sweep: leave exclusive group unchanged on parameter update
Exclusive group is a static property that doesn't need to be updated. Requiring the exclusive group to be passed into UpdateParams creates a burden for the caller to make sure they supply the existing group. This change will be beneficial for users that bump anchor sweeps that have exclusive groups set.
Configuration menu - View commit details
-
Copy full SHA for 29e1489 - Browse repository at this point
Copy the full SHA 29e1489View commit details -
cnct: always set trigger height to close height
Prior to this change, the trigger height for closed channels was set to the current best block height. As this height is in some cases used as a height hint, the spend may have been missed.
Configuration menu - View commit details
-
Copy full SHA for c0b1b3b - Browse repository at this point
Copy the full SHA c0b1b3bView commit details -
cnct: create channel interface for arbitrator
Allows unit testing of the channel arbitrator with fewer dependencies. This is a preparation for the addition of anchor sweeping.
Configuration menu - View commit details
-
Copy full SHA for 7f3d4e7 - Browse repository at this point
Copy the full SHA 7f3d4e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd77d92 - Browse repository at this point
Copy the full SHA dd77d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for c376cdb - Browse repository at this point
Copy the full SHA c376cdbView commit details -
cnct+sweeper: give contract court access to relay fee
Relay fee is needed later to sweep anchors at the minimum fee rate.
Configuration menu - View commit details
-
Copy full SHA for 3b51739 - Browse repository at this point
Copy the full SHA 3b51739View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e99c6 - Browse repository at this point
Copy the full SHA e8e99c6View commit details
Commits on Mar 18, 2020
-
cnct: pre-confirmation anchor sweep
Start anchor sweep attempts immediately after the commitment transaction has been published. This makes the anchor known to the sweeper and allows the user to bump the fee on it to get their commitment transaction confirmed in case the fee committed too is insufficient for timely confirmation.
Configuration menu - View commit details
-
Copy full SHA for d2b6472 - Browse repository at this point
Copy the full SHA d2b6472View commit details -
cnct: do not persist stateless resolvers
Preparation for the anchor resolver which does not have persistent state.
Configuration menu - View commit details
-
Copy full SHA for 07a39b1 - Browse repository at this point
Copy the full SHA 07a39b1View commit details -
cnct: do not ignore resolver reports after resolution
Preparation for anchor resolver. The recovered anchor amount should still be included in the pending channel report even after it has been resolved. This also fixes an existing bug that in some cases caused the recovered amount from an htlc resolver not to be included in the total.
Configuration menu - View commit details
-
Copy full SHA for d84b596 - Browse repository at this point
Copy the full SHA d84b596View commit details -
cnct: resolve anchors post-confirmation
Sweeping anchors and being able to bump the fee was already added in a previous commit. This commit extends anchor sweeping with an anchor resolver object that becomes active after the commitment tx confirms. At that point, the anchors do not serve the purpose of getting the commitment tranaction confirmed anymore. It is however still possible to reclaim some of their value if using a low fee rate.
Configuration menu - View commit details
-
Copy full SHA for ea397c9 - Browse repository at this point
Copy the full SHA ea397c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab451f6 - Browse repository at this point
Copy the full SHA ab451f6View commit details -
lnrpc: expose commit hashes for waiting close channels
To make it easier to determine which pending sweep to bump in order to get your anchor commitment tx confirmed.
Configuration menu - View commit details
-
Copy full SHA for d60303b - Browse repository at this point
Copy the full SHA d60303bView commit details -
lncli: add bumpchannelclose command
This command allows users to easily bump the fee on their unconfirmed closing transactions.
Configuration menu - View commit details
-
Copy full SHA for fa115b5 - Browse repository at this point
Copy the full SHA fa115b5View commit details