CKB Pulse

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

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

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, "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.

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.