Todas as lições · CKB node, RPC and indexer · Começa aqui · Glossário
Reconcile a lost send_transaction response by pinned hash, not by rebuildingPráticoDe uma correção
De uma correção · Verificação: em parte certa · Verificada em 2026-11-19
When a send_transaction response is lost (the node may already have accepted the transaction), this commit pins the signed transaction hash and its input outpoints, and recovers by querying get_transaction for that exact hash and get_live_cell for each input instead of building a new payment. Only a 'committed' status ends the intent; rejected, unknown or spent inputs stay 'uncertain' for operator review, because a fresh rebuild from refreshed cells was shown to let a second payment to the same recipient commit.
Porque importa: Building a new payment after a lost response can create a second, different transaction that also commits, paying the same invoice twice.
Padrão
state = "committed" if chain_state == "committed" else "uncertain"Tirado do commit, encurtado.
- Conceitos
- Network and RPC reliability, Transaction building and fees, Indexer queries and cell collection
- Evidência
- De uma correção: de um projeto, verificada contra o commit
- Vista pela primeira vez
- 2026-11-02
- Última mudança
- 2026-11-02
- Última verificação
- 2026-11-19
- Verificação contra o commit
- em parte certa: um núcleo verdadeiro, com uma parte solta ou demasiado larga
Fontes (1)
- 2026-11-02 · Ticoworld/QuotaCell · mais deste projeto
Mais sobre CKB node, RPC and indexer
- Check indexer lag with get_indexer_tip before signing
- get_live_cell may return "unknown" rather than "dead" for a spent output
- send_transaction error -1111 (PoolRejectedRBF) is a conflict, not "already in pool"
Manténs um projeto de onde esta lição veio? Confirma ou corrige
Citar esta lição
LusoCryptoLabs, "Reconcile a lost send_transaction response by pinned hash, not by rebuilding", CKB lessons, https://pulse.lusocryptolabs.com/learned/node/reconcile-a-lost-send-transaction-response-by-pinned-hash-no, CC BY 4.0, last changed 2026-11-02.