fabric-samples/basic-network
Alessandro Sorniotti c24abf9c01 [FAB-15022] Basic-network support for new lifecycle
This change set upgrades config files, scripts and fixtures for the
basic-network sample.

Changes are as follows:
 - configtx.yaml was amended adding capabilities and policies required
   to bootstrap a 2.0 channel
 - crypto-config.yaml was amended adding support for node OUs (so that
   policies involving peers, admins and clients can be evaluated)
 - generate.sh was amended adding the name of the orderer system channel
 - generate.sh is executed, producing fixtures in the crypto-config and 
   config directories
 - docker-compose.yml is changed specifying the correct SKI after
   crypto material has been regenerated
 - finally, startFabric.sh has been upgraded to use the new lifecycle

Change-Id: I201a98e3bf4d9717741539f572719aa687f4bb63
Signed-off-by: Alessandro Sorniotti <ale.linux@sopit.net>
2019-04-05 17:01:45 +00:00
..
config [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
crypto-config [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
.env FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
configtx.yaml [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
connection.json [FAB-12878] Add fabcar app using new prog model (TS) 2018-12-07 22:18:37 +00:00
connection.yaml [FAB-12878] Add fabcar app using new prog model (TS) 2018-12-07 22:18:37 +00:00
crypto-config.yaml [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
docker-compose.yml [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
generate.sh [FAB-15022] Basic-network support for new lifecycle 2019-04-05 17:01:45 +00:00
init.sh [FAB-7584] Removes copy of creds to keystore 2018-01-03 10:46:57 +05:30
README.md [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
start.sh FAB-5392 Fix path issue for Git Bash users 2017-07-20 08:24:26 -04:00
stop.sh FAB-4851 basic network sample 2017-06-21 05:46:02 +00:00
teardown.sh FAB-9294 eliminate excess noise in BYFN 2018-04-08 19:14:20 -04:00

Basic Network Config

Note that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel".

To regenerate this material, simply run generate.sh.

To start the network, run start.sh. To stop it, run stop.sh To completely remove all incriminating evidence of the network on your system, run teardown.sh.

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