lightninglabs / lightninglabs/chantools
sweepremoteclosed improvements
- Dominant language
- Go
- Stars
- 239
- Forks
- 46
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 6
Description
I am trying to use a remote FC output to open a new channel, but need some updates to the command to do so.
1. Allow sweeping to P2WSH address. Currently can only use P2TR or P2WKH
_In order to sweep to a new channel address_
2. Search for unconfirmed rather than unspent
_Allow RBF since there's no "change"_
3. A) Output the key derivation in the log when an eligible output is found.
B) Allow specifying exact key to use rather than max
_Speed up the process to allow a tx to be generated before funding expiration_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the sweepremoteclosed command and trace its current P2TR/P2WKH destination handling and unspent-output search. Review how eligible outputs and key selection are logged or chosen. Done means supporting P2WSH, finding unconfirmed outputs for RBF, logging derivation details, and accepting an exact key selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100