Replies: 4 comments
-
|
This is nice! Being able to use external implementations for LND internal modules will make it more adaptive to specific platforms and will allow us to improve the use experience in general. Perhaps this is a good place to outline our requirements: ChainService
ChannelDB Breez can really benefit from these architectural changes and it would be great to be involved in this process. |
Beta Was this translation helpful? Give feedback.
-
|
As of #4286 it's now possible to configure sub loggers before starting |
Beta Was this translation helpful? Give feedback.
-
|
Related to #5486 |
Beta Was this translation helpful? Give feedback.
-
|
Moving to discussions. Can be reopened when taken up for development. |
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.
-
With the newer versions of
lnd, we'd started to progressively refactorlndas itself so it's more generically useable. We've recently reached the point where it's possible to initialize anlndinstance within another go process, and also generate a set of bindings to support usage oflndwithin mobile deployments.The aim of this issue is to further abstract the main
lndpackage with the goal of being able to:lndnode incrementally.Once the two steps above have been completed, a user will be able to embed
lndwithin another Go process or package, and also provide new implementations of core interfaces such as theSigneror newly createdkvdb.Backendinterface.Potential External API
I figure the best way to provide guidance on precisely how to achieve the two goals above is to provide an example using an hypothetical interface, then proceed backwards (a la top-down design) to refactor
lndto support our target use case.Here's an example of a user creating a new
lndinstance in an new package and providing a custom implementation (really just re-directs or maybe proxies to a remote server) of thekvdb.Backendinterface.Beta Was this translation helpful? Give feedback.
All reactions