mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[FAB-17504] add Organizations.<Org>.OrdererEndpoints and remove Orderer.Addresses (#125)
Description The use of Orderer.Addresses in configtx.yaml is deprecated, and Organizations.<Org>.OrdererEndpoints should be used instead. Therefore, update all the fabric-samples configtx.yaml files. Related issues https://jira.hyperledger.org/browse/FAB-17504 Signed-off-by: xu wu <wuxu1103@163.com>
This commit is contained in:
parent
f3fc08d95f
commit
7f5f5e6c66
3 changed files with 9 additions and 8 deletions
|
|
@ -41,6 +41,9 @@ Organizations:
|
|||
Type: Signature
|
||||
Rule: "OR('OrdererMSP.admin')"
|
||||
|
||||
OrdererEndpoints:
|
||||
- orderer.example.com:7050
|
||||
|
||||
- &Org1
|
||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||
# of the fabric.git development environment
|
||||
|
|
@ -215,9 +218,6 @@ Orderer: &OrdererDefaults
|
|||
# Orderer Type: The orderer implementation to start
|
||||
OrdererType: etcdraft
|
||||
|
||||
Addresses:
|
||||
- orderer.example.com:7050
|
||||
|
||||
# Batch Timeout: The amount of time to wait before creating a batch
|
||||
BatchTimeout: 2s
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ Organizations:
|
|||
Type: Signature
|
||||
Rule: "OR('orderer.admin')"
|
||||
|
||||
OrdererEndpoints:
|
||||
- irs-orderer:7050
|
||||
|
||||
- &partya
|
||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||
# of the fabric.git development environment
|
||||
|
|
@ -324,9 +327,6 @@ Orderer: &OrdererDefaults
|
|||
# Available types are "solo" and "kafka"
|
||||
OrdererType: solo
|
||||
|
||||
Addresses:
|
||||
- irs-orderer:7050
|
||||
|
||||
# Batch Timeout: The amount of time to wait before creating a batch
|
||||
BatchTimeout: 2s
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ Organizations:
|
|||
Type: Signature
|
||||
Rule: "OR('OrdererMSP.admin')"
|
||||
|
||||
OrdererEndpoints:
|
||||
- orderer.example.com:7050
|
||||
|
||||
- &Org1
|
||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||
# of the fabric.git development environment
|
||||
|
|
@ -221,8 +224,6 @@ Orderer: &OrdererDefaults
|
|||
Port: 7050
|
||||
ClientTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
||||
ServerTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
||||
Addresses:
|
||||
- orderer.example.com:7050
|
||||
|
||||
# Batch Timeout: The amount of time to wait before creating a batch
|
||||
BatchTimeout: 2s
|
||||
|
|
|
|||
Loading…
Reference in a new issue