Considering adding new imported MissionControl data (XImportMissionControl) to the database not only into memory #8840
ziggie1984
started this conversation in
General
Replies: 1 comment 2 replies
-
I don't really see any harm in persisting the imported MC data to storage. cc: @bitromortac @ellemouton for their thoughts on this |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Related to the SoB project (https://github.com/ziggie1984/Distributed-Mission-Control-for-LND) we found out that it would make sense to persist imported Mission Control data across restarts. The goal of the mentioned project is to help light-clients e.g. non-custodial wallets like
blixt
to increase their payment success rate hence offering a better user-experience but also reducing the risk of stuck htlcs.In the current RPC call we only change the data in memory:
lnd/routing/missioncontrol.go
Lines 363 to 384 in 83b1c22
Is there an obvious pitfall I am not considering when introducing the possiblity to also update the Mission Data store in addition to the in-memory state ?
Otherwise we would like to introduce this option to LND in the course of the SoB project.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions