mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
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> |
||
|---|---|---|
| .. | ||
| config | ||
| crypto-config | ||
| .env | ||
| configtx.yaml | ||
| connection.json | ||
| connection.yaml | ||
| crypto-config.yaml | ||
| docker-compose.yml | ||
| generate.sh | ||
| init.sh | ||
| README.md | ||
| start.sh | ||
| stop.sh | ||
| teardown.sh | ||
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.

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