peer node¶
The peer node
command allows an administrator to start a peer node or check
the status of a peer node.
peer node start¶
Starts a node that interacts with the network.
Usage:
peer node start [flags]
Flags:
-h, --help help for start
-o, --orderer string Ordering service endpoint (default "orderer:7050")
--peer-chaincodedev Whether peer in chaincode development mode
peer node status¶
Returns the status of the running node.
Usage:
peer node status [flags]
Flags:
-h, --help help for status
Example Usage¶
peer node start example¶
The following command:
peer node start --peer-chaincodedev
starts a peer node in chaincode development mode. Normally chaincode containers are started and maintained by peer. However in chaincode development mode, chaincode is built and started by the user. This mode is useful during chaincode development phase for iterative development. See more information on development mode in the chaincode tutorial.
This work is licensed under a Creative Commons Attribution 4.0 International License.