Todas as lições · CKB node, RPC and indexer · Começa aqui · Glossário
Serialize transfers from one account until the previous tx is committedPráticoDe uma correção
De uma correção · Verificação: certa · Verificada em 2026-11-19
When one account sends several transfers in a row (here via `offckb transfer`), a new transfer started before the previous one is committed can pick the same input cell, and the node rejects it with PoolRejectedRBF. This faucet queues claims and polls get_transaction until tx_status is committed, rejected or unknown before building the next transfer.
Porque importa: If a second transfer from the same account is built while the first is still in the pool, it selects the same live input cell and the node rejects it with PoolRejectedRBF, so the claim fails.
Padrão
this.queue = run.then((c) => this.committed(c.hash), () => undefined);Tirado do commit, encurtado.
- Conceitos
- Transaction building and fees, Network and RPC reliability
- Evidência
- De uma correção: de um projeto, verificada contra o commit
- Vista pela primeira vez
- 2026-10-30
- Última mudança
- 2026-10-30
- Ú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-30 · wildanrhmn/ckb-devnet-explorer · mais deste projeto
Mais sobre CKB node, RPC and indexer
- send_transaction error -1111 (PoolRejectedRBF) is a conflict, not "already in pool"
- A rejected or unknown get_transaction status does not make a signed transaction dead
- Check indexer lag with get_indexer_tip before signing
Manténs um projeto de onde esta lição veio? Confirma ou corrige
Citar esta lição
LusoCryptoLabs, "Serialize transfers from one account until the previous tx is committed", CKB lessons, https://pulse.lusocryptolabs.com/learned/node/serialize-transfers-from-one-account-until-the-previous-tx-i, CC BY 4.0, last changed 2026-10-30.