CKB Pulse

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

Preferir
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)

Mais sobre CKB node, RPC and indexer

Ver as 45 deste tema

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.

Tiradas de commits públicos e verificadas contra o commit de onde cada uma veio e o código de hoje do projeto. Lê a fonte antes de confiar numa. Texto sob CC BY 4.0: dá crédito à LusoCryptoLabs, CKB lessons, com uma ligação para a lição. Queres que uma lição seja mudada ou retirada? Abre um issue.