Are blocks mined in HyperLedger Fabric?

后端 未结 3 639
情歌与酒
情歌与酒 2020-12-08 05:59

I have been reading the documentation on how HyperLedger Fabric\'s project is implementing a open source BlockChain solution: https://github.com/hyperledger/fabric/blob/mast

3条回答
  •  佛祖请我去吃肉
    2020-12-08 06:24

    Hyperledger Validating Peers (VPs) do not mine blocks and do not share the blocks between them. Here is how it works:

    1. A transaction is send to one trusted VP.
    2. The VP broadcasts the transaction to all other VPs.
    3. All VPs reach consensus (using PBFT algorithm) on the order to follow to execute the transactions.
    4. All VPs execute the transactions "on their own" following the total order and build a block (calculating hashes mainly) with the executed transactions.

    All the blocks will be the same because: the transaction execution is deterministic (should be) and the number of tx in a block is fixed.

提交回复
热议问题