Could I share ledger between channels in hyperledger

0 votes
Is it possible to share ledger between the channels inn hyperledger fabric? If I want to create 2 channels, one for reading and one for writing. How could I synchronize the ledger if every channel has its own ledger?
Aug 3, 2018 in Blockchain by aryya
• 7,460 points
1,041 views

1 answer to this question.

0 votes

You say that you want to use channels for flow control. This is not what channels are for. They are a construct modelling a sub-chain for privacy purposes. A channel exists on a specified set of peers and runs chaincode or chaincodes that are relevant to the channel's purpose (often a set of transactions between specific participants that require privacy).

Flow control, on the other hand, is required on a single channel and chaincode combination as key clashes in the same database partition are fatal to a transaction. A key clash happens when a transaction in a block is trying to commit a change to a key that a previous transaction in the same block has already changed. The transaction is immediately failed and that is recorded in the block.

answered Aug 3, 2018 by Johnathon
• 9,090 points

Related Questions In Blockchain

+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,690 views
+2 votes
3 answers

Can multi-channels be supported by Hyperledger in one peer?

Yes you can run  multiple chains on ...READ MORE

answered Apr 11, 2018 in Blockchain by Perry
• 17,100 points
2,924 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
5,398 views
0 votes
1 answer

How to get the already existing channels in Hyperledger v1.0?

You cannot see all available channels,  but you ...READ MORE

answered Jun 4, 2018 in Blockchain by Perry
• 17,100 points
2,530 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,472 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
1,039 views
+1 vote
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP