Do channel hold a ledger? Or it only stored in peers? Hyperledger FabricUnable to connect peer to channel in hyperledger fabricError while trying to join peer to channel in fabricWhy we need validated ledger in a peer in hyperledger fabric?Multichannel channel creation in Hyperledger Fabric 1.0Ledger Copies (Hyperledger Fabric)Hyperledger Composer Channels conceptsHyper Ledger Channel scalabilityHyperledger fabric network(1.1.0) cannot create a channel between a peer and an ordererhow to use node js SDK in hyperledger Fabric?Unable to join Anchor Peer after updating the Channel in Hyperledger Fabric

Random piece of plastic

Last-minute canceled work-trip mean I'll lose thousands of dollars on planned vacation

The most secure way to handle someone forgetting to verify their account?

Grouping into more groups in one iteration

Difference between c++14 and c++17 using: `*p++ = *p`

Why is Google approaching my VPS machine?

Everyone but three

Word for something indicating the importance of guarding it properly

Zhora asks Deckard: "Are you for real?". Was this meant to be significant?

Compiler only complains about the ambiguous overloaded functions when the parameter is 0

We get more abuse than anyone else

Applying for jobs with an obvious scar

Why do space operations use "nominal" to mean "working correctly"?

Why were these characters absent in Spider-Man: Far From Home?

Drawing a circle with nodes shift with Tikz

Why don't humans perceive waves as twice the frequency they are?

How to not confuse readers with simultaneous events?

What are the basics of commands in Minecraft Java Edition?

Who determines when road center lines are solid or dashed?

Is straight-up writing someone's opinions telling?

I want to identify a part from a photo

How did Jayne know when to shoot?

Software need db owner permission to master database (sql2016)

Which GPUs to get for Mathematical Optimization (if any)?



Do channel hold a ledger? Or it only stored in peers? Hyperledger Fabric


Unable to connect peer to channel in hyperledger fabricError while trying to join peer to channel in fabricWhy we need validated ledger in a peer in hyperledger fabric?Multichannel channel creation in Hyperledger Fabric 1.0Ledger Copies (Hyperledger Fabric)Hyperledger Composer Channels conceptsHyper Ledger Channel scalabilityHyperledger fabric network(1.1.0) cannot create a channel between a peer and an ordererhow to use node js SDK in hyperledger Fabric?Unable to join Anchor Peer after updating the Channel in Hyperledger Fabric






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















According to Fabric-node-sdk documentation




For a peer node to become part of a channel, it must be sent the genesis block




According to fabric-documentation




There is one ledger per channel. Each peer maintains a copy of the ledger for each channel of which they are a member.




To join channel peer requires a genesis block, the genesis block is acquired from channel.



So does this mean that channel also holds a copy of ledger?



Edited

For a new network First we create channel and then peers join the channel.

So how the peers will get the genesis block when they yet not part of channel and don't have copy of ledger?

Consider the first peer who is joining channel, no other peers are joined yet.










share|improve this question






























    0















    According to Fabric-node-sdk documentation




    For a peer node to become part of a channel, it must be sent the genesis block




    According to fabric-documentation




    There is one ledger per channel. Each peer maintains a copy of the ledger for each channel of which they are a member.




    To join channel peer requires a genesis block, the genesis block is acquired from channel.



    So does this mean that channel also holds a copy of ledger?



    Edited

    For a new network First we create channel and then peers join the channel.

    So how the peers will get the genesis block when they yet not part of channel and don't have copy of ledger?

    Consider the first peer who is joining channel, no other peers are joined yet.










    share|improve this question


























      0












      0








      0








      According to Fabric-node-sdk documentation




      For a peer node to become part of a channel, it must be sent the genesis block




      According to fabric-documentation




      There is one ledger per channel. Each peer maintains a copy of the ledger for each channel of which they are a member.




      To join channel peer requires a genesis block, the genesis block is acquired from channel.



      So does this mean that channel also holds a copy of ledger?



      Edited

      For a new network First we create channel and then peers join the channel.

      So how the peers will get the genesis block when they yet not part of channel and don't have copy of ledger?

      Consider the first peer who is joining channel, no other peers are joined yet.










      share|improve this question
















      According to Fabric-node-sdk documentation




      For a peer node to become part of a channel, it must be sent the genesis block




      According to fabric-documentation




      There is one ledger per channel. Each peer maintains a copy of the ledger for each channel of which they are a member.




      To join channel peer requires a genesis block, the genesis block is acquired from channel.



      So does this mean that channel also holds a copy of ledger?



      Edited

      For a new network First we create channel and then peers join the channel.

      So how the peers will get the genesis block when they yet not part of channel and don't have copy of ledger?

      Consider the first peer who is joining channel, no other peers are joined yet.







      hyperledger-fabric hyperledger






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 26 at 11:22







      Shubham Chadokar

















      asked Mar 26 at 9:43









      Shubham ChadokarShubham Chadokar

      1351 silver badge13 bronze badges




      1351 silver badge13 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          There only exists one consistent channel ledger across the channel held all the peers and orderers in the channel. The channel doesn't exist as a tangible entity but rather as a logical boundary allowing concurrent actions.



          So, When a peer requires the genesis block or any block in a channel ledger, It is provided by the other peers in the channel by discovery service or the orderer.



          The channel config in the ledger holds the info about the peers in channels along with the MSP's defined for the channel.






          share|improve this answer























          • I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

            – Shubham Chadokar
            Mar 26 at 11:23











          • The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

            – Yadhukrishna S Pai
            Mar 26 at 11:41










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353969%2fdo-channel-hold-a-ledger-or-it-only-stored-in-peers-hyperledger-fabric%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          There only exists one consistent channel ledger across the channel held all the peers and orderers in the channel. The channel doesn't exist as a tangible entity but rather as a logical boundary allowing concurrent actions.



          So, When a peer requires the genesis block or any block in a channel ledger, It is provided by the other peers in the channel by discovery service or the orderer.



          The channel config in the ledger holds the info about the peers in channels along with the MSP's defined for the channel.






          share|improve this answer























          • I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

            – Shubham Chadokar
            Mar 26 at 11:23











          • The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

            – Yadhukrishna S Pai
            Mar 26 at 11:41















          0














          There only exists one consistent channel ledger across the channel held all the peers and orderers in the channel. The channel doesn't exist as a tangible entity but rather as a logical boundary allowing concurrent actions.



          So, When a peer requires the genesis block or any block in a channel ledger, It is provided by the other peers in the channel by discovery service or the orderer.



          The channel config in the ledger holds the info about the peers in channels along with the MSP's defined for the channel.






          share|improve this answer























          • I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

            – Shubham Chadokar
            Mar 26 at 11:23











          • The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

            – Yadhukrishna S Pai
            Mar 26 at 11:41













          0












          0








          0







          There only exists one consistent channel ledger across the channel held all the peers and orderers in the channel. The channel doesn't exist as a tangible entity but rather as a logical boundary allowing concurrent actions.



          So, When a peer requires the genesis block or any block in a channel ledger, It is provided by the other peers in the channel by discovery service or the orderer.



          The channel config in the ledger holds the info about the peers in channels along with the MSP's defined for the channel.






          share|improve this answer













          There only exists one consistent channel ledger across the channel held all the peers and orderers in the channel. The channel doesn't exist as a tangible entity but rather as a logical boundary allowing concurrent actions.



          So, When a peer requires the genesis block or any block in a channel ledger, It is provided by the other peers in the channel by discovery service or the orderer.



          The channel config in the ledger holds the info about the peers in channels along with the MSP's defined for the channel.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 11:14









          Yadhukrishna S PaiYadhukrishna S Pai

          4453 silver badges11 bronze badges




          4453 silver badges11 bronze badges












          • I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

            – Shubham Chadokar
            Mar 26 at 11:23











          • The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

            – Yadhukrishna S Pai
            Mar 26 at 11:41

















          • I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

            – Shubham Chadokar
            Mar 26 at 11:23











          • The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

            – Yadhukrishna S Pai
            Mar 26 at 11:41
















          I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

          – Shubham Chadokar
          Mar 26 at 11:23





          I edited the question, please check it. What will happen for 1st peer who join the channel when no other peers joined yet?

          – Shubham Chadokar
          Mar 26 at 11:23













          The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

          – Yadhukrishna S Pai
          Mar 26 at 11:41





          The orderer is requested for the channel config block before the peer is joined. in cli this is done by peer channel fetch 0 mychannel.block -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA. The join channel happens after the channel config is received like peer channel join -b mychannel.block

          – Yadhukrishna S Pai
          Mar 26 at 11:41








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353969%2fdo-channel-hold-a-ledger-or-it-only-stored-in-peers-hyperledger-fabric%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript