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
Explore the full library of the [sample event application](https://github.com/ratnakar-asara/NodeSDKSample/tree/master/events)
175
176
for the application source code and deeper documentation.
176
177
177
-
1. Java chaincode shim - new shim library to support java chaincode interacting
178
+
__2.__ Java chaincode shim - new shim library to support java chaincode interacting
178
179
with Hyperledger fabric. See the [java shim](fabric/core/chaincode/shim/java)
179
180
library for the source code.
180
181
181
-
1. Ability to call chaincode using a 64encoded string. A custom UnmarshalJSON
182
+
__3.__ Ability to call chaincode using a 64encoded string. A custom UnmarshalJSON
182
183
method for ChaincodeInput allows for string-based REST/JSON input, which is then
183
184
converted to []byte-based. This allows browsers to pass in string or binary
184
185
arguments to the application driving the chaincode.
185
186
186
-
1. Docker client upgrade to [Docker 1.12](https://blog.docker.com/2016/07/docker-built-in-orchestration-ready-for-production-docker-1-12-goes-ga/).
187
+
__4.__ Docker client upgrade to [Docker 1.12](https://blog.docker.com/2016/07/docker-built-in-orchestration-ready-for-production-docker-1-12-goes-ga/)
187
188
188
-
1. Peer and Member Service images available on [Hyperledger Dockerhub](https://hub.docker.com/r/hyperledger/). The images are part of the
189
-
continuous integration process and built with every new code change.
189
+
__5.__ `fabric-peer` and `fabric-membersrvc` images for multiple platforms are available on [Hyperledger Dockerhub](https://hub.docker.com/r/hyperledger/). The images are part of the continuous integration process and built with every new code change.
190
190
191
-
1. New warnings for chaincode development. The following practices can lead to
191
+
__6.__ New warnings for chaincode development. The following practices can lead to
192
192
malfunctioning and/or non-deterministic chaincode and should be avoided:
193
193
194
-
* Iterating using GetRows
195
-
* Using associative arrays with iteration (the order is randomized in Go)
196
-
* Reading list of items from KVS table (the order is not guaranteed). Use ordering
197
-
* Writing thread-unsafe chaincode where invoke and query may be called in parallel
198
-
* Substituting global memory or cache storage for ledger state variables in the chaincode
199
-
* Accessing external services (e.g. databases) directly from the chaincode
200
-
* Using libraries or globabl variables that could introduce non-determinism (e.g. "random" or "time")
201
-
202
-
1. For templates of deterministic and properly-written chaincode, see the [examples](fabric/examples/chaincode) library. This directory contains samples
203
-
written in Go and Java.
194
+
- Iterating using GetRows
195
+
- Using associative arrays with iteration (the order is randomized in Go)
196
+
- Reading list of items from KVS table (the order is not guaranteed). Use ordering
197
+
- Writing thread-unsafe chaincode where invoke and query may be called in parallel
198
+
- Substituting global memory or cache storage for ledger state variables in the chaincode
199
+
- Accessing external services (e.g. databases) directly from the chaincode
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.
204
202
205
-
1. Fabric Starter Kit - This section describes how to set up a self-contained
203
+
__7.__ Fabric Starter Kit - This section describes how to set up a self-contained
206
204
environment for application development with the Hyperledger fabric. The setup
207
205
uses **Docker** to provide a controlled environment with all the necessary
208
206
Hyperledger fabric components to support a Node.js application built with
@@ -213,13 +211,13 @@ network environment. There is an image to run a single `peer`, one to run
213
211
the `membersrvc`, and one to run both your Node.js application and your
0 commit comments