mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-27 12:05:10 +00:00
Remove configtx.yaml anchor peers from test-network
These values were only used by configtxgen's --outputAnchorPeerUpdate function and should not be set in a channel genesis block This is because a peer cannot be an anchor peer for a channel until it has joined that channel and it can't join a channel until the genesis block has been created. FAB-18381 Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
This commit is contained in:
parent
460579ea7c
commit
7c7372da8c
2 changed files with 0 additions and 22 deletions
|
|
@ -36,10 +36,3 @@ Organizations:
|
||||||
Endorsement:
|
Endorsement:
|
||||||
Type: Signature
|
Type: Signature
|
||||||
Rule: "OR('Org3MSP.peer')"
|
Rule: "OR('Org3MSP.peer')"
|
||||||
|
|
||||||
AnchorPeers:
|
|
||||||
# AnchorPeers defines the location of peers which can be used
|
|
||||||
# for cross org gossip communication. Note, this value is only
|
|
||||||
# encoded in the genesis block in the Application section context
|
|
||||||
- Host: peer0.org3.example.com
|
|
||||||
Port: 11051
|
|
||||||
|
|
|
||||||
|
|
@ -71,14 +71,6 @@ Organizations:
|
||||||
Type: Signature
|
Type: Signature
|
||||||
Rule: "OR('Org1MSP.peer')"
|
Rule: "OR('Org1MSP.peer')"
|
||||||
|
|
||||||
# leave this flag set to true.
|
|
||||||
AnchorPeers:
|
|
||||||
# AnchorPeers defines the location of peers which can be used
|
|
||||||
# for cross org gossip communication. Note, this value is only
|
|
||||||
# encoded in the genesis block in the Application section context
|
|
||||||
- Host: peer0.org1.example.com
|
|
||||||
Port: 7051
|
|
||||||
|
|
||||||
- &Org2
|
- &Org2
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -106,13 +98,6 @@ Organizations:
|
||||||
Type: Signature
|
Type: Signature
|
||||||
Rule: "OR('Org2MSP.peer')"
|
Rule: "OR('Org2MSP.peer')"
|
||||||
|
|
||||||
AnchorPeers:
|
|
||||||
# AnchorPeers defines the location of peers which can be used
|
|
||||||
# for cross org gossip communication. Note, this value is only
|
|
||||||
# encoded in the genesis block in the Application section context
|
|
||||||
- Host: peer0.org2.example.com
|
|
||||||
Port: 9051
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# SECTION: Capabilities
|
# SECTION: Capabilities
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue