mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-23 05:32:18 +00:00
9 lines
821 B
HTML
9 lines
821 B
HTML
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><title>MessageStatus 与 Ledger 持久化</title></head><body><main data-praxis-anchor="diagram:message-delivery-lifecycle" data-praxis-kind="uml_diagram"><h1>MessageStatus 与 Ledger 持久化</h1><pre class="mermaid">stateDiagram-v2
|
||
[*] --> Incoming: recordIncoming
|
||
[*] --> Queued: recordOutbound
|
||
Queued --> Sent: applyOutboundStatus
|
||
Queued --> Failed: applyOutboundStatus
|
||
Sent --> Delivered: remote receipt or proof
|
||
Sent --> Failed: terminal failure
|
||
Failed --> Queued: markRetryQueued</pre><h2>独立的持久化结果</h2><p><code>Durable</code> 表示已持久化;<code>Deferred</code> 表示进入固定深度 pending write;<code>Rejected</code> 表示未被账本接受。它们不是 MessageStatus。</p></main></body></html>
|