Todas as lições · CKB node, RPC and indexer · Começa aqui · Glossário
Conflict an orphaned transaction's input on the winning branch when testing a reorg rollbackAvançadoDe uma correção
De uma correção · Verificação: certa · Verificada em 2026-11-19
In a CKB devnet reorg test, transactions from detached blocks can return to the txpool and be committed again on the winning branch, which hides the rollback you want to observe. Have the winning branch spend one input of the orphaned transaction, such as its fee input, before the branches reconnect. Resubmitting the old transaction is then rejected with TransactionFailedToResolve (-301), and you must rebuild it with fresh funding.
Porque importa: Without a conflicting spend, the orphaned transaction can be recommitted through the txpool after the reorg, so the test cannot show the rolled-back state.
- Conceitos
- Testing and devnet, Indexer queries and cell collection
- Evidência
- De uma correção: de um projeto, verificada contra o commit
- Vista pela primeira vez
- 2026-10-10
- Última mudança
- 2026-10-10
- Última verificação
- 2026-11-19
- Verificação contra o commit
- certa: a lição sai do commit e continua a valer no código de hoje
Fontes (1)
- 2026-10-10 · Tactus-Labs/tactus-o1 · mais deste projeto
Mais sobre CKB node, RPC and indexer
- Indexer free cell discovery by block scan plus get_live_cell on a local chain
- Indexer RPC module must be listed in ckb.toml rpc modules for get_cells on devnet
- Never pass the terminal "0x" cursor back to indexer get_cells
Manténs um projeto de onde esta lição veio? Confirma ou corrige
Citar esta lição
LusoCryptoLabs, "Conflict an orphaned transaction's input on the winning branch when testing a reorg rollback", CKB lessons, https://pulse.lusocryptolabs.com/learned/node/conflict-an-orphaned-transaction-s-input-on-the-winning-bran, CC BY 4.0, last changed 2026-10-10.