【发布时间】:2018-03-20 08:30:50
【问题描述】:
当我查看 cryptogen(a fabric command) 配置文件时。我看到那里的符号。
Profiles:
SampleInsecureSolo:
Orderer:
<<: *OrdererDefaults ## what is the `<<`
Organizations:
- *ExampleCom ## what is the `*`
Consortiums:
SampleConsortium:
Organizations:
- *Org1ExampleCom
- *Org2ExampleCom
上面有两个符号<< 和*。
Application: &ApplicationDefaults # what is the `&` mean
Organizations:
如您所见,还有另一个符号&。
我不知道有什么意思。即使查看源代码我也没有得到任何信息 (fabric/common/configtx/tool/configtxgen/main.go)
【问题讨论】: