Skip to content

Commit

Permalink
[FAB-2843] NodeSDK - Handle network issues part1
Browse files Browse the repository at this point in the history
The first phase of handling network issues will be
for the event hub to report to the application that
the event stream has been shutdown. The contract with
the applications now includes an error callback similar
to the Promise resolve and reject.
Block decoding was enhanced so that the decoding of the
event block could be shared by all three event types
we provide, block, transaction, and chaincode.
Enhanced the jsDoc of Block.js.

Change-Id: I72082693e38bf4635b5f139f43205aabee15909d
Signed-off-by: Bret Harrison <[email protected]>
  • Loading branch information
harrisob committed May 17, 2017
1 parent 40fae27 commit 4506da9
Show file tree
Hide file tree
Showing 9 changed files with 1,289 additions and 264 deletions.
2 changes: 1 addition & 1 deletion build/tasks/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ gulp.task('doc', function () {
'fabric-client/lib/impl/bccsp_pkcs11.js',
'fabric-client/lib/impl/ecdsa/*',
'fabric-client/lib/impl/aes/*',
'fabric-client/lib/Block.js',
'fabric-client/lib/BlockDecoder.js',
'fabric-client/lib/msp/msp.js',
'fabric-client/lib/Chain.js',
'fabric-client/lib/Orderer.js',
Expand Down
Loading

0 comments on commit 4506da9

Please sign in to comment.