Skip to content

Commit

Permalink
minor doc fix
Browse files Browse the repository at this point in the history
Few minor changes

Change-Id: Ia5fc4e46cf6dd8df3ff19351a5c8594bd515ffcc
Signed-off-by: Srinivasan Muralidharan <muralisr@us.ibm.com>
  • Loading branch information
Srinivasan Muralidharan committed Mar 18, 2017
1 parent b28f726 commit af57f19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/source/peer-chaincode-devmode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ Start the peer in dev mode
peer node start --peer-defaultchain=false --peer-chaincodedev=true

The above command starts the peer using the default ``msp/sampleconfig``
MSP. The ``--peer-chaincodedev=true`` puts it in “dev” mode. ##Create
channels ch1 and ch2
MSP. The ``--peer-chaincodedev=true`` puts it in “dev” mode.

Create channels ch1 and ch2
---------------------------

::

Expand Down Expand Up @@ -77,9 +79,9 @@ committed.
peer chaincode invoke -n mycc -c '{"Args":["invoke","a","b","10"]}' -o 127.0.0.1:7050 -C ch1
peer chaincode invoke -n mycc -c '{"Args":["invoke","a","b","10"]}' -o 127.0.0.1:7050 -C ch2

The above invokes the chaincode using the two channels.
The above invoke the chaincode over the two channels.

::

peer chaincode query -n mycc -c '{"Args":["query","a"]}' -o 127.0.0.1:7050 -C ch1
peer chaincode invoke -n mycc -c '{"Args":["query","a"]}' -o 127.0.0.1:7050 -C ch2
peer chaincode query -n mycc -c '{"Args":["query","a"]}' -o 127.0.0.1:7050 -C ch2

0 comments on commit af57f19

Please sign in to comment.