-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add lnd support #46
Comments
Optimization idea: mark channel address as owned if all inputs are owned |
What about labels which are set by the user? |
Also mark channels as owned if they were opened by the remote peer? Most likely, there are owned funds in the channel, which we would like to track. ❌ No: otherwise, we'd need to track the foreign coins that funded the channel. We're only interested in the coins that were sent to us (when the channel closed), and we cannot track those (they result out of off-chain transactions). |
Gather more information about channel close outputs (especially HTLCs) by inspecting the scripts. See https://github.com/alexbosworth/bolt03. |
Cooperative closes: mark the other output as foreign (if not marked as owned), it belongs to the remote node ✔️ #74 |
Is your feature request related to a problem? Please describe.
As a user who also runs a lnd node, entering the corresponding transaction/address details is very time consuming. I'd like BitBook to help me as much as possible.
Describe the solution you'd like
I'd like to let BitBook work with lnd so that I don't have to copy-paste a lot of data. Direct RPC support would be nice, but I'd be happy creating a few files based on
lncli
output (e.g.lncli wallet listsweeps > sweeps.json
) and parse these from within BitBook (e.g.read-lnd-sweeps-file /tmp/sweeps.json
).Describe alternatives you've considered
Copy-pasting all data manually. The wizard (#27) might make that less frustrating, but it's still a lot of unnecessary work.
lncli wallet listsweeps
✔️ add support for lnd sweep transactions #48lncli closedchannels
✅ add basic information for closed channels #54 lnd: parse sweep transactions for HTLC resolutions #55 (missing: mark outputs as foreign)lncli listchannels
✔️ add information obtained by lncli listchannels #57lncli listchaintxns
:listchaintxns
#70)lncli listunspent
✔️ parse unspent outputs from lnd #50pool auction leases
✔️ add information for pool leases #73The text was updated successfully, but these errors were encountered: