common

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 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
	// EndorsersFromOwnOrg, when true, makes every node restrict Token Chaincode
	// endorsement to the peers of its own organization
	// (services.network.fabric.endorsement.mspIDs).
	EndorsersFromOwnOrg bool
}

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
evmdlog
Package evmdlog composes the Token SDK with the EVM network driver and the zkatdlog token driver, mirroring fdlog (fabric) and fxdlog (fabricx).
Package evmdlog composes the Token SDK with the EVM network driver and the zkatdlog token driver, mirroring fdlog (fabric) and fxdlog (fabricx).
evmfabtoken
Package evmfabtoken composes the Token SDK with the EVM network driver and the fabtoken token driver, mirroring ffabtoken (fabric).
Package evmfabtoken composes the Token SDK with the EVM network driver and the fabtoken token driver, mirroring ffabtoken (fabric).

Jump to

Keyboard shortcuts

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