CKB Pulse
经验

CKB 学到了什么

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

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

perun-network/perun-ckb-backend

来自 perun-network/perun-ckb-backend 的经验

github.com/perun-network/perun-ckb-backend

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

找到 1 条经验。 全部经验

Do not detect DER signatures by a leading 0x30 byte实践来自一次修复

When converting secp256k1 signatures to DER for a CKB contract (here the Perun channel script, which uses k256 and expects low-S), a 64 or 65 byte compact R||S(||V) signature can begin with 0x30 because R is arbitrary. Dispatch on the fixed lengths first, and parse anything else with a full asn1.Unmarshal that has no trailing bytes, followed by a check that R and S lie in [1, n).

#Witnesses and signatures #Data encoding (molecule, hex, bigints) · 来源(1) · 2026-11-10

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