Bitcoin consensus 确认交易、Taproot script 与可用 witness data;追踪聪、识别 inscription envelope 并把内容分配给特定聪的规则,由 ord 或兼容 indexer 执行。
Ordinal theory 按聪被挖出的顺序编号,再按 first-in-first-out 从有序交易 inputs 映射到 outputs。该追踪无需修改 Bitcoin consensus;它只是对同一交易链作出的确定性应用层解释。 [2]
Inscription 分两步创建。Commit transaction 先建立承诺含内容 script 的 Taproot 输出,reveal transaction 再通过 script path 花费它,把 script 和内容公布在 witness data 中。Envelope 使用不会执行的 OP_FALSE OP_IF … OP_ENDIF 分支,并把较大内容拆成每段最多 520 字节的 data pushes。 [1]
内容由 MIME content type 和字节串组成。Inscription ID 是 reveal transaction 的 txid 加 i 和从零开始的索引;若无 pointer field,inscription 分配给相关 input 的第一个聪。该聪随后位于普通 UTXO 中,并通过严格控制 inputs、outputs 顺序和数值的普通 Bitcoin 交易转移。 [1]
Bitcoin full nodes 会验证 Taproot 花费、交易重量及 consensus rules,但 Bitcoin consensus 并不存在 inscription、inscription number 或数字制品所有权这些概念。Indexer 按 ord 规则重建 metadata;只有采用相同应用协议版本和解释时,indexers 才会一致。 [3]
参考项目 ord 提供 index、explorer 和 wallet,仓库把它标为不作担保的实验性软件。其编号处理 cursed inscriptions 等历史边界情形,以及它们在区块 824 544 的 Jubilee 之后被 vindication;因此实际识别应使用 inscription ID,而不只依赖显示编号。 [4]
Witness discount 降低数据的相对成本,却不会消除费用或限制。ord 文档建议内容保持在约 390 000 weight units 以下,因为标准交易必须低于 400 000 weight units;费用随交易大小和 fee rate 变化,这些需求与其他交易争夺同一 blockspace。 [5]
若无 sat control,普通 wallet 可能把含有铭刻聪的 UTXO 选作 input,将其送入 change,或作为 fee 留给矿工。因此官方指南把 ordinal 与 cardinal 资金分开,并警告 Bitcoin Core wallet 不识别 inscription,也不会保护聪的位置。 [5]
验证应从 inscription ID 和已确认的 reveal transaction 开始,检查 envelope、content type、精确内容字节、satpoint 与当前 UTXO,并区分原始 inscription、reinscription、parent-child 关系、delegation 和 recursive content。网页预览或市场挂单本身不能证明这些关系。 [1]
要获得更完整的理解,请将本词条与以下词条结合阅读: Taproot, Satoshi, UTXO, SegWit, Bitcoin Script, Fee Rate. 反向关联还来自: Runes, BRC-20.
01Bitcoin full nodes 会验证 Ordinals Inscriptions 吗?+
Full nodes 验证 Bitcoin 交易、Taproot script 与 witness data,但不执行 ordinal theory,也不把内容分配给特定聪;这由 ord 或兼容 indexer 完成。
02已确认 inscription 的内容可以更改吗?+
已确认 reveal transaction 中的原始字节不能更改。Reinscription 会在同一聪上添加另一条 inscription;delegation 或 recursion 可改变呈现结果,但不会覆盖原始 on-chain 数据。