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
Copy file name to clipboardexpand all lines: docs/v0.6_migration.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Hyperledger shim:
10
10
11
11
The chaincode interface has changed from `shim.ChaincodeStub` to
12
12
`shim.ChaincodeStubInterface`. See the
13
-
[interfaces.go](fabric/core/chaincode/shim/interfaces.go) file for the shim
13
+
[interfaces.go](https://github.com/hyperledger/fabric/blob/v0.6/core/chaincode/shim/interfaces.go) file for the shim
14
14
source code. The following code snippet from line 74 of chaincode_example02 will
15
15
highlight this alteration.
16
16
@@ -115,7 +115,7 @@ to a client-side node application leveraging the hfc SDK. This is done by
115
115
implementing the EventHub Service in your node program. The EventHub Service
116
116
listens for events.
117
117
118
-
You can customize the eventsender.go code to determine which events you want
118
+
You can customize the [eventsender.go](https://github.com/hyperledger/fabric/blob/v0.6/examples/chaincode/go/eventsender/eventsender.go) code to determine which events you want
119
119
sent. In the example, only the invoke transaction type is coded to send outgoing
120
120
events. See the following code snippet in eventsender.go which demonstrates
121
121
invocations being broadcast by the event sender:
@@ -176,7 +176,7 @@ Explore the full library of the [sample event application](https://github.com/ra
176
176
for the application source code and deeper documentation.
177
177
178
178
__2.__ Java chaincode shim - new shim library to support java chaincode interacting
179
-
with Hyperledger fabric. See the [java shim](fabric/core/chaincode/shim/java)
179
+
with Hyperledger fabric. See the [java shim](https://github.com/hyperledger/fabric/tree/v0.6/core/chaincode/shim/java)
180
180
library for the source code.
181
181
182
182
__3.__ Ability to call chaincode using a 64encoded string. A custom UnmarshalJSON
@@ -198,7 +198,7 @@ malfunctioning and/or non-deterministic chaincode and should be avoided:
198
198
- Substituting global memory or cache storage for ledger state variables in the chaincode
199
199
- Accessing external services (e.g. databases) directly from the chaincode
200
200
- Using libraries or globabl variables that could introduce non-determinism (e.g. "random" or "time")
201
-
- For templates of deterministic and properly-written chaincode, see the [examples](fabric/examples/chaincode) library. This directory contains samples written in Go and Java.
201
+
- For templates of deterministic and properly-written chaincode, see the [examples](https://github.com/hyperledger/fabric/tree/v0.6/examples/chaincode) library. This directory contains samples written in Go and Java.
202
202
203
203
__7.__ Fabric Starter Kit - This section describes how to set up a self-contained
204
204
environment for application development with the Hyperledger fabric. The setup
@@ -219,7 +219,7 @@ the blockchain service.
219
219
220
220
__9.__ Fabric v0.6 provides the ability to dynamically register and enroll users
221
221
with attributes through the hfc SDK.
222
-
See [asset-mgmt-with-dynamic-roles.js](fabric/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js)
222
+
See [asset-mgmt-with-dynamic-roles.js](https://github.com/hyperledger/fabric/blob/v0.6/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js)
223
223
as an example. The hfc SDK previously allowed you to dynamically enroll users,
224
224
but these users were already registered and aligned with attributes/affiliations
225
225
hardcoded in the membersrvc.yml. Now a user with `registrar` authority can
0 commit comments