mirror of
https://github.com/lightninglabs/loop
synced 2024-11-17 21:25:56 +00:00
21 lines
559 B
Markdown
21 lines
559 B
Markdown
```mermaid
|
|
stateDiagram-v2
|
|
[*] --> Init: OnServerRequest
|
|
Confirmed
|
|
Confirmed --> SpendBroadcasted: OnSpendBroadcasted
|
|
Confirmed --> TimedOut: OnTimedOut
|
|
Confirmed --> Confirmed: OnRecover
|
|
Failed
|
|
Init
|
|
Init --> WaitForConfirmation: OnBroadcast
|
|
Init --> Failed: OnRecover
|
|
Init --> Failed: OnError
|
|
SpendBroadcasted
|
|
SpendBroadcasted --> SpendConfirmed: OnSpendConfirmed
|
|
SpendConfirmed
|
|
TimedOut
|
|
WaitForConfirmation
|
|
WaitForConfirmation --> WaitForConfirmation: OnRecover
|
|
WaitForConfirmation --> Confirmed: OnConfirmed
|
|
WaitForConfirmation --> TimedOut: OnTimedOut
|
|
``` |