Binance Square
#axyl

axyl

2 次瀏覽
2 討論中
RexxyVJ
·
--
文章
Rayls Axyl 如何處理重試與恢復批次失敗後並不總是需要重新執行。在@Rayls Axyl 中,失敗原因很重要。 我研究了 Axyl 源代碼,以瞭解交易 nonce、重試限制和重啓恢復機制如何協同工作。 1. 僅在條件匹配時重試 Axyl 區分“NonceTooHigh”和“NonceTooLow”。nonce 過高的交易可能正在等待更早的交易,而 nonce 過低的交易可能已經過期。 僅當啓用了批次摘要 v2,且批次中的每筆交易都被計爲“nonce_too_high”時,協調器纔會請求重試。

Rayls Axyl 如何處理重試與恢復

批次失敗後並不總是需要重新執行。在@Rayls Axyl 中,失敗原因很重要。
我研究了 Axyl 源代碼,以瞭解交易 nonce、重試限制和重啓恢復機制如何協同工作。
1. 僅在條件匹配時重試
Axyl 區分“NonceTooHigh”和“NonceTooLow”。nonce 過高的交易可能正在等待更早的交易,而 nonce 過低的交易可能已經過期。
僅當啓用了批次摘要 v2,且批次中的每筆交易都被計爲“nonce_too_high”時,協調器纔會請求重試。
Kato Crypto:
This is the kind of post I wish showed up more often 🙌 What jumps out is that retrying only when every tx reads nonce_too_high quietly assumes nothing else signs from that account, because once a second path does, a gap stops being something you can wait out. And the restart guarantee is only as strong as where the dedup state lives, since rebuilding it inside the process that just died buys at-least-once rather than exactly-once 👀
登入以探索更多內容
加入幣安廣場中的全球加密貨幣用戶
⚡️ 獲取加密貨幣的最新和實用資訊。
💬 受到全球最大加密貨幣交易所的信任。
👍 發掘來自經過驗證創作者的真實見解。
電子郵件 / 電話號碼