-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Question about Lamp update and lightningd updates #27
Comments
Now, Lamp fetches binaries from https://github.com/lvaccaro/lightning_ndk release artifacts and the tag name is hardcoded in the app. Unfortunately, lightning_ndk releases could not strictly match lightningd release: we could require to update esplora plugin or something else, or we don't provide tag version for minor releases. So I think the version check should be on the lightning_ndk repo and, in that case, the app need to get the installed lightning_ndk version. |
Yeah, I meant: would be great that Lamp detect at startup that a new Android-ported |
Yes, and also the app should know the installed lightning_ndk version to compare with it. Have you any suggestions? |
I am thinking to remove the download functionality from the app and embed clightning binaries in the apk. On the other hand, this force update of the clightning binaries allows to be aligned with the daemon booting procedure: clightning options parameters could be updated based on lightning version, so a Lamp release (with new interface) could be crash running an older clightning binaries (it requires to manually erase binaries and redownload again). What do you think? |
Why manually ?
This seems wise with regard to Lamp <--> CL compatibility. However my main interrogations are on the Android side: will i be able to update as today with "this won't erase any data" message ? I like this, and i think potential less technical users will really rely on it in the future. If binaries get replaced maybe it won't appear (or worse "this will erase old data") ? Ok so after having thought out loud above, i think overall it's the right direction. |
Would Lamp check if I'm not running the latest
lightningd
binaries ? And if so would it be downloading them on startup ?The text was updated successfully, but these errors were encountered: