docker-compose-files/hyperledger
swb eb77932328 Update setupPbft.sh 2016-07-22 18:31:58 +08:00
..
noops support new config name 2016-06-24 19:22:36 +08:00
pbft Update supported pbft modes 2016-06-29 11:45:46 +08:00
README.md update compose files 2016-06-18 15:55:38 +08:00
setupPbft.sh Update setupPbft.sh 2016-07-22 18:31:58 +08:00

README.md

Hyperledger fabric

Note, currently you should manually create an openblockchain/baseimage:latest first. The easiest way to do so is:

$ docker pull yeasy/hyperledger:latest && docker tag yeasy/hyperledger:latest hyperledger/fabric-baseimage:latest
$ docker pull yeasy/hyperledger-peer:latest
$ docker pull yeasy/hyperledger-membersrvc:latest

Then go into the specific consensus directory, then you can start a 4 nodes hyperledger cluster.

E.g., for pbft consensus, use

$ cd pbft; docker-compose up

After the cluster is synced, you can validate by deploying, invoking or querying chaincode from the container or from the host.

See hyperledger-peer if you've not familiar on that.

This refers the example from the hyperledger project.

noops

Use the noops as consensus, i.e., no consensus.

pbft

Use pbft as consensus.