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;
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
add a comment |
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
add a comment |
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
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
hyperledger-fabric hyperledger
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
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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 bypeer 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 likepeer channel join -b mychannel.block
– Yadhukrishna S Pai
Mar 26 at 11:41
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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 bypeer 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 likepeer channel join -b mychannel.block
– Yadhukrishna S Pai
Mar 26 at 11:41
add a comment |
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.
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 bypeer 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 likepeer channel join -b mychannel.block
– Yadhukrishna S Pai
Mar 26 at 11:41
add a comment |
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.
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.
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 bypeer 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 likepeer channel join -b mychannel.block
– Yadhukrishna S Pai
Mar 26 at 11:41
add a comment |
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 bypeer 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 likepeer 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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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