setAnchorPeer.sh

This commit is contained in:
Kurt Seifried 2021-03-09 23:40:17 -07:00
parent 1986aa44bf
commit 353f4fc13b
No known key found for this signature in database
GPG key ID: F15CADC4A00F8174

View file

@ -26,6 +26,21 @@ createAnchorPeerUpdate() {
elif [ $ORG -eq 3 ]; then elif [ $ORG -eq 3 ]; then
HOST="peer0.org3.example.com" HOST="peer0.org3.example.com"
PORT=11051 PORT=11051
#
# 4 5 6
#
elif [ $ORG -eq 4 ]; then
HOST="peer0.org4.example.com"
PORT=13051
elif [ $ORG -eq 5 ]; then
HOST="peer0.org5.example.com"
PORT=15051
elif [ $ORG -eq 6 ]; then
HOST="peer0.org6.example.com"
PORT=17051
#
#
#
else else
errorln "Org${ORG} unknown" errorln "Org${ORG} unknown"
fi fi