- -Command - - | - -- -stdout result in the event of success - - | - -
---|---|
- -version - - | - -- -String form of peer.version defined in core.yaml - - | - -
- -node start - - | - -- -N/A - - | - -
- -node status - - | - -- -String form of StatusCode - - | - -
- -node stop - - | - -- -String form of StatusCode - - | - -
- -chaincode deploy - - | - -- -The chaincode container name (hash) required for subsequent chaincode invoke and chaincode query commands - - | - -
- -chaincode invoke - - | - -- -The transaction ID (UUID) - - | - -
- -chaincode query - - | - -- -By default, the query result is formatted as a printable - - | - -
- -channel create - - | - -- -Create a chain - - | - -
- -channel join - - | - -- -Adds a peer to the chain - - | - -
-
---peer-defaultchain=true
-
- |
-
-- - Allows users to continue to work with the default TEST_CHAINID string. Command line options support writing this value as raw bytes (-r, –raw) or formatted as the hexadecimal representation of the raw bytes (-x, –hex). If the query response is empty then nothing is output. - - | - - -
![]() |
-
-An application follows a MVC-B architecture – Model, View, Control, BlockChain.
- - -
-For example, a Bluemix PaaS application using Node.js might have a Web front-end user interface or a native mobile app with backend model on Cloudant data service. The control logic may interact with 1 or more chaincodes to process transactions on the blockchain. - - |
-
![]() |
-
-一个遵循MVC-B架构的应用– Model, View, Control, BlockChain.
- - -
- -例如,使用 Node.js 的一个 Bluemix PaaS 的应用程序可能有一个 Web 前端用户界面或与 Cloudant 数据服务后端模型中的原生移动应用。控制逻辑可以被 1 或多个链码交互以处理对区块链交易。 - - |
-
+ +Command + +.. raw:: html + + | + +.. raw:: html + ++ +stdout result in the event of success + +.. raw:: html + + | + +.. raw:: html + +
---|---|
+ +version + +.. raw:: html + + | + +.. raw:: html + ++ +String form of peer.version defined in core.yaml + +.. raw:: html + + | + +.. raw:: html + +
+ +node start + +.. raw:: html + + | + +.. raw:: html + ++ +N/A + +.. raw:: html + + | + +.. raw:: html + +
+ +node status + +.. raw:: html + + | + +.. raw:: html + ++ +String form of StatusCode + +.. raw:: html + + | + +.. raw:: html + +
+ +node stop + +.. raw:: html + + | + +.. raw:: html + ++ +String form of StatusCode + +.. raw:: html + + | + +.. raw:: html + +
+ +chaincode deploy + +.. raw:: html + + | + +.. raw:: html + ++ +The chaincode container name (hash) required for subsequent chaincode +invoke and chaincode query commands + +.. raw:: html + + | + +.. raw:: html + +
+ +chaincode invoke + +.. raw:: html + + | + +.. raw:: html + ++ +The transaction ID (UUID) + +.. raw:: html + + | + +.. raw:: html + +
+ +chaincode query + +.. raw:: html + + | + +.. raw:: html + ++ +By default, the query result is formatted as a printable + +.. raw:: html + + | + +.. raw:: html + +
+ +channel create + +.. raw:: html + + | + +.. raw:: html + ++ +Create a chain + +.. raw:: html + + | + +.. raw:: html + +
+ +channel join + +.. raw:: html + + | + +.. raw:: html + ++ +Adds a peer to the chain + +.. raw:: html + + | + +.. raw:: html + +
+
+.. raw:: html
+
+ --peer-defaultchain=true
+
+.. raw:: html
+
+ |
+
+.. raw:: html
+
+ + + Allows users to continue to work with the default TEST\_CHAINID string. +Command line options support writing this value as raw bytes (-r, –raw) +or formatted as the hexadecimal representation of the raw bytes (-x, +–hex). If the query response is empty then nothing is output. + +.. raw:: html + + | + +.. raw:: html + +