From dd833e3530fe7e2e60e993574ba2479530b20884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Mart=C3=ADn=20Garc=C3=ADa=20Del=20Angel?= Date: Wed, 22 Nov 2017 14:45:27 -0600 Subject: [PATCH] RX77 --- basic-network/config/Org1MSPanchors.tx | Bin 284 -> 0 bytes basic-network/config/channel.tx | Bin 368 -> 368 bytes basic-network/config/genesis.block | Bin 6364 -> 6360 bytes basic-network/configtx.yaml | 4 +- basic-network/crypto-config.yaml | 2 +- ...ec362c02c424c1212746912e7b1cb3b17f83ec6_sk | 5 --- ...da6f3b6b74925ed0d23061af4899409ba46ae6a_sk | 5 +++ .../example.com/ca/ca.example.com-cert.pem | 14 +++--- .../msp/admincerts/Admin@example.com-cert.pem | 14 +++--- .../msp/cacerts/ca.example.com-cert.pem | 14 +++--- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 +++++----- .../msp/admincerts/Admin@example.com-cert.pem | 14 +++--- .../msp/cacerts/ca.example.com-cert.pem | 14 +++--- ...558dc7859c4fe458e262e674a6c23f242ea33d1_sk | 5 +++ ...c65f323cdbcedcff270aaaedb1322a31f34f4c9_sk | 5 --- .../signcerts/orderer.example.com-cert.pem | 15 +++---- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 +++++----- .../orderers/orderer.example.com/tls/ca.crt | 24 +++++----- .../orderer.example.com/tls/server.crt | 14 +++--- .../orderer.example.com/tls/server.key | 6 +-- ...a8d0d7672785b685cb503bcb95e53dcc279fba7_sk | 5 +++ ...c72b6006dea84fceccf7bcc9fa1e866227f4af4_sk | 5 --- .../tlsca/tlsca.example.com-cert.pem | 24 +++++----- .../msp/admincerts/Admin@example.com-cert.pem | 14 +++--- .../msp/cacerts/ca.example.com-cert.pem | 14 +++--- ...09d6165268fba153211af1281f00d45f54b1022_sk | 5 +++ ...48eca91c0456faa5f899fe6fbda1ab5157bfb1b_sk | 5 --- .../msp/signcerts/Admin@example.com-cert.pem | 14 +++--- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 +++++----- .../users/Admin@example.com/tls/ca.crt | 24 +++++----- .../users/Admin@example.com/tls/server.crt | 14 +++--- .../users/Admin@example.com/tls/server.key | 6 +-- ...2edf430b45b6e937f8e5cd429938f0f6e2af243_sk | 5 --- ...01851d14504d31aad1b2ddddbac6a57365e497c_sk | 5 +++ .../ca/ca.org1.example.com-cert.pem | 25 ++++++----- .../ca/org1.example.com-cert.pem | 14 ++++++ .../Admin@org1.example.com-cert.pem | 24 +++++----- .../msp/cacerts/ca.org1.example.com-cert.pem | 26 +++++------ .../tlsca.org1.example.com-cert.pem | 26 +++++------ .../Admin@org1.example.com-cert.pem | 24 +++++----- .../msp/cacerts/ca.org1.example.com-cert.pem | 26 +++++------ ...72a0ccfbfb42727480fb8c8d0223af321a7893d_sk | 5 +++ ...f773b2e5e58fa89f6f39098a57ebf008ae39cff_sk | 5 --- .../signcerts/peer0.org1.example.com-cert.pem | 24 +++++----- .../tlsca.org1.example.com-cert.pem | 26 +++++------ .../peers/peer0.org1.example.com/tls/ca.crt | 26 +++++------ .../peer0.org1.example.com/tls/server.crt | 18 ++++---- .../peer0.org1.example.com/tls/server.key | 6 +-- .../Admin@org1.example.com-cert.pem | 14 ------ .../msp/cacerts/ca.org1.example.com-cert.pem | 15 ------- ...0a7d85d8df0173ba7489e6003f12cd256ce8797_sk | 5 --- .../signcerts/peer1.org1.example.com-cert.pem | 14 ------ .../tlsca.org1.example.com-cert.pem | 15 ------- .../peers/peer1.org1.example.com/tls/ca.crt | 15 ------- .../peer1.org1.example.com/tls/server.crt | 15 ------- .../peer1.org1.example.com/tls/server.key | 5 --- ...b4de1b0427cba5068243b4f0d694562421c4758_sk | 5 --- ...3c8d2c591f745d1babc4d6d9cce0a1acc168acb_sk | 5 +++ .../tlsca/tlsca.org1.example.com-cert.pem | 26 +++++------ .../Admin@org1.example.com-cert.pem | 24 +++++----- .../msp/cacerts/ca.org1.example.com-cert.pem | 26 +++++------ ...64d808fcfdc504bf1a27bae6baf9f77d0493541_sk | 5 --- ...91e62130f8008a0bf996e4e4b84cd097a747fec_sk | 5 +++ .../signcerts/Admin@org1.example.com-cert.pem | 24 +++++----- .../tlsca.org1.example.com-cert.pem | 26 +++++------ .../users/Admin@org1.example.com/tls/ca.crt | 26 +++++------ .../Admin@org1.example.com/tls/server.crt | 24 +++++----- .../Admin@org1.example.com/tls/server.key | 6 +-- .../User1@org1.example.com-cert.pem | 24 +++++----- .../msp/cacerts/ca.org1.example.com-cert.pem | 26 +++++------ ...e2c002434d84cc1e82d7d25a4e8cc4fcd2a477f_sk | 5 --- ...7c97e90f3952e379497dc55eb903f31b50abc83_sk | 5 +++ .../signcerts/User1@org1.example.com-cert.pem | 24 +++++----- .../tlsca.org1.example.com-cert.pem | 26 +++++------ .../users/User1@org1.example.com/tls/ca.crt | 26 +++++------ .../User1@org1.example.com/tls/server.crt | 16 +++---- .../User1@org1.example.com/tls/server.key | 6 +-- basic-network/docker-compose.yml | 41 ------------------ basic-network/start.sh | 4 +- 79 files changed, 509 insertions(+), 636 deletions(-) delete mode 100644 basic-network/config/Org1MSPanchors.tx delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/ca/2260766309943e1c2a6345473ec362c02c424c1212746912e7b1cb3b17f83ec6_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/ca/a0606a4a860a1e31c90a23788da6f3b6b74925ed0d23061af4899409ba46ae6a_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/4d2f776c0fef8eac3f460a7c3558dc7859c4fe458e262e674a6c23f242ea33d1_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/5ee33fe917cbaddd2f2d1ad88c65f323cdbcedcff270aaaedb1322a31f34f4c9_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/tlsca/8d2186556c85d515e737d0c0da8d0d7672785b685cb503bcb95e53dcc279fba7_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/tlsca/d436e3a1bc33e0f4643eb1342c72b6006dea84fceccf7bcc9fa1e866227f4af4_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/1deeab5433fa6e5f045eb763109d6165268fba153211af1281f00d45f54b1022_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/fc346840aeb25c78886b6754348eca91c0456faa5f899fe6fbda1ab5157bfb1b_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/ca/220cb74da5de4d4c63f9923d22edf430b45b6e937f8e5cd429938f0f6e2af243_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/ca/4239aa0dcd76daeeb8ba0cda701851d14504d31aad1b2ddddbac6a57365e497c_sk create mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/ca/org1.example.com-cert.pem create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/46be1d569fe68f33e517c9e0072a0ccfbfb42727480fb8c8d0223af321a7893d_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/608c93422c75dac1af6b448c5f773b2e5e58fa89f6f39098a57ebf008ae39cff_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/admincerts/Admin@org1.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/ef09094863d3b68578fe860690a7d85d8df0173ba7489e6003f12cd256ce8797_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/signcerts/peer1.org1.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt delete mode 100644 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.crt delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/tlsca/b5360a3b48815ba662b1ab84db4de1b0427cba5068243b4f0d694562421c4758_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/tlsca/ed3fd82393e95fc2c475afc113c8d2c591f745d1babc4d6d9cce0a1acc168acb_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/5899f49892ab9ae87158a7e9a64d808fcfdc504bf1a27bae6baf9f77d0493541_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/1e7385402dc6e129ad98e1b85e2c002434d84cc1e82d7d25a4e8cc4fcd2a477f_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/c75bd6911aca808941c3557ee7c97e90f3952e379497dc55eb903f31b50abc83_sk diff --git a/basic-network/config/Org1MSPanchors.tx b/basic-network/config/Org1MSPanchors.tx deleted file mode 100644 index 6f48b5a843bd9928c1eac5d55b5a31e47b2a113f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 284 zcmd;@$;8Fa#mm8@#F<-}oROH9mzpEg%EZ;g#DydfE)>ee?O0HdlbM`Yl9`_;8yp~{FU8Kq3}P@SadWW;r6#7N78OG{;YFDx5Dpg?n`26DW*$&N3(At3 z%_ua35!L7pMxfa>2(t@07^TdBO7fC3@{0meL1w87$#O|^i4_1j2738GH|V8SB<2?6 Vr0ON-=L&S2OTmmM&s8wj0RZF4NiF~Y diff --git a/basic-network/config/channel.tx b/basic-network/config/channel.tx index 01139fb7ed1c64bcb4ba6785b62450af8b0b5b8d..bba64bed8be75342de09936f3238b24893e6fb6f 100644 GIT binary patch delta 35 rcmeys^npo$>n#&kBv&{GlN1}rk7e`EP82vjS(#CB;th|n#&kBv&{GlN1}rxt=Q*CJLOM_}_Kn4VB3*j5+|$+6=S+ diff --git a/basic-network/config/genesis.block b/basic-network/config/genesis.block index 800ae69d97c10d938199a70cd928b549f3982d99..5c47c782b8423470c9729fe206947b425b353893 100644 GIT binary patch delta 2769 zcmai0NzCJB8Sd;;&%(^#>CEt}v@^rBhyH_NJGPTlQ^DsYUgFP5oXv3&!h7N@PGUP= zK>Py|2W~B>=-dz3qMf*!nKK-=%#y>87`uBf+{lvds`|Bsav-fQb z`38o34MQ^IsnbU;9N9m4`tRTR>d#KxI1@QxWKE3ea%w;R5eKc|7-7|2hp3} z=9;csBS_LB2$Lcy0(A`BG8&de5f)iBak5U-G0L?XxQQEk`+HY^_;OJH(7}TrIQOYP z>g)I2hkRN3-m@=L_y2P5>nQR9y7xRREygeUU@uevoMA1ELB*TjV6`?eXGPo@*akad^(5SFe#3ls~5wImx`Z0aPzzc z>3|2=fI~nE`^7&W*e||#^v1^!8lsWM`3@e2eg%x0lS&QE7WQyE6b|a#D2i(p-&&GF zR`dE>Cy{cYXEz(3$dagCG4&Lo$X0vf3{odrPop7KS>UXv0(XQtS1lA-$$I*$ms*XdSpzSM=m5NFud1ZKODZq^boK|20RrY+((ZF8%q63lpqY}Fm_K_5Ltry3UOm@&u$~CJ*}GkqrFB~8 zv6VTai(g!Nf60z}{@URXv)x524V$e|Pzxwlp+!R+Iwr$(0BkT7B$VlhSV`)}X{<(E zqh4cuO%L>{H@AobHt4{pzo6B%*%>BdYp`9J<8ggODGKDmg!RTOQu5vbU7saSBn10D~DZwv1Tm{$76~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+-)aUwfPGSLPpcP*xnoecIZv2AzFUxSpWe!}zUUeuXRC;Jcuh>Fxr3^munr9( z)Y&!a?E)<@f32*GMt5S(yVPXRl`#ihG}<`DF`ETo+7+qkAYGxbB4lf%;pvuuGf>tP ylbwM&UUy2uq!_&40gsf_qiFdq @@ -22,7 +22,5 @@ sleep ${FABRIC_START_TIMEOUT} # Create the channel docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel create -o orderer.example.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx -docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer1.org1.example.com peer channel create -o orderer.example.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx - # Join peer0.org1.example.com to the channel. docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel join -b mychannel.block