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 ariaholic
• 7,320 points
34 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,030 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
339 views
+1 vote
3 answers

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

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

answered Apr 10, 2018 in Blockchain by Perry
• 16,450 points
492 views
+1 vote
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
1,229 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
• 16,450 points
77 views
0 votes
1 answer
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
• 27,620 points
37 views
+1 vote
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.