mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-20 16:45:09 +00:00
solve the warning in the first-network project
Signed-off-by: bjzhang03 <bjzhang03@foxmail.com>
This commit is contained in:
parent
7fd95f6a25
commit
e8cecbab07
2 changed files with 12 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ function generateChannelArtifacts() {
|
||||||
# Note: For some unknown reason (at least for now) the block file can't be
|
# Note: For some unknown reason (at least for now) the block file can't be
|
||||||
# named orderer.genesis.block or the orderer will fail to launch!
|
# named orderer.genesis.block or the orderer will fail to launch!
|
||||||
set -x
|
set -x
|
||||||
configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
|
configtxgen -profile TwoOrgsOrdererGenesis -channelID testchainid -outputBlock ./channel-artifacts/genesis.block
|
||||||
res=$?
|
res=$?
|
||||||
set +x
|
set +x
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,17 @@ Organizations:
|
||||||
|
|
||||||
MSPDir: crypto-config/peerOrganizations/org3.example.com/msp
|
MSPDir: crypto-config/peerOrganizations/org3.example.com/msp
|
||||||
|
|
||||||
|
Policies:
|
||||||
|
Readers:
|
||||||
|
Type: Signature
|
||||||
|
Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')"
|
||||||
|
Writers:
|
||||||
|
Type: Signature
|
||||||
|
Rule: "OR('Org3MSP.admin', 'Org3MSP.client')"
|
||||||
|
Admins:
|
||||||
|
Type: Signature
|
||||||
|
Rule: "OR('Org3MSP.admin')"
|
||||||
|
|
||||||
AnchorPeers:
|
AnchorPeers:
|
||||||
# AnchorPeers defines the location of peers which can be used
|
# AnchorPeers defines the location of peers which can be used
|
||||||
# for cross org gossip communication. Note, this value is only
|
# for cross org gossip communication. Note, this value is only
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue