Comments (4)
from ln-service.
LND maintains a list of on-chain addresses currently in the DB that is only exposed when calling lnd.getTransactions
and returns a list of addresses that have sent or received, which can be aggregated to get a list of addresses "used" by the lnd wallet.
Currently there is no way to look at an address to get the balance besides calling getTransactions
, aggregating the addresses, and then summing the values to end up with a balance by address. When handling non-lightning interactions it's kind of a useful feature to return balance by address as a helper, but maybe keep it out of the ln-service until more feature requests would come in for it.
from ln-service.
from ln-service.
Hmm good point was digging in to see what you mean and it looks like the getTransactions
call lacks what is needed here.
Short of setting up each lnd address as a watch-only address for chain transaction monitoring I'm not sure what other way you would be able to handle this, may just need to fallback to using the bitcoin nodes' wallet for on-chain transactions. May open an issue over on the lnd repo instead then.
from ln-service.
Related Issues (20)
- Subscribing to invoices - event does not trigger for hodl invoices HOT 2
- Is there a way to include metadata hash in createInvoice? HOT 7
- subscribeToInvoice method not working HOT 9
- Request: add tx id response to fundPendingChannels
- Can't connect to Lnd using gRPC HOT 4
- grpc-js throws "unable to get issuer certificate" error while connecting HOT 7
- Socket connection issue HOT 4
- Signet support HOT 1
- probeForRoute and getRouteToDestination fail when outgoing_channel is set HOT 2
- Can't pay invoices with more than one hop_hints HOT 46
- How can I monitor incoming payments? HOT 4
- Node Credentials HOT 1
- Creating invoice with big amount leads to invoice without an amount HOT 8
- Switch RPC middleware tests to use Docker testing framework
- Migrate setupChannel macros to use ln-docker-daemons
- Using lnService with Voltage nodes HOT 6
- CreateInvoice return no response HOT 1
- `payviapaymentrequest` default behavior is different than `lncli payinvoice` HOT 7
- Clarify and supplement invoice.is_confirmed given new final settle signal in LND HOT 7
- Failed HTLC Events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ln-service.