common

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEndorserFinality

func CheckEndorserFinality(network *integration.Infrastructure, id *token2.NodeReference, txID string, tmsID *token.TMSID, fail bool)

func CheckFinality

func CheckFinality(network *integration.Infrastructure, id *token2.NodeReference, txID string, tmsID *token.TMSID, fail bool)

func SetDefaultParams

func SetDefaultParams(tms *topology.TMS, opts TMSOpts)

Types

type Opts

type Opts struct {
	CommType            fsc.P2PCommunicationType
	ReplicationOpts     replicationOpts
	Backend             string
	DefaultTMSOpts      TMSOpts
	AuditorAsIssuer     bool
	FSCLogSpec          string
	NoAuditor           bool
	HSM                 bool
	SDKs                []nodepkg.SDK
	WebEnabled          bool
	Monitoring          bool
	TokenSelector       string
	FSCBasedEndorsement bool
	ExtraTMSs           []TMSOpts

	// Orgs is the list of organizations to create for the backend network.
	// If empty, defaults to ["Org1", "Org2"].
	Orgs []string
	// FSCEndorsementPolicyType sets services.network.fabric.fsc_endorsement.policy.type.
	// If empty, defaults to "1outn".
	FSCEndorsementPolicyType string
	// NamespacePolicy, if set, is used as the raw endorsement policy DSL string
	// for the token namespace, instead of the default unanimity policy over Orgs.
	NamespacePolicy string
}

type TMSOpts

type TMSOpts struct {
	Alias               topology.TMSAlias
	TokenSDKDriver      string
	PublicParamsGenArgs []string
	Aries               bool
	// CSP, when true, generates DLog public parameters that use the Compressed
	// Sigma Protocol (CSP) range-proof backend instead of the default BulletProof.
	CSP bool
}

Directories

Path Synopsis
sdk

Jump to

Keyboard shortcuts

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