Skip to content

Commit

Permalink
tweak instructions for 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dshuffma-ibm committed Apr 7, 2018
1 parent 983aefd commit 64307ad
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 40 deletions.
9 changes: 1 addition & 8 deletions config/connection_profile_cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,7 @@
"orderers": [
"fabric-orderer"
],
"peers": {
"blockchain-org1peer1": {
"endorsingPeer": true,
"chaincodeQuery": true,
"ledgerQuery": true,
"eventSource": true
}
},
"peers": {},
"chaincodes": [
"marbles:v4"
],
Expand Down
5 changes: 1 addition & 4 deletions config/connection_profile_local.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
],
"peers": {
"fabric-peer-org1": {
"endorsingPeer": true,
"chaincodeQuery": true,
"ledgerQuery": true,
"eventSource": true
"x-chaincode": {}
}
},
"chaincodes": [
Expand Down
9 changes: 1 addition & 8 deletions config/connection_profile_tls.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@
"fabric-orderer-12297d",
"fabric-orderer-12297e"
],
"peers": {
"fabric-peer-org1-14888a": {
"endorsingPeer": true,
"chaincodeQuery": true,
"ledgerQuery": true,
"eventSource": true
}
},
"peers": {},
"chaincodes": [
"marbles:v4"
],
Expand Down
13 changes: 6 additions & 7 deletions docs/config_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ You should have already downloaded this file from the service during the [instal
],
"peers": {
"fabric-peer-org1": {
"endorsingPeer": true,
"chaincodeQuery": true,
"ledgerQuery": true,
"eventSource": true
"x-chaincode": {}
}
},
"chaincodes": [
Expand Down Expand Up @@ -144,15 +141,17 @@ You should have already downloaded this file from the service during the [instal
**Field Details**

- `name` - The main purpose of this is to detect when people try to use the default file w/o editing! Set it to anything other than `Place Holder Network Name` to get past the startup check.
- `x-networkId` - Unique id of the network set by the IBM Blockchain Platform service. Not necessary for a local hyperledger fabric network..
- `x-type` - Used by Hyperledger Composer to indicate what connector to use. Typically `hlfv1`. Only necessary if using Composer.
- `client`
- `organization` = The name of the org to use for our application. This name will match an entry in the `organizations` object.
- `organization` - The name of the org to use for our application. This name will match an entry in the `organizations` object.
- `credentialStore` - (Optional)
- `path` - The path of a key value store for the SDK to use. Stores crypto material.
- `channels`
- `orderers` - An array of names of a orderers that have joined this channel. Each name will match an entry in the `orderers` object.
- `peers` - An array of names of peers that has joined this channel. Each name will match an entry in the `peers` object.
- `peers` - A dictionary of peers that has joined this channel.
- `chaincodes` - An array of strings representing instantiated chaincode on this channel. The id and version are separated by a colon.
- `x-blockDelay` - Time in ms for a block to be created by the orderer. This is a setting for the channel.
- `x-blockDelay` - Time in ms for a block to be created by the orderer. This is a setting for the channel that marbles will use to set timeouts.
- `organizations`
- `peers` - The key name of a peer that is owned by this org. This name will match an entry in the `peers` object.
- `certificateAuthorities` - The key name of a ca that is owned by this org. This name will match an entry in the `certificateAuthorities` object.
Expand Down
2 changes: 1 addition & 1 deletion docs/install_chaincode_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If these files are not found you will be unable to run either operation.

**Choose 1 option below to create these files:**

- **Option 1:** :lollipop: Use crypto files from a **locally hosted Hyperledger Fabric Network**. These certificates will be created with the `fabric-samples` example called `fabcar`. If you have already created the certs you should still re-run this step. [Create Crypto Files with Fabcar](./use_fabcar_crypto.md)
- **Option 1:** :lollipop: Use crypto files from a **locally hosted Hyperledger Fabric Network**. These certificates will be created with the `fabric-samples` example called `fabcar`. If you have already created the certs you should still re-run this step.
- **Option 2:** Create the certificate and public key files manually. Use this option when your Fabric network was **not** created from `fabric-samples`. [Generate Crypto Manually](https://console.bluemix.net/docs/services/blockchain/v10_application.html#generating-the-client-side-certificates)
- Once you are done add the private key and signed certificate files to this folder: `<marbles root>/config/crypto/`
- Next append the cert/key path information to your connection profile:
Expand Down
12 changes: 0 additions & 12 deletions docs/use_fabcar_crypto.md

This file was deleted.

0 comments on commit 64307ad

Please sign in to comment.