2023-08-24 23:46:25 +00:00
|
|
|
```mermaid
|
|
|
|
stateDiagram-v2
|
|
|
|
[*] --> Init: OnServerRequest
|
|
|
|
Confirmed
|
2023-08-24 23:54:18 +00:00
|
|
|
Confirmed --> SpendBroadcasted: OnSpendBroadcasted
|
2023-08-24 23:46:25 +00:00
|
|
|
Confirmed --> TimedOut: OnTimedOut
|
|
|
|
Confirmed --> Confirmed: OnRecover
|
|
|
|
Failed
|
|
|
|
Init
|
|
|
|
Init --> WaitForConfirmation: OnBroadcast
|
|
|
|
Init --> Failed: OnRecover
|
2023-10-25 21:32:40 +00:00
|
|
|
Init --> Failed: OnError
|
2023-08-24 23:54:18 +00:00
|
|
|
SpendBroadcasted
|
|
|
|
SpendBroadcasted --> SpendConfirmed: OnSpendConfirmed
|
|
|
|
SpendConfirmed
|
2023-08-24 23:46:25 +00:00
|
|
|
TimedOut
|
|
|
|
WaitForConfirmation
|
|
|
|
WaitForConfirmation --> WaitForConfirmation: OnRecover
|
|
|
|
WaitForConfirmation --> Confirmed: OnConfirmed
|
|
|
|
WaitForConfirmation --> TimedOut: OnTimedOut
|
|
|
|
```
|