docker-compose-files/hyperledger
Baohua Yang 3bb4712579 Enable booting delay with CA by default 2016-08-04 16:26:27 +08:00
..
noops Enable booting delay with CA by default 2016-08-04 16:26:27 +08:00
pbft Enable booting delay with CA by default 2016-08-04 16:26:27 +08:00
README.md Add script link 2016-07-23 17:09:42 +08:00
setupPbft.sh setup pbft cluster file 2016-07-22 18:44:51 +08:00

README.md

Hyperledger fabric

You can use the following script to install docker and start PBFT cluster in one instruction.

$ bash setupPbft.sh

If you want to start it manually, follow the steps:

First, pull an openblockchain/baseimage:latest first.

$ 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.