Vss#17
Open
dcorral wants to merge 4 commits intoUTEXO-Protocol:devfrom
Open
Conversation
0f92eef to
f5c9b3e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
VSS Cloud Backup Integration
Adds optional cloud backup support using LDK's VSS (Versioned Storage Service). When enabled, the node replicates its state to a remote VSS server for disaster recovery on a new device.
What it does
SyncedKvStorewrapper writes everyKVStoreSyncoperation to both local SQLite and a remote VSS server. Local is primary; VSS replication is best-effort. On a fresh start with an empty local DB, state is automatically restored from VSS.configure_vss_backup()) for automatic backups after every state-changing wallet operation.m/535'/1'.New files
src/synced_kv_store.rs— KVStore wrapper: local + optional VSS replicationsrc/vss_kv_store.rs— KVStore implementation backed by a VSS serversrc/test/vss.rs— Unit and integration testsdocker/vss-server/— Dockerfile for the VSS server (sigs-auth)API
POST /vssbackup— trigger manual RGB wallet backupGET /vssbackupinfo— check backup statusUsage
Entirely opt-in:
--features vssat compile time +--vss-urlat runtime. Without these, the node behaves exactly as before.