Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IdemixMSPDir is the directory containing the Idemix MSP config (Issuer Key Pair) IdemixMSPDir string // OutputDir is the directory to output the generated files OutputDir string // GenerateCCPackage indicates whether to generate the chaincode package GenerateCCPackage bool // Issuers is the list of issuer MSP directories containing the corresponding issuer certificate Issuers []string // Auditors is the list of auditor MSP directories containing the corresponding auditor certificate Auditors []string // Base is a dlog driver related parameter. // It is used to define the maximum quantity a token can contain as Base^Exponent Base uint // Exponent is a dlog driver related parameter // It is used to define the maximum quantity a token can contain as Base^Exponent Exponent uint )
Functions ¶
func Gen ¶
func Gen(args *GeneratorArgs) ([]byte, error)
Gen generates the public parameters for the ZKATDLog driver
Types ¶
type GeneratorArgs ¶
type GeneratorArgs struct {
// IdemixMSPDir is the directory containing the Idemix MSP config (Issuer Key Pair)
IdemixMSPDir string
// OutputDir is the directory to output the generated files
OutputDir string
// GenerateCCPackage indicates whether to generate the chaincode package
GenerateCCPackage bool
// Issuers is the list of issuer MSP directories containing the corresponding issuer certificate
Issuers []string
// Auditors is the list of auditor MSP directories containing the corresponding auditor certificate
Auditors []string
// Base is a dlog driver related parameter
Base uint
// Exponent is a dlog driver related parameter
Exponent uint
}
Click to show internal directories.
Click to hide internal directories.