主题
fabric-x-orderer · 术语表
仅收录本仓库源码 / README / docs 中明确出现的术语。
| 术语 | 含义 | 出处 |
|---|---|---|
| Arma | 本仓库实现的 BFT 共识协议名 | README.md:8-15 |
| Assembler | 4 个角色之一。消费全序批证明流;从 batchers 拉批次;融合为全序分类账(块) | README.md:30-32、node/assembler/assembler.go:32 |
| BA | Batch Attestation,批证明(共识后的全序结果) | README.md:28 |
| BAF | Batch Attestation Fragment,批证明摘要(batcher 发给 consenter) | README.md:23-25 |
BatchID | 批次标识接口(含 Shard/Primary/Seq/Digest) | common/types/types.go:34 |
| Batcher | 4 个角色之一。按 shards 分组;汇总成批;持久化磁盘;发送 BAF 给 consenters | README.md:23-25、node/batcher/batcher.go:54 |
BatcherNodeConfig | Party 内 batcher 节点配置 | config/party_shared_config.go:37-48 |
| Bootstrap | GeneralConfig.Bootstrap,支持 yaml 方法(config/config.go:72-80) | config/local_config.go:75-104 |
| Consenter | 4 个角色之一。运行 BFT 共识;提供 BA 的全序化 | README.md:28、node/consensus/consensus.go:90 |
ConsenterNodeConfig | Party 内 consenter 配置 | config/party_shared_config.go:50-59 |
Configuration | 顶层配置(含 LocalConfig + SharedConfig) | config/config.go:41-43 |
armageddon | 配置生成工具。默认 4 Party、端点 127.0.0.1:7050-7069 | cmd/armageddon/main.go、common/tools/armageddon/armageddon.go:46-75 |
arma | 节点 launcher CLI。4 子命令 router/assembler/batcher/consensus | cmd/arma/main.go、node/server/arma.go:224-233 |
GeneralConfig | 节点通用配置(监听 / TLS / MSP / Bootstrap / 日志) | config/local_config.go:75-104 |
| kingpin | CLI 框架(alecthomas/kingpin v2.2.6) | go.mod、node/server/arma.go:224 |
LocalConfig | 节点本地配置(含 NodeLocalConfig + TLS + 集群设置) | config/local_config.go:69-73 |
NodeLocalConfig | 节点本地配置 struct | config/local_config.go:29-48 |
| Party | 一组节点的逻辑分组(每个 Party 含 router / batchers / consenter / assembler) | config/party_shared_config.go:11-26、common/tools/armageddon/armageddon.go:46-75 |
PartyConfig | Party 共享配置 | config/party_shared_config.go:11-26 |
PartyID | Party ID 类型(uint16,>0) | common/types/types.go:21 |
| Router | 4 个角色之一。接收交易;执行某些验证;分派给 batchers | README.md:21、node/router/router.go:48 |
RouterNodeConfig | Party 内 router 配置 | config/party_shared_config.go:28-35 |
ShardID | Shard ID 类型(uint16,>0;MaxUint16 保留给共识) | common/types/types.go:15 |
SharedConfig | 所有 Party 共享的配置(protobuf) | config/config.go:41-43 |
SmartBFT | BFT 共识实现库(hyperledger-labs/SmartBFT v1.0.1) | go.mod |
TIP
跨包通用术语见 overview/glossary;Fabric-X 整体定位见 fabric-x · 术语表。