Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-5833

Enable Read-your-writes(RYW) optionally for getState

    XMLWordPrintable

Details

    • Unset
    • Unset
    • Unset

    Description

      As a chaincode developer I want to be able to enable RYW during key retrieval optionally, so that I can access already updated keys during my transaction.

       

      My suggestion would be to enable this via an extension of the API in the fashion of as `stub.GetTrxState(key string)`.

      Having this feature would make chaincode development more appealing and explicitly enable access to data already written during the currently active transaction.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philT Philipp Tölle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: