Start here · Glossary · Test yourself · Feed
LusoCryptoLabs/cells-resolver ✕
Lessons from LusoCryptoLabs/cells-resolver
github.com/LusoCryptoLabs/cells-resolver
Do you maintain this project? Confirm its lessons in one issue
3 lessons found. All lessons
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 · Sources (2) · 2026-11-18
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 · Sources (1) · 2026-09-25
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 · Sources (1) · 2026-09-24
Text under CC BY 4.0: credit LusoCryptoLabs, CKB lessons, with a link to the lesson. JSON · Want a lesson changed or removed? Open an issue.