dlog

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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
	// Aries is a flag to indicate that aries should be used as backend for idemix
	Aries bool
)

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the Cobra Command for Version

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
	// Aries is a flag to indicate that aries should be used as backend for idemix
	Aries bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL