Open
Description
Most of the work is already merged, here we add some tracking for the remaining tasks:
- Expose the capability to setup with
VssStore
in bindings (Launch VSS, Expose build_with_vss* methods in bindings. #376).- Expose the capability to use a custom
AuthMethod
(Enable using VssStore with VssHeaderProvider. #369). - Expose the capability with a simpler default authentication method. (Enable using VssStore with VssHeaderProvider. #369)
- Expose the capability to use a custom
- 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) - Partially addressed panic-on-persistence failure in (Replay events on event handling failures due to persistence failures. #374)
- Still need to address remaining cases (Address remaining panic-on-persistence failures #381)
- Still need Have VSS persistence retry forever #380
- 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.
- Short term we could consider just log the persistence failures when
- Integrate a simple-to-use auth method. (Enable using VssStore with VssHeaderProvider. #369)
- 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)
- Possibly also expose a custom auth method via the
- Remove the
cfg
-gate. (Launch VSS, Expose build_with_vss* methods in bindings. #376)
(cc @G8XSU)
Metadata
Metadata
Assignees
Labels
No labels