I just started learning about Hyperledger Fabric, and I was wondering is there any way to apply business logic to the endorsement and transaction commitment process?
For example, if the endorsement policy is set to AND('Org1.member', 'Org2.member')
could I somehow define what logic does the Org1.member
execute to sign a transaction as valid?
And could that logic be based on some State object value? (like object.NumberProp > 5
)
I came around the Endorsement and Validation plugins article but I don't fully understand if that would server for that purpose or not.
Sorry for any misunderstanding I may have about the technology.