Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove etcd/raft fixtures from sampleconfig folder
This addresses FAB-12198. Change-Id: Ib72f21560a0852bb84f84d41a0784db0a3ef9479 Signed-off-by: Kostas Christidis <kostas@christidis.io>
- Loading branch information
1 parent
08b5332
commit f21d8b9
Showing
5 changed files
with
169 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
# Copyright IBM Corp. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
--- | ||
Organizations: | ||
- &SampleOrg | ||
Name: SampleOrg | ||
ID: SampleOrg | ||
MSPDir: ../../../../sampleconfig/msp | ||
Policies: &SampleOrgPolicies | ||
Readers: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.member')" | ||
Writers: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.member')" | ||
Admins: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.admin')" | ||
AnchorPeers: | ||
- Host: 127.0.0.1 | ||
Port: 7051 | ||
|
||
Capabilities: | ||
Channel: &ChannelCapabilities | ||
V1_3: true | ||
Orderer: &OrdererCapabilities | ||
V1_1: true | ||
Application: &ApplicationCapabilities | ||
V1_3: true | ||
V1_2: false | ||
V1_1: false | ||
|
||
Application: &ApplicationDefaults | ||
ACLs: &ACLsDefault | ||
lscc/ChaincodeExists: /Channel/Application/Readers | ||
lscc/GetDeploymentSpec: /Channel/Application/Readers | ||
lscc/GetChaincodeData: /Channel/Application/Readers | ||
lscc/GetInstantiatedChaincodes: /Channel/Application/Readers | ||
qscc/GetChainInfo: /Channel/Application/Readers | ||
qscc/GetBlockByNumber: /Channel/Application/Readers | ||
qscc/GetBlockByHash: /Channel/Application/Readers | ||
qscc/GetTransactionByID: /Channel/Application/Readers | ||
qscc/GetBlockByTxID: /Channel/Application/Readers | ||
cscc/GetConfigBlock: /Channel/Application/Readers | ||
cscc/GetConfigTree: /Channel/Application/Readers | ||
cscc/SimulateConfigTreeUpdate: /Channel/Application/Readers | ||
peer/Propose: /Channel/Application/Writers | ||
peer/ChaincodeToChaincode: /Channel/Application/Readers | ||
event/Block: /Channel/Application/Readers | ||
event/FilteredBlock: /Channel/Application/Readers | ||
Organizations: | ||
Policies: &ApplicationDefaultPolicies | ||
Readers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Readers" | ||
Writers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Writers" | ||
Admins: | ||
Type: ImplicitMeta | ||
Rule: "MAJORITY Admins" | ||
Capabilities: | ||
<<: *ApplicationCapabilities | ||
|
||
Orderer: &OrdererDefaults | ||
OrdererType: solo | ||
Addresses: | ||
- 127.0.0.1:7050 | ||
BatchTimeout: 2s | ||
BatchSize: | ||
MaxMessageCount: 10 | ||
AbsoluteMaxBytes: 10 MB | ||
PreferredMaxBytes: 512 KB | ||
MaxChannels: 0 | ||
EtcdRaft: | ||
Consenters: | ||
- Host: raft0.example.com | ||
Port: 7050 | ||
ClientTLSCert: path/to/ClientTLSCert0 | ||
ServerTLSCert: path/to/ServerTLSCert0 | ||
- Host: raft1.example.com | ||
Port: 7050 | ||
ClientTLSCert: path/to/ClientTLSCert1 | ||
ServerTLSCert: path/to/ServerTLSCert1 | ||
- Host: raft2.example.com | ||
Port: 7050 | ||
ClientTLSCert: path/to/ClientTLSCert2 | ||
ServerTLSCert: path/to/ServerTLSCert2 | ||
Options: | ||
TickInterval: 100 | ||
ElectionTick: 10 | ||
HeartbeatTick: 1 | ||
MaxInflightMsgs: 256 | ||
MaxSizePerMsg: 1048576 | ||
Organizations: | ||
Policies: | ||
Readers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Readers" | ||
Writers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Writers" | ||
Admins: | ||
Type: ImplicitMeta | ||
Rule: "MAJORITY Admins" | ||
BlockValidation: | ||
Type: ImplicitMeta | ||
Rule: "ANY Writers" | ||
Capabilities: | ||
<<: *OrdererCapabilities | ||
|
||
Channel: &ChannelDefaults | ||
Policies: | ||
Readers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Readers" | ||
Writers: | ||
Type: ImplicitMeta | ||
Rule: "ANY Writers" | ||
Admins: | ||
Type: ImplicitMeta | ||
Rule: "MAJORITY Admins" | ||
Capabilities: | ||
<<: *ChannelCapabilities | ||
|
||
Profiles: | ||
SampleDevModeEtcdRaft: | ||
<<: *ChannelDefaults | ||
Orderer: | ||
<<: *OrdererDefaults | ||
OrdererType: etcdraft | ||
EtcdRaft: | ||
Consenters: | ||
- Host: raft0.example.com | ||
Port: 7050 | ||
ClientTLSCert: tls/server.crt | ||
ServerTLSCert: tls/server.crt | ||
Organizations: | ||
- <<: *SampleOrg | ||
Policies: | ||
<<: *SampleOrgPolicies | ||
Admins: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.member')" | ||
Application: | ||
<<: *ApplicationDefaults | ||
Organizations: | ||
- <<: *SampleOrg | ||
Policies: | ||
<<: *SampleOrgPolicies | ||
Admins: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.member')" | ||
Consortiums: | ||
SampleConsortium: | ||
Organizations: | ||
- <<: *SampleOrg | ||
Policies: | ||
<<: *SampleOrgPolicies | ||
Admins: | ||
Type: Signature | ||
Rule: "OR('SampleOrg.member')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.