Topics

Preventing concurrent putState execution #fabric-questions #fabric-sdk-node

Ignat Zakrevsky
 

Hi
Is it possible somehow to prevent concurrent states updating from chaincode by putState?
So, when I run two concurrent transactions (which update the same key) at the same time I want that the last one to fail instead of simple value rewriting.
Thanks