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,080 points
180 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
• 67,600 points

edited Jun 28, 2018 by Omkar 257 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,916 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
• 67,600 points
401 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
• 26,550 points
80 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
504 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
74 views