Beefing Up the Test Node #343
Replies: 4 comments 2 replies
-
The test |
Beta Was this translation helpful? Give feedback.
-
Yep, I'm aware that So, first things first, how do I get the on-chain wallet balance? I understand that we are getting all the on-chain data from electrum, but is there already code for getting or computing the balance, is the balance or the transactions persisted in a database somewhere in Thanks. |
Beta Was this translation helpful? Give feedback.
-
Ok. Get it. The use case for a server-side "light" LN wallet is to have high-availability for ecommerce payments in different data centers. For the on-chain wallet to be managed elsewhere (maybe cold storage, may even Square Subzero) is fine too. So, as long as we can import and "restore" a pre-generated seed into And I presume there is no network graph data maintained anywhere either because it's a non-routing node and it relies exclusively on its pre-configured trampoline node for routing. So I will leave the Once I'm done testing the on-chain/off-chain wallet operations as above, I will look into the handling of odd-unreserved-typed onion messages and see if the trampoline node can be of use here too since we don't have a routing node. And once I'm done with that, I will start my own node implementation. I will try to publish I will certainly be back with some more questions. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks. I'm using those. For the Also, there are loads of hardcoded config in I'm merely rewriting |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I started this discussion here. And I found the test
Node.kt
in this project just now. So my objectives are the following:And so, I have a some questions, if I may:
sendCustomOnionMessage
JSON HTTP API call should be straightforward enough, but forsubscribeCustomOnionMessages
andsubscribeNetworkGraphAnnouncements
, I should probably use the Secure WebSocket protocol as you do with eclair. Not really a question but a call for comments.getOnChainBalance
I looked for it (probably not hard enough) but, I could not find anything. Does the node maintain an on-chain wallet balance or ledger somewhere?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions