CKB Pulse
Lições

O que a CKB aprendeu

Começa aqui · Glossário · Testa-te · Feed

As lições estão escritas em inglês, por isso pesquise em inglês.

LusoCryptoLabs/cells-resolver

Lições de LusoCryptoLabs/cells-resolver

github.com/LusoCryptoLabs/cells-resolver

Manténs este projeto? Confirma as lições dele num só issue

3 lições encontradas. Todas as lições

send_transaction error -1111 (PoolRejectedRBF) is a conflict, not "already in pool"PráticoVerificada pelo dono

CKB's send_transaction returns -1107 when the same tx is already in the pool, but -1111 (PoolRejectedRBF) when a different pool tx spends one of its inputs and this tx cannot replace it. Treating -1111 like -1107 makes a client resend a tx whose input is gone and only notice the failure much later. Fiber now reports it as a conflict (failing a funding tx at once) while closing txs keep the old handling.

#Network and RPC reliability #Transaction building and fees · Fontes (2) · 2026-11-18

Use findCellsOnChain, not findCells, for block range queries in CCCPráticoVerificada pelo dono

In CCC, client.findCells merges the client's local cache of cells it has sent, and its search key takes no blockRange filter. To list live cells created in a block range, call client.findCellsOnChain with filter.blockRange set to [from, to), where the end is exclusive. This queries the indexer directly.

#Indexer queries and cell collection · Fontes (1) · 2026-09-25

Give light clients the committing block of a cell, not just its outpointPráticoVerificada pelo dono

A CKB light client that only watches scripts cannot look a cell up by outpoint, so a service that hands one a cell should also give the block number and hash of the transaction that created it. The client can then fetch that transaction by hash and watch for the cell being spent from that block, instead of scanning from genesis.

#Indexer queries and cell collection #Network and RPC reliability · Fontes (1) · 2026-09-24

Texto sob CC BY 4.0: dá crédito à LusoCryptoLabs, CKB lessons, com uma ligação para a lição. JSON · Queres que uma lição seja mudada ou retirada? Abre um issue.