peer node

The peer node command allows an administrator to start a peer node or check the status of a peer node.


The peer node command has the following subcommands:

  • start

  • status

peer node start

Starts a node that interacts with the network.

  peer node start [flags]

  -h, --help                help for start
      --peer-chaincodedev   Whether peer in chaincode development mode

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.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.