domwoe / papernotes

1 stars 1 forks source link

Hyperledger/Chaincode: Why query transaction? #1

Open domwoe opened 7 years ago

domwoe commented 7 years ago

There's a statement in the Hyperledger architecture that there are three types of transactions. One of the is called query transaction which does the following:

Returns an entry of the state directly from reading the peer’s persistent state; this may not ensure linearizability.

What's the reason for such a transaction?