1. 条款文件拆分:amendments.cnnl -> 6个独立章节文件 - infrastructure.cnnl (A04-A08) - asset_compliance.cnnl (A09-A16) - governance.cnnl (A17-A24) - xtzh_currency.cnnl (A25-A32) - jurisdiction.cnnl (A33-A38) - ai_compliance.cnnl (A39-A43) 2. constitution_hash 升级:新增 calculate_constitution_merkle_root() 使用 SHA3-384 计算所有激活条款的 Merkle 根(48字节/96位十六进制) 3. L3 存储层对接:state_database_ext.rs v2 - 新增 ConstitutionClauseId 枚举(A01-A56 完整56条) - constitution_ref 字段类型安全验证 - ConstitutionRefValidator 验证器 4. nac_lens 协议对接:constitution-service main.rs v2 - 8个 nac_lens 方法(verify_clause/get_hash/issue_cr等) - TCP 监听 22050 端口 - 完整请求/响应结构体 Issue: #CONSTITUTION-LAYER-002 Closes: 条款拆分/哈希升级/L3对接/nac_lens对接 |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.lock | ||
| Cargo.toml | ||
| ISSUE_020_COMPLETION.md | ||
| README.md | ||
README.md
NAC公链核心模块
已完成100%功能实现
功能特性
✅ 核心功能已实现
✅ 测试通过
✅ 文档完善
版本
v1.0.0 (2026-02-18)
完成度
从初始状态提升到100%