v2

package
v7.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TopologyChangeOpX_name = map[int32]string{
		0: "Replace",
		1: "Remove",
	}
	TopologyChangeOpX_value = map[string]int32{
		"Replace": 0,
		"Remove":  1,
	}
)

Enum value maps for TopologyChangeOpX.

View Source
var (
	TrustLevelX_name = map[int32]string{
		0: "MissingTrustLevel",
		1: "Ordinary",
		2: "Vip",
	}
	TrustLevelX_value = map[string]int32{
		"MissingTrustLevel": 0,
		"Ordinary":          1,
		"Vip":               2,
	}
)

Enum value maps for TrustLevelX.

View Source
var (
	ParticipantPermissionX_name = map[int32]string{
		0: "MissingParticipantPermission",
		1: "Submission",
		2: "Confirmation",
		3: "Observation",
	}
	ParticipantPermissionX_value = map[string]int32{
		"MissingParticipantPermission": 0,
		"Submission":                   1,
		"Confirmation":                 2,
		"Observation":                  3,
	}
)

Enum value maps for ParticipantPermissionX.

View Source
var (
	RegisterTopologyTransactionResponseX_Result_State_name = map[int32]string{
		0: "MISSING_STATE",
		1: "FAILED",
		2: "REJECTED",
		3: "ACCEPTED",
		4: "DUPLICATE",
		5: "OBSOLETE",
	}
	RegisterTopologyTransactionResponseX_Result_State_value = map[string]int32{
		"MISSING_STATE": 0,
		"FAILED":        1,
		"REJECTED":      2,
		"ACCEPTED":      3,
		"DUPLICATE":     4,
		"OBSOLETE":      5,
	}
)

Enum value maps for RegisterTopologyTransactionResponseX_Result_State.

View Source
var File_com_digitalasset_canton_protocol_v2_domain_params_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_mediator_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_mediator_response_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_participant_transaction_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_participant_transfer_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_synchronization_proto protoreflect.FileDescriptor
View Source
var File_com_digitalasset_canton_protocol_v2_topology_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcceptedTopologyTransactionsX

type AcceptedTopologyTransactionsX struct {
	Domain   string                                           `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Accepted []*AcceptedTopologyTransactionsX_AcceptedRequest `protobuf:"bytes,2,rep,name=accepted,proto3" json:"accepted,omitempty"` // TODO(#11255) include max-sequencing time (should be set to request timeout)
	// contains filtered or unexported fields
}

TODO(#11255) make this a signed protocol message

func (*AcceptedTopologyTransactionsX) Descriptor deprecated

func (*AcceptedTopologyTransactionsX) Descriptor() ([]byte, []int)

Deprecated: Use AcceptedTopologyTransactionsX.ProtoReflect.Descriptor instead.

func (*AcceptedTopologyTransactionsX) GetAccepted

func (*AcceptedTopologyTransactionsX) GetDomain

func (x *AcceptedTopologyTransactionsX) GetDomain() string

func (*AcceptedTopologyTransactionsX) ProtoMessage

func (*AcceptedTopologyTransactionsX) ProtoMessage()

func (*AcceptedTopologyTransactionsX) ProtoReflect

func (*AcceptedTopologyTransactionsX) Reset

func (x *AcceptedTopologyTransactionsX) Reset()

func (*AcceptedTopologyTransactionsX) String

type AcceptedTopologyTransactionsX_AcceptedRequest

type AcceptedTopologyTransactionsX_AcceptedRequest struct {
	RequestId    string                        `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Transactions []*SignedTopologyTransactionX `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptedTopologyTransactionsX_AcceptedRequest) Descriptor deprecated

Deprecated: Use AcceptedTopologyTransactionsX_AcceptedRequest.ProtoReflect.Descriptor instead.

func (*AcceptedTopologyTransactionsX_AcceptedRequest) GetRequestId

func (*AcceptedTopologyTransactionsX_AcceptedRequest) GetTransactions

func (*AcceptedTopologyTransactionsX_AcceptedRequest) ProtoMessage

func (*AcceptedTopologyTransactionsX_AcceptedRequest) ProtoReflect

func (*AcceptedTopologyTransactionsX_AcceptedRequest) Reset

func (*AcceptedTopologyTransactionsX_AcceptedRequest) String

type ActionDescription

type ActionDescription struct {

	// Types that are assignable to Description:
	//	*ActionDescription_Create
	//	*ActionDescription_Exercise
	//	*ActionDescription_Fetch
	//	*ActionDescription_LookupByKey
	Description isActionDescription_Description `protobuf_oneof:"description"`
	// contains filtered or unexported fields
}

Compared to v1: templateId added to ExerciseActionDescription

func (*ActionDescription) Descriptor deprecated

func (*ActionDescription) Descriptor() ([]byte, []int)

Deprecated: Use ActionDescription.ProtoReflect.Descriptor instead.

func (*ActionDescription) GetCreate

func (*ActionDescription) GetDescription

func (m *ActionDescription) GetDescription() isActionDescription_Description

func (*ActionDescription) GetExercise

func (*ActionDescription) GetFetch

func (*ActionDescription) GetLookupByKey

func (*ActionDescription) ProtoMessage

func (*ActionDescription) ProtoMessage()

func (*ActionDescription) ProtoReflect

func (x *ActionDescription) ProtoReflect() protoreflect.Message

func (*ActionDescription) Reset

func (x *ActionDescription) Reset()

func (*ActionDescription) String

func (x *ActionDescription) String() string

type ActionDescription_Create

type ActionDescription_Create struct {
	Create *v01.ActionDescription_CreateActionDescription `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type ActionDescription_Exercise

type ActionDescription_Exercise struct {
	Exercise *ActionDescription_ExerciseActionDescription `protobuf:"bytes,2,opt,name=exercise,proto3,oneof"`
}

type ActionDescription_ExerciseActionDescription

type ActionDescription_ExerciseActionDescription struct {
	InputContractId string   `protobuf:"bytes,1,opt,name=input_contract_id,json=inputContractId,proto3" json:"input_contract_id,omitempty"`
	Choice          string   `protobuf:"bytes,2,opt,name=choice,proto3" json:"choice,omitempty"`
	ChosenValue     []byte   `protobuf:"bytes,3,opt,name=chosen_value,json=chosenValue,proto3" json:"chosen_value,omitempty"`
	Actors          []string `protobuf:"bytes,4,rep,name=actors,proto3" json:"actors,omitempty"`
	ByKey           bool     `protobuf:"varint,5,opt,name=by_key,json=byKey,proto3" json:"by_key,omitempty"`
	NodeSeed        []byte   `protobuf:"bytes,6,opt,name=node_seed,json=nodeSeed,proto3" json:"node_seed,omitempty"`
	Version         string   `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Failed          bool     `protobuf:"varint,8,opt,name=failed,proto3" json:"failed,omitempty"`
	InterfaceId     *string  `protobuf:"bytes,9,opt,name=interface_id,json=interfaceId,proto3,oneof" json:"interface_id,omitempty"`
	TemplateId      *string  `protobuf:"bytes,10,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionDescription_ExerciseActionDescription) Descriptor deprecated

Deprecated: Use ActionDescription_ExerciseActionDescription.ProtoReflect.Descriptor instead.

func (*ActionDescription_ExerciseActionDescription) GetActors

func (*ActionDescription_ExerciseActionDescription) GetByKey

func (*ActionDescription_ExerciseActionDescription) GetChoice

func (*ActionDescription_ExerciseActionDescription) GetChosenValue

func (x *ActionDescription_ExerciseActionDescription) GetChosenValue() []byte

func (*ActionDescription_ExerciseActionDescription) GetFailed

func (*ActionDescription_ExerciseActionDescription) GetInputContractId

func (x *ActionDescription_ExerciseActionDescription) GetInputContractId() string

func (*ActionDescription_ExerciseActionDescription) GetInterfaceId

func (*ActionDescription_ExerciseActionDescription) GetNodeSeed

func (*ActionDescription_ExerciseActionDescription) GetTemplateId

func (*ActionDescription_ExerciseActionDescription) GetVersion

func (*ActionDescription_ExerciseActionDescription) ProtoMessage

func (*ActionDescription_ExerciseActionDescription) ProtoReflect

func (*ActionDescription_ExerciseActionDescription) Reset

func (*ActionDescription_ExerciseActionDescription) String

type ActionDescription_Fetch

type ActionDescription_Fetch struct {
	Fetch *v01.ActionDescription_FetchActionDescription `protobuf:"bytes,3,opt,name=fetch,proto3,oneof"`
}

type ActionDescription_LookupByKey

type ActionDescription_LookupByKey struct {
	LookupByKey *v01.ActionDescription_LookupByKeyActionDescription `protobuf:"bytes,4,opt,name=lookup_by_key,json=lookupByKey,proto3,oneof"`
}

type AuthorityOfX

type AuthorityOfX struct {

	// the party for which some other parties can gain authority
	Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	// the signatory threshold required by the parties to be able to act on behalf of the consortium within Daml
	Threshold uint32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// the list of parties which can gain authority
	Parties []string `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties,omitempty"`
	// optionally restricted to domain
	Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

which parties can exercise the authority over another party authorization: whoever controls the consortium and all the owners of the parties that

were not already present in the tx with serial = n - 1

UNIQUE(party, domain)

func (*AuthorityOfX) Descriptor deprecated

func (*AuthorityOfX) Descriptor() ([]byte, []int)

Deprecated: Use AuthorityOfX.ProtoReflect.Descriptor instead.

func (*AuthorityOfX) GetDomain

func (x *AuthorityOfX) GetDomain() string

func (*AuthorityOfX) GetParties

func (x *AuthorityOfX) GetParties() []string

func (*AuthorityOfX) GetParty

func (x *AuthorityOfX) GetParty() string

func (*AuthorityOfX) GetThreshold

func (x *AuthorityOfX) GetThreshold() uint32

func (*AuthorityOfX) ProtoMessage

func (*AuthorityOfX) ProtoMessage()

func (*AuthorityOfX) ProtoReflect

func (x *AuthorityOfX) ProtoReflect() protoreflect.Message

func (*AuthorityOfX) Reset

func (x *AuthorityOfX) Reset()

func (*AuthorityOfX) String

func (x *AuthorityOfX) String() string

type DomainParametersStateX

type DomainParametersStateX struct {

	// domain affected by the new domain parameters
	Domain           string                    `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	DomainParameters *DynamicDomainParametersX `protobuf:"bytes,2,opt,name=domain_parameters,json=domainParameters,proto3" json:"domain_parameters,omitempty"`
	// contains filtered or unexported fields
}

which dynamic domain parameters are supposed to be used on the given domain authorization: whoever controls the domain UNIQUE(domain)

func (*DomainParametersStateX) Descriptor deprecated

func (*DomainParametersStateX) Descriptor() ([]byte, []int)

Deprecated: Use DomainParametersStateX.ProtoReflect.Descriptor instead.

func (*DomainParametersStateX) GetDomain

func (x *DomainParametersStateX) GetDomain() string

func (*DomainParametersStateX) GetDomainParameters

func (x *DomainParametersStateX) GetDomainParameters() *DynamicDomainParametersX

func (*DomainParametersStateX) ProtoMessage

func (*DomainParametersStateX) ProtoMessage()

func (*DomainParametersStateX) ProtoReflect

func (x *DomainParametersStateX) ProtoReflect() protoreflect.Message

func (*DomainParametersStateX) Reset

func (x *DomainParametersStateX) Reset()

func (*DomainParametersStateX) String

func (x *DomainParametersStateX) String() string

type DomainTrustCertificateX

type DomainTrustCertificateX struct {

	// the uid of the participant
	Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"`
	// the uid of the domain that the participant trusts
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// if true, the participant restricts the domains to which it accepts transfer outs
	// TODO(#1252) implement transfer permissions
	TransferOnlyToGivenTargetDomains bool `` /* 166-byte string literal not displayed */
	// the uids of the target domains that this participants supports for transfer if transfer
	// is restricted.
	TargetDomains []string `protobuf:"bytes,4,rep,name=target_domains,json=targetDomains,proto3" json:"target_domains,omitempty"`
	// contains filtered or unexported fields
}

the trust certificate issued by the participant confirming that the participant wishes to be present on the given domain authorization: whoever controls the participant uid UNIQUE(participant,domain)

func (*DomainTrustCertificateX) Descriptor deprecated

func (*DomainTrustCertificateX) Descriptor() ([]byte, []int)

Deprecated: Use DomainTrustCertificateX.ProtoReflect.Descriptor instead.

func (*DomainTrustCertificateX) GetDomain

func (x *DomainTrustCertificateX) GetDomain() string

func (*DomainTrustCertificateX) GetParticipant

func (x *DomainTrustCertificateX) GetParticipant() string

func (*DomainTrustCertificateX) GetTargetDomains

func (x *DomainTrustCertificateX) GetTargetDomains() []string

func (*DomainTrustCertificateX) GetTransferOnlyToGivenTargetDomains

func (x *DomainTrustCertificateX) GetTransferOnlyToGivenTargetDomains() bool

func (*DomainTrustCertificateX) ProtoMessage

func (*DomainTrustCertificateX) ProtoMessage()

func (*DomainTrustCertificateX) ProtoReflect

func (x *DomainTrustCertificateX) ProtoReflect() protoreflect.Message

func (*DomainTrustCertificateX) Reset

func (x *DomainTrustCertificateX) Reset()

func (*DomainTrustCertificateX) String

func (x *DomainTrustCertificateX) String() string

type DynamicDomainParametersX

type DynamicDomainParametersX struct {
	ParticipantResponseTimeout    *durationpb.Duration `` /* 141-byte string literal not displayed */
	MediatorReactionTimeout       *durationpb.Duration `` /* 132-byte string literal not displayed */
	TransferExclusivityTimeout    *durationpb.Duration `` /* 141-byte string literal not displayed */
	TopologyChangeDelay           *durationpb.Duration `protobuf:"bytes,4,opt,name=topology_change_delay,json=topologyChangeDelay,proto3" json:"topology_change_delay,omitempty"`
	LedgerTimeRecordTimeTolerance *durationpb.Duration `` /* 154-byte string literal not displayed */
	ReconciliationInterval        *durationpb.Duration `` /* 127-byte string literal not displayed */
	MediatorDeduplicationTimeout  *durationpb.Duration `` /* 147-byte string literal not displayed */
	MaxRequestSize                uint32               `protobuf:"varint,8,opt,name=max_request_size,json=maxRequestSize,proto3" json:"max_request_size,omitempty"`
	// topology related validation parameters
	// permissioned domain: if true, only participants which have been explicitly
	// whitelisted are allowed on the domain
	// TODO(#11255) re-enable this feature and turn on the PermissionedDomainIntegrationTest
	PermissionedDomain bool `protobuf:"varint,9,opt,name=permissioned_domain,json=permissionedDomain,proto3" json:"permissioned_domain,omitempty"`
	// required packages are the default packages that must be supported by all participants on a domain
	// TODO(#11255) enable this feature (necessary for canton network such that an SVC can't do a rug-pull)
	RequiredPackages []string `protobuf:"bytes,11,rep,name=required_packages,json=requiredPackages,proto3" json:"required_packages,omitempty"`
	// if true, then only the required packages are supported on the given domain
	// TODO(#11255) enable this feature (was requested by Curtis)
	OnlyRequiredPackagesPermitted bool                     `` /* 154-byte string literal not displayed */
	DefaultParticipantLimits      *ParticipantDomainLimits `` /* 136-byte string literal not displayed */
	// TODO(#11255) implement party hosting limits
	DefaultMaxHostingParticipantsPerParty uint32 `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynamicDomainParametersX) Descriptor deprecated

func (*DynamicDomainParametersX) Descriptor() ([]byte, []int)

Deprecated: Use DynamicDomainParametersX.ProtoReflect.Descriptor instead.

func (*DynamicDomainParametersX) GetDefaultMaxHostingParticipantsPerParty

func (x *DynamicDomainParametersX) GetDefaultMaxHostingParticipantsPerParty() uint32

func (*DynamicDomainParametersX) GetDefaultParticipantLimits

func (x *DynamicDomainParametersX) GetDefaultParticipantLimits() *ParticipantDomainLimits

func (*DynamicDomainParametersX) GetLedgerTimeRecordTimeTolerance

func (x *DynamicDomainParametersX) GetLedgerTimeRecordTimeTolerance() *durationpb.Duration

func (*DynamicDomainParametersX) GetMaxRequestSize

func (x *DynamicDomainParametersX) GetMaxRequestSize() uint32

func (*DynamicDomainParametersX) GetMediatorDeduplicationTimeout

func (x *DynamicDomainParametersX) GetMediatorDeduplicationTimeout() *durationpb.Duration

func (*DynamicDomainParametersX) GetMediatorReactionTimeout

func (x *DynamicDomainParametersX) GetMediatorReactionTimeout() *durationpb.Duration

func (*DynamicDomainParametersX) GetOnlyRequiredPackagesPermitted

func (x *DynamicDomainParametersX) GetOnlyRequiredPackagesPermitted() bool

func (*DynamicDomainParametersX) GetParticipantResponseTimeout

func (x *DynamicDomainParametersX) GetParticipantResponseTimeout() *durationpb.Duration

func (*DynamicDomainParametersX) GetPermissionedDomain

func (x *DynamicDomainParametersX) GetPermissionedDomain() bool

func (*DynamicDomainParametersX) GetReconciliationInterval

func (x *DynamicDomainParametersX) GetReconciliationInterval() *durationpb.Duration

func (*DynamicDomainParametersX) GetRequiredPackages

func (x *DynamicDomainParametersX) GetRequiredPackages() []string

func (*DynamicDomainParametersX) GetTopologyChangeDelay

func (x *DynamicDomainParametersX) GetTopologyChangeDelay() *durationpb.Duration

func (*DynamicDomainParametersX) GetTransferExclusivityTimeout

func (x *DynamicDomainParametersX) GetTransferExclusivityTimeout() *durationpb.Duration

func (*DynamicDomainParametersX) ProtoMessage

func (*DynamicDomainParametersX) ProtoMessage()

func (*DynamicDomainParametersX) ProtoReflect

func (x *DynamicDomainParametersX) ProtoReflect() protoreflect.Message

func (*DynamicDomainParametersX) Reset

func (x *DynamicDomainParametersX) Reset()

func (*DynamicDomainParametersX) String

func (x *DynamicDomainParametersX) String() string

type EnvelopeContent

type EnvelopeContent struct {

	// Types that are assignable to SomeEnvelopeContent:
	//	*EnvelopeContent_InformeeMessage
	//	*EnvelopeContent_SignedMessage
	//	*EnvelopeContent_EncryptedViewMessage
	//	*EnvelopeContent_DomainTopologyTransactionMessage
	//	*EnvelopeContent_TransferOutMediatorMessage
	//	*EnvelopeContent_TransferInMediatorMessage
	//	*EnvelopeContent_RootHashMessage
	//	*EnvelopeContent_RegisterTopologyTransactionRequest
	//	*EnvelopeContent_RegisterTopologyTransactionResponse
	SomeEnvelopeContent isEnvelopeContent_SomeEnvelopeContent `protobuf_oneof:"some_envelope_content"`
	// contains filtered or unexported fields
}

func (*EnvelopeContent) Descriptor deprecated

func (*EnvelopeContent) Descriptor() ([]byte, []int)

Deprecated: Use EnvelopeContent.ProtoReflect.Descriptor instead.

func (*EnvelopeContent) GetDomainTopologyTransactionMessage

func (x *EnvelopeContent) GetDomainTopologyTransactionMessage() *v1.DomainTopologyTransactionMessage

func (*EnvelopeContent) GetEncryptedViewMessage

func (x *EnvelopeContent) GetEncryptedViewMessage() *v1.EncryptedViewMessage

func (*EnvelopeContent) GetInformeeMessage

func (x *EnvelopeContent) GetInformeeMessage() *v1.InformeeMessage

func (*EnvelopeContent) GetRegisterTopologyTransactionRequest

func (x *EnvelopeContent) GetRegisterTopologyTransactionRequest() *v0.RegisterTopologyTransactionRequest

func (*EnvelopeContent) GetRegisterTopologyTransactionResponse

func (x *EnvelopeContent) GetRegisterTopologyTransactionResponse() *v1.RegisterTopologyTransactionResponse

func (*EnvelopeContent) GetRootHashMessage

func (x *EnvelopeContent) GetRootHashMessage() *v0.RootHashMessage

func (*EnvelopeContent) GetSignedMessage

func (x *EnvelopeContent) GetSignedMessage() *v0.SignedProtocolMessage

func (*EnvelopeContent) GetSomeEnvelopeContent

func (m *EnvelopeContent) GetSomeEnvelopeContent() isEnvelopeContent_SomeEnvelopeContent

func (*EnvelopeContent) GetTransferInMediatorMessage

func (x *EnvelopeContent) GetTransferInMediatorMessage() *v1.TransferInMediatorMessage

func (*EnvelopeContent) GetTransferOutMediatorMessage

func (x *EnvelopeContent) GetTransferOutMediatorMessage() *v1.TransferOutMediatorMessage

func (*EnvelopeContent) ProtoMessage

func (*EnvelopeContent) ProtoMessage()

func (*EnvelopeContent) ProtoReflect

func (x *EnvelopeContent) ProtoReflect() protoreflect.Message

func (*EnvelopeContent) Reset

func (x *EnvelopeContent) Reset()

func (*EnvelopeContent) String

func (x *EnvelopeContent) String() string

type EnvelopeContent_DomainTopologyTransactionMessage

type EnvelopeContent_DomainTopologyTransactionMessage struct {
	DomainTopologyTransactionMessage *v1.DomainTopologyTransactionMessage `protobuf:"bytes,5,opt,name=domain_topology_transaction_message,json=domainTopologyTransactionMessage,proto3,oneof"`
}

type EnvelopeContent_EncryptedViewMessage

type EnvelopeContent_EncryptedViewMessage struct {
	EncryptedViewMessage *v1.EncryptedViewMessage `protobuf:"bytes,3,opt,name=encrypted_view_message,json=encryptedViewMessage,proto3,oneof"`
}

type EnvelopeContent_InformeeMessage

type EnvelopeContent_InformeeMessage struct {
	InformeeMessage *v1.InformeeMessage `protobuf:"bytes,1,opt,name=informee_message,json=informeeMessage,proto3,oneof"`
}

type EnvelopeContent_RegisterTopologyTransactionRequest

type EnvelopeContent_RegisterTopologyTransactionRequest struct {
	RegisterTopologyTransactionRequest *v0.RegisterTopologyTransactionRequest `protobuf:"bytes,9,opt,name=register_topology_transaction_request,json=registerTopologyTransactionRequest,proto3,oneof"`
}

type EnvelopeContent_RegisterTopologyTransactionResponse

type EnvelopeContent_RegisterTopologyTransactionResponse struct {
	RegisterTopologyTransactionResponse *v1.RegisterTopologyTransactionResponse `protobuf:"bytes,10,opt,name=register_topology_transaction_response,json=registerTopologyTransactionResponse,proto3,oneof"` // Removed field causality_update in v2
}

type EnvelopeContent_RootHashMessage

type EnvelopeContent_RootHashMessage struct {
	RootHashMessage *v0.RootHashMessage `protobuf:"bytes,8,opt,name=root_hash_message,json=rootHashMessage,proto3,oneof"`
}

type EnvelopeContent_SignedMessage

type EnvelopeContent_SignedMessage struct {
	SignedMessage *v0.SignedProtocolMessage `protobuf:"bytes,2,opt,name=signed_message,json=signedMessage,proto3,oneof"`
}

type EnvelopeContent_TransferInMediatorMessage

type EnvelopeContent_TransferInMediatorMessage struct {
	TransferInMediatorMessage *v1.TransferInMediatorMessage `protobuf:"bytes,7,opt,name=transfer_in_mediator_message,json=transferInMediatorMessage,proto3,oneof"`
}

type EnvelopeContent_TransferOutMediatorMessage

type EnvelopeContent_TransferOutMediatorMessage struct {
	TransferOutMediatorMessage *v1.TransferOutMediatorMessage `protobuf:"bytes,6,opt,name=transfer_out_mediator_message,json=transferOutMediatorMessage,proto3,oneof"`
}

type IdentifierDelegationX

type IdentifierDelegationX struct {

	// identifier
	UniqueIdentifier string `protobuf:"bytes,1,opt,name=unique_identifier,json=uniqueIdentifier,proto3" json:"unique_identifier,omitempty"`
	// target key getting the right
	TargetKey *v0.SigningPublicKey `protobuf:"bytes,2,opt,name=target_key,json=targetKey,proto3" json:"target_key,omitempty"`
	// contains filtered or unexported fields
}

identifier delegation giving right to issue topology transaction on that particular identifier authorization: must have sufficient signatures by keys of the namespace of the given unique

identifier. if the identifier is for a consortium, it can mean that we need multiple signatures

UNIQUE (all fields)

func (*IdentifierDelegationX) Descriptor deprecated

func (*IdentifierDelegationX) Descriptor() ([]byte, []int)

Deprecated: Use IdentifierDelegationX.ProtoReflect.Descriptor instead.

func (*IdentifierDelegationX) GetTargetKey

func (x *IdentifierDelegationX) GetTargetKey() *v0.SigningPublicKey

func (*IdentifierDelegationX) GetUniqueIdentifier

func (x *IdentifierDelegationX) GetUniqueIdentifier() string

func (*IdentifierDelegationX) ProtoMessage

func (*IdentifierDelegationX) ProtoMessage()

func (*IdentifierDelegationX) ProtoReflect

func (x *IdentifierDelegationX) ProtoReflect() protoreflect.Message

func (*IdentifierDelegationX) Reset

func (x *IdentifierDelegationX) Reset()

func (*IdentifierDelegationX) String

func (x *IdentifierDelegationX) String() string

type MediatorDomainStateX

type MediatorDomainStateX struct {

	// the domain-id of the mediator group
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// the group-id used for sharding multiple mediator groups
	Group uint32 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
	// the signature threshold required to reach consensus among the mediators
	Threshold uint32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// the list of active mediators (uid) within the group
	Active []string `protobuf:"bytes,4,rep,name=active,proto3" json:"active,omitempty"`
	// the list of observing mediators (uid) within the group (read messages but don't respond)
	Observers []string `protobuf:"bytes,5,rep,name=observers,proto3" json:"observers,omitempty"`
	// contains filtered or unexported fields
}

which mediators and mediator groups are active on the given domain authorization: whoever controls the domain and all the owners of the active or observing mediators that

were not already present in the tx with serial = n - 1
exception: a mediator can leave the consortium unilaterally as long as there are enough members
           to reach the threshold

UNIQUE(domain, group)

func (*MediatorDomainStateX) Descriptor deprecated

func (*MediatorDomainStateX) Descriptor() ([]byte, []int)

Deprecated: Use MediatorDomainStateX.ProtoReflect.Descriptor instead.

func (*MediatorDomainStateX) GetActive

func (x *MediatorDomainStateX) GetActive() []string

func (*MediatorDomainStateX) GetDomain

func (x *MediatorDomainStateX) GetDomain() string

func (*MediatorDomainStateX) GetGroup

func (x *MediatorDomainStateX) GetGroup() uint32

func (*MediatorDomainStateX) GetObservers

func (x *MediatorDomainStateX) GetObservers() []string

func (*MediatorDomainStateX) GetThreshold

func (x *MediatorDomainStateX) GetThreshold() uint32

func (*MediatorDomainStateX) ProtoMessage

func (*MediatorDomainStateX) ProtoMessage()

func (*MediatorDomainStateX) ProtoReflect

func (x *MediatorDomainStateX) ProtoReflect() protoreflect.Message

func (*MediatorDomainStateX) Reset

func (x *MediatorDomainStateX) Reset()

func (*MediatorDomainStateX) String

func (x *MediatorDomainStateX) String() string

type MediatorResponse

type MediatorResponse struct {
	RequestId         *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Sender            string                 `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	LocalVerdict      *v1.LocalVerdict       `protobuf:"bytes,4,opt,name=local_verdict,json=localVerdict,proto3" json:"local_verdict,omitempty"`
	RootHash          []byte                 `protobuf:"bytes,5,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`                            // May be empty for Malformed verdicts if the participant cannot determine the root hash.
	ConfirmingParties []string               `protobuf:"bytes,6,rep,name=confirming_parties,json=confirmingParties,proto3" json:"confirming_parties,omitempty"` // Empty iff the verdict is malformed.
	DomainId          string                 `protobuf:"bytes,7,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	ViewPosition      *ViewPosition          `protobuf:"bytes,8,opt,name=view_position,json=viewPosition,proto3" json:"view_position,omitempty"` // Added view_position. May be empty for Malformed verdicts
	// contains filtered or unexported fields
}

func (*MediatorResponse) Descriptor deprecated

func (*MediatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use MediatorResponse.ProtoReflect.Descriptor instead.

func (*MediatorResponse) GetConfirmingParties

func (x *MediatorResponse) GetConfirmingParties() []string

func (*MediatorResponse) GetDomainId

func (x *MediatorResponse) GetDomainId() string

func (*MediatorResponse) GetLocalVerdict

func (x *MediatorResponse) GetLocalVerdict() *v1.LocalVerdict

func (*MediatorResponse) GetRequestId

func (x *MediatorResponse) GetRequestId() *timestamppb.Timestamp

func (*MediatorResponse) GetRootHash

func (x *MediatorResponse) GetRootHash() []byte

func (*MediatorResponse) GetSender

func (x *MediatorResponse) GetSender() string

func (*MediatorResponse) GetViewPosition

func (x *MediatorResponse) GetViewPosition() *ViewPosition

func (*MediatorResponse) ProtoMessage

func (*MediatorResponse) ProtoMessage()

func (*MediatorResponse) ProtoReflect

func (x *MediatorResponse) ProtoReflect() protoreflect.Message

func (*MediatorResponse) Reset

func (x *MediatorResponse) Reset()

func (*MediatorResponse) String

func (x *MediatorResponse) String() string

type MerkleSeqIndex

type MerkleSeqIndex struct {
	IsRight []bool `protobuf:"varint,1,rep,packed,name=is_right,json=isRight,proto3" json:"is_right,omitempty"`
	// contains filtered or unexported fields
}

New message

func (*MerkleSeqIndex) Descriptor deprecated

func (*MerkleSeqIndex) Descriptor() ([]byte, []int)

Deprecated: Use MerkleSeqIndex.ProtoReflect.Descriptor instead.

func (*MerkleSeqIndex) GetIsRight

func (x *MerkleSeqIndex) GetIsRight() []bool

func (*MerkleSeqIndex) ProtoMessage

func (*MerkleSeqIndex) ProtoMessage()

func (*MerkleSeqIndex) ProtoReflect

func (x *MerkleSeqIndex) ProtoReflect() protoreflect.Message

func (*MerkleSeqIndex) Reset

func (x *MerkleSeqIndex) Reset()

func (*MerkleSeqIndex) String

func (x *MerkleSeqIndex) String() string

type NamespaceDelegationX

type NamespaceDelegationX struct {

	// fingerprint of the root key defining the namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// target key of getting full rights on the namespace (if target == namespace, it's a root CA)
	TargetKey *v0.SigningPublicKey `protobuf:"bytes,2,opt,name=target_key,json=targetKey,proto3" json:"target_key,omitempty"`
	// flag indicating whether the given delegation is a root delegation or not
	// a root delegation is also allowed to issue other NamespaceDelegations.
	IsRootDelegation bool `protobuf:"varint,3,opt,name=is_root_delegation,json=isRootDelegation,proto3" json:"is_root_delegation,omitempty"`
	// contains filtered or unexported fields
}

namespace delegation (equivalent to X509v3 CA root or intermediate CAs) authorization: a namespace delegation is either signed by the root key, or is signed by

a key for which there exists a series of properly authorized namespace delegations
that are ultimately signed by the root key

UNIQUE(namespace, target_key)

func (*NamespaceDelegationX) Descriptor deprecated

func (*NamespaceDelegationX) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceDelegationX.ProtoReflect.Descriptor instead.

func (*NamespaceDelegationX) GetIsRootDelegation

func (x *NamespaceDelegationX) GetIsRootDelegation() bool

func (*NamespaceDelegationX) GetNamespace

func (x *NamespaceDelegationX) GetNamespace() string

func (*NamespaceDelegationX) GetTargetKey

func (x *NamespaceDelegationX) GetTargetKey() *v0.SigningPublicKey

func (*NamespaceDelegationX) ProtoMessage

func (*NamespaceDelegationX) ProtoMessage()

func (*NamespaceDelegationX) ProtoReflect

func (x *NamespaceDelegationX) ProtoReflect() protoreflect.Message

func (*NamespaceDelegationX) Reset

func (x *NamespaceDelegationX) Reset()

func (*NamespaceDelegationX) String

func (x *NamespaceDelegationX) String() string

type OwnerToKeyMappingX

type OwnerToKeyMappingX struct {

	// the sequencing process member
	Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// the designated keys
	PublicKeys []*v0.PublicKey `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	// optionally restricted to domain
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

mapping a member (participant, mediator, sequencer) to a key authorization: whoever controls the member uid UNIQUE(member, domain)

func (*OwnerToKeyMappingX) Descriptor deprecated

func (*OwnerToKeyMappingX) Descriptor() ([]byte, []int)

Deprecated: Use OwnerToKeyMappingX.ProtoReflect.Descriptor instead.

func (*OwnerToKeyMappingX) GetDomain

func (x *OwnerToKeyMappingX) GetDomain() string

func (*OwnerToKeyMappingX) GetMember

func (x *OwnerToKeyMappingX) GetMember() string

func (*OwnerToKeyMappingX) GetPublicKeys

func (x *OwnerToKeyMappingX) GetPublicKeys() []*v0.PublicKey

func (*OwnerToKeyMappingX) ProtoMessage

func (*OwnerToKeyMappingX) ProtoMessage()

func (*OwnerToKeyMappingX) ProtoReflect

func (x *OwnerToKeyMappingX) ProtoReflect() protoreflect.Message

func (*OwnerToKeyMappingX) Reset

func (x *OwnerToKeyMappingX) Reset()

func (*OwnerToKeyMappingX) String

func (x *OwnerToKeyMappingX) String() string

type ParticipantDomainLimits

type ParticipantDomainLimits struct {

	// TODO(#11255) implement per participant rate limits
	MaxRate uint32 `protobuf:"varint,1,opt,name=max_rate,json=maxRate,proto3" json:"max_rate,omitempty"`
	// TODO(#11255) implement per participant party limits
	MaxNumParties uint32 `protobuf:"varint,2,opt,name=max_num_parties,json=maxNumParties,proto3" json:"max_num_parties,omitempty"`
	// TODO(#11255) implement per participant package limits
	MaxNumPackages uint32 `protobuf:"varint,3,opt,name=max_num_packages,json=maxNumPackages,proto3" json:"max_num_packages,omitempty"`
	// contains filtered or unexported fields
}

individual per participant limits

func (*ParticipantDomainLimits) Descriptor deprecated

func (*ParticipantDomainLimits) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantDomainLimits.ProtoReflect.Descriptor instead.

func (*ParticipantDomainLimits) GetMaxNumPackages

func (x *ParticipantDomainLimits) GetMaxNumPackages() uint32

func (*ParticipantDomainLimits) GetMaxNumParties

func (x *ParticipantDomainLimits) GetMaxNumParties() uint32

func (*ParticipantDomainLimits) GetMaxRate

func (x *ParticipantDomainLimits) GetMaxRate() uint32

func (*ParticipantDomainLimits) ProtoMessage

func (*ParticipantDomainLimits) ProtoMessage()

func (*ParticipantDomainLimits) ProtoReflect

func (x *ParticipantDomainLimits) ProtoReflect() protoreflect.Message

func (*ParticipantDomainLimits) Reset

func (x *ParticipantDomainLimits) Reset()

func (*ParticipantDomainLimits) String

func (x *ParticipantDomainLimits) String() string

type ParticipantDomainPermissionX

type ParticipantDomainPermissionX struct {
	Domain      string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Participant string `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"`
	// the permission level of the participant on this domain (usually submission)
	Permission ParticipantPermissionX `` /* 138-byte string literal not displayed */
	// the trust level of the participant on this domain
	TrustLevel TrustLevelX `` /* 145-byte string literal not displayed */
	// optional individual limits for this participant
	Limits *ParticipantDomainLimits `protobuf:"bytes,5,opt,name=limits,proto3" json:"limits,omitempty"`
	// optional earliest time when participant can log in (again)
	// used to temporarily disable participants
	// TODO(#11255) implement participant deny list
	LoginAfter *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=login_after,json=loginAfter,proto3" json:"login_after,omitempty"`
	// contains filtered or unexported fields
}

the optional trust certificate of the domain towards the participant authorization: whoever controls the domain uid UNIQUE(domain,participant)

func (*ParticipantDomainPermissionX) Descriptor deprecated

func (*ParticipantDomainPermissionX) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantDomainPermissionX.ProtoReflect.Descriptor instead.

func (*ParticipantDomainPermissionX) GetDomain

func (x *ParticipantDomainPermissionX) GetDomain() string

func (*ParticipantDomainPermissionX) GetLimits

func (*ParticipantDomainPermissionX) GetLoginAfter

func (*ParticipantDomainPermissionX) GetParticipant

func (x *ParticipantDomainPermissionX) GetParticipant() string

func (*ParticipantDomainPermissionX) GetPermission

func (*ParticipantDomainPermissionX) GetTrustLevel

func (x *ParticipantDomainPermissionX) GetTrustLevel() TrustLevelX

func (*ParticipantDomainPermissionX) ProtoMessage

func (*ParticipantDomainPermissionX) ProtoMessage()

func (*ParticipantDomainPermissionX) ProtoReflect

func (*ParticipantDomainPermissionX) Reset

func (x *ParticipantDomainPermissionX) Reset()

func (*ParticipantDomainPermissionX) String

type ParticipantPermissionX

type ParticipantPermissionX int32

enum indicating the participant permission level

const (
	ParticipantPermissionX_MissingParticipantPermission ParticipantPermissionX = 0
	// participant is active, can submit transactions
	ParticipantPermissionX_Submission ParticipantPermissionX = 1
	// participant is passive, can only confirm transactions
	ParticipantPermissionX_Confirmation ParticipantPermissionX = 2
	// participant is passive, can only observe transactions
	ParticipantPermissionX_Observation ParticipantPermissionX = 3
)

func (ParticipantPermissionX) Descriptor

func (ParticipantPermissionX) Enum

func (ParticipantPermissionX) EnumDescriptor deprecated

func (ParticipantPermissionX) EnumDescriptor() ([]byte, []int)

Deprecated: Use ParticipantPermissionX.Descriptor instead.

func (ParticipantPermissionX) Number

func (ParticipantPermissionX) String

func (x ParticipantPermissionX) String() string

func (ParticipantPermissionX) Type

type ParticipantReject

type ParticipantReject struct {
	Reasons []*RejectionReason `protobuf:"bytes,1,rep,name=reasons,proto3" json:"reasons,omitempty"` // new version
	// contains filtered or unexported fields
}

func (*ParticipantReject) Descriptor deprecated

func (*ParticipantReject) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantReject.ProtoReflect.Descriptor instead.

func (*ParticipantReject) GetReasons

func (x *ParticipantReject) GetReasons() []*RejectionReason

func (*ParticipantReject) ProtoMessage

func (*ParticipantReject) ProtoMessage()

func (*ParticipantReject) ProtoReflect

func (x *ParticipantReject) ProtoReflect() protoreflect.Message

func (*ParticipantReject) Reset

func (x *ParticipantReject) Reset()

func (*ParticipantReject) String

func (x *ParticipantReject) String() string

type PartyHostingLimitsX

type PartyHostingLimitsX struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Party  string `protobuf:"bytes,2,opt,name=party,proto3" json:"party,omitempty"`
	// how many participants can be assigned to the given party
	Quota uint32 `protobuf:"varint,3,opt,name=quota,proto3" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

the optional hosting limits for a party on a given domain these limits can be used to limit the number of participants that can host a given party authorization: whoever controls the domain uid UNIQUE(domain,party) TODO(#11255) implement me

func (*PartyHostingLimitsX) Descriptor deprecated

func (*PartyHostingLimitsX) Descriptor() ([]byte, []int)

Deprecated: Use PartyHostingLimitsX.ProtoReflect.Descriptor instead.

func (*PartyHostingLimitsX) GetDomain

func (x *PartyHostingLimitsX) GetDomain() string

func (*PartyHostingLimitsX) GetParty

func (x *PartyHostingLimitsX) GetParty() string

func (*PartyHostingLimitsX) GetQuota

func (x *PartyHostingLimitsX) GetQuota() uint32

func (*PartyHostingLimitsX) ProtoMessage

func (*PartyHostingLimitsX) ProtoMessage()

func (*PartyHostingLimitsX) ProtoReflect

func (x *PartyHostingLimitsX) ProtoReflect() protoreflect.Message

func (*PartyHostingLimitsX) Reset

func (x *PartyHostingLimitsX) Reset()

func (*PartyHostingLimitsX) String

func (x *PartyHostingLimitsX) String() string

type PartyToParticipantX

type PartyToParticipantX struct {

	// the party that is to be represented by the participants
	Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	// the signatory threshold required by the participants to be able to act on behalf of the party.
	// a mapping with threshold > 1 is considered a definition of a consortium party
	Threshold uint32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// which participants will host the party.
	// if threshold > 1, must be Confirmation or Observation
	Participants []*PartyToParticipantX_HostingParticipant `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"`
	// if true, then the canton transaction is addressed to the party (group broadcast)
	// and not to the individual participants for efficiency reasons
	GroupAddressing bool `protobuf:"varint,4,opt,name=group_addressing,json=groupAddressing,proto3" json:"group_addressing,omitempty"`
	// optionally restricted to domain
	Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

mapping that maps a party to a participant authorization: whoever controls the party and all the owners of the participants that

were not already present in the tx with serial = n - 1
exception:
  - a participant can disassociate itself with the party unilaterally as long there will be
    enough participants to reach "threshold" during confirmation.

UNIQUE(party, domain)

func (*PartyToParticipantX) Descriptor deprecated

func (*PartyToParticipantX) Descriptor() ([]byte, []int)

Deprecated: Use PartyToParticipantX.ProtoReflect.Descriptor instead.

func (*PartyToParticipantX) GetDomain

func (x *PartyToParticipantX) GetDomain() string

func (*PartyToParticipantX) GetGroupAddressing

func (x *PartyToParticipantX) GetGroupAddressing() bool

func (*PartyToParticipantX) GetParticipants

func (*PartyToParticipantX) GetParty

func (x *PartyToParticipantX) GetParty() string

func (*PartyToParticipantX) GetThreshold

func (x *PartyToParticipantX) GetThreshold() uint32

func (*PartyToParticipantX) ProtoMessage

func (*PartyToParticipantX) ProtoMessage()

func (*PartyToParticipantX) ProtoReflect

func (x *PartyToParticipantX) ProtoReflect() protoreflect.Message

func (*PartyToParticipantX) Reset

func (x *PartyToParticipantX) Reset()

func (*PartyToParticipantX) String

func (x *PartyToParticipantX) String() string

type PartyToParticipantX_HostingParticipant

type PartyToParticipantX_HostingParticipant struct {

	// the target participant that the party should be mapped to
	Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"`
	// permission of the participant for this particular party (the actual
	// will be min of ParticipantDomainPermissions and this setting)
	Permission ParticipantPermissionX `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PartyToParticipantX_HostingParticipant) Descriptor deprecated

func (*PartyToParticipantX_HostingParticipant) Descriptor() ([]byte, []int)

Deprecated: Use PartyToParticipantX_HostingParticipant.ProtoReflect.Descriptor instead.

func (*PartyToParticipantX_HostingParticipant) GetParticipant

func (x *PartyToParticipantX_HostingParticipant) GetParticipant() string

func (*PartyToParticipantX_HostingParticipant) GetPermission

func (*PartyToParticipantX_HostingParticipant) ProtoMessage

func (*PartyToParticipantX_HostingParticipant) ProtoReflect

func (*PartyToParticipantX_HostingParticipant) Reset

func (*PartyToParticipantX_HostingParticipant) String

type PurgeTopologyTransactionX

type PurgeTopologyTransactionX struct {

	// the domain-id
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// the list of mappings to remove from this domain
	Mappings []*TopologyMappingX `protobuf:"bytes,2,rep,name=mappings,proto3" json:"mappings,omitempty"`
	// contains filtered or unexported fields
}

explicitly invalidate topology transactions for good this can be used by the domain to offboard participants forcefully or to remove stray topology transactions authorization: whoever controls the domain UNIQUE(domain)

func (*PurgeTopologyTransactionX) Descriptor deprecated

func (*PurgeTopologyTransactionX) Descriptor() ([]byte, []int)

Deprecated: Use PurgeTopologyTransactionX.ProtoReflect.Descriptor instead.

func (*PurgeTopologyTransactionX) GetDomain

func (x *PurgeTopologyTransactionX) GetDomain() string

func (*PurgeTopologyTransactionX) GetMappings

func (x *PurgeTopologyTransactionX) GetMappings() []*TopologyMappingX

func (*PurgeTopologyTransactionX) ProtoMessage

func (*PurgeTopologyTransactionX) ProtoMessage()

func (*PurgeTopologyTransactionX) ProtoReflect

func (*PurgeTopologyTransactionX) Reset

func (x *PurgeTopologyTransactionX) Reset()

func (*PurgeTopologyTransactionX) String

func (x *PurgeTopologyTransactionX) String() string

type RegisterTopologyTransactionRequestX

type RegisterTopologyTransactionRequestX struct {

	// the member requesting the approval of the transactions on behalf of the participant.
	// typically this will be either an unauthenticated member (before the participant is active)
	// or the participant or member itself (after it has become active)
	RequestedBy  string                        `protobuf:"bytes,1,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
	RequestedFor string                        `protobuf:"bytes,2,opt,name=requested_for,json=requestedFor,proto3" json:"requested_for,omitempty"`
	RequestId    string                        `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Transactions []*SignedTopologyTransactionX `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Domain       string                        `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` // TODO(#11255) include request timeout / max sequencing time for crash recovery & at most once delivery
	// contains filtered or unexported fields
}

func (*RegisterTopologyTransactionRequestX) Descriptor deprecated

func (*RegisterTopologyTransactionRequestX) Descriptor() ([]byte, []int)

Deprecated: Use RegisterTopologyTransactionRequestX.ProtoReflect.Descriptor instead.

func (*RegisterTopologyTransactionRequestX) GetDomain

func (*RegisterTopologyTransactionRequestX) GetRequestId

func (x *RegisterTopologyTransactionRequestX) GetRequestId() string

func (*RegisterTopologyTransactionRequestX) GetRequestedBy

func (x *RegisterTopologyTransactionRequestX) GetRequestedBy() string

func (*RegisterTopologyTransactionRequestX) GetRequestedFor

func (x *RegisterTopologyTransactionRequestX) GetRequestedFor() string

func (*RegisterTopologyTransactionRequestX) GetTransactions

func (*RegisterTopologyTransactionRequestX) ProtoMessage

func (*RegisterTopologyTransactionRequestX) ProtoMessage()

func (*RegisterTopologyTransactionRequestX) ProtoReflect

func (*RegisterTopologyTransactionRequestX) Reset

func (*RegisterTopologyTransactionRequestX) String

type RegisterTopologyTransactionResponseX

type RegisterTopologyTransactionResponseX struct {
	RequestedBy  string                                         `protobuf:"bytes,1,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
	RequestedFor string                                         `protobuf:"bytes,2,opt,name=requested_for,json=requestedFor,proto3" json:"requested_for,omitempty"`
	RequestId    string                                         `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Results      []*RegisterTopologyTransactionResponseX_Result `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"`
	Domain       string                                         `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterTopologyTransactionResponseX) Descriptor deprecated

func (*RegisterTopologyTransactionResponseX) Descriptor() ([]byte, []int)

Deprecated: Use RegisterTopologyTransactionResponseX.ProtoReflect.Descriptor instead.

func (*RegisterTopologyTransactionResponseX) GetDomain

func (*RegisterTopologyTransactionResponseX) GetRequestId

func (x *RegisterTopologyTransactionResponseX) GetRequestId() string

func (*RegisterTopologyTransactionResponseX) GetRequestedBy

func (x *RegisterTopologyTransactionResponseX) GetRequestedBy() string

func (*RegisterTopologyTransactionResponseX) GetRequestedFor

func (x *RegisterTopologyTransactionResponseX) GetRequestedFor() string

func (*RegisterTopologyTransactionResponseX) GetResults

func (*RegisterTopologyTransactionResponseX) ProtoMessage

func (*RegisterTopologyTransactionResponseX) ProtoMessage()

func (*RegisterTopologyTransactionResponseX) ProtoReflect

func (*RegisterTopologyTransactionResponseX) Reset

func (*RegisterTopologyTransactionResponseX) String

type RegisterTopologyTransactionResponseX_Result

type RegisterTopologyTransactionResponseX_Result struct {
	State RegisterTopologyTransactionResponseX_Result_State `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RegisterTopologyTransactionResponseX_Result) Descriptor deprecated

Deprecated: Use RegisterTopologyTransactionResponseX_Result.ProtoReflect.Descriptor instead.

func (*RegisterTopologyTransactionResponseX_Result) GetState

func (*RegisterTopologyTransactionResponseX_Result) ProtoMessage

func (*RegisterTopologyTransactionResponseX_Result) ProtoReflect

func (*RegisterTopologyTransactionResponseX_Result) Reset

func (*RegisterTopologyTransactionResponseX_Result) String

type RegisterTopologyTransactionResponseX_Result_State

type RegisterTopologyTransactionResponseX_Result_State int32
const (
	RegisterTopologyTransactionResponseX_Result_MISSING_STATE RegisterTopologyTransactionResponseX_Result_State = 0
	// the request failed with an error message
	RegisterTopologyTransactionResponseX_Result_FAILED RegisterTopologyTransactionResponseX_Result_State = 1
	// the request has been rejected as it does not conform with the domain settings
	RegisterTopologyTransactionResponseX_Result_REJECTED RegisterTopologyTransactionResponseX_Result_State = 2
	// the request has been accepted by the domain topology manager
	RegisterTopologyTransactionResponseX_Result_ACCEPTED RegisterTopologyTransactionResponseX_Result_State = 3
	// the request is a duplicate (i.e. yields an topology state element that already exists)
	RegisterTopologyTransactionResponseX_Result_DUPLICATE RegisterTopologyTransactionResponseX_Result_State = 4
	// the request is obsolete (i.e. a Remove to a topology mapping that does not exist on the server)
	RegisterTopologyTransactionResponseX_Result_OBSOLETE RegisterTopologyTransactionResponseX_Result_State = 5
)

func (RegisterTopologyTransactionResponseX_Result_State) Descriptor

func (RegisterTopologyTransactionResponseX_Result_State) Enum

func (RegisterTopologyTransactionResponseX_Result_State) EnumDescriptor deprecated

Deprecated: Use RegisterTopologyTransactionResponseX_Result_State.Descriptor instead.

func (RegisterTopologyTransactionResponseX_Result_State) Number

func (RegisterTopologyTransactionResponseX_Result_State) String

func (RegisterTopologyTransactionResponseX_Result_State) Type

type RejectionReason

type RejectionReason struct {
	Parties []string        `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
	Reject  *v1.LocalReject `protobuf:"bytes,2,opt,name=reject,proto3" json:"reject,omitempty"` // Using v1.LocalReject instead of v0.LocalReject
	// contains filtered or unexported fields
}

func (*RejectionReason) Descriptor deprecated

func (*RejectionReason) Descriptor() ([]byte, []int)

Deprecated: Use RejectionReason.ProtoReflect.Descriptor instead.

func (*RejectionReason) GetParties

func (x *RejectionReason) GetParties() []string

func (*RejectionReason) GetReject

func (x *RejectionReason) GetReject() *v1.LocalReject

func (*RejectionReason) ProtoMessage

func (*RejectionReason) ProtoMessage()

func (*RejectionReason) ProtoReflect

func (x *RejectionReason) ProtoReflect() protoreflect.Message

func (*RejectionReason) Reset

func (x *RejectionReason) Reset()

func (*RejectionReason) String

func (x *RejectionReason) String() string

type SequencerDomainStateX

type SequencerDomainStateX struct {

	// the domain-id of the sequencer group
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// the signature threshold required to reach consensus
	Threshold uint32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// the list of active sequencers
	Active []string `protobuf:"bytes,3,rep,name=active,proto3" json:"active,omitempty"`
	// the list of observing sequencers (uid) within the group (read messages but don't respond)
	Observers []string `protobuf:"bytes,4,rep,name=observers,proto3" json:"observers,omitempty"`
	// contains filtered or unexported fields
}

which sequencers are active on the given domain authorization: whoever controls the domain and all the owners of the active or observing sequencers that

were not already present in the tx with serial = n - 1
exception: a sequencer can leave the consortium unilaterally as long as there are enough members
           to reach the threshold

UNIQUE(domain)

func (*SequencerDomainStateX) Descriptor deprecated

func (*SequencerDomainStateX) Descriptor() ([]byte, []int)

Deprecated: Use SequencerDomainStateX.ProtoReflect.Descriptor instead.

func (*SequencerDomainStateX) GetActive

func (x *SequencerDomainStateX) GetActive() []string

func (*SequencerDomainStateX) GetDomain

func (x *SequencerDomainStateX) GetDomain() string

func (*SequencerDomainStateX) GetObservers

func (x *SequencerDomainStateX) GetObservers() []string

func (*SequencerDomainStateX) GetThreshold

func (x *SequencerDomainStateX) GetThreshold() uint32

func (*SequencerDomainStateX) ProtoMessage

func (*SequencerDomainStateX) ProtoMessage()

func (*SequencerDomainStateX) ProtoReflect

func (x *SequencerDomainStateX) ProtoReflect() protoreflect.Message

func (*SequencerDomainStateX) Reset

func (x *SequencerDomainStateX) Reset()

func (*SequencerDomainStateX) String

func (x *SequencerDomainStateX) String() string

type SignedTopologyTransactionX

type SignedTopologyTransactionX struct {

	// serialized topology transaction (protobuf bytestring)
	Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// multiple signatures (at least one)
	Signatures []*v0.Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// if true, this transaction is just a proposal. this means that every signature is valid,
	// but the signatures are insufficient to properly authorize the transaction
	// proposals are distributed via the topology channel too. proposals will be pruned automatically
	// when the nodes are pruned
	// TODO(#11255) implement proposal and implement pruning
	Proposal bool `protobuf:"varint,3,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTopologyTransactionX) Descriptor deprecated

func (*SignedTopologyTransactionX) Descriptor() ([]byte, []int)

Deprecated: Use SignedTopologyTransactionX.ProtoReflect.Descriptor instead.

func (*SignedTopologyTransactionX) GetProposal

func (x *SignedTopologyTransactionX) GetProposal() bool

func (*SignedTopologyTransactionX) GetSignatures

func (x *SignedTopologyTransactionX) GetSignatures() []*v0.Signature

func (*SignedTopologyTransactionX) GetTransaction

func (x *SignedTopologyTransactionX) GetTransaction() []byte

func (*SignedTopologyTransactionX) ProtoMessage

func (*SignedTopologyTransactionX) ProtoMessage()

func (*SignedTopologyTransactionX) ProtoReflect

func (*SignedTopologyTransactionX) Reset

func (x *SignedTopologyTransactionX) Reset()

func (*SignedTopologyTransactionX) String

func (x *SignedTopologyTransactionX) String() string

type StaticDomainParametersX

type StaticDomainParametersX struct {
	RequiredSigningKeySchemes    []v0.SigningKeyScheme    `` /* 204-byte string literal not displayed */
	RequiredEncryptionKeySchemes []v0.EncryptionKeyScheme `` /* 216-byte string literal not displayed */
	RequiredSymmetricKeySchemes  []v0.SymmetricKeyScheme  `` /* 212-byte string literal not displayed */
	RequiredHashAlgorithms       []v0.HashAlgorithm       `` /* 190-byte string literal not displayed */
	RequiredCryptoKeyFormats     []v0.CryptoKeyFormat     `` /* 200-byte string literal not displayed */
	ProtocolVersion              int32                    `protobuf:"varint,7,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	// contains filtered or unexported fields
}

func (*StaticDomainParametersX) Descriptor deprecated

func (*StaticDomainParametersX) Descriptor() ([]byte, []int)

Deprecated: Use StaticDomainParametersX.ProtoReflect.Descriptor instead.

func (*StaticDomainParametersX) GetProtocolVersion

func (x *StaticDomainParametersX) GetProtocolVersion() int32

func (*StaticDomainParametersX) GetRequiredCryptoKeyFormats

func (x *StaticDomainParametersX) GetRequiredCryptoKeyFormats() []v0.CryptoKeyFormat

func (*StaticDomainParametersX) GetRequiredEncryptionKeySchemes

func (x *StaticDomainParametersX) GetRequiredEncryptionKeySchemes() []v0.EncryptionKeyScheme

func (*StaticDomainParametersX) GetRequiredHashAlgorithms

func (x *StaticDomainParametersX) GetRequiredHashAlgorithms() []v0.HashAlgorithm

func (*StaticDomainParametersX) GetRequiredSigningKeySchemes

func (x *StaticDomainParametersX) GetRequiredSigningKeySchemes() []v0.SigningKeyScheme

func (*StaticDomainParametersX) GetRequiredSymmetricKeySchemes

func (x *StaticDomainParametersX) GetRequiredSymmetricKeySchemes() []v0.SymmetricKeyScheme

func (*StaticDomainParametersX) ProtoMessage

func (*StaticDomainParametersX) ProtoMessage()

func (*StaticDomainParametersX) ProtoReflect

func (x *StaticDomainParametersX) ProtoReflect() protoreflect.Message

func (*StaticDomainParametersX) Reset

func (x *StaticDomainParametersX) Reset()

func (*StaticDomainParametersX) String

func (x *StaticDomainParametersX) String() string

type TopologyChangeOpX

type TopologyChangeOpX int32
const (
	// TODO(#11255) should that be REPLACE instead of Replace?
	// Adds a new or replaces an existing mapping
	TopologyChangeOpX_Replace TopologyChangeOpX = 0
	// Remove an existing mapping
	TopologyChangeOpX_Remove TopologyChangeOpX = 1
)

func (TopologyChangeOpX) Descriptor

func (TopologyChangeOpX) Enum

func (TopologyChangeOpX) EnumDescriptor deprecated

func (TopologyChangeOpX) EnumDescriptor() ([]byte, []int)

Deprecated: Use TopologyChangeOpX.Descriptor instead.

func (TopologyChangeOpX) Number

func (TopologyChangeOpX) String

func (x TopologyChangeOpX) String() string

func (TopologyChangeOpX) Type

type TopologyMappingX

type TopologyMappingX struct {

	// Types that are assignable to Mapping:
	//	*TopologyMappingX_NamespaceDelegation
	//	*TopologyMappingX_IdentifierDelegation
	//	*TopologyMappingX_UnionspaceDefinition
	//	*TopologyMappingX_OwnerToKeyMapping
	//	*TopologyMappingX_DomainTrustCertificate
	//	*TopologyMappingX_ParticipantPermission
	//	*TopologyMappingX_PartyHostingLimits
	//	*TopologyMappingX_VettedPackages
	//	*TopologyMappingX_PartyToParticipant
	//	*TopologyMappingX_AuthorityOf
	//	*TopologyMappingX_DomainParametersState
	//	*TopologyMappingX_MediatorDomainState
	//	*TopologyMappingX_SequencerDomainState
	//	*TopologyMappingX_PurgeTopologyTxs
	//	*TopologyMappingX_TrafficControlState
	Mapping isTopologyMappingX_Mapping `protobuf_oneof:"mapping"`
	// contains filtered or unexported fields
}

func (*TopologyMappingX) Descriptor deprecated

func (*TopologyMappingX) Descriptor() ([]byte, []int)

Deprecated: Use TopologyMappingX.ProtoReflect.Descriptor instead.

func (*TopologyMappingX) GetAuthorityOf

func (x *TopologyMappingX) GetAuthorityOf() *AuthorityOfX

func (*TopologyMappingX) GetDomainParametersState

func (x *TopologyMappingX) GetDomainParametersState() *DomainParametersStateX

func (*TopologyMappingX) GetDomainTrustCertificate

func (x *TopologyMappingX) GetDomainTrustCertificate() *DomainTrustCertificateX

func (*TopologyMappingX) GetIdentifierDelegation

func (x *TopologyMappingX) GetIdentifierDelegation() *IdentifierDelegationX

func (*TopologyMappingX) GetMapping

func (m *TopologyMappingX) GetMapping() isTopologyMappingX_Mapping

func (*TopologyMappingX) GetMediatorDomainState

func (x *TopologyMappingX) GetMediatorDomainState() *MediatorDomainStateX

func (*TopologyMappingX) GetNamespaceDelegation

func (x *TopologyMappingX) GetNamespaceDelegation() *NamespaceDelegationX

func (*TopologyMappingX) GetOwnerToKeyMapping

func (x *TopologyMappingX) GetOwnerToKeyMapping() *OwnerToKeyMappingX

func (*TopologyMappingX) GetParticipantPermission

func (x *TopologyMappingX) GetParticipantPermission() *ParticipantDomainPermissionX

func (*TopologyMappingX) GetPartyHostingLimits

func (x *TopologyMappingX) GetPartyHostingLimits() *PartyHostingLimitsX

func (*TopologyMappingX) GetPartyToParticipant

func (x *TopologyMappingX) GetPartyToParticipant() *PartyToParticipantX

func (*TopologyMappingX) GetPurgeTopologyTxs

func (x *TopologyMappingX) GetPurgeTopologyTxs() *PurgeTopologyTransactionX

func (*TopologyMappingX) GetSequencerDomainState

func (x *TopologyMappingX) GetSequencerDomainState() *SequencerDomainStateX

func (*TopologyMappingX) GetTrafficControlState

func (x *TopologyMappingX) GetTrafficControlState() *TrafficControlStateX

func (*TopologyMappingX) GetUnionspaceDefinition

func (x *TopologyMappingX) GetUnionspaceDefinition() *UnionspaceDefinitionX

func (*TopologyMappingX) GetVettedPackages

func (x *TopologyMappingX) GetVettedPackages() *VettedPackagesX

func (*TopologyMappingX) ProtoMessage

func (*TopologyMappingX) ProtoMessage()

func (*TopologyMappingX) ProtoReflect

func (x *TopologyMappingX) ProtoReflect() protoreflect.Message

func (*TopologyMappingX) Reset

func (x *TopologyMappingX) Reset()

func (*TopologyMappingX) String

func (x *TopologyMappingX) String() string

type TopologyMappingX_AuthorityOf

type TopologyMappingX_AuthorityOf struct {
	AuthorityOf *AuthorityOfX `protobuf:"bytes,10,opt,name=authority_of,json=authorityOf,proto3,oneof"`
}

type TopologyMappingX_DomainParametersState

type TopologyMappingX_DomainParametersState struct {
	DomainParametersState *DomainParametersStateX `protobuf:"bytes,11,opt,name=domain_parameters_state,json=domainParametersState,proto3,oneof"`
}

type TopologyMappingX_DomainTrustCertificate

type TopologyMappingX_DomainTrustCertificate struct {
	DomainTrustCertificate *DomainTrustCertificateX `protobuf:"bytes,5,opt,name=domain_trust_certificate,json=domainTrustCertificate,proto3,oneof"`
}

type TopologyMappingX_IdentifierDelegation

type TopologyMappingX_IdentifierDelegation struct {
	IdentifierDelegation *IdentifierDelegationX `protobuf:"bytes,2,opt,name=identifier_delegation,json=identifierDelegation,proto3,oneof"`
}

type TopologyMappingX_MediatorDomainState

type TopologyMappingX_MediatorDomainState struct {
	MediatorDomainState *MediatorDomainStateX `protobuf:"bytes,12,opt,name=mediator_domain_state,json=mediatorDomainState,proto3,oneof"`
}

type TopologyMappingX_NamespaceDelegation

type TopologyMappingX_NamespaceDelegation struct {
	NamespaceDelegation *NamespaceDelegationX `protobuf:"bytes,1,opt,name=namespace_delegation,json=namespaceDelegation,proto3,oneof"`
}

type TopologyMappingX_OwnerToKeyMapping

type TopologyMappingX_OwnerToKeyMapping struct {
	OwnerToKeyMapping *OwnerToKeyMappingX `protobuf:"bytes,4,opt,name=owner_to_key_mapping,json=ownerToKeyMapping,proto3,oneof"`
}

type TopologyMappingX_ParticipantPermission

type TopologyMappingX_ParticipantPermission struct {
	ParticipantPermission *ParticipantDomainPermissionX `protobuf:"bytes,6,opt,name=participant_permission,json=participantPermission,proto3,oneof"`
}

type TopologyMappingX_PartyHostingLimits

type TopologyMappingX_PartyHostingLimits struct {
	PartyHostingLimits *PartyHostingLimitsX `protobuf:"bytes,7,opt,name=party_hosting_limits,json=partyHostingLimits,proto3,oneof"`
}

type TopologyMappingX_PartyToParticipant

type TopologyMappingX_PartyToParticipant struct {
	PartyToParticipant *PartyToParticipantX `protobuf:"bytes,9,opt,name=party_to_participant,json=partyToParticipant,proto3,oneof"`
}

type TopologyMappingX_PurgeTopologyTxs

type TopologyMappingX_PurgeTopologyTxs struct {
	PurgeTopologyTxs *PurgeTopologyTransactionX `protobuf:"bytes,14,opt,name=purge_topology_txs,json=purgeTopologyTxs,proto3,oneof"`
}

type TopologyMappingX_SequencerDomainState

type TopologyMappingX_SequencerDomainState struct {
	SequencerDomainState *SequencerDomainStateX `protobuf:"bytes,13,opt,name=sequencer_domain_state,json=sequencerDomainState,proto3,oneof"`
}

type TopologyMappingX_TrafficControlState

type TopologyMappingX_TrafficControlState struct {
	TrafficControlState *TrafficControlStateX `protobuf:"bytes,15,opt,name=traffic_control_state,json=trafficControlState,proto3,oneof"`
}

type TopologyMappingX_UnionspaceDefinition

type TopologyMappingX_UnionspaceDefinition struct {
	UnionspaceDefinition *UnionspaceDefinitionX `protobuf:"bytes,3,opt,name=unionspace_definition,json=unionspaceDefinition,proto3,oneof"`
}

type TopologyMappingX_VettedPackages

type TopologyMappingX_VettedPackages struct {
	VettedPackages *VettedPackagesX `protobuf:"bytes,8,opt,name=vetted_packages,json=vettedPackages,proto3,oneof"`
}

type TopologyTransactionX

type TopologyTransactionX struct {
	Operation TopologyChangeOpX `` /* 131-byte string literal not displayed */
	// Serial identifier of this transaction used to prevent replay attacks.
	// A topology transaction is replacing the existing transaction with serial - 1
	// that has the same unique key.
	Serial uint32 `protobuf:"varint,2,opt,name=serial,proto3" json:"serial,omitempty"`
	// the element of this topology transaction
	Mapping *TopologyMappingX `protobuf:"bytes,3,opt,name=mapping,proto3" json:"mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*TopologyTransactionX) Descriptor deprecated

func (*TopologyTransactionX) Descriptor() ([]byte, []int)

Deprecated: Use TopologyTransactionX.ProtoReflect.Descriptor instead.

func (*TopologyTransactionX) GetMapping

func (x *TopologyTransactionX) GetMapping() *TopologyMappingX

func (*TopologyTransactionX) GetOperation

func (x *TopologyTransactionX) GetOperation() TopologyChangeOpX

func (*TopologyTransactionX) GetSerial

func (x *TopologyTransactionX) GetSerial() uint32

func (*TopologyTransactionX) ProtoMessage

func (*TopologyTransactionX) ProtoMessage()

func (*TopologyTransactionX) ProtoReflect

func (x *TopologyTransactionX) ProtoReflect() protoreflect.Message

func (*TopologyTransactionX) Reset

func (x *TopologyTransactionX) Reset()

func (*TopologyTransactionX) String

func (x *TopologyTransactionX) String() string

type TrafficControlStateX

type TrafficControlStateX struct {

	// the domain-id
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// member to change traffic control state for
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// total amount of traffic ever purchased, including the new top up amount, which must be positive and monotonically increasing.
	TotalExtraTrafficLimit uint64 `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

UNIQUE(domain, member) authorization: whoever controls the domain

func (*TrafficControlStateX) Descriptor deprecated

func (*TrafficControlStateX) Descriptor() ([]byte, []int)

Deprecated: Use TrafficControlStateX.ProtoReflect.Descriptor instead.

func (*TrafficControlStateX) GetDomain

func (x *TrafficControlStateX) GetDomain() string

func (*TrafficControlStateX) GetMember

func (x *TrafficControlStateX) GetMember() string

func (*TrafficControlStateX) GetTotalExtraTrafficLimit

func (x *TrafficControlStateX) GetTotalExtraTrafficLimit() uint64

func (*TrafficControlStateX) ProtoMessage

func (*TrafficControlStateX) ProtoMessage()

func (*TrafficControlStateX) ProtoReflect

func (x *TrafficControlStateX) ProtoReflect() protoreflect.Message

func (*TrafficControlStateX) Reset

func (x *TrafficControlStateX) Reset()

func (*TrafficControlStateX) String

func (x *TrafficControlStateX) String() string

type TransactionResultMessage

type TransactionResultMessage struct {
	RequestId *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Verdict   *Verdict               `protobuf:"bytes,2,opt,name=verdict,proto3" json:"verdict,omitempty"`
	RootHash  []byte                 `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	DomainId  string                 `protobuf:"bytes,4,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	// contains filtered or unexported fields
}

Changes from v1: Removed field notification_tree Added fields root_hash, domain_id

func (*TransactionResultMessage) Descriptor deprecated

func (*TransactionResultMessage) Descriptor() ([]byte, []int)

Deprecated: Use TransactionResultMessage.ProtoReflect.Descriptor instead.

func (*TransactionResultMessage) GetDomainId

func (x *TransactionResultMessage) GetDomainId() string

func (*TransactionResultMessage) GetRequestId

func (x *TransactionResultMessage) GetRequestId() *timestamppb.Timestamp

func (*TransactionResultMessage) GetRootHash

func (x *TransactionResultMessage) GetRootHash() []byte

func (*TransactionResultMessage) GetVerdict

func (x *TransactionResultMessage) GetVerdict() *Verdict

func (*TransactionResultMessage) ProtoMessage

func (*TransactionResultMessage) ProtoMessage()

func (*TransactionResultMessage) ProtoReflect

func (x *TransactionResultMessage) ProtoReflect() protoreflect.Message

func (*TransactionResultMessage) Reset

func (x *TransactionResultMessage) Reset()

func (*TransactionResultMessage) String

func (x *TransactionResultMessage) String() string

type TransferInView

type TransferInView struct {
	Salt                   *v0.Salt                 `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	Submitter              string                   `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	Contract               *v1.SerializableContract `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	TransferOutResultEvent *v02.SignedContent       ``                                                                                                                             /* 131-byte string literal not displayed */
	CreatingTransactionId  []byte                   ``                                                                                                                             /* 126-byte string literal not displayed */
	SourceProtocolVersion  int32                    ``                                                                                                                             /* 127-byte string literal not displayed */
	SubmittingParticipant  string                   `protobuf:"bytes,7,opt,name=submitting_participant,json=submittingParticipant,proto3" json:"submitting_participant,omitempty"` // added in v2
	ApplicationId          string                   `protobuf:"bytes,8,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`                         // added in v2
	SubmissionId           string                   `protobuf:"bytes,9,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`                            // optional - added in v2
	WorkflowId             string                   `protobuf:"bytes,10,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`                                 // optional - added in v2
	CommandId              string                   `protobuf:"bytes,11,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`                                    // added in v2
	TransferCounter        int64                    `protobuf:"varint,12,opt,name=transfer_counter,json=transferCounter,proto3" json:"transfer_counter,omitempty"`                 // added in v2
	// contains filtered or unexported fields
}

func (*TransferInView) Descriptor deprecated

func (*TransferInView) Descriptor() ([]byte, []int)

Deprecated: Use TransferInView.ProtoReflect.Descriptor instead.

func (*TransferInView) GetApplicationId

func (x *TransferInView) GetApplicationId() string

func (*TransferInView) GetCommandId

func (x *TransferInView) GetCommandId() string

func (*TransferInView) GetContract

func (x *TransferInView) GetContract() *v1.SerializableContract

func (*TransferInView) GetCreatingTransactionId

func (x *TransferInView) GetCreatingTransactionId() []byte

func (*TransferInView) GetSalt

func (x *TransferInView) GetSalt() *v0.Salt

func (*TransferInView) GetSourceProtocolVersion

func (x *TransferInView) GetSourceProtocolVersion() int32

func (*TransferInView) GetSubmissionId

func (x *TransferInView) GetSubmissionId() string

func (*TransferInView) GetSubmitter

func (x *TransferInView) GetSubmitter() string

func (*TransferInView) GetSubmittingParticipant

func (x *TransferInView) GetSubmittingParticipant() string

func (*TransferInView) GetTransferCounter

func (x *TransferInView) GetTransferCounter() int64

func (*TransferInView) GetTransferOutResultEvent

func (x *TransferInView) GetTransferOutResultEvent() *v02.SignedContent

func (*TransferInView) GetWorkflowId

func (x *TransferInView) GetWorkflowId() string

func (*TransferInView) ProtoMessage

func (*TransferInView) ProtoMessage()

func (*TransferInView) ProtoReflect

func (x *TransferInView) ProtoReflect() protoreflect.Message

func (*TransferInView) Reset

func (x *TransferInView) Reset()

func (*TransferInView) String

func (x *TransferInView) String() string

type TransferOutView

type TransferOutView struct {
	Salt                  *v0.Salt              `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	Submitter             string                `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	ContractId            string                `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TemplateId            string                `protobuf:"bytes,4,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // added in v2
	TargetDomain          string                `protobuf:"bytes,5,opt,name=target_domain,json=targetDomain,proto3" json:"target_domain,omitempty"`
	TargetTimeProof       *protocolv0.TimeProof `protobuf:"bytes,6,opt,name=target_time_proof,json=targetTimeProof,proto3" json:"target_time_proof,omitempty"`
	TargetProtocolVersion int32                 ``                                                                                                                             /* 127-byte string literal not displayed */
	SubmittingParticipant string                `protobuf:"bytes,8,opt,name=submitting_participant,json=submittingParticipant,proto3" json:"submitting_participant,omitempty"` // added in v2
	ApplicationId         string                `protobuf:"bytes,9,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`                         // added in v2
	SubmissionId          string                `protobuf:"bytes,10,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`                           // optional - added in v2
	WorkflowId            string                `protobuf:"bytes,11,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`                                 // optional - added in v2
	CommandId             string                `protobuf:"bytes,12,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`                                    // added in v2
	TransferCounter       int64                 `protobuf:"varint,13,opt,name=transfer_counter,json=transferCounter,proto3" json:"transfer_counter,omitempty"`                 // added in v2
	// contains filtered or unexported fields
}

Messages sent by a participant as part of the transfer protocol

func (*TransferOutView) Descriptor deprecated

func (*TransferOutView) Descriptor() ([]byte, []int)

Deprecated: Use TransferOutView.ProtoReflect.Descriptor instead.

func (*TransferOutView) GetApplicationId

func (x *TransferOutView) GetApplicationId() string

func (*TransferOutView) GetCommandId

func (x *TransferOutView) GetCommandId() string

func (*TransferOutView) GetContractId

func (x *TransferOutView) GetContractId() string

func (*TransferOutView) GetSalt

func (x *TransferOutView) GetSalt() *v0.Salt

func (*TransferOutView) GetSubmissionId

func (x *TransferOutView) GetSubmissionId() string

func (*TransferOutView) GetSubmitter

func (x *TransferOutView) GetSubmitter() string

func (*TransferOutView) GetSubmittingParticipant

func (x *TransferOutView) GetSubmittingParticipant() string

func (*TransferOutView) GetTargetDomain

func (x *TransferOutView) GetTargetDomain() string

func (*TransferOutView) GetTargetProtocolVersion

func (x *TransferOutView) GetTargetProtocolVersion() int32

func (*TransferOutView) GetTargetTimeProof

func (x *TransferOutView) GetTargetTimeProof() *protocolv0.TimeProof

func (*TransferOutView) GetTemplateId

func (x *TransferOutView) GetTemplateId() string

func (*TransferOutView) GetTransferCounter

func (x *TransferOutView) GetTransferCounter() int64

func (*TransferOutView) GetWorkflowId

func (x *TransferOutView) GetWorkflowId() string

func (*TransferOutView) ProtoMessage

func (*TransferOutView) ProtoMessage()

func (*TransferOutView) ProtoReflect

func (x *TransferOutView) ProtoReflect() protoreflect.Message

func (*TransferOutView) Reset

func (x *TransferOutView) Reset()

func (*TransferOutView) String

func (x *TransferOutView) String() string

type TrustLevelX

type TrustLevelX int32
const (
	TrustLevelX_MissingTrustLevel TrustLevelX = 0
	TrustLevelX_Ordinary          TrustLevelX = 1
	TrustLevelX_Vip               TrustLevelX = 2
)

func (TrustLevelX) Descriptor

func (TrustLevelX) Enum

func (x TrustLevelX) Enum() *TrustLevelX

func (TrustLevelX) EnumDescriptor deprecated

func (TrustLevelX) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrustLevelX.Descriptor instead.

func (TrustLevelX) Number

func (x TrustLevelX) Number() protoreflect.EnumNumber

func (TrustLevelX) String

func (x TrustLevelX) String() string

func (TrustLevelX) Type

type UnionspaceDefinitionX

type UnionspaceDefinitionX struct {

	// name of the unionspace, computed from the hash of its initial owners
	Unionspace string `protobuf:"bytes,1,opt,name=unionspace,proto3" json:"unionspace,omitempty"`
	// the threshold required for any subsequent update signing
	Threshold int32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// the namespaces of the owners
	Owners []string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"`
	// contains filtered or unexported fields
}

a unionspace definition that creates a new namespace supported by the the original owners authorization: the unionspace definition with serial = 1 must be authorized by all the

owners of the namespace that form the unionspace.
for definitions with serial > 1, we need the authorization of #threshold owners plus
all new owners

any further transaction within the unionspace other than unionspace definitions needs
#threshold signatures of the owners

UNIQUE(unionspace)

func (*UnionspaceDefinitionX) Descriptor deprecated

func (*UnionspaceDefinitionX) Descriptor() ([]byte, []int)

Deprecated: Use UnionspaceDefinitionX.ProtoReflect.Descriptor instead.

func (*UnionspaceDefinitionX) GetOwners

func (x *UnionspaceDefinitionX) GetOwners() []string

func (*UnionspaceDefinitionX) GetThreshold

func (x *UnionspaceDefinitionX) GetThreshold() int32

func (*UnionspaceDefinitionX) GetUnionspace

func (x *UnionspaceDefinitionX) GetUnionspace() string

func (*UnionspaceDefinitionX) ProtoMessage

func (*UnionspaceDefinitionX) ProtoMessage()

func (*UnionspaceDefinitionX) ProtoReflect

func (x *UnionspaceDefinitionX) ProtoReflect() protoreflect.Message

func (*UnionspaceDefinitionX) Reset

func (x *UnionspaceDefinitionX) Reset()

func (*UnionspaceDefinitionX) String

func (x *UnionspaceDefinitionX) String() string

type Verdict

type Verdict struct {

	// Types that are assignable to SomeVerdict:
	//	*Verdict_Approve
	//	*Verdict_ParticipantReject
	//	*Verdict_MediatorReject
	SomeVerdict isVerdict_SomeVerdict `protobuf_oneof:"some_verdict"`
	// contains filtered or unexported fields
}

func (*Verdict) Descriptor deprecated

func (*Verdict) Descriptor() ([]byte, []int)

Deprecated: Use Verdict.ProtoReflect.Descriptor instead.

func (*Verdict) GetApprove

func (x *Verdict) GetApprove() *emptypb.Empty

func (*Verdict) GetMediatorReject

func (x *Verdict) GetMediatorReject() *v1.MediatorReject

func (*Verdict) GetParticipantReject

func (x *Verdict) GetParticipantReject() *ParticipantReject

func (*Verdict) GetSomeVerdict

func (m *Verdict) GetSomeVerdict() isVerdict_SomeVerdict

func (*Verdict) ProtoMessage

func (*Verdict) ProtoMessage()

func (*Verdict) ProtoReflect

func (x *Verdict) ProtoReflect() protoreflect.Message

func (*Verdict) Reset

func (x *Verdict) Reset()

func (*Verdict) String

func (x *Verdict) String() string

type Verdict_Approve

type Verdict_Approve struct {
	Approve *emptypb.Empty `protobuf:"bytes,1,opt,name=approve,proto3,oneof"`
}

type Verdict_MediatorReject

type Verdict_MediatorReject struct {
	MediatorReject *v1.MediatorReject `protobuf:"bytes,3,opt,name=mediator_reject,json=mediatorReject,proto3,oneof"`
}

type Verdict_ParticipantReject

type Verdict_ParticipantReject struct {
	ParticipantReject *ParticipantReject `protobuf:"bytes,2,opt,name=participant_reject,json=participantReject,proto3,oneof"` // new version
}

type VettedPackagesX

type VettedPackagesX struct {

	// the participant vetting the packages
	Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"`
	// the hash of the vetted packages
	PackageIds []string `protobuf:"bytes,2,rep,name=package_ids,json=packageIds,proto3" json:"package_ids,omitempty"`
	// optionally restricted to domain
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

list of packages supported by this participant authorization: whoever controls the participant uid UNIQUE(participant, domain)

func (*VettedPackagesX) Descriptor deprecated

func (*VettedPackagesX) Descriptor() ([]byte, []int)

Deprecated: Use VettedPackagesX.ProtoReflect.Descriptor instead.

func (*VettedPackagesX) GetDomain

func (x *VettedPackagesX) GetDomain() string

func (*VettedPackagesX) GetPackageIds

func (x *VettedPackagesX) GetPackageIds() []string

func (*VettedPackagesX) GetParticipant

func (x *VettedPackagesX) GetParticipant() string

func (*VettedPackagesX) ProtoMessage

func (*VettedPackagesX) ProtoMessage()

func (*VettedPackagesX) ProtoReflect

func (x *VettedPackagesX) ProtoReflect() protoreflect.Message

func (*VettedPackagesX) Reset

func (x *VettedPackagesX) Reset()

func (*VettedPackagesX) String

func (x *VettedPackagesX) String() string

type ViewParticipantData

type ViewParticipantData struct {
	Salt                           *v0.Salt              `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	CoreInputs                     []*v1.InputContract   `protobuf:"bytes,2,rep,name=core_inputs,json=coreInputs,proto3" json:"core_inputs,omitempty"`
	CreatedCore                    []*v1.CreatedContract `protobuf:"bytes,3,rep,name=created_core,json=createdCore,proto3" json:"created_core,omitempty"`
	CreatedInSubviewArchivedInCore []string              `` // ids of contracts created in a subview and archived in the core
	/* 159-byte string literal not displayed */
	ResolvedKeys      []*v01.ViewParticipantData_ResolvedKey   `protobuf:"bytes,5,rep,name=resolved_keys,json=resolvedKeys,proto3" json:"resolved_keys,omitempty"`
	ActionDescription *v1.ActionDescription                    `protobuf:"bytes,6,opt,name=action_description,json=actionDescription,proto3" json:"action_description,omitempty"`
	RollbackContext   *v01.ViewParticipantData_RollbackContext `protobuf:"bytes,7,opt,name=rollback_context,json=rollbackContext,proto3" json:"rollback_context,omitempty"` // optional; defaults to the empty RollbackContext if omitted.
	// contains filtered or unexported fields
}

Compared to v1: action_description changed type from v0.ActionDescription to v1.ActionDescription

created_core changed type from v0.CreatedContract to v1.CreatedContract
core_inputs change from v0.ViewParticipantData.InputContract to v1.InputContract

func (*ViewParticipantData) Descriptor deprecated

func (*ViewParticipantData) Descriptor() ([]byte, []int)

Deprecated: Use ViewParticipantData.ProtoReflect.Descriptor instead.

func (*ViewParticipantData) GetActionDescription

func (x *ViewParticipantData) GetActionDescription() *v1.ActionDescription

func (*ViewParticipantData) GetCoreInputs

func (x *ViewParticipantData) GetCoreInputs() []*v1.InputContract

func (*ViewParticipantData) GetCreatedCore

func (x *ViewParticipantData) GetCreatedCore() []*v1.CreatedContract

func (*ViewParticipantData) GetCreatedInSubviewArchivedInCore

func (x *ViewParticipantData) GetCreatedInSubviewArchivedInCore() []string

func (*ViewParticipantData) GetResolvedKeys

func (*ViewParticipantData) GetRollbackContext

func (*ViewParticipantData) GetSalt

func (x *ViewParticipantData) GetSalt() *v0.Salt

func (*ViewParticipantData) ProtoMessage

func (*ViewParticipantData) ProtoMessage()

func (*ViewParticipantData) ProtoReflect

func (x *ViewParticipantData) ProtoReflect() protoreflect.Message

func (*ViewParticipantData) Reset

func (x *ViewParticipantData) Reset()

func (*ViewParticipantData) String

func (x *ViewParticipantData) String() string

type ViewPosition

type ViewPosition struct {
	Position []*MerkleSeqIndex `protobuf:"bytes,1,rep,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

New message

func (*ViewPosition) Descriptor deprecated

func (*ViewPosition) Descriptor() ([]byte, []int)

Deprecated: Use ViewPosition.ProtoReflect.Descriptor instead.

func (*ViewPosition) GetPosition

func (x *ViewPosition) GetPosition() []*MerkleSeqIndex

func (*ViewPosition) ProtoMessage

func (*ViewPosition) ProtoMessage()

func (*ViewPosition) ProtoReflect

func (x *ViewPosition) ProtoReflect() protoreflect.Message

func (*ViewPosition) Reset

func (x *ViewPosition) Reset()

func (*ViewPosition) String

func (x *ViewPosition) String() string

Jump to

Keyboard shortcuts

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