fabric-samples/asset-transfer-secured-agreement/chaincode-go
Dave Enyeart f32f77b129
Update secured asset transfer sample (#781)
A recent commit added the potential buyer to an asset's state based endorsement policy.
That change was problematic because if the transfer fell through, the buyer lost control of the asset,
in that they could no longer update the asset or change the sell price or sell to somebody else.

The asset state based endorsement policy is now based on the seller only, and we document
that additional parties could be added such as a trusted third party (although no
such party exists in test network at this time).

This commit also re-adds some necessary verifications, and make other minor edits and
comments to help users understand the sample.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2022-07-13 14:09:14 -04:00
..
asset_transfer.go Update secured asset transfer sample (#781) 2022-07-13 14:09:14 -04:00
asset_transfer_queries.go Update secured asset transfer sample (#781) 2022-07-13 14:09:14 -04:00
go.mod Updates to asset-transfer-basic Gateway sample to align with docs (#553) 2021-12-09 10:20:52 +00:00
go.sum Updates to asset-transfer-basic Gateway sample to align with docs (#553) 2021-12-09 10:20:52 +00:00
README.md correct the link to the correct URL (#320) 2020-09-01 17:02:15 -04:00