-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-6484] Cleanup third_party patching
Change-Id: Ia38334c992cda977bf27fa6acf85f7b772d44920 Signed-off-by: Troy Ronda <troy@troyronda.com>
- Loading branch information
Showing
34 changed files
with
265 additions
and
239 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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
16 changes: 16 additions & 0 deletions
16
internal/github.com/hyperledger/fabric/common/channelconfig/applicationorg.go
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,16 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/* | ||
Notice: This file has been modified for Hyperledger Fabric SDK Go usage. | ||
Please review third_party pinning scripts and patches for more details. | ||
*/ | ||
|
||
package channelconfig | ||
|
||
const ( | ||
// AnchorPeersKey is the key name for the AnchorPeers ConfigValue | ||
AnchorPeersKey = "AnchorPeers" | ||
) |
33 changes: 33 additions & 0 deletions
33
internal/github.com/hyperledger/fabric/common/channelconfig/channel.go
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,33 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/* | ||
Notice: This file has been modified for Hyperledger Fabric SDK Go usage. | ||
Please review third_party pinning scripts and patches for more details. | ||
*/ | ||
|
||
package channelconfig | ||
|
||
// Channel config keys | ||
const ( | ||
// ConsortiumKey is the key for the cb.ConfigValue for the Consortium message | ||
ConsortiumKey = "Consortium" | ||
|
||
// HashingAlgorithmKey is the cb.ConfigItem type key name for the HashingAlgorithm message | ||
HashingAlgorithmKey = "HashingAlgorithm" | ||
|
||
// BlockDataHashingStructureKey is the cb.ConfigItem type key name for the BlockDataHashingStructure message | ||
BlockDataHashingStructureKey = "BlockDataHashingStructure" | ||
|
||
// OrdererAddressesKey is the cb.ConfigItem type key name for the OrdererAddresses message | ||
OrdererAddressesKey = "OrdererAddresses" | ||
|
||
// GroupKey is the name of the channel group | ||
ChannelGroupKey = "Channel" | ||
|
||
// CapabilitiesKey is the name of the key which refers to capabilities, it appears at the channel, | ||
// application, and orderer levels and this constant is used for all three. | ||
CapabilitiesKey = "Capabilities" | ||
) |
77 changes: 0 additions & 77 deletions
77
internal/github.com/hyperledger/fabric/common/channelconfig/keys.go
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
internal/github.com/hyperledger/fabric/common/channelconfig/msp_util.go
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,25 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/* | ||
Notice: This file has been modified for Hyperledger Fabric SDK Go usage. | ||
Please review third_party pinning scripts and patches for more details. | ||
*/ | ||
|
||
package channelconfig | ||
|
||
const ( | ||
// ReadersPolicyKey is the key used for the read policy | ||
ReadersPolicyKey = "Readers" | ||
|
||
// WritersPolicyKey is the key used for the read policy | ||
WritersPolicyKey = "Writers" | ||
|
||
// AdminsPolicyKey is the key used for the read policy | ||
AdminsPolicyKey = "Admins" | ||
|
||
// MSPKey is the org key used for MSP configuration | ||
MSPKey = "MSP" | ||
) |
33 changes: 33 additions & 0 deletions
33
internal/github.com/hyperledger/fabric/common/channelconfig/orderer.go
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,33 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/* | ||
Notice: This file has been modified for Hyperledger Fabric SDK Go usage. | ||
Please review third_party pinning scripts and patches for more details. | ||
*/ | ||
|
||
package channelconfig | ||
|
||
const ( | ||
// OrdererGroupKey is the group name for the orderer config | ||
OrdererGroupKey = "Orderer" | ||
) | ||
|
||
const ( | ||
// ConsensusTypeKey is the cb.ConfigItem type key name for the ConsensusType message | ||
ConsensusTypeKey = "ConsensusType" | ||
|
||
// BatchSizeKey is the cb.ConfigItem type key name for the BatchSize message | ||
BatchSizeKey = "BatchSize" | ||
|
||
// BatchTimeoutKey is the cb.ConfigItem type key name for the BatchTimeout message | ||
BatchTimeoutKey = "BatchTimeout" | ||
|
||
// ChannelRestrictions is the key name for the ChannelRestrictions message | ||
ChannelRestrictionsKey = "ChannelRestrictions" | ||
|
||
// KafkaBrokersKey is the cb.ConfigItem type key name for the KafkaBrokers message | ||
KafkaBrokersKey = "KafkaBrokers" | ||
) |
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
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
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
File renamed without changes.
Oops, something went wrong.