diff --git a/doc/staterecovery_sequencediagram.svg b/doc/staterecovery_sequencediagram.svg index 8cbd4e290..71978c578 100644 --- a/doc/staterecovery_sequencediagram.svg +++ b/doc/staterecovery_sequencediagram.svg @@ -1 +1 @@ -title%20State%20Recovery%20Procedure%0A%0A%2F%2F%20TODO%3A%20remove%20walletd%20once%20it's%20stateless%0Aparticipant%20walletd%0Aparticipant%20databased%0Aparticipant%20farcasterd%0Aparticipant%20cli%0A%0A%3D%3D%20State%20Recovery%20Procedure%0Aentryspacing%200.8%0Afarcasterd%20-%3E%20databased%20%3A%20launch%0Acli%20-%3E%20farcasterd%20%3A%20RetrieveAllCheckpointInfo%0Afarcasterd%20-%3E%20databased%20%3A%20RetrieveAllCheckpointInfo%0Adatabased%20-%3E%20farcasterd%20%3A%20CheckpointList%0Afarcasterd%20-%3E%20cli%20%3A%20CheckpointList%0Acli%20-%3E%20farcasterd%20%3A%20RestoreCheckpoint%0Afarcasterd%20-%3E%20databased%20%3A%20RestoreCheckpoint%0Adatabased%20-%3E%20walletd%20%3A%20Checkpoint%0AState Recovery ProcedurewalletddatabasedfarcasterdclilaunchRetrieveAllCheckpointInfoRetrieveAllCheckpointInfoCheckpointListCheckpointListRestoreCheckpointRestoreCheckpointCheckpoint \ No newline at end of file +title%20State%20Recovery%20Procedure%0A%0A%2F%2F%20TODO%3A%20remove%20walletd%20once%20it's%20stateless%0Aparticipant%20swapd%0Aparticipant%20walletd%0Aparticipant%20databased%0Aparticipant%20farcasterd%0Aparticipant%20cli%0A%0A%3D%3D%20State%20Recovery%20Procedure%0Aentryspacing%200.8%0Afarcasterd%20-%3E%20walletd%20%3A%20launch%0Afarcasterd%20-%3E%20databased%20%3A%20launch%0Acli%20-%3E%20databased%20%3A%20RetrieveAllCheckpointInfo%0Adatabased%20-%3E%20farcasterd%20%3A%20CheckpointList%0Afarcasterd%20-%3E%20cli%20%3A%20CheckpointList%0Acli%20-%3E%20farcasterd%20%3A%20RestoreCheckpoint%0Afarcasterd%20-%3E%20swapd%20%3A%20launch%0Afarcasterd%20-%3E%20databased%20%3A%20RestoreCheckpoint%0Adatabased%20-%3E%20walletd%20%3A%20Checkpoint%0Adatabased%20-%3E%20swapd%3A%20Checkpoint%0A%0AState Recovery ProcedureswapdwalletddatabasedfarcasterdclilaunchlaunchRetrieveAllCheckpointInfoCheckpointListCheckpointListRestoreCheckpointlaunchRestoreCheckpointCheckpointCheckpoint \ No newline at end of file diff --git a/doc/staterecovery_sequencediagram.txt b/doc/staterecovery_sequencediagram.txt index a33182cf6..360f8944d 100644 --- a/doc/staterecovery_sequencediagram.txt +++ b/doc/staterecovery_sequencediagram.txt @@ -1,6 +1,7 @@ title State Recovery Procedure // TODO: remove walletd once it's stateless +participant swapd participant walletd participant databased participant farcasterd @@ -8,11 +9,13 @@ participant cli == State Recovery Procedure entryspacing 0.8 +farcasterd -> walletd : launch farcasterd -> databased : launch -cli -> farcasterd : RetrieveAllCheckpointInfo -farcasterd -> databased : RetrieveAllCheckpointInfo +cli -> databased : RetrieveAllCheckpointInfo databased -> farcasterd : CheckpointList farcasterd -> cli : CheckpointList cli -> farcasterd : RestoreCheckpoint +farcasterd -> swapd : launch farcasterd -> databased : RestoreCheckpoint databased -> walletd : Checkpoint +databased -> swapd: Checkpoint