CKB Pulse
经验

CKB 学到了什么

从这里开始 · 术语表 · 自测 · 订阅

经验用英文撰写,请用英文搜索。

tydeptrai21042004/ckb-skill

来自 tydeptrai21042004/ckb-skill 的经验

github.com/tydeptrai21042004/ckb-skill

你维护这个项目吗? 在一个 issue 中确认它的经验

找到 2 条经验。 全部经验

get_live_cell may return "unknown" rather than "dead" for a spent output实践再次出现

On CKB node 0.210.0 devnet, get_live_cell for an output already consumed by a committed transaction returned status "unknown" instead of "dead", so a check requiring "dead" fails. Accept "dead" or "unknown" and prove consumption by calling get_transaction on the creating and consuming transactions, confirming both are committed and that the consumer's inputs reference the out point exactly once.

#Indexer queries and cell collection #Network and RPC reliability · 来源(3) · 2026-10-30

Computing cell confirmations from get_transaction block_hash and tip header实践来自一次修复

To get a cell's confirmation count over raw CKB JSON-RPC, read tx_status.block_hash from get_transaction, look up its number with get_header, then compute tip − included + 1 using get_tip_header; treat a missing block_hash as 0 confirmations. This commit's helper also retries get_transaction without the "0x2" verbosity param if the node rejects it, and treats get_live_cell as live only when status === "live".

#Network and RPC reliability #Indexer queries and cell collection · 来源(1) · 2026-09-22

文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 JSON · 想修改或撤下某条经验?请提交 issue。