-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-6860] Update third_party fabric to v1.1.0-preview
Change-Id: Ic886dab98a0f26922f70ae1668c7ad4f11ea0da1 Signed-off-by: Troy Ronda <[email protected]>
- Loading branch information
Showing
16 changed files
with
603 additions
and
222 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
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,39 @@ | ||
/* | ||
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 msp | ||
|
||
type MSPVersion int | ||
|
||
const ( | ||
MSPv1_0 = iota | ||
MSPv1_1 | ||
) | ||
|
||
// NewOpts represent | ||
type NewOpts interface { | ||
// GetVersion returns the MSP's version to be instantiated | ||
GetVersion() MSPVersion | ||
} | ||
|
||
// NewBaseOpts is the default base type for all MSP instantiation Opts | ||
type NewBaseOpts struct { | ||
Version MSPVersion | ||
} | ||
|
||
// BCCSPNewOpts contains the options to instantiate a new BCCSP-based (X509) MSP | ||
type BCCSPNewOpts struct { | ||
NewBaseOpts | ||
} | ||
|
||
// IdemixNewOpts contains the options to instantiate a new Idemix-based MSP | ||
type IdemixNewOpts struct { | ||
NewBaseOpts | ||
} |
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
Oops, something went wrong.