How is ordering of transactions done in a block in hyperledger

+1 vote
I have read that in bitcoin blockchain a node/peer orders transaction and announces this block to other miners. Once the other miner agree that block is valid it is part of blockchain.

But, in hyperledger the mining is done differently. How do they maintain the order of the blocks in such case?
May 3, 2018 in Blockchain by Johnathon
• 9,090 points
1,040 views

1 answer to this question.

+1 vote
Best answer

Consensus is the key concept for validating the order of transactions in a block, on a blockchain network. The ordering is critical because many types of network transactions have dependency on one or more prior transactions.

In current version of hyperledger there is a leader who is responsible for ordering transactions before they are executed by other peers. A peer communicates and maintain the blockchain state and the ledger.

Such peers receive ordered state updates from the consensus service and apply them to locally held state. Peers connect to the channel and may send and receive messgaes on the channel.

The channel outputs the same messages to all connected peers and outputs them to all peers in the same logical order. The communicted messages are called the candidate transactions and are included later in the block.

answered May 3, 2018 by Christine
• 15,790 points

selected Aug 3, 2018 by Omkar

Related Questions In Blockchain

0 votes
1 answer

In hyperledger, how many number of ordering node can take up a transaction?

There are two types to implement ordering: 1. ...READ MORE

answered Jun 25, 2018 in Blockchain by Omkar
• 69,210 points

edited Jun 28, 2018 by Omkar 901 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,090 views
0 votes
1 answer

How is consensus achieved in a Hyperledger Fabric?

The transactions in the network is ordered ...READ MORE

answered Jun 29, 2018 in Blockchain by Omkar
• 69,210 points
1,088 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,241 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
740 views
+1 vote
1 answer
+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,360 views
0 votes
1 answer

In a Blockchain, how difficult is it to modify the third to last block?

Technically, it's not difficult at all, all ...READ MORE

answered Apr 20, 2018 in Blockchain by Christine
• 15,790 points
837 views
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