2
0

scenario.html 222 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <link rel="stylesheet" href="./../../templates/html/report.css" />
  5. <title>Scenario documentation</title>
  6. </head>
  7. <body>
  8. <div>
  9. <h1>Bootstrap a development network with 4 peers (2 orgs) and 1 orderer (1 org), each having a single independent root of trust (No fabric-ca, just openssl) -- @1.1 Orderer Options</h1>
  10. <hr/>
  11. <ul id="navigation">
  12. <li class="passed"><a href="#Step 1">Step 1: Given the orderer network has organizations</a></li>
  13. <li class="passed"><a href="#Step 2">Step 2: And user requests role of orderer admin by creating a key and csr for orderer and ac</a></li>
  14. <li class="passed"><a href="#Step 3">Step 3: And the peer network has organizations</a></li>
  15. <li class="passed"><a href="#Step 4">Step 4: And a ordererBootstrapAdmin is identified and given access to all public certificate</a></li>
  16. <li class="passed"><a href="#Step 5">Step 5: And the ordererBootstrapAdmin creates a cert alias &#34;bootstrapCertAlias&#34; for orderer </a></li>
  17. <li class="passed"><a href="#Step 6">Step 6: And the ordererBootstrapAdmin generates a GUUID to identify the orderer system chain</a></li>
  18. <li class="passed"><a href="#Step 7">Step 7: And the ordererBootstrapAdmin creates a consortium &#34;consortium1&#34; (network name) for </a></li>
  19. <li class="passed"><a href="#Step 8">Step 8: And the ordererBootstrapAdmin using cert alias &#34;bootstrapCertAlias&#34; creates the gene</a></li>
  20. <li class="passed"><a href="#Step 9">Step 9: And the orderer admins inspect and approve the genesis block for chain &#34;OrdererSyste</a></li>
  21. <li class="passed"><a href="#Step 10">Step 10: And the orderer admins use the genesis block for chain &#34;OrdererSystemChainId&#34; to con</a></li>
  22. <li class="passed"><a href="#Step 11">Step 11: And user requests role for peer by creating a key and csr for peer and acquires sign</a></li>
  23. <li class="passed"><a href="#Step 12">Step 12: And we compose &#34;docker-compose-next-4.yml&#34;</a></li>
  24. <li class="passed"><a href="#Step 13">Step 13: And I wait &#34;0&#34; seconds</a></li>
  25. <li class="passed"><a href="#Step 14">Step 14: And the following application developers are defined for peer organizations and each</a></li>
  26. <li class="passed"><a href="#Step 15">Step 15: And the user &#34;dev0Org0&#34; creates a peer template &#34;template1&#34; with chaincode deploymen</a></li>
  27. <li class="passed"><a href="#Step 16">Step 16: And the user &#34;dev0Org0&#34; creates an peer anchor set &#34;anchors1&#34; for channel &#34;com.acme.</a></li>
  28. <li class="passed"><a href="#Step 17">Step 17: And the user &#34;dev0Org0&#34; creates a ConfigUpdateEnvelope &#34;createChannelConfigUpdate1&#34;</a></li>
  29. <li class="passed"><a href="#Step 18">Step 18: And the user &#34;dev0Org0&#34; collects signatures for ConfigUpdateEnvelope &#34;createChannelC</a></li>
  30. <li class="passed"><a href="#Step 19">Step 19: And the user &#34;dev0Org0&#34; creates a ConfigUpdate Tx &#34;configUpdateTx1&#34; using cert alias</a></li>
  31. <li class="passed"><a href="#Step 20">Step 20: And the user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; broadcasts ConfigUpdate Tx &#34;</a></li>
  32. <li class="passed"><a href="#Step 21">Step 21: And I wait &#34;2&#34; seconds</a></li>
  33. <li class="passed"><a href="#Step 22">Step 22: When user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; connects to deliver function on </a></li>
  34. <li class="passed"><a href="#Step 23">Step 23: And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properti</a></li>
  35. <li class="passed"><a href="#Step 24">Step 24: Then user &#34;dev0Org0&#34; should get a delivery &#34;genesisBlockForMyNewChannel&#34; from &#34;ordere</a></li>
  36. <li class="passed"><a href="#Step 25">Step 25: Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;dev0Org1&#34;</a></li>
  37. <li class="passed"><a href="#Step 26">Step 26: Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer0Admin&#34;</a></li>
  38. <li class="passed"><a href="#Step 27">Step 27: Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer1Admin&#34;</a></li>
  39. <li class="passed"><a href="#Step 28">Step 28: When user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel us</a></li>
  40. <li class="passed"><a href="#Step 29">Step 29: Then user &#34;peer0Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peer</a></li>
  41. <li class="passed"><a href="#Step 30">Step 30: When user &#34;peer1Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel us</a></li>
  42. <li class="passed"><a href="#Step 31">Step 31: Then user &#34;peer1Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peer</a></li>
  43. <li class="passed"><a href="#Step 32">Step 32: Given user &#34;dev0Org1&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer2Admin&#34;</a></li>
  44. <li class="passed"><a href="#Step 33">Step 33: Given user &#34;dev0Org1&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer3Admin&#34;</a></li>
  45. <li class="passed"><a href="#Step 34">Step 34: When user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel us</a></li>
  46. <li class="passed"><a href="#Step 35">Step 35: Then user &#34;peer2Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peer</a></li>
  47. <li class="passed"><a href="#Step 36">Step 36: When user &#34;peer3Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel us</a></li>
  48. <li class="passed"><a href="#Step 37">Step 37: Then user &#34;peer3Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peer</a></li>
  49. <li class="passed"><a href="#Step 38">Step 38: When user &#34;peer0Admin&#34; creates a chaincode spec &#34;cc_spec&#34; with name &#34;example02&#34; of ty</a></li>
  50. <li class="passed"><a href="#Step 39">Step 39: And user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; creates a install proposal </a></li>
  51. <li class="passed"><a href="#Step 40">Step 40: And user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; sends proposal &#34;installProp</a></li>
  52. <li class="passed"><a href="#Step 41">Step 41: Then user &#34;peer0Admin&#34; expects proposal responses &#34;installProposalResponses&#34; with sta</a></li>
  53. <li class="passed"><a href="#Step 42">Step 42: Given user &#34;peer0Admin&#34; gives &#34;cc_spec&#34; to user &#34;peer2Admin&#34;</a></li>
  54. <li class="passed"><a href="#Step 43">Step 43: When user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; creates a install proposal </a></li>
  55. <li class="passed"><a href="#Step 44">Step 44: And user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; sends proposal &#34;installProp</a></li>
  56. <li class="passed"><a href="#Step 45">Step 45: Then user &#34;peer2Admin&#34; expects proposal responses &#34;installProposalResponses&#34; with sta</a></li>
  57. <li class="passed"><a href="#Step 46">Step 46: Given user &#34;peer0Admin&#34; gives &#34;cc_spec&#34; to user &#34;dev0Org0&#34;</a></li>
  58. <li class="passed"><a href="#Step 47">Step 47: When user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a instantiate proposal &#34;</a></li>
  59. <li class="passed"><a href="#Step 48">Step 48: And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;instantiatePropo</a></li>
  60. <li class="passed"><a href="#Step 49">Step 49: Then user &#34;dev0Org0&#34; expects proposal responses &#34;instantiateProposalResponses&#34; with s</a></li>
  61. <li class="passed"><a href="#Step 50">Step 50: And user &#34;dev0Org0&#34; expects proposal responses &#34;instantiateProposalResponses&#34; each h</a></li>
  62. <li class="passed"><a href="#Step 51">Step 51: When the user &#34;dev0Org0&#34; creates transaction &#34;instantiateTx1&#34; from proposal &#34;instanti</a></li>
  63. <li class="passed"><a href="#Step 52">Step 52: And the user &#34;dev0Org0&#34; broadcasts transaction &#34;instantiateTx1&#34; to orderer &#34;orderer0</a></li>
  64. <li class="passed"><a href="#Step 53">Step 53: And I wait &#34;2&#34; seconds</a></li>
  65. <li class="passed"><a href="#Step 54">Step 54: And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properti</a></li>
  66. <li class="passed"><a href="#Step 55">Step 55: Then user &#34;dev0Org0&#34; should get a delivery &#34;deliveredInstantiateTx1Block&#34; from &#34;order</a></li>
  67. <li class="passed"><a href="#Step 56">Step 56: And I wait &#34;1&#34; seconds</a></li>
  68. <li class="passed"><a href="#Step 57">Step 57: When user &#34;dev0Org0&#34; creates a chaincode invocation spec &#34;querySpec1&#34; using spec &#34;cc_</a></li>
  69. <li class="passed"><a href="#Step 58">Step 58: And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a proposal &#34;queryProposa</a></li>
  70. <li class="passed"><a href="#Step 59">Step 59: And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;queryProposal1&#34; </a></li>
  71. <li class="passed"><a href="#Step 60">Step 60: Then user &#34;dev0Org0&#34; expects proposal responses &#34;queryProposal1Responses&#34; with status</a></li>
  72. <li class="passed"><a href="#Step 61">Step 61: And user &#34;dev0Org0&#34; expects proposal responses &#34;queryProposal1Responses&#34; each have t</a></li>
  73. <li class="passed"><a href="#Step 62">Step 62: When user &#34;dev0Org0&#34; creates a chaincode invocation spec &#34;invocationSpec1&#34; using spec</a></li>
  74. <li class="passed"><a href="#Step 63">Step 63: And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a proposal &#34;invokePropos</a></li>
  75. <li class="passed"><a href="#Step 64">Step 64: And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;invokeProposal1&#34;</a></li>
  76. <li class="passed"><a href="#Step 65">Step 65: Then user &#34;dev0Org0&#34; expects proposal responses &#34;invokeProposal1Responses&#34; with statu</a></li>
  77. <li class="passed"><a href="#Step 66">Step 66: And user &#34;dev0Org0&#34; expects proposal responses &#34;invokeProposal1Responses&#34; each have </a></li>
  78. <li class="passed"><a href="#Step 67">Step 67: When the user &#34;dev0Org0&#34; creates transaction &#34;invokeTx1&#34; from proposal &#34;invokeProposa</a></li>
  79. <li class="passed"><a href="#Step 68">Step 68: And the user &#34;dev0Org0&#34; broadcasts transaction &#34;invokeTx1&#34; to orderer &#34;orderer0&#34; on </a></li>
  80. <li class="passed"><a href="#Step 69">Step 69: And I wait &#34;2&#34; seconds</a></li>
  81. <li class="passed"><a href="#Step 70">Step 70: And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properti</a></li>
  82. <li class="passed"><a href="#Step 71">Step 71: Then user &#34;dev0Org0&#34; should get a delivery &#34;deliveredInvokeTx1Block&#34; from &#34;orderer0&#34; </a></li>
  83. </ul>
  84. </div>
  85. <div id="Step 1">
  86. <h2>Step 1</h2>
  87. <hr/>
  88. <h3>Given the orderer network has organizations</h3>
  89. <table>
  90. <tr>
  91. <th>Organization</th>
  92. <th>Readers</th>
  93. <th>Writers</th>
  94. <th>Admins</th>
  95. </tr>
  96. <tr>
  97. <td>ordererOrg0</td>
  98. <td>member</td>
  99. <td>member</td>
  100. <td>admin</td>
  101. </tr>
  102. </table>
  103. </div><div id="ordererOrg0">
  104. <h4>Created new organization ordererOrg0 with <a href="./dir-org-ordererorg0-cert.pem">public cert</a></h4>
  105. <code>-----BEGIN CERTIFICATE-----
  106. MIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl
  107. ck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX
  108. MBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3
  109. MTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK
  110. BgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu
  111. YTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt
  112. g64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU
  113. MBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR
  114. pzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC
  115. A0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1
  116. 4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==
  117. -----END CERTIFICATE-----
  118. </code>
  119. <div>
  120. <div class="scrollBox">
  121. <code>
  122. from cryptography import x509
  123. from cryptography.hazmat.backends import default_backend
  124. pem_data = None
  125. with open('tmp/40dc98342b7a11e79ac800163e000427/dir-org-ordererorg0-cert.pem') as f:
  126. pem_data = f.read()
  127. cert_for_ordererOrg0 = x509.load_pem_x509_certificate(pem_data, default_backend())
  128. ski_for_ordererOrg0= cert_for_ordererOrg0.extensions.get_extension_for_oid(x509.oid.ExtensionOID.SUBJECT_KEY_IDENTIFIER)
  129. </code>
  130. </div>
  131. </div></div><div id="Step 2">
  132. <h2>Step 2</h2>
  133. <hr/>
  134. <h3>And user requests role of orderer admin by creating a key and csr for orderer and acquires signed certificate from organization</h3>
  135. <table>
  136. <tr>
  137. <th>User</th>
  138. <th>Orderer</th>
  139. <th>Organization</th>
  140. </tr>
  141. <tr>
  142. <td>orderer0Signer</td>
  143. <td>orderer0</td>
  144. <td>ordererOrg0</td>
  145. </tr>
  146. <tr>
  147. <td>orderer1Signer</td>
  148. <td>orderer1</td>
  149. <td>ordererOrg0</td>
  150. </tr>
  151. <tr>
  152. <td>orderer2Signer</td>
  153. <td>orderer2</td>
  154. <td>ordererOrg0</td>
  155. </tr>
  156. </table>
  157. </div><div id="orderer0Signer">
  158. <h4>Created new user orderer0Signer with <a href="./dir-user-orderer0signer-privatekey.pem">private key</a></h4>
  159. <code>-----BEGIN EC PRIVATE KEY-----
  160. MHcCAQEEIJxD1AzQZguXJ1pcRmCelguOds9FLR1AkrHe+bVlm2+WoAoGCCqGSM49
  161. AwEHoUQDQgAEHwFzXF69MQ5BXs7mYiOpA/982mr80ygi6IWcWQb7VLkyx2V53sAR
  162. QyB5RoQ/xT/Ax+pHwR1vlx3CR4fjuU/MdA==
  163. -----END EC PRIVATE KEY-----
  164. </code>
  165. </div><div>
  166. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;orderer0Signer&#39;, nodeName=u&#39;orderer0&#39;, organization=u&#39;ordererOrg0&#39;)</h4>
  167. </div><div class="scrollBox">
  168. <code>
  169. -----BEGIN CERTIFICATE-----
  170. MIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl
  171. ck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX
  172. MBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3
  173. MTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV
  174. BAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ
  175. MBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo
  176. IuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG
  177. A1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud
  178. IwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp
  179. CM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L
  180. 38MGiwiA78Rt5aElon+ejTE=
  181. -----END CERTIFICATE-----
  182. </code>
  183. </div><div id="orderer1Signer">
  184. <h4>Created new user orderer1Signer with <a href="./dir-user-orderer1signer-privatekey.pem">private key</a></h4>
  185. <code>-----BEGIN EC PRIVATE KEY-----
  186. MHcCAQEEIOk/cu6HN5xVuJgsV3+yrD7rEyAQhBEg2ElUVb61AOvyoAoGCCqGSM49
  187. AwEHoUQDQgAE2+uIGIQowWaMtHOECYVhryH8o/QJb5GZ7bMZ0FcnJu9x/CAmbUJW
  188. n/TF8JS4+SvmJyM9PYCb6Z0odVeLcHDgRA==
  189. -----END EC PRIVATE KEY-----
  190. </code>
  191. </div><div>
  192. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;orderer1Signer&#39;, nodeName=u&#39;orderer1&#39;, organization=u&#39;ordererOrg0&#39;)</h4>
  193. </div><div class="scrollBox">
  194. <code>
  195. -----BEGIN CERTIFICATE-----
  196. MIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl
  197. ck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX
  198. MBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3
  199. MTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMTELMAkGA1UEBhMCVVMxDDAKBgNV
  200. BAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ
  201. MBMGByqGSM49AgEGCCqGSM49AwEHA0IABNvriBiEKMFmjLRzhAmFYa8h/KP0CW+R
  202. me2zGdBXJybvcfwgJm1CVp/0xfCUuPkr5icjPT2Am+mdKHVXi3Bw4ESjUDBOMAwG
  203. A1UdEwEB/wQCMAAwHQYDVR0OBBYEFNbbR1HOqs3NymXMxYv6m6fnWgQGMB8GA1Ud
  204. IwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIC7P
  205. gvGW7BJ7A7tUXR0v87vlNj5dxOzSMABv/G6yHnd6AiEA1f9LtNTAz0Y7UvvgAyq3
  206. I2dmJBdJeDUatIFO79IvyN4=
  207. -----END CERTIFICATE-----
  208. </code>
  209. </div><div id="orderer2Signer">
  210. <h4>Created new user orderer2Signer with <a href="./dir-user-orderer2signer-privatekey.pem">private key</a></h4>
  211. <code>-----BEGIN EC PRIVATE KEY-----
  212. MHcCAQEEID5DSwlHOhz61XeIEqWjv1mOKky4Qn9bVN+aSs3d1v0moAoGCCqGSM49
  213. AwEHoUQDQgAENGJDq6rs6lm/dvXYHxAszmIeymKcQ8rTxYAWYTMfg8zn9BP4Ccjv
  214. /AJZ/8bkZD/1jka9ysZpZP7Ocs7cJNsw+g==
  215. -----END EC PRIVATE KEY-----
  216. </code>
  217. </div><div>
  218. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;orderer2Signer&#39;, nodeName=u&#39;orderer2&#39;, organization=u&#39;ordererOrg0&#39;)</h4>
  219. </div><div class="scrollBox">
  220. <code>
  221. -----BEGIN CERTIFICATE-----
  222. MIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl
  223. ck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX
  224. MBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3
  225. MTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMjELMAkGA1UEBhMCVVMxDDAKBgNV
  226. BAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ
  227. MBMGByqGSM49AgEGCCqGSM49AwEHA0IABDRiQ6uq7OpZv3b12B8QLM5iHspinEPK
  228. 08WAFmEzH4PM5/QT+AnI7/wCWf/G5GQ/9Y5GvcrGaWT+znLO3CTbMPqjUDBOMAwG
  229. A1UdEwEB/wQCMAAwHQYDVR0OBBYEFOZIN9L+DwqHRGGp1UxwzJEcLG3IMB8GA1Ud
  230. IwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIQCC
  231. KLqIZQ0or/T0H0704hGPQd1YkyDQ9WcG9sEABXefzgIgGcPhxLAUgCVgNVWcwCzS
  232. DefbQKK6d2Z8ysda/hkm/6Y=
  233. -----END CERTIFICATE-----
  234. </code>
  235. </div><div id="Step 3">
  236. <h2>Step 3</h2>
  237. <hr/>
  238. <h3>And the peer network has organizations</h3>
  239. <table>
  240. <tr>
  241. <th>Organization</th>
  242. <th>Readers</th>
  243. <th>Writers</th>
  244. <th>Admins</th>
  245. </tr>
  246. <tr>
  247. <td>peerOrg0</td>
  248. <td>member</td>
  249. <td>member</td>
  250. <td>admin</td>
  251. </tr>
  252. </table>
  253. </div><div id="peerOrg0">
  254. <h4>Created new organization peerOrg0 with <a href="./dir-org-peerorg0-cert.pem">public cert</a></h4>
  255. <code>-----BEGIN CERTIFICATE-----
  256. MIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  257. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  258. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0
  259. OTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM
  260. A1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG
  261. ByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea
  262. moa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud
  263. EwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G
  264. A1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC
  265. IQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G
  266. v4D1ZnEJ9emNk6FETGC8NKnnUuc=
  267. -----END CERTIFICATE-----
  268. </code>
  269. <div>
  270. <div class="scrollBox">
  271. <code>
  272. from cryptography import x509
  273. from cryptography.hazmat.backends import default_backend
  274. pem_data = None
  275. with open('tmp/40dc98342b7a11e79ac800163e000427/dir-org-peerorg0-cert.pem') as f:
  276. pem_data = f.read()
  277. cert_for_peerOrg0 = x509.load_pem_x509_certificate(pem_data, default_backend())
  278. ski_for_peerOrg0= cert_for_peerOrg0.extensions.get_extension_for_oid(x509.oid.ExtensionOID.SUBJECT_KEY_IDENTIFIER)
  279. </code>
  280. </div>
  281. </div></div><div id="Step 4">
  282. <h2>Step 4</h2>
  283. <hr/>
  284. <h3>And a ordererBootstrapAdmin is identified and given access to all public certificates and orderer node info</h3>
  285. </div><div id="ordererBootstrapAdmin">
  286. <h4>Created new user ordererBootstrapAdmin with <a href="./dir-user-ordererbootstrapadmin-privatekey.pem">private key</a></h4>
  287. <code>-----BEGIN EC PRIVATE KEY-----
  288. MHcCAQEEINuAq3vwSWeNaFN11VioqewChRNNkHx96JBOMbYcqayAoAoGCCqGSM49
  289. AwEHoUQDQgAEj+jXLuSVLv4dxNelhdtfmtJAGFQJdm1qrCDeoxSc/Vc4+mJD3rbe
  290. aprPJIKmc+2WwnqGN9hERUi+F9Lg99mROg==
  291. -----END EC PRIVATE KEY-----
  292. </code>
  293. </div><div id="Step 5">
  294. <h2>Step 5</h2>
  295. <hr/>
  296. <h3>And the ordererBootstrapAdmin creates a cert alias &#34;bootstrapCertAlias&#34; for orderer network bootstrap purposes for organizations</h3>
  297. <table>
  298. <tr>
  299. <th>Organization</th>
  300. </tr>
  301. <tr>
  302. <td>ordererOrg0</td>
  303. </tr>
  304. </table>
  305. </div><div>
  306. <h4>Created new named node admin tuple: NodeAdminTuple(user=&#39;ordererBootstrapAdmin&#39;, nodeName=&#39;ordererBootstrapAdmin&#39;, organization=u&#39;ordererOrg0&#39;)</h4>
  307. </div><div class="scrollBox">
  308. <code>
  309. -----BEGIN CERTIFICATE-----
  310. MIIB+zCCAaCgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl
  311. ck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX
  312. MBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3
  313. MTg0OTM0WjBiMR4wHAYDVQQDDBVvcmRlcmVyQm9vdHN0cmFwQWRtaW4xCzAJBgNV
  314. BAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUGA1UECAwOTm9y
  315. dGggQ2Fyb2xpbmEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASP6Ncu5JUu/h3E
  316. 16WF21+a0kAYVAl2bWqsIN6jFJz9Vzj6YkPett5qms8kgqZz7ZbCeoY32ERFSL4X
  317. 0uD32ZE6o1AwTjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTFirck6c1lBS6qkaaE
  318. FYO7Y8wiaTAfBgNVHSMEGDAWgBQ0U4190CTgB250RFpGKJIV0ac7BjAKBggqhkjO
  319. PQQDAgNJADBGAiEAgUXKeWSiMnxaUFL/+bnzh0EQmE56RqKWhEAf5gRWLUECIQDc
  320. +Ktmy69TTYNd8zhIdz8PXFVcip5/TUZB4Fojcvl1PA==
  321. -----END CERTIFICATE-----
  322. </code>
  323. </div><div id="ordererBootstrapAdmin-bootstrapCertAlias">
  324. <h4>User ordererBootstrapAdmin setting tag key bootstrapCertAlias to value</h4>
  325. </div><div class="scrollBox">
  326. <code>
  327. NodeAdminTuple(user=&#39;ordererBootstrapAdmin&#39;, nodeName=&#39;ordererBootstrapAdmin&#39;, organization=u&#39;ordererOrg0&#39;)
  328. </code>
  329. </div><div id="Step 6">
  330. <h2>Step 6</h2>
  331. <hr/>
  332. <h3>And the ordererBootstrapAdmin generates a GUUID to identify the orderer system chain and refer to it by name as &#34;OrdererSystemChainId&#34;</h3>
  333. </div><div id="ordererBootstrapAdmin-OrdererSystemChainId">
  334. <h4>User ordererBootstrapAdmin setting tag key OrdererSystemChainId to value</h4>
  335. </div><div class="scrollBox">
  336. <code>
  337. 40dc98352b7a11e79ac800163e000427
  338. </code>
  339. </div><div id="Step 7">
  340. <h2>Step 7</h2>
  341. <hr/>
  342. <h3>And the ordererBootstrapAdmin creates a consortium &#34;consortium1&#34; (network name) for peer orgs who wish to form a network</h3>
  343. <table>
  344. <tr>
  345. <th>Organization</th>
  346. </tr>
  347. <tr>
  348. <td>peerOrg0</td>
  349. </tr>
  350. </table>
  351. </div><div id="ordererBootstrapAdmin-consortium1">
  352. <h4>User ordererBootstrapAdmin setting tag key consortium1 to value</h4>
  353. </div><div>
  354. <a href="./ordererbootstrapadmin-consortium1-0000.protobuf" title="ordererbootstrapadmin-consortium1-0000.protobuf">Protobuf message in binary form</a>
  355. <div class="scrollBox">
  356. <code>
  357. groups {
  358. key: &#34;Consortiums&#34;
  359. value {
  360. groups {
  361. key: &#34;consortium1&#34;
  362. value {
  363. groups {
  364. key: &#34;peerOrg0&#34;
  365. value {
  366. values {
  367. key: &#34;MSP&#34;
  368. value {
  369. value: &#34;\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n&#34;
  370. mod_policy: &#34;Admins&#34;
  371. }
  372. }
  373. policies {
  374. key: &#34;Admins&#34;
  375. value {
  376. policy {
  377. type: 1
  378. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001&#34;
  379. }
  380. mod_policy: &#34;Admins&#34;
  381. }
  382. }
  383. policies {
  384. key: &#34;Readers&#34;
  385. value {
  386. policy {
  387. type: 1
  388. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0&#34;
  389. }
  390. mod_policy: &#34;Admins&#34;
  391. }
  392. }
  393. policies {
  394. key: &#34;Writers&#34;
  395. value {
  396. policy {
  397. type: 1
  398. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0&#34;
  399. }
  400. mod_policy: &#34;Admins&#34;
  401. }
  402. }
  403. }
  404. }
  405. values {
  406. key: &#34;ChannelCreationPolicy&#34;
  407. value {
  408. value: &#34;\010\003\022\013\n\007Writers\020\001&#34;
  409. mod_policy: &#34;Admins&#34;
  410. }
  411. }
  412. }
  413. }
  414. }
  415. }
  416. </code>
  417. </div>
  418. <div>
  419. <div class="scrollBox">
  420. <code>
  421. from common.configtx_pb2 import ConfigGroup
  422. configGroup = ConfigGroup()
  423. data = None
  424. with open('tmp/40dc98342b7a11e79ac800163e000427/ordererbootstrapadmin-consortium1-0000.protobuf') as f:
  425. data = f.read()
  426. configGroup.ParseFromString(data)
  427. </code>
  428. </div>
  429. </div></div><div id="Step 8">
  430. <h2>Step 8</h2>
  431. <hr/>
  432. <h3>And the ordererBootstrapAdmin using cert alias &#34;bootstrapCertAlias&#34; creates the genesis block &#34;ordererGenesisBlock&#34; for chain &#34;OrdererSystemChainId&#34; for network config policy &#34;&lt;PolicyType&gt;&#34; and consensus &#34;solo&#34; using consortiums</h3>
  433. <table>
  434. <tr>
  435. <th>Consortium</th>
  436. </tr>
  437. <tr>
  438. <td>consortium1</td>
  439. </tr>
  440. </table>
  441. </div><div id="ordererBootstrapAdmin-ordererGenesisBlock_genesis_channel_config">
  442. <h4>User ordererBootstrapAdmin setting tag key ordererGenesisBlock_genesis_channel_config to value</h4>
  443. </div><div>
  444. <a href="./ordererbootstrapadmin-orderergenesisblock-genesis-channel-config.protobuf" title="ordererbootstrapadmin-orderergenesisblock-genesis-channel-config.protobuf">Protobuf message in binary form</a>
  445. <div class="scrollBox">
  446. <code>
  447. groups {
  448. key: &#34;Consortiums&#34;
  449. value {
  450. groups {
  451. key: &#34;consortium1&#34;
  452. value {
  453. groups {
  454. key: &#34;peerOrg0&#34;
  455. value {
  456. values {
  457. key: &#34;MSP&#34;
  458. value {
  459. value: &#34;\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n&#34;
  460. mod_policy: &#34;Admins&#34;
  461. }
  462. }
  463. policies {
  464. key: &#34;Admins&#34;
  465. value {
  466. policy {
  467. type: 1
  468. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001&#34;
  469. }
  470. mod_policy: &#34;Admins&#34;
  471. }
  472. }
  473. policies {
  474. key: &#34;Readers&#34;
  475. value {
  476. policy {
  477. type: 1
  478. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0&#34;
  479. }
  480. mod_policy: &#34;Admins&#34;
  481. }
  482. }
  483. policies {
  484. key: &#34;Writers&#34;
  485. value {
  486. policy {
  487. type: 1
  488. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0&#34;
  489. }
  490. mod_policy: &#34;Admins&#34;
  491. }
  492. }
  493. }
  494. }
  495. values {
  496. key: &#34;ChannelCreationPolicy&#34;
  497. value {
  498. value: &#34;\010\003\022\013\n\007Writers\020\001&#34;
  499. mod_policy: &#34;Admins&#34;
  500. }
  501. }
  502. }
  503. }
  504. }
  505. }
  506. groups {
  507. key: &#34;Orderer&#34;
  508. value {
  509. groups {
  510. key: &#34;ordererOrg0&#34;
  511. value {
  512. values {
  513. key: &#34;MSP&#34;
  514. value {
  515. value: &#34;\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n&#34;
  516. mod_policy: &#34;Admins&#34;
  517. }
  518. }
  519. policies {
  520. key: &#34;Admins&#34;
  521. value {
  522. policy {
  523. type: 1
  524. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001&#34;
  525. }
  526. mod_policy: &#34;Admins&#34;
  527. }
  528. }
  529. policies {
  530. key: &#34;Readers&#34;
  531. value {
  532. policy {
  533. type: 1
  534. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0&#34;
  535. }
  536. mod_policy: &#34;Admins&#34;
  537. }
  538. }
  539. policies {
  540. key: &#34;Writers&#34;
  541. value {
  542. policy {
  543. type: 1
  544. policy: &#34;\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0&#34;
  545. }
  546. mod_policy: &#34;Admins&#34;
  547. }
  548. }
  549. }
  550. }
  551. values {
  552. key: &#34;BatchSize&#34;
  553. value {
  554. value: &#34;\010\n\020\200\302\327/\030\200\200 &#34;
  555. mod_policy: &#34;Admins&#34;
  556. }
  557. }
  558. values {
  559. key: &#34;BatchTimeout&#34;
  560. value {
  561. value: &#34;\n\0021s&#34;
  562. mod_policy: &#34;Admins&#34;
  563. }
  564. }
  565. values {
  566. key: &#34;ChannelRestrictions&#34;
  567. value {
  568. mod_policy: &#34;Admins&#34;
  569. }
  570. }
  571. values {
  572. key: &#34;ConsensusType&#34;
  573. value {
  574. value: &#34;\n\004solo&#34;
  575. mod_policy: &#34;Admins&#34;
  576. }
  577. }
  578. policies {
  579. key: &#34;Admins&#34;
  580. value {
  581. policy {
  582. type: 3
  583. policy: &#34;\n\006Admins\020\002&#34;
  584. }
  585. mod_policy: &#34;Admins&#34;
  586. }
  587. }
  588. policies {
  589. key: &#34;BlockValidation&#34;
  590. value {
  591. policy {
  592. type: 3
  593. policy: &#34;\n\007Writers&#34;
  594. }
  595. mod_policy: &#34;Admins&#34;
  596. }
  597. }
  598. policies {
  599. key: &#34;Readers&#34;
  600. value {
  601. policy {
  602. type: 3
  603. policy: &#34;\n\007Readers&#34;
  604. }
  605. mod_policy: &#34;Admins&#34;
  606. }
  607. }
  608. policies {
  609. key: &#34;Writers&#34;
  610. value {
  611. policy {
  612. type: 3
  613. policy: &#34;\n\007Writers&#34;
  614. }
  615. mod_policy: &#34;Admins&#34;
  616. }
  617. }
  618. }
  619. }
  620. values {
  621. key: &#34;BlockDataHashingStructure&#34;
  622. value {
  623. value: &#34;\010\377\377\377\377\017&#34;
  624. mod_policy: &#34;Admins&#34;
  625. }
  626. }
  627. values {
  628. key: &#34;HashingAlgorithm&#34;
  629. value {
  630. value: &#34;\n\006SHA256&#34;
  631. mod_policy: &#34;Admins&#34;
  632. }
  633. }
  634. values {
  635. key: &#34;OrdererAddresses&#34;
  636. value {
  637. value: &#34;\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050&#34;
  638. mod_policy: &#34;Admins&#34;
  639. }
  640. }
  641. policies {
  642. key: &#34;Admins&#34;
  643. value {
  644. policy {
  645. type: 3
  646. policy: &#34;\n\006Admins\020\002&#34;
  647. }
  648. mod_policy: &#34;Admins&#34;
  649. }
  650. }
  651. policies {
  652. key: &#34;Readers&#34;
  653. value {
  654. policy {
  655. type: 3
  656. policy: &#34;\n\007Readers&#34;
  657. }
  658. mod_policy: &#34;Admins&#34;
  659. }
  660. }
  661. policies {
  662. key: &#34;Writers&#34;
  663. value {
  664. policy {
  665. type: 3
  666. policy: &#34;\n\007Writers&#34;
  667. }
  668. mod_policy: &#34;Admins&#34;
  669. }
  670. }
  671. </code>
  672. </div>
  673. <div>
  674. <div class="scrollBox">
  675. <code>
  676. from common.configtx_pb2 import ConfigGroup
  677. configGroup = ConfigGroup()
  678. data = None
  679. with open('tmp/40dc98342b7a11e79ac800163e000427/ordererbootstrapadmin-orderergenesisblock-genesis-channel-config.protobuf') as f:
  680. data = f.read()
  681. configGroup.ParseFromString(data)
  682. </code>
  683. </div>
  684. </div></div><div id="ordererBootstrapAdmin-ordererGenesisBlock">
  685. <h4>User ordererBootstrapAdmin setting tag key ordererGenesisBlock to value</h4>
  686. </div><div>
  687. <a href="./ordererbootstrapadmin-orderergenesisblock.protobuf" title="ordererbootstrapadmin-orderergenesisblock.protobuf">Protobuf message in binary form</a>
  688. <div class="scrollBox">
  689. <code>
  690. header {
  691. data_hash: &#34;\222&gt;\031f\2510\240\233\224\001O\321\301\253W\215\300\300/1\351\032U\262 \006\212/\305\243A^&#34;
  692. }
  693. data {
  694. data: &#34;\n\253&amp;\n\315\006\n.\010\001\020\001\032\006\010\275\372\210\310\005\&#34; 40dc98352b7a11e79ac800163e000427\022\232\006\n\375\005\n\013ordererOrg0\022\355\005-----BEGIN CERTIFICATE-----\nMIIB+zCCAaCgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3\nMTg0OTM0WjBiMR4wHAYDVQQDDBVvcmRlcmVyQm9vdHN0cmFwQWRtaW4xCzAJBgNV\nBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUGA1UECAwOTm9y\ndGggQ2Fyb2xpbmEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASP6Ncu5JUu/h3E\n16WF21+a0kAYVAl2bWqsIN6jFJz9Vzj6YkPett5qms8kgqZz7ZbCeoY32ERFSL4X\n0uD32ZE6o1AwTjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTFirck6c1lBS6qkaaE\nFYO7Y8wiaTAfBgNVHSMEGDAWgBQ0U4190CTgB250RFpGKJIV0ac7BjAKBggqhkjO\nPQQDAgNJADBGAiEAgUXKeWSiMnxaUFL/+bnzh0EQmE56RqKWhEAf5gRWLUECIQDc\n+Ktmy69TTYNd8zhIdz8PXFVcip5/TUZB4Fojcvl1PA==\n-----END CERTIFICATE-----\n\022\030\034o\213\305D2\344q\271\313A\t\n\253\247U9=TO-\360l_\022\330\037\n\325\037\022\322\037\022\344\r\n\013Consortiums\022\324\r\022\321\r\n\013consortium1\022\301\r\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\0322\n\025ChannelCreationPolicy\022\031\022\017\010\003\022\013\n\007Writers\020\001\032\006Admins\022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022G0E\002!\000\233w\314\366\255\226q[\n\026\331\366w\254\203\225Rn\021{|f\202R\261~\265\232o\356\324Q\002 [\347\025\254&gt;\031\016{\013\347\030\262\022`\3573\024\031Ns\303\004[\360\352a\321n\241J\243\265&#34;
  695. }
  696. metadata {
  697. metadata: &#34;&#34;
  698. metadata: &#34;&#34;
  699. metadata: &#34;&#34;
  700. metadata: &#34;&#34;
  701. }
  702. </code>
  703. </div>
  704. <div>
  705. <div class="scrollBox">
  706. <code>
  707. from common.common_pb2 import Block
  708. block = Block()
  709. data = None
  710. with open('tmp/40dc98342b7a11e79ac800163e000427/ordererbootstrapadmin-orderergenesisblock.protobuf') as f:
  711. data = f.read()
  712. block.ParseFromString(data)
  713. </code>
  714. </div>
  715. </div></div><div id="ordererBootstrapAdmin-ConsensusType">
  716. <h4>User ordererBootstrapAdmin setting tag key ConsensusType to value</h4>
  717. </div><div class="scrollBox">
  718. <code>
  719. solo
  720. </code>
  721. </div><div id="Step 9">
  722. <h2>Step 9</h2>
  723. <hr/>
  724. <h3>And the orderer admins inspect and approve the genesis block for chain &#34;OrdererSystemChainId&#34;</h3>
  725. </div><div id="Step 10">
  726. <h2>Step 10</h2>
  727. <hr/>
  728. <h3>And the orderer admins use the genesis block for chain &#34;OrdererSystemChainId&#34; to configure orderers</h3>
  729. </div><div id="Step 11">
  730. <h2>Step 11</h2>
  731. <hr/>
  732. <h3>And user requests role for peer by creating a key and csr for peer and acquires signed certificate from organization</h3>
  733. <table>
  734. <tr>
  735. <th>User</th>
  736. <th>Peer</th>
  737. <th>Organization</th>
  738. <th>AliasSavedUnder</th>
  739. </tr>
  740. <tr>
  741. <td>peer0Signer</td>
  742. <td>peer0</td>
  743. <td>peerOrg0</td>
  744. <td></td>
  745. </tr>
  746. <tr>
  747. <td>peer1Signer</td>
  748. <td>peer1</td>
  749. <td>peerOrg0</td>
  750. <td></td>
  751. </tr>
  752. <tr>
  753. <td>peer2Signer</td>
  754. <td>peer2</td>
  755. <td>peerOrg0</td>
  756. <td></td>
  757. </tr>
  758. <tr>
  759. <td>peer3Signer</td>
  760. <td>peer3</td>
  761. <td>peerOrg0</td>
  762. <td></td>
  763. </tr>
  764. <tr>
  765. <td>peer0Admin</td>
  766. <td>peer0</td>
  767. <td>peerOrg0</td>
  768. <td>peer-admin-cert</td>
  769. </tr>
  770. <tr>
  771. <td>peer1Admin</td>
  772. <td>peer1</td>
  773. <td>peerOrg0</td>
  774. <td>peer-admin-cert</td>
  775. </tr>
  776. <tr>
  777. <td>peer2Admin</td>
  778. <td>peer2</td>
  779. <td>peerOrg0</td>
  780. <td>peer-admin-cert</td>
  781. </tr>
  782. <tr>
  783. <td>peer3Admin</td>
  784. <td>peer3</td>
  785. <td>peerOrg0</td>
  786. <td>peer-admin-cert</td>
  787. </tr>
  788. </table>
  789. </div><div id="peer0Signer">
  790. <h4>Created new user peer0Signer with <a href="./dir-user-peer0signer-privatekey.pem">private key</a></h4>
  791. <code>-----BEGIN EC PRIVATE KEY-----
  792. MHcCAQEEIHYjlKtT6926f+2N9HwxK0m0J6ZKRJrp8zgeTjsjBGt6oAoGCCqGSM49
  793. AwEHoUQDQgAEnL1Qr6he4ZJulvOBlTrhpWnsuwyOTvkKxwyMHkhoPZ1SXZaZwsZ4
  794. C0GpsfIxYaNzYlGx4Iqe61uA/CeSb1QIFg==
  795. -----END EC PRIVATE KEY-----
  796. </code>
  797. </div><div>
  798. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer0Signer&#39;, nodeName=u&#39;peer0&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  799. </div><div class="scrollBox">
  800. <code>
  801. -----BEGIN CERTIFICATE-----
  802. MIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  803. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  804. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0
  805. OTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  806. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  807. SM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I
  808. aD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB
  809. /wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA
  810. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz
  811. OOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv
  812. ricFnKdPqNrYWOOK
  813. -----END CERTIFICATE-----
  814. </code>
  815. </div><div id="peer1Signer">
  816. <h4>Created new user peer1Signer with <a href="./dir-user-peer1signer-privatekey.pem">private key</a></h4>
  817. <code>-----BEGIN EC PRIVATE KEY-----
  818. MHcCAQEEIDp95qas/9sscmhVI1U3DAnx0xDm3obaEOshxE9gcu82oAoGCCqGSM49
  819. AwEHoUQDQgAEi0dKGDsrQPbp2qfurgWvlDO7riwJkIBNe0HQrM5XkSmzuHRS1X8k
  820. +LtkKLCRmjNH/n9pskN/Q3sOxCI+WwhEGw==
  821. -----END EC PRIVATE KEY-----
  822. </code>
  823. </div><div>
  824. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer1Signer&#39;, nodeName=u&#39;peer1&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  825. </div><div class="scrollBox">
  826. <code>
  827. -----BEGIN CERTIFICATE-----
  828. MIIB5jCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  829. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  830. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0
  831. OTM1WjBSMQ4wDAYDVQQDDAVwZWVyMTELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  832. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  833. SM49AgEGCCqGSM49AwEHA0IABItHShg7K0D26dqn7q4Fr5Qzu64sCZCATXtB0KzO
  834. V5Eps7h0UtV/JPi7ZCiwkZozR/5/abJDf0N7DsQiPlsIRBujUDBOMAwGA1UdEwEB
  835. /wQCMAAwHQYDVR0OBBYEFP6sIl84LZgg3VHNciGVV3Rap2pfMB8GA1UdIwQYMBaA
  836. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0cAMEQCIGqXT5wDGoOS
  837. IwEbrtSk9CHXYQyTO3Uoe/zzRYWqZ+tDAiAoBV/uQOI0G49nBtVtWCv4wVtBoTYS
  838. HImiP797V9l6ZQ==
  839. -----END CERTIFICATE-----
  840. </code>
  841. </div><div id="peer2Signer">
  842. <h4>Created new user peer2Signer with <a href="./dir-user-peer2signer-privatekey.pem">private key</a></h4>
  843. <code>-----BEGIN EC PRIVATE KEY-----
  844. MHcCAQEEIDuWl51KocFZf5p/bOc2Ou9DHn+IFPaLjADF3wLHvriOoAoGCCqGSM49
  845. AwEHoUQDQgAEPRPw5e9rtFRBDljroEk5eFZH59EmAj64lx6Zm7wvF6O8w8JMh7++
  846. o4kYKAAVgGwQS79QBEgI4WTrzySwcSUqaA==
  847. -----END EC PRIVATE KEY-----
  848. </code>
  849. </div><div>
  850. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer2Signer&#39;, nodeName=u&#39;peer2&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  851. </div><div class="scrollBox">
  852. <code>
  853. -----BEGIN CERTIFICATE-----
  854. MIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  855. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  856. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0
  857. OTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  858. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  859. SM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8
  860. LxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB
  861. /wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA
  862. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b
  863. xxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u
  864. MFB4/f++r6yDDi8=
  865. -----END CERTIFICATE-----
  866. </code>
  867. </div><div id="peer3Signer">
  868. <h4>Created new user peer3Signer with <a href="./dir-user-peer3signer-privatekey.pem">private key</a></h4>
  869. <code>-----BEGIN EC PRIVATE KEY-----
  870. MHcCAQEEIIAVypc6oKH4+C3NYKwzz/UA7PASSOtdWy3mM+xxAW9GoAoGCCqGSM49
  871. AwEHoUQDQgAEf8M67Sc9P8Jfvpzk0tlZuXx2ma0F1bLEtHcN6X0Wwi7UWsUYj7Uq
  872. 4XXFl9NB3Wkyp8y0gXP2I3TjtOTvJC7G5g==
  873. -----END EC PRIVATE KEY-----
  874. </code>
  875. </div><div>
  876. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer3Signer&#39;, nodeName=u&#39;peer3&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  877. </div><div class="scrollBox">
  878. <code>
  879. -----BEGIN CERTIFICATE-----
  880. MIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  881. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  882. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0
  883. OTM1WjBSMQ4wDAYDVQQDDAVwZWVyMzELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  884. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  885. SM49AgEGCCqGSM49AwEHA0IABH/DOu0nPT/CX76c5NLZWbl8dpmtBdWyxLR3Del9
  886. FsIu1FrFGI+1KuF1xZfTQd1pMqfMtIFz9iN047Tk7yQuxuajUDBOMAwGA1UdEwEB
  887. /wQCMAAwHQYDVR0OBBYEFIYo30F+UeBuLlWYOqkRh3JAYpZsMB8GA1UdIwQYMBaA
  888. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCICasZcI4qCVc
  889. e7XQV6eQFZ/UwyACO3ADpn2HwvA7AQBmAiEA1BMBiAu0X9FgLOaYyXB4h8grSP52
  890. ngI3UuzTdHbNTTA=
  891. -----END CERTIFICATE-----
  892. </code>
  893. </div><div id="peer0Admin">
  894. <h4>Created new user peer0Admin with <a href="./dir-user-peer0admin-privatekey.pem">private key</a></h4>
  895. <code>-----BEGIN EC PRIVATE KEY-----
  896. MHcCAQEEIDxnCCZcsV5kP4k8m4aW/yU77ly5zr4/zUxX/Cuj4qxroAoGCCqGSM49
  897. AwEHoUQDQgAEzEgoPnl2sVbHogW+hL7eDZ2ACp4U4zQ6ksSwYuq7HntoKRAs8Qfm
  898. VkYt4gKIvSwjaXpiKZEiWhWrOQD+Bkd9yQ==
  899. -----END EC PRIVATE KEY-----
  900. </code>
  901. </div><div>
  902. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer0Admin&#39;, nodeName=u&#39;peer0&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  903. </div><div class="scrollBox">
  904. <code>
  905. -----BEGIN CERTIFICATE-----
  906. MIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  907. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  908. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0
  909. OTM1WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  910. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  911. SM49AgEGCCqGSM49AwEHA0IABMxIKD55drFWx6IFvoS+3g2dgAqeFOM0OpLEsGLq
  912. ux57aCkQLPEH5lZGLeICiL0sI2l6YimRIloVqzkA/gZHfcmjUDBOMAwGA1UdEwEB
  913. /wQCMAAwHQYDVR0OBBYEFBa9PAITNqPCrAxIOR+pCaNRUiHeMB8GA1UdIwQYMBaA
  914. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIQCgF2WFUsoy
  915. SxxYKKRR9yS4dcQKhjAgGLo8UX3ug0MGawIgfRY4+LwPDnLv0FRx3Hwmjw9Z+PDf
  916. 8VY/zoZZcWzM3u0=
  917. -----END CERTIFICATE-----
  918. </code>
  919. </div><div id="peer0Admin-peer-admin-cert">
  920. <h4>User peer0Admin setting tag key peer-admin-cert to value</h4>
  921. </div><div class="scrollBox">
  922. <code>
  923. NodeAdminTuple(user=u&#39;peer0Admin&#39;, nodeName=u&#39;peer0&#39;, organization=u&#39;peerOrg0&#39;)
  924. </code>
  925. </div><div id="peer1Admin">
  926. <h4>Created new user peer1Admin with <a href="./dir-user-peer1admin-privatekey.pem">private key</a></h4>
  927. <code>-----BEGIN EC PRIVATE KEY-----
  928. MHcCAQEEIJysKvQcUhHd6ZoN+sR8dFsJ8fgh3zLPNMS0UPvijcLUoAoGCCqGSM49
  929. AwEHoUQDQgAEN+mkCvhPd2W+TS5+YK5H/4K/MEpBWKgZyAAMrv7xaO9kWnNDZHMA
  930. bJMjJ1vXj+X6EM2njfCTW9/x0ny/CDQjHg==
  931. -----END EC PRIVATE KEY-----
  932. </code>
  933. </div><div>
  934. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer1Admin&#39;, nodeName=u&#39;peer1&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  935. </div><div class="scrollBox">
  936. <code>
  937. -----BEGIN CERTIFICATE-----
  938. MIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  939. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  940. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM2WhcNMTgwNDI3MTg0
  941. OTM2WjBSMQ4wDAYDVQQDDAVwZWVyMTELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  942. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  943. SM49AgEGCCqGSM49AwEHA0IABDfppAr4T3dlvk0ufmCuR/+CvzBKQVioGcgADK7+
  944. 8WjvZFpzQ2RzAGyTIydb14/l+hDNp43wk1vf8dJ8vwg0Ix6jUDBOMAwGA1UdEwEB
  945. /wQCMAAwHQYDVR0OBBYEFM3Wj2f6wA6snCM1GTFZkmesWTSBMB8GA1UdIwQYMBaA
  946. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIAzqajN4XFRz
  947. TOj2CK39lF7Vx3/uPla9ooPIJjgJGjU4AiEA4dHn2KtDImCVCwo0Zja5Skefm0Cz
  948. hYWuSt0qeCXw1FY=
  949. -----END CERTIFICATE-----
  950. </code>
  951. </div><div id="peer1Admin-peer-admin-cert">
  952. <h4>User peer1Admin setting tag key peer-admin-cert to value</h4>
  953. </div><div class="scrollBox">
  954. <code>
  955. NodeAdminTuple(user=u&#39;peer1Admin&#39;, nodeName=u&#39;peer1&#39;, organization=u&#39;peerOrg0&#39;)
  956. </code>
  957. </div><div id="peer2Admin">
  958. <h4>Created new user peer2Admin with <a href="./dir-user-peer2admin-privatekey.pem">private key</a></h4>
  959. <code>-----BEGIN EC PRIVATE KEY-----
  960. MHcCAQEEIJ9EIVADhVNQLoUGifENjIeT7WvSaY9H4fF2hYEmvf3zoAoGCCqGSM49
  961. AwEHoUQDQgAEV4V1gkuBwq4pc4olF9RAicthfUsjg6yVLODd5xYrgTYb5LY2Dx5X
  962. anajp1qS0Zkxaf+lfyZK1kCgeAdL9fjtMw==
  963. -----END EC PRIVATE KEY-----
  964. </code>
  965. </div><div>
  966. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer2Admin&#39;, nodeName=u&#39;peer2&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  967. </div><div class="scrollBox">
  968. <code>
  969. -----BEGIN CERTIFICATE-----
  970. MIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  971. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  972. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM2WhcNMTgwNDI3MTg0
  973. OTM2WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  974. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  975. SM49AgEGCCqGSM49AwEHA0IABFeFdYJLgcKuKXOKJRfUQInLYX1LI4OslSzg3ecW
  976. K4E2G+S2Ng8eV2p2o6daktGZMWn/pX8mStZAoHgHS/X47TOjUDBOMAwGA1UdEwEB
  977. /wQCMAAwHQYDVR0OBBYEFBQXXCr+x0jRBznXUn9fyV1fnAoMMB8GA1UdIwQYMBaA
  978. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCuEXbVSwwK
  979. x3bv9/jJZzEF1oFDah9V59U+XEyugk7XTwIhANmrlxI+R6VhhSq1tNj2X0ewaROx
  980. JvWYaNzp9maPSwvy
  981. -----END CERTIFICATE-----
  982. </code>
  983. </div><div id="peer2Admin-peer-admin-cert">
  984. <h4>User peer2Admin setting tag key peer-admin-cert to value</h4>
  985. </div><div class="scrollBox">
  986. <code>
  987. NodeAdminTuple(user=u&#39;peer2Admin&#39;, nodeName=u&#39;peer2&#39;, organization=u&#39;peerOrg0&#39;)
  988. </code>
  989. </div><div id="peer3Admin">
  990. <h4>Created new user peer3Admin with <a href="./dir-user-peer3admin-privatekey.pem">private key</a></h4>
  991. <code>-----BEGIN EC PRIVATE KEY-----
  992. MHcCAQEEIKp8+XtRG/LKeG861lXpQrRnNXiJ+WRroijDKeiGUn6YoAoGCCqGSM49
  993. AwEHoUQDQgAENHXdUR+VmDsjCEOduTYlvnq2Pj//VQe6kqjgAxFBwvY6GD+2RpO7
  994. OLmZyjALvRmAaWLs1WWxVblBk19yEyTPTQ==
  995. -----END EC PRIVATE KEY-----
  996. </code>
  997. </div><div>
  998. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;peer3Admin&#39;, nodeName=u&#39;peer3&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  999. </div><div class="scrollBox">
  1000. <code>
  1001. -----BEGIN CERTIFICATE-----
  1002. MIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  1003. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  1004. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM2WhcNMTgwNDI3MTg0
  1005. OTM2WjBSMQ4wDAYDVQQDDAVwZWVyMzELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU
  1006. UDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG
  1007. SM49AgEGCCqGSM49AwEHA0IABDR13VEflZg7IwhDnbk2Jb56tj4//1UHupKo4AMR
  1008. QcL2Ohg/tkaTuzi5mcowC70ZgGli7NVlsVW5QZNfchMkz02jUDBOMAwGA1UdEwEB
  1009. /wQCMAAwHQYDVR0OBBYEFFU9pbjNkxgQ0/PQG4GV/5PrkUGQMB8GA1UdIwQYMBaA
  1010. FMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIGw0WJ3+otqZ
  1011. t5bEtMqbACZUi/XkXmTuLoNQo53kqHptAiEAk0Dg2aNI5JCdCaC9YkKLcbbTnJ7O
  1012. T2FvUoHwEFmDh3k=
  1013. -----END CERTIFICATE-----
  1014. </code>
  1015. </div><div id="peer3Admin-peer-admin-cert">
  1016. <h4>User peer3Admin setting tag key peer-admin-cert to value</h4>
  1017. </div><div class="scrollBox">
  1018. <code>
  1019. NodeAdminTuple(user=u&#39;peer3Admin&#39;, nodeName=u&#39;peer3&#39;, organization=u&#39;peerOrg0&#39;)
  1020. </code>
  1021. </div><div id="Step 12">
  1022. <h2>Step 12</h2>
  1023. <hr/>
  1024. <h3>And we compose &#34;docker-compose-next-4.yml&#34;</h3>
  1025. </div><div class="scrollBox">
  1026. <code>
  1027. COMPOSE_PROJECT_NAME=40dc98342b7a11e79ac800163e000427 CORE_PEER_NETWORKID=40dc98342b7a11e79ac800163e000427 ORDERER0_ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/localMspConfig ORDERER0_ORDERER_GENERAL_LOCALMSPID=ordererOrg0 ORDERER0_ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.crt ORDERER0_ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.key ORDERER_GENERAL_GENESISFILE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/genesis_file ORDERER_GENERAL_GENESISMETHOD=file PEER0_CORE_PEER_LOCALMSPID=peerOrg0 PEER0_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig PEER0_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.crt PEER0_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.key PEER0_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig/cacerts/peerOrg0.pem PEER0_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer0 PEER1_CORE_PEER_LOCALMSPID=peerOrg0 PEER1_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig PEER1_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.crt PEER1_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.key PEER1_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig/cacerts/peerOrg0.pem PEER1_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer1 PEER2_CORE_PEER_LOCALMSPID=peerOrg0 PEER2_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig PEER2_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.crt PEER2_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.key PEER2_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig/cacerts/peerOrg0.pem PEER2_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer2 PEER3_CORE_PEER_LOCALMSPID=peerOrg0 PEER3_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig PEER3_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.crt PEER3_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.key PEER3_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig/cacerts/peerOrg0.pem PEER3_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer3 docker-compose -f docker-compose-next-4.yml config
  1028. </code>
  1029. </div><div>
  1030. <h4>Configuration</h4>
  1031. </div><div class="scrollBox">
  1032. <code>
  1033. networks: {}
  1034. services:
  1035. orderer0:
  1036. command: orderer
  1037. environment:
  1038. CONFIGTX_ORDERER_ORDERERTYPE: solo
  1039. ORDERER_GENERAL_BATCHSIZE: &#39;10&#39;
  1040. ORDERER_GENERAL_BATCHTIMEOUT: 10s
  1041. ORDERER_GENERAL_GENESISFILE: /var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/genesis_file
  1042. ORDERER_GENERAL_GENESISMETHOD: file
  1043. ORDERER_GENERAL_LEDGERTYPE: ram
  1044. ORDERER_GENERAL_LISTENADDRESS: 0.0.0.0
  1045. ORDERER_GENERAL_LISTENPORT: &#39;7050&#39;
  1046. ORDERER_GENERAL_LOCALMSPDIR: /var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/localMspConfig
  1047. ORDERER_GENERAL_LOCALMSPID: ordererOrg0
  1048. ORDERER_GENERAL_LOGLEVEL: debug
  1049. ORDERER_GENERAL_MAXWINDOWSIZE: &#39;1000&#39;
  1050. ORDERER_GENERAL_QUEUESIZE: &#39;1000&#39;
  1051. ORDERER_GENERAL_TLS_CERTIFICATE: /var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.crt
  1052. ORDERER_GENERAL_TLS_ENABLED: &#39;true&#39;
  1053. ORDERER_GENERAL_TLS_PRIVATEKEY: /var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.key
  1054. ORDERER_GENERAL_TLS_ROOTCAS: &#39;&#39;
  1055. ORDERER_RAMLEDGER_HISTORY_SIZE: &#39;100&#39;
  1056. image: hyperledger/fabric-orderer
  1057. ports:
  1058. - 7050/tcp
  1059. volumes:
  1060. - /home/fabric/gopath/src/github.com/hyperledger/fabric/bddtests/volumes/orderer:/var/hyperledger/bddtests/volumes/orderer:rw
  1061. working_dir: /opt/gopath/src/github.com/hyperledger/fabric/orderer
  1062. peer0:
  1063. command: peer node start --peer-defaultchain=false
  1064. depends_on:
  1065. - orderer0
  1066. environment:
  1067. CORE_LOGGING_LEVEL: DEBUG
  1068. CORE_NEXT: &#39;true&#39;
  1069. CORE_PEER_ADDRESSAUTODETECT: &#39;true&#39;
  1070. CORE_PEER_COMMITTER_LEDGER_ORDERER: orderer0:7050
  1071. CORE_PEER_ENDORSER_ENABLED: &#39;true&#39;
  1072. CORE_PEER_GOSSIP_BOOTSTRAP: peer1:7051
  1073. CORE_PEER_GOSSIP_ORGLEADER: &#39;false&#39;
  1074. CORE_PEER_GOSSIP_SKIPHANDSHAKE: &#39;true&#39;
  1075. CORE_PEER_GOSSIP_USELEADERELECTION: &#39;true&#39;
  1076. CORE_PEER_ID: vp0
  1077. CORE_PEER_LOCALMSPID: peerOrg0
  1078. CORE_PEER_MSPCONFIGPATH: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig
  1079. CORE_PEER_NETWORKID: 40dc98342b7a11e79ac800163e000427
  1080. CORE_PEER_PROFILE_ENABLED: &#39;true&#39;
  1081. CORE_PEER_TLS_CERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.crt
  1082. CORE_PEER_TLS_ENABLED: &#39;true&#39;
  1083. CORE_PEER_TLS_KEY_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.key
  1084. CORE_PEER_TLS_ROOTCERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig/cacerts/peerOrg0.pem
  1085. CORE_PEER_TLS_SERVERHOSTOVERRIDE: peer0
  1086. image: hyperledger/fabric-peer
  1087. ports:
  1088. - 7051/tcp
  1089. - 7053/tcp
  1090. volumes:
  1091. - /home/fabric/gopath/src/github.com/hyperledger/fabric/bddtests/volumes/peer:/var/hyperledger/bddtests/volumes/peer:rw
  1092. - /var/run/docker.sock:/var/run/docker.sock:rw
  1093. peer1:
  1094. command: peer node start --peer-defaultchain=false
  1095. depends_on:
  1096. - orderer0
  1097. - peer0
  1098. environment:
  1099. CORE_LOGGING_LEVEL: DEBUG
  1100. CORE_NEXT: &#39;true&#39;
  1101. CORE_PEER_ADDRESSAUTODETECT: &#39;true&#39;
  1102. CORE_PEER_COMMITTER_LEDGER_ORDERER: orderer0:7050
  1103. CORE_PEER_ENDORSER_ENABLED: &#39;true&#39;
  1104. CORE_PEER_GOSSIP_BOOTSTRAP: peer0:7051
  1105. CORE_PEER_GOSSIP_ORGLEADER: &#39;false&#39;
  1106. CORE_PEER_GOSSIP_SKIPHANDSHAKE: &#39;true&#39;
  1107. CORE_PEER_GOSSIP_USELEADERELECTION: &#39;true&#39;
  1108. CORE_PEER_ID: vp1
  1109. CORE_PEER_LOCALMSPID: peerOrg0
  1110. CORE_PEER_MSPCONFIGPATH: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig
  1111. CORE_PEER_NETWORKID: 40dc98342b7a11e79ac800163e000427
  1112. CORE_PEER_TLS_CERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.crt
  1113. CORE_PEER_TLS_ENABLED: &#39;true&#39;
  1114. CORE_PEER_TLS_KEY_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.key
  1115. CORE_PEER_TLS_ROOTCERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig/cacerts/peerOrg0.pem
  1116. CORE_PEER_TLS_SERVERHOSTOVERRIDE: peer1
  1117. image: hyperledger/fabric-peer
  1118. ports:
  1119. - 7051/tcp
  1120. - 7053/tcp
  1121. volumes:
  1122. - /home/fabric/gopath/src/github.com/hyperledger/fabric/bddtests/volumes/peer:/var/hyperledger/bddtests/volumes/peer:rw
  1123. - /var/run/docker.sock:/var/run/docker.sock:rw
  1124. peer2:
  1125. command: peer node start --peer-defaultchain=false
  1126. depends_on:
  1127. - orderer0
  1128. - peer0
  1129. environment:
  1130. CORE_LOGGING_LEVEL: DEBUG
  1131. CORE_NEXT: &#39;true&#39;
  1132. CORE_PEER_ADDRESSAUTODETECT: &#39;true&#39;
  1133. CORE_PEER_COMMITTER_LEDGER_ORDERER: orderer0:7050
  1134. CORE_PEER_ENDORSER_ENABLED: &#39;true&#39;
  1135. CORE_PEER_GOSSIP_BOOTSTRAP: peer3:7051
  1136. CORE_PEER_GOSSIP_ORGLEADER: &#39;false&#39;
  1137. CORE_PEER_GOSSIP_SKIPHANDSHAKE: &#39;true&#39;
  1138. CORE_PEER_GOSSIP_USELEADERELECTION: &#39;true&#39;
  1139. CORE_PEER_ID: vp2
  1140. CORE_PEER_LOCALMSPID: peerOrg0
  1141. CORE_PEER_MSPCONFIGPATH: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig
  1142. CORE_PEER_NETWORKID: 40dc98342b7a11e79ac800163e000427
  1143. CORE_PEER_TLS_CERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.crt
  1144. CORE_PEER_TLS_ENABLED: &#39;true&#39;
  1145. CORE_PEER_TLS_KEY_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.key
  1146. CORE_PEER_TLS_ROOTCERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig/cacerts/peerOrg0.pem
  1147. CORE_PEER_TLS_SERVERHOSTOVERRIDE: peer2
  1148. image: hyperledger/fabric-peer
  1149. ports:
  1150. - 7051/tcp
  1151. - 7053/tcp
  1152. volumes:
  1153. - /home/fabric/gopath/src/github.com/hyperledger/fabric/bddtests/volumes/peer:/var/hyperledger/bddtests/volumes/peer:rw
  1154. - /var/run/docker.sock:/var/run/docker.sock:rw
  1155. peer3:
  1156. command: peer node start --peer-defaultchain=false
  1157. depends_on:
  1158. - orderer0
  1159. - peer0
  1160. environment:
  1161. CORE_LOGGING_LEVEL: DEBUG
  1162. CORE_NEXT: &#39;true&#39;
  1163. CORE_PEER_ADDRESSAUTODETECT: &#39;true&#39;
  1164. CORE_PEER_COMMITTER_LEDGER_ORDERER: orderer0:7050
  1165. CORE_PEER_ENDORSER_ENABLED: &#39;true&#39;
  1166. CORE_PEER_GOSSIP_BOOTSTRAP: peer2:7051
  1167. CORE_PEER_GOSSIP_ORGLEADER: &#39;false&#39;
  1168. CORE_PEER_GOSSIP_SKIPHANDSHAKE: &#39;true&#39;
  1169. CORE_PEER_GOSSIP_USELEADERELECTION: &#39;true&#39;
  1170. CORE_PEER_ID: vp3
  1171. CORE_PEER_LOCALMSPID: peerOrg0
  1172. CORE_PEER_MSPCONFIGPATH: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig
  1173. CORE_PEER_NETWORKID: 40dc98342b7a11e79ac800163e000427
  1174. CORE_PEER_TLS_CERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.crt
  1175. CORE_PEER_TLS_ENABLED: &#39;true&#39;
  1176. CORE_PEER_TLS_KEY_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.key
  1177. CORE_PEER_TLS_ROOTCERT_FILE: /var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig/cacerts/peerOrg0.pem
  1178. CORE_PEER_TLS_SERVERHOSTOVERRIDE: peer3
  1179. image: hyperledger/fabric-peer
  1180. ports:
  1181. - 7051/tcp
  1182. - 7053/tcp
  1183. volumes:
  1184. - /home/fabric/gopath/src/github.com/hyperledger/fabric/bddtests/volumes/peer:/var/hyperledger/bddtests/volumes/peer:rw
  1185. - /var/run/docker.sock:/var/run/docker.sock:rw
  1186. version: &#39;2.0&#39;
  1187. volumes: {}
  1188. </code>
  1189. </div><div>
  1190. <h4>Network Graph</h4>
  1191. </div><style>
  1192. .links line {
  1193. stroke: #999;
  1194. stroke-opacity: 0.6;
  1195. }
  1196. .nodes circle {
  1197. stroke: #fff;
  1198. stroke-width: 1.5px;
  1199. }
  1200. </style>
  1201. <div>
  1202. <svg width="860" height="700"></svg>
  1203. </div>
  1204. <script src="https://d3js.org/d3.v4.min.js"></script>
  1205. <script>
  1206. var svg = d3.select("svg"),
  1207. width = +svg.attr("width"),
  1208. height = +svg.attr("height");
  1209. var color = d3.scaleOrdinal(d3.schemeCategory20);
  1210. var simulation = d3.forceSimulation()
  1211. .force("link", d3.forceLink().id(function(d) { return d.id; }).distance(function(d) {
  1212. if (d.source.id.indexOf("peer") === 0 && d.target.id.indexOf("orderer") === 0) {
  1213. return 200} else return 50}))
  1214. .force("charge", d3.forceManyBody().strength(function(d) {
  1215. if (d.type==="org") {
  1216. return -120} else return -30}))
  1217. .force("center", d3.forceCenter(width / 2, height / 2));
  1218. d3.json("network.json", function(error, graph) {
  1219. if (error) throw error;
  1220. var link = svg.append("g")
  1221. .attr("class", "links")
  1222. .selectAll("line")
  1223. .data(graph.links)
  1224. .enter().append("line")
  1225. .attr("stroke-width", function(d) { return Math.sqrt(d.value); });
  1226. var node = svg.append("g")
  1227. .attr("class", "nodes")
  1228. .selectAll("circle")
  1229. .data(graph.nodes)
  1230. .enter().append("circle")
  1231. .attr("r", 10)
  1232. .attr("fill", function(d) { return color(d.group); })
  1233. .call(d3.drag()
  1234. .on("start", dragstarted)
  1235. .on("drag", dragged)
  1236. .on("end", dragended));
  1237. node.append("title")
  1238. .text(function(d) { return d.id; });
  1239. simulation
  1240. .nodes(graph.nodes)
  1241. .on("tick", ticked);
  1242. simulation.force("link")
  1243. .links(graph.links);
  1244. function ticked() {
  1245. link
  1246. .attr("x1", function(d) { return d.source.x; })
  1247. .attr("y1", function(d) { return d.source.y; })
  1248. .attr("x2", function(d) { return d.target.x; })
  1249. .attr("y2", function(d) { return d.target.y; });
  1250. node
  1251. .attr("cx", function(d) { return d.x; })
  1252. .attr("cy", function(d) { return d.y; });
  1253. }
  1254. });
  1255. function dragstarted(d) {
  1256. if (!d3.event.active) simulation.alphaTarget(0.3).restart();
  1257. d.fx = d.x;
  1258. d.fy = d.y;
  1259. }
  1260. function dragged(d) {
  1261. d.fx = d3.event.x;
  1262. d.fy = d3.event.y;
  1263. }
  1264. function dragended(d) {
  1265. if (!d3.event.active) simulation.alphaTarget(0);
  1266. d.fx = null;
  1267. d.fy = null;
  1268. }
  1269. </script><div class="scrollBox">
  1270. <code>
  1271. COMPOSE_PROJECT_NAME=40dc98342b7a11e79ac800163e000427 CORE_PEER_NETWORKID=40dc98342b7a11e79ac800163e000427 ORDERER0_ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/localMspConfig ORDERER0_ORDERER_GENERAL_LOCALMSPID=ordererOrg0 ORDERER0_ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.crt ORDERER0_ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.key ORDERER_GENERAL_GENESISFILE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/genesis_file ORDERER_GENERAL_GENESISMETHOD=file PEER0_CORE_PEER_LOCALMSPID=peerOrg0 PEER0_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig PEER0_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.crt PEER0_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.key PEER0_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig/cacerts/peerOrg0.pem PEER0_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer0 PEER1_CORE_PEER_LOCALMSPID=peerOrg0 PEER1_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig PEER1_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.crt PEER1_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.key PEER1_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig/cacerts/peerOrg0.pem PEER1_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer1 PEER2_CORE_PEER_LOCALMSPID=peerOrg0 PEER2_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig PEER2_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.crt PEER2_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.key PEER2_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig/cacerts/peerOrg0.pem PEER2_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer2 PEER3_CORE_PEER_LOCALMSPID=peerOrg0 PEER3_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig PEER3_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.crt PEER3_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.key PEER3_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig/cacerts/peerOrg0.pem PEER3_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer3 docker-compose -f docker-compose-next-4.yml config --services
  1272. </code>
  1273. </div><div class="scrollBox">
  1274. <code>
  1275. COMPOSE_PROJECT_NAME=40dc98342b7a11e79ac800163e000427 CORE_PEER_NETWORKID=40dc98342b7a11e79ac800163e000427 ORDERER0_ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/localMspConfig ORDERER0_ORDERER_GENERAL_LOCALMSPID=ordererOrg0 ORDERER0_ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.crt ORDERER0_ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.key ORDERER_GENERAL_GENESISFILE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/genesis_file ORDERER_GENERAL_GENESISMETHOD=file PEER0_CORE_PEER_LOCALMSPID=peerOrg0 PEER0_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig PEER0_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.crt PEER0_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.key PEER0_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig/cacerts/peerOrg0.pem PEER0_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer0 PEER1_CORE_PEER_LOCALMSPID=peerOrg0 PEER1_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig PEER1_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.crt PEER1_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.key PEER1_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig/cacerts/peerOrg0.pem PEER1_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer1 PEER2_CORE_PEER_LOCALMSPID=peerOrg0 PEER2_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig PEER2_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.crt PEER2_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.key PEER2_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig/cacerts/peerOrg0.pem PEER2_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer2 PEER3_CORE_PEER_LOCALMSPID=peerOrg0 PEER3_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig PEER3_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.crt PEER3_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.key PEER3_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig/cacerts/peerOrg0.pem PEER3_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer3 docker-compose -f docker-compose-next-4.yml up -d --force-recreate
  1276. </code>
  1277. </div><div class="scrollBox">
  1278. <code>
  1279. COMPOSE_PROJECT_NAME=40dc98342b7a11e79ac800163e000427 CORE_PEER_NETWORKID=40dc98342b7a11e79ac800163e000427 ORDERER0_ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/localMspConfig ORDERER0_ORDERER_GENERAL_LOCALMSPID=ordererOrg0 ORDERER0_ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.crt ORDERER0_ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/orderer0/tls_config/orderer0Signer-orderer0-ordererOrg0-tls.key ORDERER_GENERAL_GENESISFILE=/var/hyperledger/bddtests/volumes/orderer/40dc98342b7a11e79ac800163e000427/genesis_file ORDERER_GENERAL_GENESISMETHOD=file PEER0_CORE_PEER_LOCALMSPID=peerOrg0 PEER0_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig PEER0_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.crt PEER0_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/tls_config/peer0Signer-peer0-peerOrg0-tls.key PEER0_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer0/localMspConfig/cacerts/peerOrg0.pem PEER0_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer0 PEER1_CORE_PEER_LOCALMSPID=peerOrg0 PEER1_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig PEER1_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.crt PEER1_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/tls_config/peer1Signer-peer1-peerOrg0-tls.key PEER1_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer1/localMspConfig/cacerts/peerOrg0.pem PEER1_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer1 PEER2_CORE_PEER_LOCALMSPID=peerOrg0 PEER2_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig PEER2_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.crt PEER2_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/tls_config/peer2Signer-peer2-peerOrg0-tls.key PEER2_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer2/localMspConfig/cacerts/peerOrg0.pem PEER2_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer2 PEER3_CORE_PEER_LOCALMSPID=peerOrg0 PEER3_CORE_PEER_MSPCONFIGPATH=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig PEER3_CORE_PEER_TLS_CERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.crt PEER3_CORE_PEER_TLS_KEY_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/tls_config/peer3Signer-peer3-peerOrg0-tls.key PEER3_CORE_PEER_TLS_ROOTCERT_FILE=/var/hyperledger/bddtests/volumes/peer/40dc98342b7a11e79ac800163e000427/peer3/localMspConfig/cacerts/peerOrg0.pem PEER3_CORE_PEER_TLS_SERVERHOSTOVERRIDE=peer3 docker-compose -f docker-compose-next-4.yml ps -q
  1280. </code>
  1281. </div><div id="Step 13">
  1282. <h2>Step 13</h2>
  1283. <hr/>
  1284. <h3>And I wait &#34;0&#34; seconds</h3>
  1285. </div><div id="Step 14">
  1286. <h2>Step 14</h2>
  1287. <hr/>
  1288. <h3>And the following application developers are defined for peer organizations and each saves their cert as alias</h3>
  1289. <table>
  1290. <tr>
  1291. <th>Developer</th>
  1292. <th>Consortium</th>
  1293. <th>Organization</th>
  1294. <th>AliasSavedUnder</th>
  1295. </tr>
  1296. <tr>
  1297. <td>dev0Org0</td>
  1298. <td>consortium1</td>
  1299. <td>peerOrg0</td>
  1300. <td>dev0Org0App1</td>
  1301. </tr>
  1302. <tr>
  1303. <td>dev0Org1</td>
  1304. <td>consortium1</td>
  1305. <td>peerOrg0</td>
  1306. <td>dev0Org1App1</td>
  1307. </tr>
  1308. </table>
  1309. </div><div id="dev0Org0">
  1310. <h4>Created new user dev0Org0 with <a href="./dir-user-dev0org0-privatekey.pem">private key</a></h4>
  1311. <code>-----BEGIN EC PRIVATE KEY-----
  1312. MHcCAQEEIEO4d1W3zGA4PT+v+YfdXuuRc0KECPlYyK9VY7VcGyPwoAoGCCqGSM49
  1313. AwEHoUQDQgAEbPcUyi9Gy0ErkO5tNJaXhq5QE2NR4ySZbrHRRsReicr+yPo7kCEQ
  1314. 3gSSt/JUkX+wD2bnYAeyYTNo/ah0iBgTHw==
  1315. -----END EC PRIVATE KEY-----
  1316. </code>
  1317. </div><div>
  1318. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;dev0Org0&#39;, nodeName=u&#39;consortium1&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  1319. </div><div class="scrollBox">
  1320. <code>
  1321. -----BEGIN CERTIFICATE-----
  1322. MIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  1323. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  1324. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0
  1325. OTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV
  1326. BAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ
  1327. MBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk
  1328. mW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG
  1329. A1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud
  1330. IwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV
  1331. GtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx
  1332. UuWd5HCHk0DT3FI2osl/qYIO
  1333. -----END CERTIFICATE-----
  1334. </code>
  1335. </div><div id="dev0Org0-dev0Org0App1">
  1336. <h4>User dev0Org0 setting tag key dev0Org0App1 to value</h4>
  1337. </div><div class="scrollBox">
  1338. <code>
  1339. NodeAdminTuple(user=u&#39;dev0Org0&#39;, nodeName=u&#39;consortium1&#39;, organization=u&#39;peerOrg0&#39;)
  1340. </code>
  1341. </div><div id="dev0Org1">
  1342. <h4>Created new user dev0Org1 with <a href="./dir-user-dev0org1-privatekey.pem">private key</a></h4>
  1343. <code>-----BEGIN EC PRIVATE KEY-----
  1344. MHcCAQEEIAhEOqXZhZ3lngw+n8RjKMyA/6O9VAokOHc9ZwQdrZ7JoAoGCCqGSM49
  1345. AwEHoUQDQgAEFqYSxy6AVb10nQXXEL9vLa8PSGLFpEG2IvfE1Y7kIZwqaRzvc3v/
  1346. qvrfYsmpvuOh9fq7ATUhv3fmaLaz4uLGZQ==
  1347. -----END EC PRIVATE KEY-----
  1348. </code>
  1349. </div><div>
  1350. <h4>Created new named node admin tuple: NodeAdminTuple(user=u&#39;dev0Org1&#39;, nodeName=u&#39;consortium1&#39;, organization=u&#39;peerOrg0&#39;)</h4>
  1351. </div><div class="scrollBox">
  1352. <code>
  1353. -----BEGIN CERTIFICATE-----
  1354. MIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y
  1355. ZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG
  1356. A1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0
  1357. OTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV
  1358. BAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ
  1359. MBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB
  1360. tiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG
  1361. A1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud
  1362. IwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+
  1363. k95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy
  1364. ahPwqTJzh29i7wDevYXycho=
  1365. -----END CERTIFICATE-----
  1366. </code>
  1367. </div><div id="dev0Org1-dev0Org1App1">
  1368. <h4>User dev0Org1 setting tag key dev0Org1App1 to value</h4>
  1369. </div><div class="scrollBox">
  1370. <code>
  1371. NodeAdminTuple(user=u&#39;dev0Org1&#39;, nodeName=u&#39;consortium1&#39;, organization=u&#39;peerOrg0&#39;)
  1372. </code>
  1373. </div><div id="Step 15">
  1374. <h2>Step 15</h2>
  1375. <hr/>
  1376. <h3>And the user &#34;dev0Org0&#34; creates a peer template &#34;template1&#34; with chaincode deployment policy using consortium &#34;consortium1&#34; and peer organizations</h3>
  1377. <table>
  1378. <tr>
  1379. <th>Organization</th>
  1380. </tr>
  1381. <tr>
  1382. <td>peerOrg0</td>
  1383. </tr>
  1384. </table>
  1385. </div><div id="dev0Org0-template1">
  1386. <h4>User dev0Org0 setting tag key template1 to value</h4>
  1387. </div><div class="scrollBox">
  1388. <code>
  1389. [name:peerOrg0, networks: [&lt;Network.Peer: 2&gt;]]
  1390. </code>
  1391. </div><div id="Step 16">
  1392. <h2>Step 16</h2>
  1393. <hr/>
  1394. <h3>And the user &#34;dev0Org0&#34; creates an peer anchor set &#34;anchors1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; for orgs</h3>
  1395. <table>
  1396. <tr>
  1397. <th>User</th>
  1398. <th>Peer</th>
  1399. <th>Organization</th>
  1400. </tr>
  1401. <tr>
  1402. <td>peer0Signer</td>
  1403. <td>peer0</td>
  1404. <td>peerOrg0</td>
  1405. </tr>
  1406. </table>
  1407. </div><div id="dev0Org0-anchors1">
  1408. <h4>User dev0Org0 setting tag key anchors1 to value</h4>
  1409. </div><div>
  1410. <a href="./dev0org0-anchors1-0000.protobuf" title="dev0org0-anchors1-0000.protobuf">Protobuf message in binary form</a>
  1411. <div class="scrollBox">
  1412. <code>
  1413. groups {
  1414. key: &#34;Application&#34;
  1415. value {
  1416. groups {
  1417. key: &#34;peerOrg0&#34;
  1418. value {
  1419. values {
  1420. key: &#34;AnchorPeers&#34;
  1421. value {
  1422. value: &#34;\n\n\n\005peer0\020\2137&#34;
  1423. }
  1424. }
  1425. }
  1426. }
  1427. }
  1428. }
  1429. </code>
  1430. </div>
  1431. <div>
  1432. <div class="scrollBox">
  1433. <code>
  1434. from common.configtx_pb2 import ConfigGroup
  1435. configGroup = ConfigGroup()
  1436. data = None
  1437. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-anchors1-0000.protobuf') as f:
  1438. data = f.read()
  1439. configGroup.ParseFromString(data)
  1440. </code>
  1441. </div>
  1442. </div></div><div id="Step 17">
  1443. <h2>Step 17</h2>
  1444. <hr/>
  1445. <h3>And the user &#34;dev0Org0&#34; creates a ConfigUpdateEnvelope &#34;createChannelConfigUpdate1&#34;</h3>
  1446. <table>
  1447. <tr>
  1448. <th>ChannelID</th>
  1449. <th>Template</th>
  1450. <th>Consortium</th>
  1451. <th>Anchors</th>
  1452. </tr>
  1453. <tr>
  1454. <td>com.acme.blockchain.jdoe.Channel1</td>
  1455. <td>template1</td>
  1456. <td>consortium1</td>
  1457. <td>anchors1</td>
  1458. </tr>
  1459. </table>
  1460. </div><div id="dev0Org0-createChannelConfigUpdate1_signedMspConfigItems">
  1461. <h4>User dev0Org0 setting tag key createChannelConfigUpdate1_signedMspConfigItems to value</h4>
  1462. </div><div>
  1463. <a href="./dev0org0-createchannelconfigupdate1-signedmspconfigitems-0000.protobuf" title="dev0org0-createchannelconfigupdate1-signedmspconfigitems-0000.protobuf">Protobuf message in binary form</a>
  1464. <div class="scrollBox">
  1465. <code>
  1466. groups {
  1467. key: &#34;Application&#34;
  1468. value {
  1469. groups {
  1470. key: &#34;peerOrg0&#34;
  1471. value {
  1472. }
  1473. }
  1474. policies {
  1475. key: &#34;Admins&#34;
  1476. value {
  1477. policy {
  1478. type: 3
  1479. policy: &#34;\n\006Admins\020\002&#34;
  1480. }
  1481. }
  1482. }
  1483. policies {
  1484. key: &#34;Readers&#34;
  1485. value {
  1486. policy {
  1487. type: 3
  1488. policy: &#34;\n\007Readers&#34;
  1489. }
  1490. }
  1491. }
  1492. policies {
  1493. key: &#34;Writers&#34;
  1494. value {
  1495. policy {
  1496. type: 3
  1497. policy: &#34;\n\007Writers&#34;
  1498. }
  1499. }
  1500. }
  1501. }
  1502. }
  1503. </code>
  1504. </div>
  1505. <div>
  1506. <div class="scrollBox">
  1507. <code>
  1508. from common.configtx_pb2 import ConfigGroup
  1509. configGroup = ConfigGroup()
  1510. data = None
  1511. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-createchannelconfigupdate1-signedmspconfigitems-0000.protobuf') as f:
  1512. data = f.read()
  1513. configGroup.ParseFromString(data)
  1514. </code>
  1515. </div>
  1516. </div></div><div id="dev0Org0-createChannelConfigUpdate1_channel_config_groups">
  1517. <h4>User dev0Org0 setting tag key createChannelConfigUpdate1_channel_config_groups to value</h4>
  1518. </div><div>
  1519. <a href="./dev0org0-createchannelconfigupdate1-channel-config-groups.protobuf" title="dev0org0-createchannelconfigupdate1-channel-config-groups.protobuf">Protobuf message in binary form</a>
  1520. <div class="scrollBox">
  1521. <code>
  1522. groups {
  1523. key: &#34;Application&#34;
  1524. value {
  1525. version: 1
  1526. groups {
  1527. key: &#34;peerOrg0&#34;
  1528. value {
  1529. }
  1530. }
  1531. policies {
  1532. key: &#34;Admins&#34;
  1533. value {
  1534. policy {
  1535. type: 3
  1536. policy: &#34;\n\006Admins\020\002&#34;
  1537. }
  1538. }
  1539. }
  1540. policies {
  1541. key: &#34;Readers&#34;
  1542. value {
  1543. policy {
  1544. type: 3
  1545. policy: &#34;\n\007Readers&#34;
  1546. }
  1547. }
  1548. }
  1549. policies {
  1550. key: &#34;Writers&#34;
  1551. value {
  1552. policy {
  1553. type: 3
  1554. policy: &#34;\n\007Writers&#34;
  1555. }
  1556. }
  1557. }
  1558. }
  1559. }
  1560. values {
  1561. key: &#34;Consortium&#34;
  1562. value {
  1563. value: &#34;\n\013consortium1&#34;
  1564. }
  1565. }
  1566. </code>
  1567. </div>
  1568. <div>
  1569. <div class="scrollBox">
  1570. <code>
  1571. from common.configtx_pb2 import ConfigGroup
  1572. configGroup = ConfigGroup()
  1573. data = None
  1574. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-createchannelconfigupdate1-channel-config-groups.protobuf') as f:
  1575. data = f.read()
  1576. configGroup.ParseFromString(data)
  1577. </code>
  1578. </div>
  1579. </div></div><div id="dev0Org0-createChannelConfigUpdate1">
  1580. <h4>User dev0Org0 setting tag key createChannelConfigUpdate1 to value</h4>
  1581. </div><div>
  1582. <a href="./dev0org0-createchannelconfigupdate1.protobuf" title="dev0org0-createchannelconfigupdate1.protobuf">Protobuf message in binary form</a>
  1583. <div class="scrollBox">
  1584. <code>
  1585. config_update: &#34;\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1&#34;
  1586. </code>
  1587. </div>
  1588. <div>
  1589. <div class="scrollBox">
  1590. <code>
  1591. from common.configtx_pb2 import ConfigUpdateEnvelope
  1592. configUpdateEnvelope = ConfigUpdateEnvelope()
  1593. data = None
  1594. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-createchannelconfigupdate1.protobuf') as f:
  1595. data = f.read()
  1596. configUpdateEnvelope.ParseFromString(data)
  1597. </code>
  1598. </div>
  1599. </div></div><div id="Step 18">
  1600. <h2>Step 18</h2>
  1601. <hr/>
  1602. <h3>And the user &#34;dev0Org0&#34; collects signatures for ConfigUpdateEnvelope &#34;createChannelConfigUpdate1&#34; from developers</h3>
  1603. <table>
  1604. <tr>
  1605. <th>Developer</th>
  1606. <th>Cert Alias</th>
  1607. </tr>
  1608. <tr>
  1609. <td>dev0Org0</td>
  1610. <td>dev0Org0App1</td>
  1611. </tr>
  1612. <tr>
  1613. <td>dev0Org1</td>
  1614. <td>dev0Org1App1</td>
  1615. </tr>
  1616. </table>
  1617. </div><div id="Step 19">
  1618. <h2>Step 19</h2>
  1619. <hr/>
  1620. <h3>And the user &#34;dev0Org0&#34; creates a ConfigUpdate Tx &#34;configUpdateTx1&#34; using cert alias &#34;dev0Org0App1&#34; using signed ConfigUpdateEnvelope &#34;createChannelConfigUpdate1&#34;</h3>
  1621. </div><div id="dev0Org0-configUpdateTx1">
  1622. <h4>User dev0Org0 setting tag key configUpdateTx1 to value</h4>
  1623. </div><div>
  1624. <a href="./dev0org0-configupdatetx1.protobuf" title="dev0org0-configupdatetx1.protobuf">Protobuf message in binary form</a>
  1625. <div class="scrollBox">
  1626. <code>
  1627. payload: &#34;\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;&#34;
  1628. signature: &#34;0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4&#34;
  1629. </code>
  1630. </div>
  1631. <div>
  1632. <div class="scrollBox">
  1633. <code>
  1634. from common.common_pb2 import Envelope
  1635. envelope = Envelope()
  1636. data = None
  1637. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-configupdatetx1.protobuf') as f:
  1638. data = f.read()
  1639. envelope.ParseFromString(data)
  1640. </code>
  1641. </div>
  1642. </div></div><div id="Step 20">
  1643. <h2>Step 20</h2>
  1644. <hr/>
  1645. <h3>And the user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; broadcasts ConfigUpdate Tx &#34;configUpdateTx1&#34; to orderer &#34;orderer0&#34; to create channel &#34;com.acme.blockchain.jdoe.Channel1&#34;</h3>
  1646. </div><div id="Step 21">
  1647. <h2>Step 21</h2>
  1648. <hr/>
  1649. <h3>And I wait &#34;2&#34; seconds</h3>
  1650. </div><div id="Step 22">
  1651. <h2>Step 22</h2>
  1652. <hr/>
  1653. <h3>When user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; connects to deliver function on orderer &#34;orderer0&#34;</h3>
  1654. </div><div id="Step 23">
  1655. <h2>Step 23</h2>
  1656. <hr/>
  1657. <h3>And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properties</h3>
  1658. <table>
  1659. <tr>
  1660. <th>ChainId</th>
  1661. <th>Start</th>
  1662. <th>End</th>
  1663. </tr>
  1664. <tr>
  1665. <td>com.acme.blockchain.jdoe.Channel1</td>
  1666. <td>0</td>
  1667. <td>0</td>
  1668. </tr>
  1669. </table>
  1670. </div><div id="Step 24">
  1671. <h2>Step 24</h2>
  1672. <hr/>
  1673. <h3>Then user &#34;dev0Org0&#34; should get a delivery &#34;genesisBlockForMyNewChannel&#34; from &#34;orderer0&#34; of &#34;1&#34; blocks with &#34;1&#34; messages within &#34;1&#34; seconds</h3>
  1674. </div><div id="dev0Org0-genesisBlockForMyNewChannel">
  1675. <h4>User dev0Org0 setting tag key genesisBlockForMyNewChannel to value</h4>
  1676. </div><div>
  1677. <a href="./dev0org0-genesisblockformynewchannel-0000.protobuf" title="dev0org0-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1678. <div class="scrollBox">
  1679. <code>
  1680. header {
  1681. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1682. }
  1683. data {
  1684. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1685. }
  1686. metadata {
  1687. metadata: &#34;&#34;
  1688. metadata: &#34;&#34;
  1689. metadata: &#34;&#34;
  1690. metadata: &#34;&#34;
  1691. }
  1692. </code>
  1693. </div>
  1694. <div>
  1695. <div class="scrollBox">
  1696. <code>
  1697. from common.common_pb2 import Block
  1698. block = Block()
  1699. data = None
  1700. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-genesisblockformynewchannel-0000.protobuf') as f:
  1701. data = f.read()
  1702. block.ParseFromString(data)
  1703. </code>
  1704. </div>
  1705. </div></div><div id="Step 25">
  1706. <h2>Step 25</h2>
  1707. <hr/>
  1708. <h3>Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;dev0Org1&#34;</h3>
  1709. </div><div id="dev0Org1-genesisBlockForMyNewChannel">
  1710. <h4>User dev0Org1 setting tag key genesisBlockForMyNewChannel to value</h4>
  1711. </div><div>
  1712. <a href="./dev0org1-genesisblockformynewchannel-0000.protobuf" title="dev0org1-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1713. <div class="scrollBox">
  1714. <code>
  1715. header {
  1716. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1717. }
  1718. data {
  1719. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1720. }
  1721. metadata {
  1722. metadata: &#34;&#34;
  1723. metadata: &#34;&#34;
  1724. metadata: &#34;&#34;
  1725. metadata: &#34;&#34;
  1726. }
  1727. </code>
  1728. </div>
  1729. <div>
  1730. <div class="scrollBox">
  1731. <code>
  1732. from common.common_pb2 import Block
  1733. block = Block()
  1734. data = None
  1735. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org1-genesisblockformynewchannel-0000.protobuf') as f:
  1736. data = f.read()
  1737. block.ParseFromString(data)
  1738. </code>
  1739. </div>
  1740. </div></div><div id="Step 26">
  1741. <h2>Step 26</h2>
  1742. <hr/>
  1743. <h3>Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer0Admin&#34;</h3>
  1744. </div><div id="peer0Admin-genesisBlockForMyNewChannel">
  1745. <h4>User peer0Admin setting tag key genesisBlockForMyNewChannel to value</h4>
  1746. </div><div>
  1747. <a href="./peer0admin-genesisblockformynewchannel-0000.protobuf" title="peer0admin-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1748. <div class="scrollBox">
  1749. <code>
  1750. header {
  1751. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1752. }
  1753. data {
  1754. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1755. }
  1756. metadata {
  1757. metadata: &#34;&#34;
  1758. metadata: &#34;&#34;
  1759. metadata: &#34;&#34;
  1760. metadata: &#34;&#34;
  1761. }
  1762. </code>
  1763. </div>
  1764. <div>
  1765. <div class="scrollBox">
  1766. <code>
  1767. from common.common_pb2 import Block
  1768. block = Block()
  1769. data = None
  1770. with open('tmp/40dc98342b7a11e79ac800163e000427/peer0admin-genesisblockformynewchannel-0000.protobuf') as f:
  1771. data = f.read()
  1772. block.ParseFromString(data)
  1773. </code>
  1774. </div>
  1775. </div></div><div id="Step 27">
  1776. <h2>Step 27</h2>
  1777. <hr/>
  1778. <h3>Given user &#34;dev0Org0&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer1Admin&#34;</h3>
  1779. </div><div id="peer1Admin-genesisBlockForMyNewChannel">
  1780. <h4>User peer1Admin setting tag key genesisBlockForMyNewChannel to value</h4>
  1781. </div><div>
  1782. <a href="./peer1admin-genesisblockformynewchannel-0000.protobuf" title="peer1admin-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1783. <div class="scrollBox">
  1784. <code>
  1785. header {
  1786. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1787. }
  1788. data {
  1789. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1790. }
  1791. metadata {
  1792. metadata: &#34;&#34;
  1793. metadata: &#34;&#34;
  1794. metadata: &#34;&#34;
  1795. metadata: &#34;&#34;
  1796. }
  1797. </code>
  1798. </div>
  1799. <div>
  1800. <div class="scrollBox">
  1801. <code>
  1802. from common.common_pb2 import Block
  1803. block = Block()
  1804. data = None
  1805. with open('tmp/40dc98342b7a11e79ac800163e000427/peer1admin-genesisblockformynewchannel-0000.protobuf') as f:
  1806. data = f.read()
  1807. block.ParseFromString(data)
  1808. </code>
  1809. </div>
  1810. </div></div><div id="Step 28">
  1811. <h2>Step 28</h2>
  1812. <hr/>
  1813. <h3>When user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel using genesis block &#34;genesisBlockForMyNewChannel&#34; on peers with result &#34;joinChannelResult&#34;</h3>
  1814. <table>
  1815. <tr>
  1816. <th>Peer</th>
  1817. </tr>
  1818. <tr>
  1819. <td>peer0</td>
  1820. </tr>
  1821. </table>
  1822. </div><div id="peer0Admin-joinChannelResult">
  1823. <h4>User peer0Admin setting tag key joinChannelResult to value</h4>
  1824. </div><div>
  1825. <a href="./peer0admin-joinchannelresult-peer0.protobuf" title="peer0admin-joinchannelresult-peer0.protobuf">Protobuf message in binary form</a>
  1826. <div class="scrollBox">
  1827. <code>
  1828. response {
  1829. status: 200
  1830. }
  1831. </code>
  1832. </div>
  1833. <div>
  1834. <div class="scrollBox">
  1835. <code>
  1836. from peer.proposal_response_pb2 import ProposalResponse
  1837. proposalResponse = ProposalResponse()
  1838. data = None
  1839. with open('tmp/40dc98342b7a11e79ac800163e000427/peer0admin-joinchannelresult-peer0.protobuf') as f:
  1840. data = f.read()
  1841. proposalResponse.ParseFromString(data)
  1842. </code>
  1843. </div>
  1844. </div></div><div id="Step 29">
  1845. <h2>Step 29</h2>
  1846. <hr/>
  1847. <h3>Then user &#34;peer0Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peers</h3>
  1848. <table>
  1849. <tr>
  1850. <th>Peer</th>
  1851. </tr>
  1852. <tr>
  1853. <td>peer0</td>
  1854. </tr>
  1855. </table>
  1856. </div><div id="Step 30">
  1857. <h2>Step 30</h2>
  1858. <hr/>
  1859. <h3>When user &#34;peer1Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel using genesis block &#34;genesisBlockForMyNewChannel&#34; on peers with result &#34;joinChannelResult&#34;</h3>
  1860. <table>
  1861. <tr>
  1862. <th>Peer</th>
  1863. </tr>
  1864. <tr>
  1865. <td>peer1</td>
  1866. </tr>
  1867. </table>
  1868. </div><div id="peer1Admin-joinChannelResult">
  1869. <h4>User peer1Admin setting tag key joinChannelResult to value</h4>
  1870. </div><div>
  1871. <a href="./peer1admin-joinchannelresult-peer1.protobuf" title="peer1admin-joinchannelresult-peer1.protobuf">Protobuf message in binary form</a>
  1872. <div class="scrollBox">
  1873. <code>
  1874. response {
  1875. status: 200
  1876. }
  1877. </code>
  1878. </div>
  1879. <div>
  1880. <div class="scrollBox">
  1881. <code>
  1882. from peer.proposal_response_pb2 import ProposalResponse
  1883. proposalResponse = ProposalResponse()
  1884. data = None
  1885. with open('tmp/40dc98342b7a11e79ac800163e000427/peer1admin-joinchannelresult-peer1.protobuf') as f:
  1886. data = f.read()
  1887. proposalResponse.ParseFromString(data)
  1888. </code>
  1889. </div>
  1890. </div></div><div id="Step 31">
  1891. <h2>Step 31</h2>
  1892. <hr/>
  1893. <h3>Then user &#34;peer1Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peers</h3>
  1894. <table>
  1895. <tr>
  1896. <th>Peer</th>
  1897. </tr>
  1898. <tr>
  1899. <td>peer1</td>
  1900. </tr>
  1901. </table>
  1902. </div><div id="Step 32">
  1903. <h2>Step 32</h2>
  1904. <hr/>
  1905. <h3>Given user &#34;dev0Org1&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer2Admin&#34;</h3>
  1906. </div><div id="peer2Admin-genesisBlockForMyNewChannel">
  1907. <h4>User peer2Admin setting tag key genesisBlockForMyNewChannel to value</h4>
  1908. </div><div>
  1909. <a href="./peer2admin-genesisblockformynewchannel-0000.protobuf" title="peer2admin-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1910. <div class="scrollBox">
  1911. <code>
  1912. header {
  1913. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1914. }
  1915. data {
  1916. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1917. }
  1918. metadata {
  1919. metadata: &#34;&#34;
  1920. metadata: &#34;&#34;
  1921. metadata: &#34;&#34;
  1922. metadata: &#34;&#34;
  1923. }
  1924. </code>
  1925. </div>
  1926. <div>
  1927. <div class="scrollBox">
  1928. <code>
  1929. from common.common_pb2 import Block
  1930. block = Block()
  1931. data = None
  1932. with open('tmp/40dc98342b7a11e79ac800163e000427/peer2admin-genesisblockformynewchannel-0000.protobuf') as f:
  1933. data = f.read()
  1934. block.ParseFromString(data)
  1935. </code>
  1936. </div>
  1937. </div></div><div id="Step 33">
  1938. <h2>Step 33</h2>
  1939. <hr/>
  1940. <h3>Given user &#34;dev0Org1&#34; gives &#34;genesisBlockForMyNewChannel&#34; to user &#34;peer3Admin&#34;</h3>
  1941. </div><div id="peer3Admin-genesisBlockForMyNewChannel">
  1942. <h4>User peer3Admin setting tag key genesisBlockForMyNewChannel to value</h4>
  1943. </div><div>
  1944. <a href="./peer3admin-genesisblockformynewchannel-0000.protobuf" title="peer3admin-genesisblockformynewchannel-0000.protobuf">Protobuf message in binary form</a>
  1945. <div class="scrollBox">
  1946. <code>
  1947. header {
  1948. data_hash: &#34;y7*\252&lt;\347\257y]15VH\320[\355t\277\207~3\204g\n\263\224\003\261A\305u\260&#34;
  1949. }
  1950. data {
  1951. data: &#34;\n\334&lt;\n\242\006\n-\010\001\032\006\010\306\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030{\346H\310\273\247L\022\326\005\272\202\r-\256Xj\211a\220\225#\242j\022\2646\n\205 \010\001\022\200 \022\330\017\n\007Orderer\022\314\017\022\251\r\n\013ordererOrg0\022\231\r\032\363\013\n\003MSP\022\353\013\022\340\013\022\335\013\n\013ordererOrg0\022\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\&#34;\345\005-----BEGIN CERTIFICATE-----\nMIIB9TCCAZygAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBYMRQwEgYDVQQDDAtvcmRlcmVyT3JnMDELMAkGA1UEBhMCVVMxDDAK\nBgNVBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGlu\nYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLawQik+bOgaBNS9M74sjdw4Imqt\ng64ZdUP83144uaSHQPuUq8OYMMK/apGUSWtrorOJ2Gj9PMV+0Qs8yzeOAdWjVjBU\nMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDRTjX3QJOAHbnREWkYokhXR\npzsGMB8GA1UdIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMC\nA0cAMEQCIBdqKO3TZ2KLWKcDErGiOc7TWIVChFfzO4Bn9AuunU6QAiAvweATe3z1\n4CISjkUeaw8SdMSKV5GgRZCjgwzF8lLvNA==\n-----END CERTIFICATE-----\n\032\006Admins\&#34;4\n\007Writers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;4\n\007Readers\022)\022\037\010\001\022\033\022\010\022\006\010\001\022\002\010\000\032\017\022\r\n\013ordererOrg0\032\006Admins\&#34;5\n\006Admins\022+\022!\010\001\022\035\022\010\022\006\010\001\022\002\010\000\032\021\022\017\n\013ordererOrg0\020\001\032\006Admins\032\037\n\023ChannelRestrictions\022\010\032\006Admins\032\036\n\014BatchTimeout\022\016\022\004\n\0021s\032\006Admins\032!\n\rConsensusType\022\020\022\006\n\004solo\032\006Admins\032\&#34;\n\tBatchSize\022\025\022\013\010\n\020\200\302\327/\030\200\200 \032\006Admins\&#34;*\n\017BlockValidation\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\022\363\r\n\013Application\022\343\r\010\001\022\212\r\n\010peerOrg0\022\375\014\032\340\013\n\003MSP\022\330\013\022\315\013\022\312\013\n\010peerOrg0\022\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\&#34;\335\005-----BEGIN CERTIFICATE-----\nMIIB8DCCAZagAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBVMREwDwYDVQQDDAhwZWVyT3JnMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcM\nA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMG\nByqGSM49AgEGCCqGSM49AwEHA0IABHoyrgAAOk5OlEGB1GCLY4eIZuhVtAy55Mea\nmoa+LzZGyA5kKfI9n5rw6pbum0ZcoWvv26bB6MJsE53eRJexOu6jVjBUMBIGA1Ud\nEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMjjW1UqCPlfPHykFupBF0DJjgAjMB8G\nA1UdIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUC\nIQDNERoPNQ0pCa+mnU/q4ef6o/hgMZeOm6cwDVreH/79gwIgf9Xvl2FCIdUFdS5G\nv4D1ZnEJ9emNk6FETGC8NKnnUuc=\n-----END CERTIFICATE-----\n\032\006Admins\&#34;1\n\007Readers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;2\n\006Admins\022(\022\036\010\001\022\032\022\010\022\006\010\001\022\002\010\000\032\016\022\014\n\010peerOrg0\020\001\032\006Admins\&#34;1\n\007Writers\022&amp;\022\034\010\001\022\030\022\010\022\006\010\001\022\002\010\000\032\014\022\n\n\010peerOrg0\032\006Admins\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032K\n\020OrdererAddresses\0227\022-\n\rorderer0:7050\n\rorderer1:7050\n\rorderer2:7050\032\006Admins\032&amp;\n\020HashingAlgorithm\022\022\022\010\n\006SHA256\032\006Admins\032-\n\031BlockDataHashingStructure\022\020\022\006\010\377\377\377\377\017\032\006Admins\&#34;\&#34;\n\007Readers\022\027\022\r\010\003\022\t\n\007Readers\032\006Admins\&#34;\&#34;\n\006Admins\022\030\022\016\010\003\022\n\n\006Admins\020\002\032\006Admins\&#34;\&#34;\n\007Writers\022\027\022\r\010\003\022\t\n\007Writers\032\006Admins\022\251\026\n\336\025\n\267\006\n/\010\002\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030x\304\242\246\224\317w\014\0279*\355\&#34;\246\2370\220\310\233\305k`\024l\022\241\017\n\372\001\n!com.acme.blockchain.jdoe.Channel1\022&gt;\022\035\n\013Application\022\016\022\014\n\010peerOrg0\022\000\032\035\n\nConsortium\022\017\022\r\n\013consortium1\032\224\001\022s\n\013Application\022d\010\001\022\014\n\010peerOrg0\022\000\&#34;\032\n\007Writers\022\017\022\r\010\003\022\t\n\007Writers\&#34;\032\n\007Readers\022\017\022\r\010\003\022\t\n\007Readers\&#34;\032\n\006Admins\022\020\022\016\010\003\022\n\n\006Admins\020\002\032\035\n\nConsortium\022\017\022\r\n\013consortium1\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\2771\351\243\370\256\004\261\324\262~\234\3149\232\346\240\245\016\365\362i\031\234\022G0E\002!\000\360\250\262\200~q\3175C3\233\201\342q\333i\363\324\324dwUD\325\243\017\021\273\205\007Q\&#34;\002 ?\375\301\005\2455\362\215[\231\007\323Y\300\265{C\254\313\200\265\023_\361\365M\272\357\232R2$\022\317\006\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBamEscugFW9dJ0F1xC/by2vD0hixaRB\ntiL3xNWO5CGcKmkc73N7/6r632LJqb7jofX6uwE1Ib935mi2s+LixmWjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFLb6oil7KHKd67G+mDqgzphpFet4MB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIFP+\nk95YP4GWpCqayw1w+xMvrUJLap09D0kRrUgvVIHYAiEAw9ae6L0cUx62eD0HBbNy\nahPwqTJzh29i7wDevYXycho=\n-----END CERTIFICATE-----\n\022\030\357v_\007i\014\375\373\342\013\031\232\217\030;\340)^\203s\225\026;\326\022G0E\002!\000\230sr\217\312\354\350\233\2766\200\035\273\371\2543\\\212r\302-h\316\353\224\206\264c\036\223\315\002\002 N\347=\352O\302\225iX\311\364\200\220\311F}]\201\203\311\246\212*\260R[fZ\312\335\315\&#39;\022F0D\002 ?M\324\270Fr\201\322\000\024S\002\360&lt;cb\351boH4Z\205\216\222\225\025o\304\326\301\003\002 1{(!\376\nsrO\010E\311\275\367\361\353\342[od_\367\217:\036\207L\332c\r\t4\022F0D\002 g\374\032Q\236{\362:\204\207\230\330\205\030b\200^J]R\026\2500\300\314\244IT\321is\344\002 E\306\271s\273\2613y\021\027\222d\217\303M\320\t\374(\323\323MS\263\225\303\300\347\201\013\021\006&#34;
  1952. }
  1953. metadata {
  1954. metadata: &#34;&#34;
  1955. metadata: &#34;&#34;
  1956. metadata: &#34;&#34;
  1957. metadata: &#34;&#34;
  1958. }
  1959. </code>
  1960. </div>
  1961. <div>
  1962. <div class="scrollBox">
  1963. <code>
  1964. from common.common_pb2 import Block
  1965. block = Block()
  1966. data = None
  1967. with open('tmp/40dc98342b7a11e79ac800163e000427/peer3admin-genesisblockformynewchannel-0000.protobuf') as f:
  1968. data = f.read()
  1969. block.ParseFromString(data)
  1970. </code>
  1971. </div>
  1972. </div></div><div id="Step 34">
  1973. <h2>Step 34</h2>
  1974. <hr/>
  1975. <h3>When user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel using genesis block &#34;genesisBlockForMyNewChannel&#34; on peers with result &#34;joinChannelResult&#34;</h3>
  1976. <table>
  1977. <tr>
  1978. <th>Peer</th>
  1979. </tr>
  1980. <tr>
  1981. <td>peer2</td>
  1982. </tr>
  1983. </table>
  1984. </div><div id="peer2Admin-joinChannelResult">
  1985. <h4>User peer2Admin setting tag key joinChannelResult to value</h4>
  1986. </div><div>
  1987. <a href="./peer2admin-joinchannelresult-peer2.protobuf" title="peer2admin-joinchannelresult-peer2.protobuf">Protobuf message in binary form</a>
  1988. <div class="scrollBox">
  1989. <code>
  1990. response {
  1991. status: 200
  1992. }
  1993. </code>
  1994. </div>
  1995. <div>
  1996. <div class="scrollBox">
  1997. <code>
  1998. from peer.proposal_response_pb2 import ProposalResponse
  1999. proposalResponse = ProposalResponse()
  2000. data = None
  2001. with open('tmp/40dc98342b7a11e79ac800163e000427/peer2admin-joinchannelresult-peer2.protobuf') as f:
  2002. data = f.read()
  2003. proposalResponse.ParseFromString(data)
  2004. </code>
  2005. </div>
  2006. </div></div><div id="Step 35">
  2007. <h2>Step 35</h2>
  2008. <hr/>
  2009. <h3>Then user &#34;peer2Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peers</h3>
  2010. <table>
  2011. <tr>
  2012. <th>Peer</th>
  2013. </tr>
  2014. <tr>
  2015. <td>peer2</td>
  2016. </tr>
  2017. </table>
  2018. </div><div id="Step 36">
  2019. <h2>Step 36</h2>
  2020. <hr/>
  2021. <h3>When user &#34;peer3Admin&#34; using cert alias &#34;peer-admin-cert&#34; requests to join channel using genesis block &#34;genesisBlockForMyNewChannel&#34; on peers with result &#34;joinChannelResult&#34;</h3>
  2022. <table>
  2023. <tr>
  2024. <th>Peer</th>
  2025. </tr>
  2026. <tr>
  2027. <td>peer3</td>
  2028. </tr>
  2029. </table>
  2030. </div><div id="peer3Admin-joinChannelResult">
  2031. <h4>User peer3Admin setting tag key joinChannelResult to value</h4>
  2032. </div><div>
  2033. <a href="./peer3admin-joinchannelresult-peer3.protobuf" title="peer3admin-joinchannelresult-peer3.protobuf">Protobuf message in binary form</a>
  2034. <div class="scrollBox">
  2035. <code>
  2036. response {
  2037. status: 200
  2038. }
  2039. </code>
  2040. </div>
  2041. <div>
  2042. <div class="scrollBox">
  2043. <code>
  2044. from peer.proposal_response_pb2 import ProposalResponse
  2045. proposalResponse = ProposalResponse()
  2046. data = None
  2047. with open('tmp/40dc98342b7a11e79ac800163e000427/peer3admin-joinchannelresult-peer3.protobuf') as f:
  2048. data = f.read()
  2049. proposalResponse.ParseFromString(data)
  2050. </code>
  2051. </div>
  2052. </div></div><div id="Step 37">
  2053. <h2>Step 37</h2>
  2054. <hr/>
  2055. <h3>Then user &#34;peer3Admin&#34; expects result code for &#34;joinChannelResult&#34; of &#34;200&#34; from peers</h3>
  2056. <table>
  2057. <tr>
  2058. <th>Peer</th>
  2059. </tr>
  2060. <tr>
  2061. <td>peer3</td>
  2062. </tr>
  2063. </table>
  2064. </div><div id="Step 38">
  2065. <h2>Step 38</h2>
  2066. <hr/>
  2067. <h3>When user &#34;peer0Admin&#34; creates a chaincode spec &#34;cc_spec&#34; with name &#34;example02&#34; of type &#34;GOLANG&#34; for chaincode &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34; with args</h3>
  2068. <table>
  2069. <tr>
  2070. <th>funcName</th>
  2071. <th>arg1</th>
  2072. <th>arg2</th>
  2073. <th>arg3</th>
  2074. <th>arg4</th>
  2075. </tr>
  2076. <tr>
  2077. <td>init</td>
  2078. <td>a</td>
  2079. <td>100</td>
  2080. <td>b</td>
  2081. <td>200</td>
  2082. </tr>
  2083. </table>
  2084. </div><div id="peer0Admin-cc_spec">
  2085. <h4>User peer0Admin setting tag key cc_spec to value</h4>
  2086. </div><div>
  2087. <a href="./peer0admin-cc-spec.protobuf" title="peer0admin-cc-spec.protobuf">Protobuf message in binary form</a>
  2088. <div class="scrollBox">
  2089. <code>
  2090. type: GOLANG
  2091. chaincode_id {
  2092. path: &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34;
  2093. name: &#34;example02&#34;
  2094. version: &#34;test&#34;
  2095. }
  2096. input {
  2097. args: &#34;init&#34;
  2098. args: &#34;a&#34;
  2099. args: &#34;100&#34;
  2100. args: &#34;b&#34;
  2101. args: &#34;200&#34;
  2102. }
  2103. </code>
  2104. </div>
  2105. <div>
  2106. <div class="scrollBox">
  2107. <code>
  2108. from peer.chaincode_pb2 import ChaincodeSpec
  2109. chaincodeSpec = ChaincodeSpec()
  2110. data = None
  2111. with open('tmp/40dc98342b7a11e79ac800163e000427/peer0admin-cc-spec.protobuf') as f:
  2112. data = f.read()
  2113. chaincodeSpec.ParseFromString(data)
  2114. </code>
  2115. </div>
  2116. </div></div><div id="Step 39">
  2117. <h2>Step 39</h2>
  2118. <hr/>
  2119. <h3>And user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; creates a install proposal &#34;installProposal1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; using chaincode spec &#34;cc_spec&#34;</h3>
  2120. </div><div id="peer0Admin-installProposal1">
  2121. <h4>User peer0Admin setting tag key installProposal1 to value</h4>
  2122. </div><div>
  2123. <a href="./peer0admin-installproposal1.protobuf" title="peer0admin-installproposal1.protobuf">Protobuf message in binary form</a>
  2124. Not showing message, exceeded max lenth of 10240 byes.
  2125. <div>
  2126. <div class="scrollBox">
  2127. <code>
  2128. from peer.proposal_pb2 import SignedProposal
  2129. signedProposal = SignedProposal()
  2130. data = None
  2131. with open('tmp/40dc98342b7a11e79ac800163e000427/peer0admin-installproposal1.protobuf') as f:
  2132. data = f.read()
  2133. signedProposal.ParseFromString(data)
  2134. </code>
  2135. </div>
  2136. </div></div><div id="Step 40">
  2137. <h2>Step 40</h2>
  2138. <hr/>
  2139. <h3>And user &#34;peer0Admin&#34; using cert alias &#34;peer-admin-cert&#34; sends proposal &#34;installProposal1&#34; to endorsers with timeout of &#34;90&#34; seconds with proposal responses &#34;installProposalResponses&#34;</h3>
  2140. <table>
  2141. <tr>
  2142. <th>Endorser</th>
  2143. </tr>
  2144. <tr>
  2145. <td>peer0</td>
  2146. </tr>
  2147. </table>
  2148. </div><div id="peer0Admin-installProposalResponses">
  2149. <h4>User peer0Admin setting tag key installProposalResponses to value</h4>
  2150. </div><div>
  2151. <a href="./peer0admin-installproposalresponses-peer0.protobuf" title="peer0admin-installproposalresponses-peer0.protobuf">Protobuf message in binary form</a>
  2152. <div class="scrollBox">
  2153. <code>
  2154. version: 1
  2155. response {
  2156. status: 200
  2157. message: &#34;OK&#34;
  2158. payload: &#34;OK&#34;
  2159. }
  2160. payload: &#34;\n d\317\032%/V\307\205P(\025\273\017\3579\236\225#He\301\017\351K\315\n\te\255f\302\323\022)\032\007\010\310\001\032\002OK\&#34;\036\022\004lscc\032\0261.0.0-snapshot-ca3a1a2&#34;
  2161. endorsement {
  2162. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I\naD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz\nOOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv\nricFnKdPqNrYWOOK\n-----END -----\n&#34;
  2163. signature: &#34;0D\002 \014\231{\246\025L\374\243a\332\374Lc1_\346\316v\234\234\202M\314t\271)gj]\225n\340\002 d\216\035j\235hF\032\323\243\271\277\366\307\231\2542zy\353\021\242\370\260\300*\363(\351\265\211\332&#34;
  2164. }
  2165. </code>
  2166. </div>
  2167. <div>
  2168. <div class="scrollBox">
  2169. <code>
  2170. from peer.proposal_response_pb2 import ProposalResponse
  2171. proposalResponse = ProposalResponse()
  2172. data = None
  2173. with open('tmp/40dc98342b7a11e79ac800163e000427/peer0admin-installproposalresponses-peer0.protobuf') as f:
  2174. data = f.read()
  2175. proposalResponse.ParseFromString(data)
  2176. </code>
  2177. </div>
  2178. </div></div><div id="Step 41">
  2179. <h2>Step 41</h2>
  2180. <hr/>
  2181. <h3>Then user &#34;peer0Admin&#34; expects proposal responses &#34;installProposalResponses&#34; with status &#34;200&#34; from endorsers</h3>
  2182. <table>
  2183. <tr>
  2184. <th>Endorser</th>
  2185. </tr>
  2186. <tr>
  2187. <td>peer0</td>
  2188. </tr>
  2189. </table>
  2190. </div><div id="Step 42">
  2191. <h2>Step 42</h2>
  2192. <hr/>
  2193. <h3>Given user &#34;peer0Admin&#34; gives &#34;cc_spec&#34; to user &#34;peer2Admin&#34;</h3>
  2194. </div><div id="peer2Admin-cc_spec">
  2195. <h4>User peer2Admin setting tag key cc_spec to value</h4>
  2196. </div><div>
  2197. <a href="./peer2admin-cc-spec.protobuf" title="peer2admin-cc-spec.protobuf">Protobuf message in binary form</a>
  2198. <div class="scrollBox">
  2199. <code>
  2200. type: GOLANG
  2201. chaincode_id {
  2202. path: &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34;
  2203. name: &#34;example02&#34;
  2204. version: &#34;test&#34;
  2205. }
  2206. input {
  2207. args: &#34;init&#34;
  2208. args: &#34;a&#34;
  2209. args: &#34;100&#34;
  2210. args: &#34;b&#34;
  2211. args: &#34;200&#34;
  2212. }
  2213. </code>
  2214. </div>
  2215. <div>
  2216. <div class="scrollBox">
  2217. <code>
  2218. from peer.chaincode_pb2 import ChaincodeSpec
  2219. chaincodeSpec = ChaincodeSpec()
  2220. data = None
  2221. with open('tmp/40dc98342b7a11e79ac800163e000427/peer2admin-cc-spec.protobuf') as f:
  2222. data = f.read()
  2223. chaincodeSpec.ParseFromString(data)
  2224. </code>
  2225. </div>
  2226. </div></div><div id="Step 43">
  2227. <h2>Step 43</h2>
  2228. <hr/>
  2229. <h3>When user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; creates a install proposal &#34;installProposal1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; using chaincode spec &#34;cc_spec&#34;</h3>
  2230. </div><div id="peer2Admin-installProposal1">
  2231. <h4>User peer2Admin setting tag key installProposal1 to value</h4>
  2232. </div><div>
  2233. <a href="./peer2admin-installproposal1.protobuf" title="peer2admin-installproposal1.protobuf">Protobuf message in binary form</a>
  2234. Not showing message, exceeded max lenth of 10240 byes.
  2235. <div>
  2236. <div class="scrollBox">
  2237. <code>
  2238. from peer.proposal_pb2 import SignedProposal
  2239. signedProposal = SignedProposal()
  2240. data = None
  2241. with open('tmp/40dc98342b7a11e79ac800163e000427/peer2admin-installproposal1.protobuf') as f:
  2242. data = f.read()
  2243. signedProposal.ParseFromString(data)
  2244. </code>
  2245. </div>
  2246. </div></div><div id="Step 44">
  2247. <h2>Step 44</h2>
  2248. <hr/>
  2249. <h3>And user &#34;peer2Admin&#34; using cert alias &#34;peer-admin-cert&#34; sends proposal &#34;installProposal1&#34; to endorsers with timeout of &#34;90&#34; seconds with proposal responses &#34;installProposalResponses&#34;</h3>
  2250. <table>
  2251. <tr>
  2252. <th>Endorser</th>
  2253. </tr>
  2254. <tr>
  2255. <td>peer2</td>
  2256. </tr>
  2257. </table>
  2258. </div><div id="peer2Admin-installProposalResponses">
  2259. <h4>User peer2Admin setting tag key installProposalResponses to value</h4>
  2260. </div><div>
  2261. <a href="./peer2admin-installproposalresponses-peer2.protobuf" title="peer2admin-installproposalresponses-peer2.protobuf">Protobuf message in binary form</a>
  2262. <div class="scrollBox">
  2263. <code>
  2264. version: 1
  2265. response {
  2266. status: 200
  2267. message: &#34;OK&#34;
  2268. payload: &#34;OK&#34;
  2269. }
  2270. payload: &#34;\n \2228e10)\230\373E\322\220\272fy\336\317a\205\200\033\322RW4\235\251tl\261i`|\022)\032\007\010\310\001\032\002OK\&#34;\036\022\004lscc\032\0261.0.0-snapshot-ca3a1a2&#34;
  2271. endorsement {
  2272. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0\nOTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8\nLxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b\nxxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u\nMFB4/f++r6yDDi8=\n-----END -----\n&#34;
  2273. signature: &#34;0D\002 t&amp;Eh&gt;\207\231\327F\303$\340&lt;\301PE\001G&amp;\007d?t:\367[k\374\367\3222\344\002 \016\025OW\205\270J\351\237\261U_K\320=\326j&lt;\335{=5\375\020\\D\202n$h\312\255&#34;
  2274. }
  2275. </code>
  2276. </div>
  2277. <div>
  2278. <div class="scrollBox">
  2279. <code>
  2280. from peer.proposal_response_pb2 import ProposalResponse
  2281. proposalResponse = ProposalResponse()
  2282. data = None
  2283. with open('tmp/40dc98342b7a11e79ac800163e000427/peer2admin-installproposalresponses-peer2.protobuf') as f:
  2284. data = f.read()
  2285. proposalResponse.ParseFromString(data)
  2286. </code>
  2287. </div>
  2288. </div></div><div id="Step 45">
  2289. <h2>Step 45</h2>
  2290. <hr/>
  2291. <h3>Then user &#34;peer2Admin&#34; expects proposal responses &#34;installProposalResponses&#34; with status &#34;200&#34; from endorsers</h3>
  2292. <table>
  2293. <tr>
  2294. <th>Endorser</th>
  2295. </tr>
  2296. <tr>
  2297. <td>peer2</td>
  2298. </tr>
  2299. </table>
  2300. </div><div id="Step 46">
  2301. <h2>Step 46</h2>
  2302. <hr/>
  2303. <h3>Given user &#34;peer0Admin&#34; gives &#34;cc_spec&#34; to user &#34;dev0Org0&#34;</h3>
  2304. </div><div id="dev0Org0-cc_spec">
  2305. <h4>User dev0Org0 setting tag key cc_spec to value</h4>
  2306. </div><div>
  2307. <a href="./dev0org0-cc-spec.protobuf" title="dev0org0-cc-spec.protobuf">Protobuf message in binary form</a>
  2308. <div class="scrollBox">
  2309. <code>
  2310. type: GOLANG
  2311. chaincode_id {
  2312. path: &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34;
  2313. name: &#34;example02&#34;
  2314. version: &#34;test&#34;
  2315. }
  2316. input {
  2317. args: &#34;init&#34;
  2318. args: &#34;a&#34;
  2319. args: &#34;100&#34;
  2320. args: &#34;b&#34;
  2321. args: &#34;200&#34;
  2322. }
  2323. </code>
  2324. </div>
  2325. <div>
  2326. <div class="scrollBox">
  2327. <code>
  2328. from peer.chaincode_pb2 import ChaincodeSpec
  2329. chaincodeSpec = ChaincodeSpec()
  2330. data = None
  2331. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-cc-spec.protobuf') as f:
  2332. data = f.read()
  2333. chaincodeSpec.ParseFromString(data)
  2334. </code>
  2335. </div>
  2336. </div></div><div id="Step 47">
  2337. <h2>Step 47</h2>
  2338. <hr/>
  2339. <h3>When user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a instantiate proposal &#34;instantiateProposal1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; using chaincode spec &#34;cc_spec&#34;</h3>
  2340. </div><div id="dev0Org0-instantiateProposal1">
  2341. <h4>User dev0Org0 setting tag key instantiateProposal1 to value</h4>
  2342. </div><div>
  2343. <a href="./dev0org0-instantiateproposal1.protobuf" title="dev0org0-instantiateproposal1.protobuf">Protobuf message in binary form</a>
  2344. <div class="scrollBox">
  2345. <code>
  2346. proposal_bytes: &#34;\n\212\007\n\201\001\010\003\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1*@98af23c34c27a23ccd8a5de5001ffe44a41dd9dd98ae22d3db00a7501f61dfdd:\016\022\014\022\004lscc\032\004test\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030M=\341\006\375J{\346\003\344\001~\023\243\004\347R\204\354\347 \332K\325\022\276\001\n\273\001\n\270\001\010\001\022\014\022\004lscc\032\004test\032\245\001\n\006deploy\n!com.acme.blockchain.jdoe.Channel1\nx\nv\010\001\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\032\026\n\004init\n\001a\n\003100\n\001b\n\003200&#34;
  2347. signature: &#34;0D\002 {=\035v;.wB\376\211\\dk\213f\304eE\230&lt;\310X\366p\\@Z\255\247\315`\305\002 U\003=(\2428Y\320\341\222\235\006`OF\355s\303PiBOJ2W\241BUb\225\361p&#34;
  2348. </code>
  2349. </div>
  2350. <div>
  2351. <div class="scrollBox">
  2352. <code>
  2353. from peer.proposal_pb2 import SignedProposal
  2354. signedProposal = SignedProposal()
  2355. data = None
  2356. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-instantiateproposal1.protobuf') as f:
  2357. data = f.read()
  2358. signedProposal.ParseFromString(data)
  2359. </code>
  2360. </div>
  2361. </div></div><div id="Step 48">
  2362. <h2>Step 48</h2>
  2363. <hr/>
  2364. <h3>And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;instantiateProposal1&#34; to endorsers with timeout of &#34;90&#34; seconds with proposal responses &#34;instantiateProposalResponses&#34;</h3>
  2365. <table>
  2366. <tr>
  2367. <th>Endorser</th>
  2368. </tr>
  2369. <tr>
  2370. <td>peer0</td>
  2371. </tr>
  2372. <tr>
  2373. <td>peer2</td>
  2374. </tr>
  2375. </table>
  2376. </div><div id="dev0Org0-instantiateProposalResponses">
  2377. <h4>User dev0Org0 setting tag key instantiateProposalResponses to value</h4>
  2378. </div><div>
  2379. <a href="./dev0org0-instantiateproposalresponses-peer0.protobuf" title="dev0org0-instantiateproposalresponses-peer0.protobuf">Protobuf message in binary form</a>
  2380. Not showing message, exceeded max lenth of 10240 byes.
  2381. <div>
  2382. <div class="scrollBox">
  2383. <code>
  2384. from peer.proposal_response_pb2 import ProposalResponse
  2385. proposalResponse = ProposalResponse()
  2386. data = None
  2387. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-instantiateproposalresponses-peer0.protobuf') as f:
  2388. data = f.read()
  2389. proposalResponse.ParseFromString(data)
  2390. </code>
  2391. </div>
  2392. </div></div><div>
  2393. <a href="./dev0org0-instantiateproposalresponses-peer2.protobuf" title="dev0org0-instantiateproposalresponses-peer2.protobuf">Protobuf message in binary form</a>
  2394. Not showing message, exceeded max lenth of 10240 byes.
  2395. <div>
  2396. <div class="scrollBox">
  2397. <code>
  2398. from peer.proposal_response_pb2 import ProposalResponse
  2399. proposalResponse = ProposalResponse()
  2400. data = None
  2401. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-instantiateproposalresponses-peer2.protobuf') as f:
  2402. data = f.read()
  2403. proposalResponse.ParseFromString(data)
  2404. </code>
  2405. </div>
  2406. </div></div><div id="Step 49">
  2407. <h2>Step 49</h2>
  2408. <hr/>
  2409. <h3>Then user &#34;dev0Org0&#34; expects proposal responses &#34;instantiateProposalResponses&#34; with status &#34;200&#34; from endorsers</h3>
  2410. <table>
  2411. <tr>
  2412. <th>Endorser</th>
  2413. </tr>
  2414. <tr>
  2415. <td>peer0</td>
  2416. </tr>
  2417. <tr>
  2418. <td>peer2</td>
  2419. </tr>
  2420. </table>
  2421. </div><div id="Step 50">
  2422. <h2>Step 50</h2>
  2423. <hr/>
  2424. <h3>And user &#34;dev0Org0&#34; expects proposal responses &#34;instantiateProposalResponses&#34; each have the same value from endorsers</h3>
  2425. <table>
  2426. <tr>
  2427. <th>Endorser</th>
  2428. </tr>
  2429. <tr>
  2430. <td>peer0</td>
  2431. </tr>
  2432. <tr>
  2433. <td>peer2</td>
  2434. </tr>
  2435. </table>
  2436. </div><div id="Step 51">
  2437. <h2>Step 51</h2>
  2438. <hr/>
  2439. <h3>When the user &#34;dev0Org0&#34; creates transaction &#34;instantiateTx1&#34; from proposal &#34;instantiateProposal1&#34; and proposal responses &#34;instantiateProposalResponses&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34;</h3>
  2440. </div><div id="dev0Org0-instantiateTx1">
  2441. <h4>User dev0Org0 setting tag key instantiateTx1 to value</h4>
  2442. </div><div>
  2443. <a href="./dev0org0-instantiatetx1.protobuf" title="dev0org0-instantiatetx1.protobuf">Protobuf message in binary form</a>
  2444. Not showing message, exceeded max lenth of 10240 byes.
  2445. <div>
  2446. <div class="scrollBox">
  2447. <code>
  2448. from common.common_pb2 import Envelope
  2449. envelope = Envelope()
  2450. data = None
  2451. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-instantiatetx1.protobuf') as f:
  2452. data = f.read()
  2453. envelope.ParseFromString(data)
  2454. </code>
  2455. </div>
  2456. </div></div><div id="Step 52">
  2457. <h2>Step 52</h2>
  2458. <hr/>
  2459. <h3>And the user &#34;dev0Org0&#34; broadcasts transaction &#34;instantiateTx1&#34; to orderer &#34;orderer0&#34; on channel &#34;com.acme.blockchain.jdoe.Channel1&#34;</h3>
  2460. </div><div id="Step 53">
  2461. <h2>Step 53</h2>
  2462. <hr/>
  2463. <h3>And I wait &#34;2&#34; seconds</h3>
  2464. </div><div id="Step 54">
  2465. <h2>Step 54</h2>
  2466. <hr/>
  2467. <h3>And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properties</h3>
  2468. <table>
  2469. <tr>
  2470. <th>ChainId</th>
  2471. <th>Start</th>
  2472. <th>End</th>
  2473. </tr>
  2474. <tr>
  2475. <td>com.acme.blockchain.jdoe.Channel1</td>
  2476. <td>1</td>
  2477. <td>1</td>
  2478. </tr>
  2479. </table>
  2480. </div><div id="Step 55">
  2481. <h2>Step 55</h2>
  2482. <hr/>
  2483. <h3>Then user &#34;dev0Org0&#34; should get a delivery &#34;deliveredInstantiateTx1Block&#34; from &#34;orderer0&#34; of &#34;1&#34; blocks with &#34;1&#34; messages within &#34;1&#34; seconds</h3>
  2484. </div><div id="dev0Org0-deliveredInstantiateTx1Block">
  2485. <h4>User dev0Org0 setting tag key deliveredInstantiateTx1Block to value</h4>
  2486. </div><div>
  2487. <a href="./dev0org0-deliveredinstantiatetx1block-0000.protobuf" title="dev0org0-deliveredinstantiatetx1block-0000.protobuf">Protobuf message in binary form</a>
  2488. Not showing message, exceeded max lenth of 10240 byes.
  2489. <div>
  2490. <div class="scrollBox">
  2491. <code>
  2492. from common.common_pb2 import Block
  2493. block = Block()
  2494. data = None
  2495. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-deliveredinstantiatetx1block-0000.protobuf') as f:
  2496. data = f.read()
  2497. block.ParseFromString(data)
  2498. </code>
  2499. </div>
  2500. </div></div><div id="Step 56">
  2501. <h2>Step 56</h2>
  2502. <hr/>
  2503. <h3>And I wait &#34;1&#34; seconds</h3>
  2504. </div><div id="Step 57">
  2505. <h2>Step 57</h2>
  2506. <hr/>
  2507. <h3>When user &#34;dev0Org0&#34; creates a chaincode invocation spec &#34;querySpec1&#34; using spec &#34;cc_spec&#34; with input</h3>
  2508. <table>
  2509. <tr>
  2510. <th>funcName</th>
  2511. <th>arg1</th>
  2512. </tr>
  2513. <tr>
  2514. <td>query</td>
  2515. <td>a</td>
  2516. </tr>
  2517. </table>
  2518. </div><div id="dev0Org0-querySpec1">
  2519. <h4>User dev0Org0 setting tag key querySpec1 to value</h4>
  2520. </div><div>
  2521. <a href="./dev0org0-queryspec1.protobuf" title="dev0org0-queryspec1.protobuf">Protobuf message in binary form</a>
  2522. <div class="scrollBox">
  2523. <code>
  2524. type: GOLANG
  2525. chaincode_id {
  2526. path: &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34;
  2527. name: &#34;example02&#34;
  2528. version: &#34;test&#34;
  2529. }
  2530. input {
  2531. args: &#34;query&#34;
  2532. args: &#34;a&#34;
  2533. }
  2534. </code>
  2535. </div>
  2536. <div>
  2537. <div class="scrollBox">
  2538. <code>
  2539. from peer.chaincode_pb2 import ChaincodeSpec
  2540. chaincodeSpec = ChaincodeSpec()
  2541. data = None
  2542. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-queryspec1.protobuf') as f:
  2543. data = f.read()
  2544. chaincodeSpec.ParseFromString(data)
  2545. </code>
  2546. </div>
  2547. </div></div><div id="Step 58">
  2548. <h2>Step 58</h2>
  2549. <hr/>
  2550. <h3>And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a proposal &#34;queryProposal1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; using chaincode spec &#34;querySpec1&#34;</h3>
  2551. </div><div id="dev0Org0-queryProposal1">
  2552. <h4>User dev0Org0 setting tag key queryProposal1 to value</h4>
  2553. </div><div>
  2554. <a href="./dev0org0-queryproposal1.protobuf" title="dev0org0-queryproposal1.protobuf">Protobuf message in binary form</a>
  2555. <div class="scrollBox">
  2556. <code>
  2557. proposal_bytes: &#34;\n\330\007\n\317\001\010\003\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1*@17d57b8b07264d9e9c74023c2621fbe045bd112bc00520829097f3ab8893b76b:\\\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030\325\357x\017Z\023\237\360\277\035\263\345\t\362\376{\013\305\254\240\366\203\241\014\022n\nl\nj\010\001\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\032\n\n\005query\n\001a&#34;
  2558. signature: &#34;0D\002 \006\270G\266\027`\0259\353\312\252\&#39;\211\256\320\264)\027\264(\260\021;\311:\300zq\203^\323\247\002 t`\037\276\2669)\245&amp;\004s\346\243p\364\377\005\303L\265Y\360\213&amp;\251\025\254\300\024\226\376\347&#34;
  2559. </code>
  2560. </div>
  2561. <div>
  2562. <div class="scrollBox">
  2563. <code>
  2564. from peer.proposal_pb2 import SignedProposal
  2565. signedProposal = SignedProposal()
  2566. data = None
  2567. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-queryproposal1.protobuf') as f:
  2568. data = f.read()
  2569. signedProposal.ParseFromString(data)
  2570. </code>
  2571. </div>
  2572. </div></div><div id="Step 59">
  2573. <h2>Step 59</h2>
  2574. <hr/>
  2575. <h3>And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;queryProposal1&#34; to endorsers with timeout of &#34;30&#34; seconds with proposal responses &#34;queryProposal1Responses&#34;</h3>
  2576. <table>
  2577. <tr>
  2578. <th>Endorser</th>
  2579. </tr>
  2580. <tr>
  2581. <td>peer0</td>
  2582. </tr>
  2583. <tr>
  2584. <td>peer2</td>
  2585. </tr>
  2586. </table>
  2587. </div><div id="dev0Org0-queryProposal1Responses">
  2588. <h4>User dev0Org0 setting tag key queryProposal1Responses to value</h4>
  2589. </div><div>
  2590. <a href="./dev0org0-queryproposal1responses-peer0.protobuf" title="dev0org0-queryproposal1responses-peer0.protobuf">Protobuf message in binary form</a>
  2591. <div class="scrollBox">
  2592. <code>
  2593. version: 1
  2594. response {
  2595. status: 200
  2596. message: &#34;OK&#34;
  2597. payload: &#34;100&#34;
  2598. }
  2599. payload: &#34;\n \310^\376\177\304\025\231\2079\343\356i\206\005]\000:\346/\244\&#39;\304\327\222\262Q#\332\212\317\tK\022\233\001\n3\022\026\n\texample02\022\t\n\007\n\001a\022\002\010\001\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\010\010\310\001\032\003100\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test&#34;
  2600. endorsement {
  2601. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I\naD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz\nOOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv\nricFnKdPqNrYWOOK\n-----END -----\n&#34;
  2602. signature: &#34;0E\002!\000\375\265x-\303^5\337RQ\307\301Y\014\372g\370\004J\304\002;\327\007v\031(T|\372Z\270\002 \026\213\014`.\263\246\341\226X\017\234AG\0200g\375\314OxZd\010\265&amp;\201&gt;\355\&#39;\031\177&#34;
  2603. }
  2604. </code>
  2605. </div>
  2606. <div>
  2607. <div class="scrollBox">
  2608. <code>
  2609. from peer.proposal_response_pb2 import ProposalResponse
  2610. proposalResponse = ProposalResponse()
  2611. data = None
  2612. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-queryproposal1responses-peer0.protobuf') as f:
  2613. data = f.read()
  2614. proposalResponse.ParseFromString(data)
  2615. </code>
  2616. </div>
  2617. </div></div><div>
  2618. <a href="./dev0org0-queryproposal1responses-peer2.protobuf" title="dev0org0-queryproposal1responses-peer2.protobuf">Protobuf message in binary form</a>
  2619. <div class="scrollBox">
  2620. <code>
  2621. version: 1
  2622. response {
  2623. status: 200
  2624. message: &#34;OK&#34;
  2625. payload: &#34;100&#34;
  2626. }
  2627. payload: &#34;\n \310^\376\177\304\025\231\2079\343\356i\206\005]\000:\346/\244\&#39;\304\327\222\262Q#\332\212\317\tK\022\233\001\n3\022\026\n\texample02\022\t\n\007\n\001a\022\002\010\001\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\010\010\310\001\032\003100\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test&#34;
  2628. endorsement {
  2629. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0\nOTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8\nLxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b\nxxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u\nMFB4/f++r6yDDi8=\n-----END -----\n&#34;
  2630. signature: &#34;0D\002 \032\332\032\3017\261\203qa\020Q\336\311k\211\2674\1772\265\016\321\210\203T ?\227\333P\347\256\002 %^\362\364@\302B\353\356m\301\030\326t$\257\205 \374\201\3739\016W\310_\240@R\247\317\032&#34;
  2631. }
  2632. </code>
  2633. </div>
  2634. <div>
  2635. <div class="scrollBox">
  2636. <code>
  2637. from peer.proposal_response_pb2 import ProposalResponse
  2638. proposalResponse = ProposalResponse()
  2639. data = None
  2640. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-queryproposal1responses-peer2.protobuf') as f:
  2641. data = f.read()
  2642. proposalResponse.ParseFromString(data)
  2643. </code>
  2644. </div>
  2645. </div></div><div id="Step 60">
  2646. <h2>Step 60</h2>
  2647. <hr/>
  2648. <h3>Then user &#34;dev0Org0&#34; expects proposal responses &#34;queryProposal1Responses&#34; with status &#34;200&#34; from endorsers</h3>
  2649. <table>
  2650. <tr>
  2651. <th>Endorser</th>
  2652. </tr>
  2653. <tr>
  2654. <td>peer0</td>
  2655. </tr>
  2656. <tr>
  2657. <td>peer2</td>
  2658. </tr>
  2659. </table>
  2660. </div><div id="Step 61">
  2661. <h2>Step 61</h2>
  2662. <hr/>
  2663. <h3>And user &#34;dev0Org0&#34; expects proposal responses &#34;queryProposal1Responses&#34; each have the same value from endorsers</h3>
  2664. <table>
  2665. <tr>
  2666. <th>Endorser</th>
  2667. </tr>
  2668. <tr>
  2669. <td>peer0</td>
  2670. </tr>
  2671. <tr>
  2672. <td>peer2</td>
  2673. </tr>
  2674. </table>
  2675. </div><div id="Step 62">
  2676. <h2>Step 62</h2>
  2677. <hr/>
  2678. <h3>When user &#34;dev0Org0&#34; creates a chaincode invocation spec &#34;invocationSpec1&#34; using spec &#34;cc_spec&#34; with input</h3>
  2679. <table>
  2680. <tr>
  2681. <th>funcName</th>
  2682. <th>arg1</th>
  2683. <th>arg2</th>
  2684. <th>arg3</th>
  2685. </tr>
  2686. <tr>
  2687. <td>invoke</td>
  2688. <td>a</td>
  2689. <td>b</td>
  2690. <td>10</td>
  2691. </tr>
  2692. </table>
  2693. </div><div id="dev0Org0-invocationSpec1">
  2694. <h4>User dev0Org0 setting tag key invocationSpec1 to value</h4>
  2695. </div><div>
  2696. <a href="./dev0org0-invocationspec1.protobuf" title="dev0org0-invocationspec1.protobuf">Protobuf message in binary form</a>
  2697. <div class="scrollBox">
  2698. <code>
  2699. type: GOLANG
  2700. chaincode_id {
  2701. path: &#34;github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02&#34;
  2702. name: &#34;example02&#34;
  2703. version: &#34;test&#34;
  2704. }
  2705. input {
  2706. args: &#34;invoke&#34;
  2707. args: &#34;a&#34;
  2708. args: &#34;b&#34;
  2709. args: &#34;10&#34;
  2710. }
  2711. </code>
  2712. </div>
  2713. <div>
  2714. <div class="scrollBox">
  2715. <code>
  2716. from peer.chaincode_pb2 import ChaincodeSpec
  2717. chaincodeSpec = ChaincodeSpec()
  2718. data = None
  2719. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-invocationspec1.protobuf') as f:
  2720. data = f.read()
  2721. chaincodeSpec.ParseFromString(data)
  2722. </code>
  2723. </div>
  2724. </div></div><div id="Step 63">
  2725. <h2>Step 63</h2>
  2726. <hr/>
  2727. <h3>And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; creates a proposal &#34;invokeProposal1&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34; using chaincode spec &#34;invocationSpec1&#34;</h3>
  2728. </div><div id="dev0Org0-invokeProposal1">
  2729. <h4>User dev0Org0 setting tag key invokeProposal1 to value</h4>
  2730. </div><div>
  2731. <a href="./dev0org0-invokeproposal1.protobuf" title="dev0org0-invokeproposal1.protobuf">Protobuf message in binary form</a>
  2732. <div class="scrollBox">
  2733. <code>
  2734. proposal_bytes: &#34;\n\330\007\n\317\001\010\003\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1*@9de9a6ee29a75fab1e45dc2127f95a8d71afa56610ebacbbda0d9a354f369af5:\\\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030Y\325\&#34;\260\375\037\366\305\251\300\&#34;\337\301\303\370F\022\313\241\311\263\360\210\300\022v\nt\nr\010\001\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\032\022\n\006invoke\n\001a\n\001b\n\00210&#34;
  2735. signature: &#34;0E\002!\000\274\335\ni\025\027&amp;\335%\371\220\257\226^\007\033\212\251~\202\324x\021#\300\245\023z\232\000O+\002 \026\343\000%P\030\242\354\323K\255Q\255\350\3462\315\277\223s\315\025a\214\216\2105\353/)z\272&#34;
  2736. </code>
  2737. </div>
  2738. <div>
  2739. <div class="scrollBox">
  2740. <code>
  2741. from peer.proposal_pb2 import SignedProposal
  2742. signedProposal = SignedProposal()
  2743. data = None
  2744. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-invokeproposal1.protobuf') as f:
  2745. data = f.read()
  2746. signedProposal.ParseFromString(data)
  2747. </code>
  2748. </div>
  2749. </div></div><div id="Step 64">
  2750. <h2>Step 64</h2>
  2751. <hr/>
  2752. <h3>And user &#34;dev0Org0&#34; using cert alias &#34;dev0Org0App1&#34; sends proposal &#34;invokeProposal1&#34; to endorsers with timeout of &#34;30&#34; seconds with proposal responses &#34;invokeProposal1Responses&#34;</h3>
  2753. <table>
  2754. <tr>
  2755. <th>Endorser</th>
  2756. </tr>
  2757. <tr>
  2758. <td>peer0</td>
  2759. </tr>
  2760. <tr>
  2761. <td>peer2</td>
  2762. </tr>
  2763. </table>
  2764. </div><div id="dev0Org0-invokeProposal1Responses">
  2765. <h4>User dev0Org0 setting tag key invokeProposal1Responses to value</h4>
  2766. </div><div>
  2767. <a href="./dev0org0-invokeproposal1responses-peer0.protobuf" title="dev0org0-invokeproposal1responses-peer0.protobuf">Protobuf message in binary form</a>
  2768. <div class="scrollBox">
  2769. <code>
  2770. version: 1
  2771. response {
  2772. status: 200
  2773. message: &#34;OK&#34;
  2774. }
  2775. payload: &#34;\n g^0\244Kot@\254\030\247\214#\3526.`\262&lt;\315`\314C\340\367\222\266\271G\313\320_\022\262\001\nO\0222\n\texample02\022%\n\007\n\001a\022\002\010\001\n\007\n\001b\022\002\010\001\032\007\n\001a\032\00290\032\010\n\001b\032\003210\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\003\010\310\001\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test&#34;
  2776. endorsement {
  2777. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I\naD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz\nOOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv\nricFnKdPqNrYWOOK\n-----END -----\n&#34;
  2778. signature: &#34;0D\002 q\027\270!b\177\330\341V\234\300\331}r\343\236L\r\334\214\201\256\t\3311\211&lt;\031\345-\205\003\002 %\325\300\272D\342\375^\264\256\240\263\020k\010K\&#34;\034RGE=\007\027\332_\037\277\3500\223\267&#34;
  2779. }
  2780. </code>
  2781. </div>
  2782. <div>
  2783. <div class="scrollBox">
  2784. <code>
  2785. from peer.proposal_response_pb2 import ProposalResponse
  2786. proposalResponse = ProposalResponse()
  2787. data = None
  2788. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-invokeproposal1responses-peer0.protobuf') as f:
  2789. data = f.read()
  2790. proposalResponse.ParseFromString(data)
  2791. </code>
  2792. </div>
  2793. </div></div><div>
  2794. <a href="./dev0org0-invokeproposal1responses-peer2.protobuf" title="dev0org0-invokeproposal1responses-peer2.protobuf">Protobuf message in binary form</a>
  2795. <div class="scrollBox">
  2796. <code>
  2797. version: 1
  2798. response {
  2799. status: 200
  2800. message: &#34;OK&#34;
  2801. }
  2802. payload: &#34;\n g^0\244Kot@\254\030\247\214#\3526.`\262&lt;\315`\314C\340\367\222\266\271G\313\320_\022\262\001\nO\0222\n\texample02\022%\n\007\n\001a\022\002\010\001\n\007\n\001b\022\002\010\001\032\007\n\001a\032\00290\032\010\n\001b\032\003210\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\003\010\310\001\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test&#34;
  2803. endorsement {
  2804. endorser: &#34;\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0\nOTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8\nLxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b\nxxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u\nMFB4/f++r6yDDi8=\n-----END -----\n&#34;
  2805. signature: &#34;0D\002 [\217\204\376\&#39;\2255s;[\360l\367lAN\350\243\023\261\322\006\177O\345^\264\217?\352\357\260\002 1\332k\021i\024h\310\227\214-\350\202\001u\025\032\265u\034\035N\302W\361\335\330\312\371S\323\023&#34;
  2806. }
  2807. </code>
  2808. </div>
  2809. <div>
  2810. <div class="scrollBox">
  2811. <code>
  2812. from peer.proposal_response_pb2 import ProposalResponse
  2813. proposalResponse = ProposalResponse()
  2814. data = None
  2815. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-invokeproposal1responses-peer2.protobuf') as f:
  2816. data = f.read()
  2817. proposalResponse.ParseFromString(data)
  2818. </code>
  2819. </div>
  2820. </div></div><div id="Step 65">
  2821. <h2>Step 65</h2>
  2822. <hr/>
  2823. <h3>Then user &#34;dev0Org0&#34; expects proposal responses &#34;invokeProposal1Responses&#34; with status &#34;200&#34; from endorsers</h3>
  2824. <table>
  2825. <tr>
  2826. <th>Endorser</th>
  2827. </tr>
  2828. <tr>
  2829. <td>peer0</td>
  2830. </tr>
  2831. <tr>
  2832. <td>peer2</td>
  2833. </tr>
  2834. </table>
  2835. </div><div id="Step 66">
  2836. <h2>Step 66</h2>
  2837. <hr/>
  2838. <h3>And user &#34;dev0Org0&#34; expects proposal responses &#34;invokeProposal1Responses&#34; each have the same value from endorsers</h3>
  2839. <table>
  2840. <tr>
  2841. <th>Endorser</th>
  2842. </tr>
  2843. <tr>
  2844. <td>peer0</td>
  2845. </tr>
  2846. <tr>
  2847. <td>peer2</td>
  2848. </tr>
  2849. </table>
  2850. </div><div id="Step 67">
  2851. <h2>Step 67</h2>
  2852. <hr/>
  2853. <h3>When the user &#34;dev0Org0&#34; creates transaction &#34;invokeTx1&#34; from proposal &#34;invokeProposal1&#34; and proposal responses &#34;invokeProposal1Responses&#34; for channel &#34;com.acme.blockchain.jdoe.Channel1&#34;</h3>
  2854. </div><div id="dev0Org0-invokeTx1">
  2855. <h4>User dev0Org0 setting tag key invokeTx1 to value</h4>
  2856. </div><div>
  2857. <a href="./dev0org0-invoketx1.protobuf" title="dev0org0-invoketx1.protobuf">Protobuf message in binary form</a>
  2858. <div class="scrollBox">
  2859. <code>
  2860. payload: &#34;\n\330\007\n\317\001\010\003\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1*@9de9a6ee29a75fab1e45dc2127f95a8d71afa56610ebacbbda0d9a354f369af5:\\\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030Y\325\&#34;\260\375\037\366\305\251\300\&#34;\337\301\303\370F\022\313\241\311\263\360\210\300\022\215\025\n\212\025\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030Y\325\&#34;\260\375\037\366\305\251\300\&#34;\337\301\303\370F\022\313\241\311\263\360\210\300\022\201\017\nv\nt\nr\010\001\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\032\022\n\006invoke\n\001a\n\001b\n\00210\022\206\016\n\327\001\n g^0\244Kot@\254\030\247\214#\3526.`\262&lt;\315`\314C\340\367\222\266\271G\313\320_\022\262\001\nO\0222\n\texample02\022%\n\007\n\001a\022\002\010\001\n\007\n\001b\022\002\010\001\032\007\n\001a\032\00290\032\010\n\001b\032\003210\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\003\010\310\001\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\223\006\n\310\005\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I\naD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz\nOOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv\nricFnKdPqNrYWOOK\n-----END -----\n\022F0D\002 q\027\270!b\177\330\341V\234\300\331}r\343\236L\r\334\214\201\256\t\3311\211&lt;\031\345-\205\003\002 %\325\300\272D\342\375^\264\256\240\263\020k\010K\&#34;\034RGE=\007\027\332_\037\277\3500\223\267\022\223\006\n\310\005\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0\nOTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8\nLxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b\nxxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u\nMFB4/f++r6yDDi8=\n-----END -----\n\022F0D\002 [\217\204\376\&#39;\2255s;[\360l\367lAN\350\243\023\261\322\006\177O\345^\264\217?\352\357\260\002 1\332k\021i\024h\310\227\214-\350\202\001u\025\032\265u\034\035N\302W\361\335\330\312\371S\323\023&#34;
  2861. signature: &#34;0D\002 _\214\344\205\007\\\263\374\331\313\250\352\204\311y\210V\270\376\342\221\252r\204\216\260\230\325!\357+t\002 \016\030\000G\352j\213\205\251I\351\243G\217\361\030\r\236\264\242\243ga=\217\\I0P\217d\004&#34;
  2862. </code>
  2863. </div>
  2864. <div>
  2865. <div class="scrollBox">
  2866. <code>
  2867. from common.common_pb2 import Envelope
  2868. envelope = Envelope()
  2869. data = None
  2870. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-invoketx1.protobuf') as f:
  2871. data = f.read()
  2872. envelope.ParseFromString(data)
  2873. </code>
  2874. </div>
  2875. </div></div><div id="Step 68">
  2876. <h2>Step 68</h2>
  2877. <hr/>
  2878. <h3>And the user &#34;dev0Org0&#34; broadcasts transaction &#34;invokeTx1&#34; to orderer &#34;orderer0&#34; on channel &#34;com.acme.blockchain.jdoe.Channel1&#34;</h3>
  2879. </div><div id="Step 69">
  2880. <h2>Step 69</h2>
  2881. <hr/>
  2882. <h3>And I wait &#34;2&#34; seconds</h3>
  2883. </div><div id="Step 70">
  2884. <h2>Step 70</h2>
  2885. <hr/>
  2886. <h3>And user &#34;dev0Org0&#34; sends deliver a seek request on orderer &#34;orderer0&#34; with properties</h3>
  2887. <table>
  2888. <tr>
  2889. <th>ChainId</th>
  2890. <th>Start</th>
  2891. <th>End</th>
  2892. </tr>
  2893. <tr>
  2894. <td>com.acme.blockchain.jdoe.Channel1</td>
  2895. <td>2</td>
  2896. <td>2</td>
  2897. </tr>
  2898. </table>
  2899. </div><div id="Step 71">
  2900. <h2>Step 71</h2>
  2901. <hr/>
  2902. <h3>Then user &#34;dev0Org0&#34; should get a delivery &#34;deliveredInvokeTx1Block&#34; from &#34;orderer0&#34; of &#34;1&#34; blocks with &#34;1&#34; messages within &#34;1&#34; seconds</h3>
  2903. </div><div id="dev0Org0-deliveredInvokeTx1Block">
  2904. <h4>User dev0Org0 setting tag key deliveredInvokeTx1Block to value</h4>
  2905. </div><div>
  2906. <a href="./dev0org0-deliveredinvoketx1block-0000.protobuf" title="dev0org0-deliveredinvoketx1block-0000.protobuf">Protobuf message in binary form</a>
  2907. <div class="scrollBox">
  2908. <code>
  2909. header {
  2910. number: 2
  2911. previous_hash: &#34;+\337C\317j\250\230b\240\320Q\347\234\020\336\005\t;O\003Da4^r\213\366^\033F*/&#34;
  2912. data_hash: &#34;\320]\337\t\177\242\257x_\241\266HN\245\354\3231:S6\032h\317`+\304,\027\374\242\214/&#34;
  2913. }
  2914. data {
  2915. data: &#34;\n\353\034\n\330\007\n\317\001\010\003\020\001\032\006\010\275\372\210\310\005\&#34;!com.acme.blockchain.jdoe.Channel1*@9de9a6ee29a75fab1e45dc2127f95a8d71afa56610ebacbbda0d9a354f369af5:\\\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030Y\325\&#34;\260\375\037\366\305\251\300\&#34;\337\301\303\370F\022\313\241\311\263\360\210\300\022\215\025\n\212\025\n\203\006\n\346\005\n\010peerOrg0\022\331\005-----BEGIN CERTIFICATE-----\nMIIB7jCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTQyWhcNMTgwNDI3MTg0\nOTQyWjBYMRQwEgYDVQQDDAtjb25zb3J0aXVtMTELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGz3FMovRstBK5DubTSWl4auUBNjUeMk\nmW6x0UbEXonK/sj6O5AhEN4EkrfyVJF/sA9m52AHsmEzaP2odIgYEx+jUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFAJ9LmlaPF5mnEYRzANjO816UdYaMB8GA1Ud\nIwQYMBaAFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQCV\nGtvbmUTYRzpmlju3p/cUA5kQRhXwxEf9llMUhePEEAIhAKOv+ja0WY9izP2MAdGx\nUuWd5HCHk0DT3FI2osl/qYIO\n-----END CERTIFICATE-----\n\022\030Y\325\&#34;\260\375\037\366\305\251\300\&#34;\337\301\303\370F\022\313\241\311\263\360\210\300\022\201\017\nv\nt\nr\010\001\022Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\032\022\n\006invoke\n\001a\n\001b\n\00210\022\206\016\n\327\001\n g^0\244Kot@\254\030\247\214#\3526.`\262&lt;\315`\314C\340\367\222\266\271G\313\320_\022\262\001\nO\0222\n\texample02\022%\n\007\n\001a\022\002\010\001\n\007\n\001b\022\002\010\001\032\007\n\001a\032\00290\032\010\n\001b\032\003210\022\031\n\004lscc\022\021\n\017\n\texample02\022\002\010\001\032\003\010\310\001\&#34;Z\nGgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\022\texample02\032\004test\022\223\006\n\310\005\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB6DCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM0WhcNMTgwNDI3MTg0\nOTM0WjBSMQ4wDAYDVQQDDAVwZWVyMDELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABJy9UK+oXuGSbpbzgZU64aVp7LsMjk75CscMjB5I\naD2dUl2WmcLGeAtBqbHyMWGjc2JRseCKnutbgPwnkm9UCBajUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFPtBGBSCzm6QkrZH6e/mCSa2M9PrMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0kAMEYCIQDvOHWvdVLz\nOOOO6zVzlTlnpx7l3tnFYENIX3bPx0mMWwIhANWacbcNaErmH+AO7iSpTEG0+yOv\nricFnKdPqNrYWOOK\n-----END -----\n\022F0D\002 q\027\270!b\177\330\341V\234\300\331}r\343\236L\r\334\214\201\256\t\3311\211&lt;\031\345-\205\003\002 %\325\300\272D\342\375^\264\256\240\263\020k\010K\&#34;\034RGE=\007\027\332_\037\277\3500\223\267\022\223\006\n\310\005\n\010peerOrg0\022\273\005-----BEGIN -----\nMIIB5zCCAY2gAwIBAwICA+gwCgYIKoZIzj0EAwIwVTERMA8GA1UEAwwIcGVlck9y\nZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEXMBUG\nA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTM1WhcNMTgwNDI3MTg0\nOTM1WjBSMQ4wDAYDVQQDDAVwZWVyMjELMAkGA1UEBhMCVVMxDDAKBgNVBAcMA1JU\nUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABD0T8OXva7RUQQ5Y66BJOXhWR+fRJgI+uJcemZu8\nLxejvMPCTIe/vqOJGCgAFYBsEEu/UARICOFk688ksHElKmijUDBOMAwGA1UdEwEB\n/wQCMAAwHQYDVR0OBBYEFKin2+gnq87xKAR+ipKYcsJS3rTUMB8GA1UdIwQYMBaA\nFMjjW1UqCPlfPHykFupBF0DJjgAjMAoGCCqGSM49BAMCA0gAMEUCIBk2lroR3Q8b\nxxLGeCjwY7TIPO5rONr4KGG6mOiLHIoZAiEAy9rZZ2i5oLtkxHaScy18I+9paj2u\nMFB4/f++r6yDDi8=\n-----END -----\n\022F0D\002 [\217\204\376\&#39;\2255s;[\360l\367lAN\350\243\023\261\322\006\177O\345^\264\217?\352\357\260\002 1\332k\021i\024h\310\227\214-\350\202\001u\025\032\265u\034\035N\302W\361\335\330\312\371S\323\023\022F0D\002 _\214\344\205\007\\\263\374\331\313\250\352\204\311y\210V\270\376\342\221\252r\204\216\260\230\325!\357+t\002 \016\030\000G\352j\213\205\251I\351\243G\217\361\030\r\236\264\242\243ga=\217\\I0P\217d\004&#34;
  2916. }
  2917. metadata {
  2918. metadata: &#34;\022\274\006\n\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030?\210\035\260\026BE\3650\316\257_\304dM\3360\232\237:&gt;\200v\026\022G0E\002!\000\366\220\276(\320G\327\007\006N\027w\305\336\204\327V\231\264\347\026q\231^\235\340\344N \234\236/\002 w*\016\232\344\240x\376\2478\007\235%f\356\220\235{\365\372\354\325x\330Q\327\&#39;\320\243\305\306M&#34;
  2919. metadata: &#34;\n\002\010\001\022\273\006\n\360\005\n\323\005\n\013ordererOrg0\022\303\005-----BEGIN -----\nMIIB7TCCAZOgAwIBAwICA+gwCgYIKoZIzj0EAwIwWDEUMBIGA1UEAwwLb3JkZXJl\nck9yZzAxCzAJBgNVBAYTAlVTMQwwCgYDVQQHDANSVFAxDDAKBgNVBAoMA0lCTTEX\nMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmEwHhcNMTcwNDI3MTg0OTMzWhcNMTgwNDI3\nMTg0OTMzWjBVMREwDwYDVQQDDAhvcmRlcmVyMDELMAkGA1UEBhMCVVMxDDAKBgNV\nBAcMA1JUUDEMMAoGA1UECgwDSUJNMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTBZ\nMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB8Bc1xevTEOQV7O5mIjqQP/fNpq/NMo\nIuiFnFkG+1S5Msdled7AEUMgeUaEP8U/wMfqR8Edb5cdwkeH47lPzHSjUDBOMAwG\nA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMnu76tt+7C+iOtOu+UrIVCnnu5QMB8GA1Ud\nIwQYMBaAFDRTjX3QJOAHbnREWkYokhXRpzsGMAoGCCqGSM49BAMCA0gAMEUCIEBp\nCM37305NHEqxGZwOsFKncUVTISI+D8+qg1qFn/GQAiEAuohclwpctW0QtHp/sp0L\n38MGiwiA78Rt5aElon+ejTE=\n-----END -----\n\022\030\032pd\310{\205\235\206\306K\330H\&#39;\2349:\317j\271s\365\340\331\237\022F0D\002 TF\265\237\247\3412\031\000(\276\330\233[\262\371$\375\021\274\270\251S\243\227\223\205\225\341\010t\&#39;\002 +\267\360\225Wv\237W\214\263w\211&lt;n\331\222J\246|\347\336\375\245\351*\037\256sJ\264f&gt;&#34;
  2920. metadata: &#34;&#34;
  2921. metadata: &#34;&#34;
  2922. }
  2923. </code>
  2924. </div>
  2925. <div>
  2926. <div class="scrollBox">
  2927. <code>
  2928. from common.common_pb2 import Block
  2929. block = Block()
  2930. data = None
  2931. with open('tmp/40dc98342b7a11e79ac800163e000427/dev0org0-deliveredinvoketx1block-0000.protobuf') as f:
  2932. data = f.read()
  2933. block.ParseFromString(data)
  2934. </code>
  2935. </div>
  2936. </div></div>
  2937. <div id="footer">
  2938. &copy; Copyright IBM Corp. 2017 All Rights Reserved.
  2939. </div>
  2940. </body>
  2941. </html>