You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figure out how to handle the remaining 'panic-on-persistence-failure' cases, especially where we can't return an error, such as in the EventHandler. This might be a tough one.
Short term we could consider just log the persistence failures when VssStore is configured, but it's probably safer to keep panicking. In any case we need to add some huge warning that VSS is considered experimental and that either data might be lost at any time or that LDK Node / the app using it might crash at any time if the connection is lost. (Enable using VssStore with VssHeaderProvider. #369)
Mid- to longer term we need to switch to a proper async-persistence KVStore interface and find better solutions in LDK, which in turn would allow us here to retry and then restart everything on persistence failure.
Possibly also expose a custom auth method via the AuthMethod trait, but this is already an advanced feature as it requires user to understand the interface and write matching code instead of providing some credentials. (Enable using VssStore with VssHeaderProvider. #369)
Most of the work is already merged, here we add some tracking for the remaining tasks:
VssStorein bindings (Launch VSS, Expose build_with_vss* methods in bindings. #376).AuthMethod(Enable using VssStore with VssHeaderProvider. #369).EventHandler. This might be a tough one.VssStoreis configured, but it's probably safer to keep panicking. In any case we need to add some huge warning that VSS is considered experimental and that either data might be lost at any time or that LDK Node / the app using it might crash at any time if the connection is lost. (Enable using VssStore with VssHeaderProvider. #369)KVStoreinterface and find better solutions in LDK, which in turn would allow us here to retry and then restart everything on persistence failure.AuthMethodtrait, but this is already an advanced feature as it requires user to understand the interface and write matching code instead of providing some credentials. (Enable using VssStore with VssHeaderProvider. #369)cfg-gate. (Launch VSS, Expose build_with_vss* methods in bindings. #376)(cc @G8XSU)