How read-write sets is used in hyperledger

0 votes
Please tell me how read-write sets are used in hyperledger to endorse and validate?
Jul 3, 2018 in Blockchain by slayer
• 29,370 points
1,327 views

1 answer to this question.

+1 vote

In Hyperledger, read-write sets are used during the endorsement and validation phases of a transaction as follows:

  1. Endorsement: When a transaction proposal is submitted, it is processed by peers, which simulate the transaction and generate a read-write set. The read set records the current state data that was read, while the write set specifies changes to be made to the ledger. This read-write set is signed and forms part of the endorsement.

  2. Validation: When the transaction is submitted to the ordering service and included in a block, other peers validate it by comparing the read set against the current state of the ledger. If the state matches (i.e., no other transactions modified the data since it was read), the transaction is deemed valid and the write set is applied to update the ledger.

This ensures both consistency and integrity in Hyperledger Fabric's permissioned blockchain network.

answered Jul 3, 2018 by digger
• 26,740 points

Related Questions In Blockchain

+1 vote
1 answer

How immutability is achieved in hyperledger fabric?

Since it is a private blockchain platform, ...READ MORE

answered Apr 21, 2018 in Blockchain by Perry
• 17,100 points
1,595 views
0 votes
1 answer

How pbft is being used in blockchain?

PBFT can tolerate byzantine failures. For tolerating ...READ MORE

answered Apr 21, 2018 in Blockchain by Perry
• 17,100 points
822 views
+1 vote
1 answer

How is ordering of transactions done in a block in hyperledger?

Consensus is the key concept for validating ...READ MORE

answered May 3, 2018 in Blockchain by Christine
• 15,790 points
1,314 views
0 votes
1 answer

How is storage space handled in hyperledger peer?

Every transaction is not stored by every ...READ MORE

answered May 11, 2018 in Blockchain by anonymous
1,256 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,451 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can i copy block aspects in hyperledger fabric?

There are three ways you can do ...READ MORE

answered Jul 6, 2018 in Blockchain by digger
• 26,740 points
787 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