Are blocks mined in HyperLedger Fabric?

后端 未结 3 642
情歌与酒
情歌与酒 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条回答
  •  猫巷女王i
    2020-12-08 06:28

    According to Hyperledger Fabric 1.X

    1. User through Client SDK send the transaction proposal to Endorsing Peers.
    2. Endorsing Peer check the transaction and make endorsement proposal of transaction(with read/write set (previous value/Changed value)) and send to again client SDK.
    3. Client SDK wait for all endorsement, once it get all endorsement proposal it make one invocation request and send to Orderer.
    4. Orderer verify invocation request rent by client SDK by checking Policies defined(Consensus), verify the transaction and add to the block.
    5. According to configuration defined for block, after specified time or number of transaction it form a Hash of block by using transaction hash, metadata and previous block hash.
    6. The blocks of transactions are “delivered” to all peers on the channel by the Orderer.
    7. All committing peers verify the endorsing policy and ensure that there have been no changes to ledger state for read set variables since the read set was generated by the transaction execution. After this all the transactions in the block and update the ledger with new block and current state of asset.

    Ledger Contains

    • 1) Current state Database(Level BD or Couch DB)
    • 2) Blockchain(Files)(Linked blocks)

    Read the transaction flow of hyperledger fabric

    Check image for reference

提交回复
热议问题