Occupied capacity minimum for every output基础来自一次修复
来自一次修复 · 核对结果:正确 · 核对于 2026-11-19
Every output must hold at least its occupied capacity: (8 for the capacity field + 33 + lock args length, plus 33 + type args length if a type script is present, plus data length) × 10^8 shannons. That is 61 CKB for a plain secp256k1 lock with 20 byte args and 63 CKB for a JoyID lock. A fixed payout or fee output set below the recipient lock's minimum is rejected, so choose a constant at or above the largest minimum among the locks you accept.
为什么重要: A fee or payout output set below the recipient lock's occupied capacity is rejected, so the whole transaction cannot be built or submitted.
同一提交中改动了测试
它与修复在一起,我们没有运行它。
- psawyerberlin/dead-man-switch:
acceptance/aiworker-dms-core/wiring.test.mjs,acceptance/aiworker-dms-e2e/wiring.test.mjs,acceptance/aiworker-dms-notifier/wiring.test.mjs,acceptance/aiworker-dms-ui/wiring.test.mjs - toastmanAu/daowow:
apps/web/test/claim-codec.test.js
- 概念
- Capacity and cell size, Transaction building and fees
- 证据
- 来自一次修复: 来自一个项目,已对照其提交核对
- 首次出现
- 2026-11-14
- 最近改动
- 2026-11-15
- 最近核对
- 2026-11-19
- 对照提交的核对结果
- 正确:这条经验出自该提交,并且在今天的代码中仍然成立
来源(2)
- 2026-11-15 · psawyerberlin/dead-man-switch · 这个项目的更多经验
- 2026-11-14 · toastmanAu/daowow · 这个项目的更多经验
更多关于Other
- Recompute occupied capacity when a state cell grows in a transition
- Nervos DAO phase-one withdrawal layout
- Nervos DAO phase-two withdrawal since and amount
引用这条经验
LusoCryptoLabs, "Occupied capacity minimum for every output", CKB lessons, https://pulse.lusocryptolabs.com/learned/other/occupied-capacity-minimum-for-every-output, CC BY 4.0, last changed 2026-11-15.