Marbles启动信息
body-parser deprecated undefined extended: provide extended option app.js:40:20
------------------------------------------ Server Up - localhost:3000 ------------------------------------------
Running using Developer settings
- Tracking Deployment
loading hardcoded peers
loading hardcoded users
[ibc-js] Peer: vp1-64c3ddce-fee...:80
[ibc-js] Peer: vp2-64c3ddce-fee...:80
[ibc-js] Registering vp1-64c3ddce-fee...:80 w/enrollID - user_type1_9a91cfe1ed
[ibc-js] Registering vp2-64c3ddce-fee...:80 w/enrollID - user_type1_92d3f83581
[ibc-js] Registration success x1 : user_type1_9a91cfe1ed
[ibc-js] Registration success x1 : user_type1_92d3f83581
[ibc-js] removing temp dir
[ibc-js] Downloading zip
redirect... https://codeload.github.com/IBM-Blockchain/marbles-chaincode/zip/master
[ibc-js] Downloading zip
[ibc-js] Unzipping zip
[ibc-js] Unzip done
[ibc-js] Scanning files [ 'part2_chaincode.go' ]
[ibc-js] Parsing file for shim version
[ibc-js] Found shim version: github.com/hyperledger/fabric/core/chaincode/shim
[ibc-js] Parsing file for invoke functions - part2_chaincode.go
[ibc-js] Found cc invoke function: init
[ibc-js] Found cc invoke function: delete
[ibc-js] Found cc invoke function: write
[ibc-js] Found cc invoke function: init_marble
[ibc-js] Found cc invoke function: set_user
[ibc-js] Found cc invoke function: open_trade
[ibc-js] Found cc invoke function: perform_trade
[ibc-js] Found cc invoke function: remove_trade
[ibc-js] Parsing file for query functions - part2_chaincode.go
[ibc-js] Found cc query function: read
[ibc-js] load_chaincode() finished
[ibc-js] Deploy Chaincode - Starting
[ibc-js] function: init , arg: [ '99' ]
Waiting...
deploy success [waiting another 50 seconds]
14b711be6f0d00b190ea26ca48c22234d93996b6e625a4b108a7bbbde064edf0179527f30df238d61b66246fe1908005caa5204dd73488269c8999276719ca8b
[ibc-js] ibc.save() error { [Error: ENOENT: no such file or directory, open 'cc_summaries/14b711be6f0d00b190ea26ca48c22234d93996b6e625a4b108a7bbbde064edf0179527f30df238d61b66246fe1908005caa5204dd73488269c8999276719ca8b.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'cc_summaries/14b711be6f0d00b190ea26ca48c22234d93996b6e625a4b108a7bbbde064edf0179527f30df238d61b66246fe1908005caa5204dd73488269c8999276719ca8b.json' }
[ibc-js] Deploy Chaincode - Complete
------------------------------------------ Websocket Up ------------------------------------------
[ibc-js] Chain Stats - success
[ibc-js] New block! 24
hey new block, lets refresh and broadcast to all
received ws msg: {"type":"get","v":1}
get marbles msg
received ws msg: {"type":"chainstats","v":1}
chainstats msg
[ibc-js] read - success: { jsonrpc: '2.0',
result: { status: 'OK', message: 'null' },
id: 1463987385561 }
[ibc-js] read - success: { jsonrpc: '2.0',
result: { status: 'OK', message: '{"open_trades":null}' },
id: 1463987385562 }
[ibc-js] Chain Stats - success
[ 16, 17, 18, 19, 20, 21, 22, 23 ]
[ibc-js] read - success: { jsonrpc: '2.0',
result: { status: 'OK', message: 'null' },
id: 1463987385843 }
error: [TypeError: Cannot convert undefined or null to object]
[ibc-js] Block Stats - success
[ibc-js] Block Stats - success
key 16
[ibc-js] Block Stats - success
key 17
[ibc-js] Block Stats - success
key 18
[ibc-js] Block Stats - success
key 19
[ibc-js] Chain Stats - success
[ibc-js] Block Stats - success
key 20
[ibc-js] Block Stats - success
key 21
[ibc-js] Block Stats - success
key 22
[ibc-js] Block Stats - success
key 23
[ibc-js] Chain Stats - success
[ibc-js] Chain Stats - success