You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If golang is used as a chaincode language, the [client identity chaincode library](https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md)
78
+
If golang is used as a chaincode language, the [client identity chaincode library](https://github.com/hyperledger/fabric-chaincode-go/blob/master/pkg/cid/README.md)
79
79
can be used to retrieve additional attributes of the transaction creator.
Copy file name to clipboardExpand all lines: docs/source/endorsement-policies.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ following functions apply:
200
200
To help set endorsement policies and marshal them into validation
201
201
parameter byte arrays, the Go shim provides an extension with convenience
202
202
functions that allow the chaincode developer to deal with endorsement policies
203
-
in terms of the MSP identifiers of organizations, see `KeyEndorsementPolicy <https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim/ext/statebased#KeyEndorsementPolicy>`_:
203
+
in terms of the MSP identifiers of organizations, see `KeyEndorsementPolicy <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/pkg/statebased#KeyEndorsementPolicy>`_:
Copy file name to clipboardExpand all lines: docs/source/private-data-arch.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ properties will have ensured the private data is available on other peers.
173
173
Referencing collections from chaincode
174
174
--------------------------------------
175
175
176
-
A set of `shim APIs <https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim>`_
176
+
A set of `shim APIs <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/shim>`_
177
177
are available for setting and retrieving private data.
178
178
179
179
The same chaincode data operations can be applied to channel state data and
@@ -191,7 +191,7 @@ not to include private data in the main part of the chaincode proposal. A specia
191
191
field in the chaincode proposal called the ``transient`` field can be used to pass
192
192
private data from the client (or data that chaincode will use to generate private
193
193
data), to chaincode invocation on the peer. The chaincode can retrieve the
194
-
``transient`` field by calling the `GetTransient() API <https://github.com/hyperledger/fabric/blob/8b3cbda97e58d1a4ff664219244ffd1d89d7fba8/core/chaincode/shim/interfaces.go#L315-L321>`_.
194
+
``transient`` field by calling the `GetTransient() API <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/shim#ChaincodeStub.GetTransient>`_.
195
195
This ``transient`` field gets excluded from the channel transaction.
196
196
197
197
Access control for private data
@@ -210,7 +210,7 @@ configuration definitions and how to set them, refer back to the
210
210
``memberOnlyRead`` to false. You can then apply your own access
211
211
control logic in chaincode, for example by calling the GetCreator()
Copy file name to clipboardExpand all lines: docs/source/understand_fabcar_network.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ Query
72
72
73
73
Queries are the simplest kind of invocation: a call and response. The most common query
74
74
will interrogate the state database for the current value associated
75
-
with a key (``GetState``). However, the `chaincode shim interface <https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#ChaincodeStub>`__
75
+
with a key (``GetState``). However, the `chaincode shim interface <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/shim#ChaincodeStubInterface>`__
76
76
also allows for different types of ``Get`` calls (e.g. ``GetHistoryForKey`` or ``GetCreator``).
77
77
78
78
In our example, the peer holds a hash chain of all transactions and maintains
0 commit comments