Documentation ¶
Index ¶
- Variables
- type AccessControlPolicy
- func (*AccessControlPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AccessControlPolicy) GetRules() []*Rule
- func (x *AccessControlPolicy) GetSecurityDomain() string
- func (*AccessControlPolicy) ProtoMessage()
- func (x *AccessControlPolicy) ProtoReflect() protoreflect.Message
- func (x *AccessControlPolicy) Reset()
- func (x *AccessControlPolicy) String() string
- type Ack
- type Ack_STATUS
- type AssetClaim
- func (*AssetClaim) Descriptor() ([]byte, []int)deprecated
- func (x *AssetClaim) GetClaimInfo() []byte
- func (x *AssetClaim) GetLockMechanism() LockMechanism
- func (*AssetClaim) ProtoMessage()
- func (x *AssetClaim) ProtoReflect() protoreflect.Message
- func (x *AssetClaim) Reset()
- func (x *AssetClaim) String() string
- type AssetClaimHTLC
- func (*AssetClaimHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *AssetClaimHTLC) GetHashMechanism() HashMechanism
- func (x *AssetClaimHTLC) GetHashPreimageBase64() []byte
- func (*AssetClaimHTLC) ProtoMessage()
- func (x *AssetClaimHTLC) ProtoReflect() protoreflect.Message
- func (x *AssetClaimHTLC) Reset()
- func (x *AssetClaimHTLC) String() string
- type AssetClaimStatus
- func (*AssetClaimStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AssetClaimStatus) GetAssetDetails() []byte
- func (x *AssetClaimStatus) GetClaimStatus() bool
- func (x *AssetClaimStatus) GetExpirationStatus() bool
- func (x *AssetClaimStatus) GetExpiryTimeSecs() uint64
- func (x *AssetClaimStatus) GetLocalNetworkID() string
- func (x *AssetClaimStatus) GetRecipient() string
- func (x *AssetClaimStatus) GetRemoteNetworkID() string
- func (*AssetClaimStatus) ProtoMessage()
- func (x *AssetClaimStatus) ProtoReflect() protoreflect.Message
- func (x *AssetClaimStatus) Reset()
- func (x *AssetClaimStatus) String() string
- type AssetContractHTLC
- func (*AssetContractHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *AssetContractHTLC) GetAgreement() *AssetExchangeAgreement
- func (x *AssetContractHTLC) GetClaim() *AssetClaimHTLC
- func (x *AssetContractHTLC) GetContractId() string
- func (x *AssetContractHTLC) GetLock() *AssetLockHTLC
- func (*AssetContractHTLC) ProtoMessage()
- func (x *AssetContractHTLC) ProtoReflect() protoreflect.Message
- func (x *AssetContractHTLC) Reset()
- func (x *AssetContractHTLC) String() string
- type AssetExchangeAgreement
- func (*AssetExchangeAgreement) Descriptor() ([]byte, []int)deprecated
- func (x *AssetExchangeAgreement) GetAssetType() string
- func (x *AssetExchangeAgreement) GetId() string
- func (x *AssetExchangeAgreement) GetLocker() string
- func (x *AssetExchangeAgreement) GetRecipient() string
- func (*AssetExchangeAgreement) ProtoMessage()
- func (x *AssetExchangeAgreement) ProtoReflect() protoreflect.Message
- func (x *AssetExchangeAgreement) Reset()
- func (x *AssetExchangeAgreement) String() string
- type AssetLock
- func (*AssetLock) Descriptor() ([]byte, []int)deprecated
- func (x *AssetLock) GetLockInfo() []byte
- func (x *AssetLock) GetLockMechanism() LockMechanism
- func (*AssetLock) ProtoMessage()
- func (x *AssetLock) ProtoReflect() protoreflect.Message
- func (x *AssetLock) Reset()
- func (x *AssetLock) String() string
- type AssetLockHTLC
- func (*AssetLockHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *AssetLockHTLC) GetExpiryTimeSecs() uint64
- func (x *AssetLockHTLC) GetHashBase64() []byte
- func (x *AssetLockHTLC) GetHashMechanism() HashMechanism
- func (x *AssetLockHTLC) GetTimeSpec() TimeSpec
- func (*AssetLockHTLC) ProtoMessage()
- func (x *AssetLockHTLC) ProtoReflect() protoreflect.Message
- func (x *AssetLockHTLC) Reset()
- func (x *AssetLockHTLC) String() string
- type AssetPledge
- func (*AssetPledge) Descriptor() ([]byte, []int)deprecated
- func (x *AssetPledge) GetAssetDetails() []byte
- func (x *AssetPledge) GetExpiryTimeSecs() uint64
- func (x *AssetPledge) GetLocalNetworkID() string
- func (x *AssetPledge) GetRecipient() string
- func (x *AssetPledge) GetRemoteNetworkID() string
- func (*AssetPledge) ProtoMessage()
- func (x *AssetPledge) ProtoReflect() protoreflect.Message
- func (x *AssetPledge) Reset()
- func (x *AssetPledge) String() string
- type ConfidentialPayload
- func (*ConfidentialPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ConfidentialPayload) GetEncryptedPayload() []byte
- func (x *ConfidentialPayload) GetHash() []byte
- func (x *ConfidentialPayload) GetHashType() ConfidentialPayload_HashType
- func (*ConfidentialPayload) ProtoMessage()
- func (x *ConfidentialPayload) ProtoReflect() protoreflect.Message
- func (x *ConfidentialPayload) Reset()
- func (x *ConfidentialPayload) String() string
- type ConfidentialPayloadContents
- func (*ConfidentialPayloadContents) Descriptor() ([]byte, []int)deprecated
- func (x *ConfidentialPayloadContents) GetPayload() []byte
- func (x *ConfidentialPayloadContents) GetRandom() []byte
- func (*ConfidentialPayloadContents) ProtoMessage()
- func (x *ConfidentialPayloadContents) ProtoReflect() protoreflect.Message
- func (x *ConfidentialPayloadContents) Reset()
- func (x *ConfidentialPayloadContents) String() string
- type ConfidentialPayload_HashType
- func (ConfidentialPayload_HashType) Descriptor() protoreflect.EnumDescriptor
- func (x ConfidentialPayload_HashType) Enum() *ConfidentialPayload_HashType
- func (ConfidentialPayload_HashType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfidentialPayload_HashType) Number() protoreflect.EnumNumber
- func (x ConfidentialPayload_HashType) String() string
- func (ConfidentialPayload_HashType) Type() protoreflect.EnumType
- type ContractTransaction
- func (*ContractTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *ContractTransaction) GetArgs() [][]byte
- func (x *ContractTransaction) GetContractId() string
- func (x *ContractTransaction) GetDriverId() string
- func (x *ContractTransaction) GetFunc() string
- func (x *ContractTransaction) GetLedgerId() string
- func (x *ContractTransaction) GetMembers() []string
- func (x *ContractTransaction) GetReplaceArgIndex() uint64
- func (*ContractTransaction) ProtoMessage()
- func (x *ContractTransaction) ProtoReflect() protoreflect.Message
- func (x *ContractTransaction) Reset()
- func (x *ContractTransaction) String() string
- type EventMatcher
- func (*EventMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *EventMatcher) GetEventClassId() string
- func (x *EventMatcher) GetEventType() EventType
- func (x *EventMatcher) GetTransactionContractId() string
- func (x *EventMatcher) GetTransactionFunc() string
- func (x *EventMatcher) GetTransactionLedgerId() string
- func (*EventMatcher) ProtoMessage()
- func (x *EventMatcher) ProtoReflect() protoreflect.Message
- func (x *EventMatcher) Reset()
- func (x *EventMatcher) String() string
- type EventPublication
- func (*EventPublication) Descriptor() ([]byte, []int)deprecated
- func (x *EventPublication) GetAppUrl() string
- func (x *EventPublication) GetCtx() *ContractTransaction
- func (m *EventPublication) GetPublicationTarget() isEventPublication_PublicationTarget
- func (*EventPublication) ProtoMessage()
- func (x *EventPublication) ProtoReflect() protoreflect.Message
- func (x *EventPublication) Reset()
- func (x *EventPublication) String() string
- type EventPublication_AppUrl
- type EventPublication_Ctx
- type EventState
- func (*EventState) Descriptor() ([]byte, []int)deprecated
- func (x *EventState) GetEventId() string
- func (x *EventState) GetMessage() string
- func (x *EventState) GetState() *RequestState
- func (*EventState) ProtoMessage()
- func (x *EventState) ProtoReflect() protoreflect.Message
- func (x *EventState) Reset()
- func (x *EventState) String() string
- type EventStates
- type EventSubOperation
- func (EventSubOperation) Descriptor() protoreflect.EnumDescriptor
- func (x EventSubOperation) Enum() *EventSubOperation
- func (EventSubOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventSubOperation) Number() protoreflect.EnumNumber
- func (x EventSubOperation) String() string
- func (EventSubOperation) Type() protoreflect.EnumType
- type EventSubscription
- func (*EventSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *EventSubscription) GetEventMatcher() *EventMatcher
- func (x *EventSubscription) GetOperation() EventSubOperation
- func (x *EventSubscription) GetQuery() *Query
- func (*EventSubscription) ProtoMessage()
- func (x *EventSubscription) ProtoReflect() protoreflect.Message
- func (x *EventSubscription) Reset()
- func (x *EventSubscription) String() string
- type EventSubscriptionState
- func (*EventSubscriptionState) Descriptor() ([]byte, []int)deprecated
- func (x *EventSubscriptionState) GetEventMatcher() *EventMatcher
- func (x *EventSubscriptionState) GetEventPublicationSpecs() []*EventPublication
- func (x *EventSubscriptionState) GetMessage() string
- func (x *EventSubscriptionState) GetPublishingRequestId() string
- func (x *EventSubscriptionState) GetRequestId() string
- func (x *EventSubscriptionState) GetStatus() EventSubscriptionState_STATUS
- func (*EventSubscriptionState) ProtoMessage()
- func (x *EventSubscriptionState) ProtoReflect() protoreflect.Message
- func (x *EventSubscriptionState) Reset()
- func (x *EventSubscriptionState) String() string
- type EventSubscriptionState_STATUS
- func (EventSubscriptionState_STATUS) Descriptor() protoreflect.EnumDescriptor
- func (x EventSubscriptionState_STATUS) Enum() *EventSubscriptionState_STATUS
- func (EventSubscriptionState_STATUS) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventSubscriptionState_STATUS) Number() protoreflect.EnumNumber
- func (x EventSubscriptionState_STATUS) String() string
- func (EventSubscriptionState_STATUS) Type() protoreflect.EnumType
- type EventType
- type FungibleAssetContractHTLC
- func (*FungibleAssetContractHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *FungibleAssetContractHTLC) GetAgreement() *FungibleAssetExchangeAgreement
- func (x *FungibleAssetContractHTLC) GetClaim() *AssetClaimHTLC
- func (x *FungibleAssetContractHTLC) GetContractId() string
- func (x *FungibleAssetContractHTLC) GetLock() *AssetLockHTLC
- func (*FungibleAssetContractHTLC) ProtoMessage()
- func (x *FungibleAssetContractHTLC) ProtoReflect() protoreflect.Message
- func (x *FungibleAssetContractHTLC) Reset()
- func (x *FungibleAssetContractHTLC) String() string
- type FungibleAssetExchangeAgreement
- func (*FungibleAssetExchangeAgreement) Descriptor() ([]byte, []int)deprecated
- func (x *FungibleAssetExchangeAgreement) GetAssetType() string
- func (x *FungibleAssetExchangeAgreement) GetLocker() string
- func (x *FungibleAssetExchangeAgreement) GetNumUnits() uint64
- func (x *FungibleAssetExchangeAgreement) GetRecipient() string
- func (*FungibleAssetExchangeAgreement) ProtoMessage()
- func (x *FungibleAssetExchangeAgreement) ProtoReflect() protoreflect.Message
- func (x *FungibleAssetExchangeAgreement) Reset()
- func (x *FungibleAssetExchangeAgreement) String() string
- type HashMechanism
- func (HashMechanism) Descriptor() protoreflect.EnumDescriptor
- func (x HashMechanism) Enum() *HashMechanism
- func (HashMechanism) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashMechanism) Number() protoreflect.EnumNumber
- func (x HashMechanism) String() string
- func (HashMechanism) Type() protoreflect.EnumType
- type HybridAssetExchangeAgreement
- func (*HybridAssetExchangeAgreement) Descriptor() ([]byte, []int)deprecated
- func (x *HybridAssetExchangeAgreement) GetAssetData() []byte
- func (x *HybridAssetExchangeAgreement) GetAssetType() string
- func (x *HybridAssetExchangeAgreement) GetId() string
- func (x *HybridAssetExchangeAgreement) GetLocker() string
- func (x *HybridAssetExchangeAgreement) GetNumUnits() uint64
- func (x *HybridAssetExchangeAgreement) GetRecipient() string
- func (*HybridAssetExchangeAgreement) ProtoMessage()
- func (x *HybridAssetExchangeAgreement) ProtoReflect() protoreflect.Message
- func (x *HybridAssetExchangeAgreement) Reset()
- func (x *HybridAssetExchangeAgreement) String() string
- type Identifier
- type InteropPayload
- func (*InteropPayload) Descriptor() ([]byte, []int)deprecated
- func (x *InteropPayload) GetAddress() string
- func (x *InteropPayload) GetConfidential() bool
- func (x *InteropPayload) GetNonce() string
- func (x *InteropPayload) GetPayload() []byte
- func (x *InteropPayload) GetRequestorCertificate() string
- func (*InteropPayload) ProtoMessage()
- func (x *InteropPayload) ProtoReflect() protoreflect.Message
- func (x *InteropPayload) Reset()
- func (x *InteropPayload) String() string
- type LockMechanism
- func (LockMechanism) Descriptor() protoreflect.EnumDescriptor
- func (x LockMechanism) Enum() *LockMechanism
- func (LockMechanism) EnumDescriptor() ([]byte, []int)deprecated
- func (x LockMechanism) Number() protoreflect.EnumNumber
- func (x LockMechanism) String() string
- func (LockMechanism) Type() protoreflect.EnumType
- type Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetChain() []string
- func (x *Member) GetType() string
- func (x *Member) GetValue() string
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- type Membership
- func (*Membership) Descriptor() ([]byte, []int)deprecated
- func (x *Membership) GetMembers() map[string]*Member
- func (x *Membership) GetSecurityDomain() string
- func (*Membership) ProtoMessage()
- func (x *Membership) ProtoReflect() protoreflect.Message
- func (x *Membership) Reset()
- func (x *Membership) String() string
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetProofType() string
- func (x *Meta) GetProtocol() Meta_Protocol
- func (x *Meta) GetSerializationFormat() string
- func (x *Meta) GetTimestamp() string
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
- type Meta_Protocol
- func (Meta_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x Meta_Protocol) Enum() *Meta_Protocol
- func (Meta_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x Meta_Protocol) Number() protoreflect.EnumNumber
- func (x Meta_Protocol) String() string
- func (Meta_Protocol) Type() protoreflect.EnumType
- type Policy
- type Proof
- type Proofs
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetAddress() string
- func (x *Query) GetCertificate() string
- func (x *Query) GetConfidential() bool
- func (x *Query) GetNonce() string
- func (x *Query) GetPolicy() []string
- func (x *Query) GetRequestId() string
- func (x *Query) GetRequestingNetwork() string
- func (x *Query) GetRequestingOrg() string
- func (x *Query) GetRequestingRelay() string
- func (x *Query) GetRequestorSignature() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type RequestState
- func (*RequestState) Descriptor() ([]byte, []int)deprecated
- func (x *RequestState) GetError() string
- func (x *RequestState) GetRequestId() string
- func (m *RequestState) GetState() isRequestState_State
- func (x *RequestState) GetStatus() RequestState_STATUS
- func (x *RequestState) GetView() *View
- func (*RequestState) ProtoMessage()
- func (x *RequestState) ProtoReflect() protoreflect.Message
- func (x *RequestState) Reset()
- func (x *RequestState) String() string
- type RequestState_Error
- type RequestState_STATUS
- func (RequestState_STATUS) Descriptor() protoreflect.EnumDescriptor
- func (x RequestState_STATUS) Enum() *RequestState_STATUS
- func (RequestState_STATUS) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestState_STATUS) Number() protoreflect.EnumNumber
- func (x RequestState_STATUS) String() string
- func (RequestState_STATUS) Type() protoreflect.EnumType
- type RequestState_View
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetPrincipal() string
- func (x *Rule) GetPrincipalType() string
- func (x *Rule) GetRead() bool
- func (x *Rule) GetResource() string
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type TimeSpec
- type VerificationPolicy
- func (*VerificationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationPolicy) GetIdentifiers() []*Identifier
- func (x *VerificationPolicy) GetSecurityDomain() string
- func (*VerificationPolicy) ProtoMessage()
- func (x *VerificationPolicy) ProtoReflect() protoreflect.Message
- func (x *VerificationPolicy) Reset()
- func (x *VerificationPolicy) String() string
- type View
- type ViewPayload
- func (*ViewPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ViewPayload) GetError() string
- func (x *ViewPayload) GetRequestId() string
- func (m *ViewPayload) GetState() isViewPayload_State
- func (x *ViewPayload) GetView() *View
- func (*ViewPayload) ProtoMessage()
- func (x *ViewPayload) ProtoReflect() protoreflect.Message
- func (x *ViewPayload) Reset()
- func (x *ViewPayload) String() string
- type ViewPayload_Error
- type ViewPayload_View
Constants ¶
This section is empty.
Variables ¶
var ( Ack_STATUS_name = map[int32]string{ 0: "OK", 1: "ERROR", } Ack_STATUS_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for Ack_STATUS.
var ( LockMechanism_name = map[int32]string{ 0: "HTLC", } LockMechanism_value = map[string]int32{ "HTLC": 0, } )
Enum value maps for LockMechanism.
var ( HashMechanism_name = map[int32]string{ 0: "SHA256", 1: "SHA512", } HashMechanism_value = map[string]int32{ "SHA256": 0, "SHA512": 1, } )
Enum value maps for HashMechanism.
var ( TimeSpec_name = map[int32]string{ 0: "EPOCH", 1: "DURATION", } TimeSpec_value = map[string]int32{ "EPOCH": 0, "DURATION": 1, } )
Enum value maps for TimeSpec.
var ( EventType_name = map[int32]string{ 0: "LEDGER_STATE", 1: "ASSET_LOCK", 2: "ASSET_CLAIM", } EventType_value = map[string]int32{ "LEDGER_STATE": 0, "ASSET_LOCK": 1, "ASSET_CLAIM": 2, } )
Enum value maps for EventType.
var ( EventSubOperation_name = map[int32]string{ 0: "SUBSCRIBE", 1: "UNSUBSCRIBE", 2: "UPDATE", } EventSubOperation_value = map[string]int32{ "SUBSCRIBE": 0, "UNSUBSCRIBE": 1, "UPDATE": 2, } )
Enum value maps for EventSubOperation.
var ( EventSubscriptionState_STATUS_name = map[int32]string{ 0: "SUBSCRIBE_PENDING_ACK", 1: "SUBSCRIBE_PENDING", 2: "SUBSCRIBED", 3: "UNSUBSCRIBE_PENDING_ACK", 4: "UNSUBSCRIBE_PENDING", 5: "UNSUBSCRIBED", 6: "ERROR", 7: "DUPLICATE_QUERY_SUBSCRIBED", } EventSubscriptionState_STATUS_value = map[string]int32{ "SUBSCRIBE_PENDING_ACK": 0, "SUBSCRIBE_PENDING": 1, "SUBSCRIBED": 2, "UNSUBSCRIBE_PENDING_ACK": 3, "UNSUBSCRIBE_PENDING": 4, "UNSUBSCRIBED": 5, "ERROR": 6, "DUPLICATE_QUERY_SUBSCRIBED": 7, } )
Enum value maps for EventSubscriptionState_STATUS.
var ( ConfidentialPayload_HashType_name = map[int32]string{ 0: "HMAC", } ConfidentialPayload_HashType_value = map[string]int32{ "HMAC": 0, } )
Enum value maps for ConfidentialPayload_HashType.
var ( Meta_Protocol_name = map[int32]string{ 0: "BITCOIN", 1: "ETHEREUM", 3: "FABRIC", 4: "CORDA", } Meta_Protocol_value = map[string]int32{ "BITCOIN": 0, "ETHEREUM": 1, "FABRIC": 3, "CORDA": 4, } )
Enum value maps for Meta_Protocol.
var ( RequestState_STATUS_name = map[int32]string{ 0: "PENDING_ACK", 1: "PENDING", 2: "ERROR", 3: "COMPLETED", 4: "EVENT_RECEIVED", 5: "EVENT_WRITTEN", 6: "EVENT_WRITE_ERROR", 7: "DELETED", } RequestState_STATUS_value = map[string]int32{ "PENDING_ACK": 0, "PENDING": 1, "ERROR": 2, "COMPLETED": 3, "EVENT_RECEIVED": 4, "EVENT_WRITTEN": 5, "EVENT_WRITE_ERROR": 6, "DELETED": 7, } )
Enum value maps for RequestState_STATUS.
var File_common_access_control_proto protoreflect.FileDescriptor
var File_common_ack_proto protoreflect.FileDescriptor
var File_common_asset_locks_proto protoreflect.FileDescriptor
var File_common_asset_transfer_proto protoreflect.FileDescriptor
var File_common_events_proto protoreflect.FileDescriptor
var File_common_interop_payload_proto protoreflect.FileDescriptor
var File_common_membership_proto protoreflect.FileDescriptor
var File_common_proofs_proto protoreflect.FileDescriptor
var File_common_query_proto protoreflect.FileDescriptor
var File_common_state_proto protoreflect.FileDescriptor
var File_common_verification_policy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessControlPolicy ¶
type AccessControlPolicy struct { SecurityDomain string `protobuf:"bytes,1,opt,name=securityDomain,proto3" json:"securityDomain,omitempty"` Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
AccessControlPolicy specifies a set of data that can be accessed by some SecurityGroup
func (*AccessControlPolicy) Descriptor
deprecated
func (*AccessControlPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AccessControlPolicy.ProtoReflect.Descriptor instead.
func (*AccessControlPolicy) GetRules ¶
func (x *AccessControlPolicy) GetRules() []*Rule
func (*AccessControlPolicy) GetSecurityDomain ¶
func (x *AccessControlPolicy) GetSecurityDomain() string
func (*AccessControlPolicy) ProtoMessage ¶
func (*AccessControlPolicy) ProtoMessage()
func (*AccessControlPolicy) ProtoReflect ¶
func (x *AccessControlPolicy) ProtoReflect() protoreflect.Message
func (*AccessControlPolicy) Reset ¶
func (x *AccessControlPolicy) Reset()
func (*AccessControlPolicy) String ¶
func (x *AccessControlPolicy) String() string
type Ack ¶
type Ack struct { Status Ack_STATUS `protobuf:"varint,2,opt,name=status,proto3,enum=common.ack.Ack_STATUS" json:"status,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // an error can have an associated string // this is the best way to represent this in protobuf Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
This message respresents "ACKs" sent between relay-relay, relay-driver and relay-network
func (*Ack) Descriptor
deprecated
func (*Ack) GetMessage ¶
func (*Ack) GetRequestId ¶
func (*Ack) GetStatus ¶
func (x *Ack) GetStatus() Ack_STATUS
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) ProtoReflect ¶
func (x *Ack) ProtoReflect() protoreflect.Message
type Ack_STATUS ¶
type Ack_STATUS int32
const ( Ack_OK Ack_STATUS = 0 Ack_ERROR Ack_STATUS = 1 )
func (Ack_STATUS) Descriptor ¶
func (Ack_STATUS) Descriptor() protoreflect.EnumDescriptor
func (Ack_STATUS) Enum ¶
func (x Ack_STATUS) Enum() *Ack_STATUS
func (Ack_STATUS) EnumDescriptor
deprecated
func (Ack_STATUS) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ack_STATUS.Descriptor instead.
func (Ack_STATUS) Number ¶
func (x Ack_STATUS) Number() protoreflect.EnumNumber
func (Ack_STATUS) String ¶
func (x Ack_STATUS) String() string
func (Ack_STATUS) Type ¶
func (Ack_STATUS) Type() protoreflect.EnumType
type AssetClaim ¶
type AssetClaim struct { LockMechanism LockMechanism `protobuf:"varint,1,opt,name=lockMechanism,proto3,enum=common.asset_locks.LockMechanism" json:"lockMechanism,omitempty"` ClaimInfo []byte `protobuf:"bytes,2,opt,name=claimInfo,proto3" json:"claimInfo,omitempty"` // contains filtered or unexported fields }
func (*AssetClaim) Descriptor
deprecated
func (*AssetClaim) Descriptor() ([]byte, []int)
Deprecated: Use AssetClaim.ProtoReflect.Descriptor instead.
func (*AssetClaim) GetClaimInfo ¶
func (x *AssetClaim) GetClaimInfo() []byte
func (*AssetClaim) GetLockMechanism ¶
func (x *AssetClaim) GetLockMechanism() LockMechanism
func (*AssetClaim) ProtoMessage ¶
func (*AssetClaim) ProtoMessage()
func (*AssetClaim) ProtoReflect ¶
func (x *AssetClaim) ProtoReflect() protoreflect.Message
func (*AssetClaim) Reset ¶
func (x *AssetClaim) Reset()
func (*AssetClaim) String ¶
func (x *AssetClaim) String() string
type AssetClaimHTLC ¶
type AssetClaimHTLC struct { HashMechanism HashMechanism `protobuf:"varint,1,opt,name=hashMechanism,proto3,enum=common.asset_locks.HashMechanism" json:"hashMechanism,omitempty"` HashPreimageBase64 []byte `protobuf:"bytes,2,opt,name=hashPreimageBase64,proto3" json:"hashPreimageBase64,omitempty"` // contains filtered or unexported fields }
func (*AssetClaimHTLC) Descriptor
deprecated
func (*AssetClaimHTLC) Descriptor() ([]byte, []int)
Deprecated: Use AssetClaimHTLC.ProtoReflect.Descriptor instead.
func (*AssetClaimHTLC) GetHashMechanism ¶ added in v1.3.0
func (x *AssetClaimHTLC) GetHashMechanism() HashMechanism
func (*AssetClaimHTLC) GetHashPreimageBase64 ¶
func (x *AssetClaimHTLC) GetHashPreimageBase64() []byte
func (*AssetClaimHTLC) ProtoMessage ¶
func (*AssetClaimHTLC) ProtoMessage()
func (*AssetClaimHTLC) ProtoReflect ¶
func (x *AssetClaimHTLC) ProtoReflect() protoreflect.Message
func (*AssetClaimHTLC) Reset ¶
func (x *AssetClaimHTLC) Reset()
func (*AssetClaimHTLC) String ¶
func (x *AssetClaimHTLC) String() string
type AssetClaimStatus ¶ added in v1.2.4
type AssetClaimStatus struct { AssetDetails []byte `protobuf:"bytes,1,opt,name=assetDetails,proto3" json:"assetDetails,omitempty"` LocalNetworkID string `protobuf:"bytes,2,opt,name=localNetworkID,proto3" json:"localNetworkID,omitempty"` RemoteNetworkID string `protobuf:"bytes,3,opt,name=remoteNetworkID,proto3" json:"remoteNetworkID,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` ClaimStatus bool `protobuf:"varint,5,opt,name=claimStatus,proto3" json:"claimStatus,omitempty"` ExpiryTimeSecs uint64 `protobuf:"varint,6,opt,name=expiryTimeSecs,proto3" json:"expiryTimeSecs,omitempty"` ExpirationStatus bool `protobuf:"varint,7,opt,name=expirationStatus,proto3" json:"expirationStatus,omitempty"` // contains filtered or unexported fields }
func (*AssetClaimStatus) Descriptor
deprecated
added in
v1.2.4
func (*AssetClaimStatus) Descriptor() ([]byte, []int)
Deprecated: Use AssetClaimStatus.ProtoReflect.Descriptor instead.
func (*AssetClaimStatus) GetAssetDetails ¶ added in v1.2.4
func (x *AssetClaimStatus) GetAssetDetails() []byte
func (*AssetClaimStatus) GetClaimStatus ¶ added in v1.2.4
func (x *AssetClaimStatus) GetClaimStatus() bool
func (*AssetClaimStatus) GetExpirationStatus ¶ added in v1.2.4
func (x *AssetClaimStatus) GetExpirationStatus() bool
func (*AssetClaimStatus) GetExpiryTimeSecs ¶ added in v1.2.4
func (x *AssetClaimStatus) GetExpiryTimeSecs() uint64
func (*AssetClaimStatus) GetLocalNetworkID ¶ added in v1.2.4
func (x *AssetClaimStatus) GetLocalNetworkID() string
func (*AssetClaimStatus) GetRecipient ¶ added in v1.2.4
func (x *AssetClaimStatus) GetRecipient() string
func (*AssetClaimStatus) GetRemoteNetworkID ¶ added in v1.2.4
func (x *AssetClaimStatus) GetRemoteNetworkID() string
func (*AssetClaimStatus) ProtoMessage ¶ added in v1.2.4
func (*AssetClaimStatus) ProtoMessage()
func (*AssetClaimStatus) ProtoReflect ¶ added in v1.2.4
func (x *AssetClaimStatus) ProtoReflect() protoreflect.Message
func (*AssetClaimStatus) Reset ¶ added in v1.2.4
func (x *AssetClaimStatus) Reset()
func (*AssetClaimStatus) String ¶ added in v1.2.4
func (x *AssetClaimStatus) String() string
type AssetContractHTLC ¶
type AssetContractHTLC struct { ContractId string `protobuf:"bytes,1,opt,name=contractId,proto3" json:"contractId,omitempty"` Agreement *AssetExchangeAgreement `protobuf:"bytes,2,opt,name=agreement,proto3" json:"agreement,omitempty"` Lock *AssetLockHTLC `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` Claim *AssetClaimHTLC `protobuf:"bytes,4,opt,name=claim,proto3" json:"claim,omitempty"` // contains filtered or unexported fields }
func (*AssetContractHTLC) Descriptor
deprecated
func (*AssetContractHTLC) Descriptor() ([]byte, []int)
Deprecated: Use AssetContractHTLC.ProtoReflect.Descriptor instead.
func (*AssetContractHTLC) GetAgreement ¶
func (x *AssetContractHTLC) GetAgreement() *AssetExchangeAgreement
func (*AssetContractHTLC) GetClaim ¶
func (x *AssetContractHTLC) GetClaim() *AssetClaimHTLC
func (*AssetContractHTLC) GetContractId ¶
func (x *AssetContractHTLC) GetContractId() string
func (*AssetContractHTLC) GetLock ¶
func (x *AssetContractHTLC) GetLock() *AssetLockHTLC
func (*AssetContractHTLC) ProtoMessage ¶
func (*AssetContractHTLC) ProtoMessage()
func (*AssetContractHTLC) ProtoReflect ¶
func (x *AssetContractHTLC) ProtoReflect() protoreflect.Message
func (*AssetContractHTLC) Reset ¶
func (x *AssetContractHTLC) Reset()
func (*AssetContractHTLC) String ¶
func (x *AssetContractHTLC) String() string
type AssetExchangeAgreement ¶
type AssetExchangeAgreement struct { AssetType string `protobuf:"bytes,1,opt,name=assetType,proto3" json:"assetType,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Locker string `protobuf:"bytes,3,opt,name=locker,proto3" json:"locker,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
func (*AssetExchangeAgreement) Descriptor
deprecated
func (*AssetExchangeAgreement) Descriptor() ([]byte, []int)
Deprecated: Use AssetExchangeAgreement.ProtoReflect.Descriptor instead.
func (*AssetExchangeAgreement) GetAssetType ¶ added in v1.5.3
func (x *AssetExchangeAgreement) GetAssetType() string
func (*AssetExchangeAgreement) GetId ¶
func (x *AssetExchangeAgreement) GetId() string
func (*AssetExchangeAgreement) GetLocker ¶
func (x *AssetExchangeAgreement) GetLocker() string
func (*AssetExchangeAgreement) GetRecipient ¶
func (x *AssetExchangeAgreement) GetRecipient() string
func (*AssetExchangeAgreement) ProtoMessage ¶
func (*AssetExchangeAgreement) ProtoMessage()
func (*AssetExchangeAgreement) ProtoReflect ¶
func (x *AssetExchangeAgreement) ProtoReflect() protoreflect.Message
func (*AssetExchangeAgreement) Reset ¶
func (x *AssetExchangeAgreement) Reset()
func (*AssetExchangeAgreement) String ¶
func (x *AssetExchangeAgreement) String() string
type AssetLock ¶
type AssetLock struct { LockMechanism LockMechanism `protobuf:"varint,1,opt,name=lockMechanism,proto3,enum=common.asset_locks.LockMechanism" json:"lockMechanism,omitempty"` LockInfo []byte `protobuf:"bytes,2,opt,name=lockInfo,proto3" json:"lockInfo,omitempty"` // contains filtered or unexported fields }
func (*AssetLock) Descriptor
deprecated
func (*AssetLock) GetLockInfo ¶
func (*AssetLock) GetLockMechanism ¶
func (x *AssetLock) GetLockMechanism() LockMechanism
func (*AssetLock) ProtoMessage ¶
func (*AssetLock) ProtoMessage()
func (*AssetLock) ProtoReflect ¶
func (x *AssetLock) ProtoReflect() protoreflect.Message
type AssetLockHTLC ¶
type AssetLockHTLC struct { HashMechanism HashMechanism `protobuf:"varint,1,opt,name=hashMechanism,proto3,enum=common.asset_locks.HashMechanism" json:"hashMechanism,omitempty"` HashBase64 []byte `protobuf:"bytes,2,opt,name=hashBase64,proto3" json:"hashBase64,omitempty"` ExpiryTimeSecs uint64 `protobuf:"varint,3,opt,name=expiryTimeSecs,proto3" json:"expiryTimeSecs,omitempty"` TimeSpec TimeSpec `protobuf:"varint,4,opt,name=timeSpec,proto3,enum=common.asset_locks.TimeSpec" json:"timeSpec,omitempty"` // contains filtered or unexported fields }
func (*AssetLockHTLC) Descriptor
deprecated
func (*AssetLockHTLC) Descriptor() ([]byte, []int)
Deprecated: Use AssetLockHTLC.ProtoReflect.Descriptor instead.
func (*AssetLockHTLC) GetExpiryTimeSecs ¶
func (x *AssetLockHTLC) GetExpiryTimeSecs() uint64
func (*AssetLockHTLC) GetHashBase64 ¶
func (x *AssetLockHTLC) GetHashBase64() []byte
func (*AssetLockHTLC) GetHashMechanism ¶ added in v1.3.0
func (x *AssetLockHTLC) GetHashMechanism() HashMechanism
func (*AssetLockHTLC) GetTimeSpec ¶
func (x *AssetLockHTLC) GetTimeSpec() TimeSpec
func (*AssetLockHTLC) ProtoMessage ¶
func (*AssetLockHTLC) ProtoMessage()
func (*AssetLockHTLC) ProtoReflect ¶
func (x *AssetLockHTLC) ProtoReflect() protoreflect.Message
func (*AssetLockHTLC) Reset ¶
func (x *AssetLockHTLC) Reset()
func (*AssetLockHTLC) String ¶
func (x *AssetLockHTLC) String() string
type AssetPledge ¶ added in v1.2.4
type AssetPledge struct { AssetDetails []byte `protobuf:"bytes,1,opt,name=assetDetails,proto3" json:"assetDetails,omitempty"` LocalNetworkID string `protobuf:"bytes,2,opt,name=localNetworkID,proto3" json:"localNetworkID,omitempty"` RemoteNetworkID string `protobuf:"bytes,3,opt,name=remoteNetworkID,proto3" json:"remoteNetworkID,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` ExpiryTimeSecs uint64 `protobuf:"varint,5,opt,name=expiryTimeSecs,proto3" json:"expiryTimeSecs,omitempty"` // contains filtered or unexported fields }
func (*AssetPledge) Descriptor
deprecated
added in
v1.2.4
func (*AssetPledge) Descriptor() ([]byte, []int)
Deprecated: Use AssetPledge.ProtoReflect.Descriptor instead.
func (*AssetPledge) GetAssetDetails ¶ added in v1.2.4
func (x *AssetPledge) GetAssetDetails() []byte
func (*AssetPledge) GetExpiryTimeSecs ¶ added in v1.2.4
func (x *AssetPledge) GetExpiryTimeSecs() uint64
func (*AssetPledge) GetLocalNetworkID ¶ added in v1.2.4
func (x *AssetPledge) GetLocalNetworkID() string
func (*AssetPledge) GetRecipient ¶ added in v1.2.4
func (x *AssetPledge) GetRecipient() string
func (*AssetPledge) GetRemoteNetworkID ¶ added in v1.2.4
func (x *AssetPledge) GetRemoteNetworkID() string
func (*AssetPledge) ProtoMessage ¶ added in v1.2.4
func (*AssetPledge) ProtoMessage()
func (*AssetPledge) ProtoReflect ¶ added in v1.2.4
func (x *AssetPledge) ProtoReflect() protoreflect.Message
func (*AssetPledge) Reset ¶ added in v1.2.4
func (x *AssetPledge) Reset()
func (*AssetPledge) String ¶ added in v1.2.4
func (x *AssetPledge) String() string
type ConfidentialPayload ¶ added in v1.2.9
type ConfidentialPayload struct { EncryptedPayload []byte `protobuf:"bytes,1,opt,name=encrypted_payload,json=encryptedPayload,proto3" json:"encrypted_payload,omitempty"` HashType ConfidentialPayload_HashType `` /* 143-byte string literal not displayed */ Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ConfidentialPayload) Descriptor
deprecated
added in
v1.2.9
func (*ConfidentialPayload) Descriptor() ([]byte, []int)
Deprecated: Use ConfidentialPayload.ProtoReflect.Descriptor instead.
func (*ConfidentialPayload) GetEncryptedPayload ¶ added in v1.2.9
func (x *ConfidentialPayload) GetEncryptedPayload() []byte
func (*ConfidentialPayload) GetHash ¶ added in v1.2.9
func (x *ConfidentialPayload) GetHash() []byte
func (*ConfidentialPayload) GetHashType ¶ added in v1.2.9
func (x *ConfidentialPayload) GetHashType() ConfidentialPayload_HashType
func (*ConfidentialPayload) ProtoMessage ¶ added in v1.2.9
func (*ConfidentialPayload) ProtoMessage()
func (*ConfidentialPayload) ProtoReflect ¶ added in v1.2.9
func (x *ConfidentialPayload) ProtoReflect() protoreflect.Message
func (*ConfidentialPayload) Reset ¶ added in v1.2.9
func (x *ConfidentialPayload) Reset()
func (*ConfidentialPayload) String ¶ added in v1.2.9
func (x *ConfidentialPayload) String() string
type ConfidentialPayloadContents ¶ added in v1.2.9
type ConfidentialPayloadContents struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Random []byte `protobuf:"bytes,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*ConfidentialPayloadContents) Descriptor
deprecated
added in
v1.2.9
func (*ConfidentialPayloadContents) Descriptor() ([]byte, []int)
Deprecated: Use ConfidentialPayloadContents.ProtoReflect.Descriptor instead.
func (*ConfidentialPayloadContents) GetPayload ¶ added in v1.2.9
func (x *ConfidentialPayloadContents) GetPayload() []byte
func (*ConfidentialPayloadContents) GetRandom ¶ added in v1.2.9
func (x *ConfidentialPayloadContents) GetRandom() []byte
func (*ConfidentialPayloadContents) ProtoMessage ¶ added in v1.2.9
func (*ConfidentialPayloadContents) ProtoMessage()
func (*ConfidentialPayloadContents) ProtoReflect ¶ added in v1.2.9
func (x *ConfidentialPayloadContents) ProtoReflect() protoreflect.Message
func (*ConfidentialPayloadContents) Reset ¶ added in v1.2.9
func (x *ConfidentialPayloadContents) Reset()
func (*ConfidentialPayloadContents) String ¶ added in v1.2.9
func (x *ConfidentialPayloadContents) String() string
type ConfidentialPayload_HashType ¶ added in v1.2.9
type ConfidentialPayload_HashType int32
const (
ConfidentialPayload_HMAC ConfidentialPayload_HashType = 0
)
func (ConfidentialPayload_HashType) Descriptor ¶ added in v1.2.9
func (ConfidentialPayload_HashType) Descriptor() protoreflect.EnumDescriptor
func (ConfidentialPayload_HashType) Enum ¶ added in v1.2.9
func (x ConfidentialPayload_HashType) Enum() *ConfidentialPayload_HashType
func (ConfidentialPayload_HashType) EnumDescriptor
deprecated
added in
v1.2.9
func (ConfidentialPayload_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfidentialPayload_HashType.Descriptor instead.
func (ConfidentialPayload_HashType) Number ¶ added in v1.2.9
func (x ConfidentialPayload_HashType) Number() protoreflect.EnumNumber
func (ConfidentialPayload_HashType) String ¶ added in v1.2.9
func (x ConfidentialPayload_HashType) String() string
func (ConfidentialPayload_HashType) Type ¶ added in v1.2.9
func (ConfidentialPayload_HashType) Type() protoreflect.EnumType
type ContractTransaction ¶ added in v1.5.0
type ContractTransaction struct { DriverId string `protobuf:"bytes,1,opt,name=driver_id,json=driverId,proto3" json:"driver_id,omitempty"` LedgerId string `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` Func string `protobuf:"bytes,4,opt,name=func,proto3" json:"func,omitempty"` Args [][]byte `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` ReplaceArgIndex uint64 `protobuf:"varint,6,opt,name=replace_arg_index,json=replaceArgIndex,proto3" json:"replace_arg_index,omitempty"` Members []string `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ContractTransaction) Descriptor
deprecated
added in
v1.5.0
func (*ContractTransaction) Descriptor() ([]byte, []int)
Deprecated: Use ContractTransaction.ProtoReflect.Descriptor instead.
func (*ContractTransaction) GetArgs ¶ added in v1.5.0
func (x *ContractTransaction) GetArgs() [][]byte
func (*ContractTransaction) GetContractId ¶ added in v1.5.0
func (x *ContractTransaction) GetContractId() string
func (*ContractTransaction) GetDriverId ¶ added in v1.5.0
func (x *ContractTransaction) GetDriverId() string
func (*ContractTransaction) GetFunc ¶ added in v1.5.0
func (x *ContractTransaction) GetFunc() string
func (*ContractTransaction) GetLedgerId ¶ added in v1.5.0
func (x *ContractTransaction) GetLedgerId() string
func (*ContractTransaction) GetMembers ¶ added in v1.5.1
func (x *ContractTransaction) GetMembers() []string
func (*ContractTransaction) GetReplaceArgIndex ¶ added in v1.5.0
func (x *ContractTransaction) GetReplaceArgIndex() uint64
func (*ContractTransaction) ProtoMessage ¶ added in v1.5.0
func (*ContractTransaction) ProtoMessage()
func (*ContractTransaction) ProtoReflect ¶ added in v1.5.0
func (x *ContractTransaction) ProtoReflect() protoreflect.Message
func (*ContractTransaction) Reset ¶ added in v1.5.0
func (x *ContractTransaction) Reset()
func (*ContractTransaction) String ¶ added in v1.5.0
func (x *ContractTransaction) String() string
type EventMatcher ¶ added in v1.5.0
type EventMatcher struct { EventType EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=common.events.EventType" json:"event_type,omitempty"` EventClassId string `protobuf:"bytes,2,opt,name=event_class_id,json=eventClassId,proto3" json:"event_class_id,omitempty"` TransactionLedgerId string `protobuf:"bytes,3,opt,name=transaction_ledger_id,json=transactionLedgerId,proto3" json:"transaction_ledger_id,omitempty"` TransactionContractId string `` /* 126-byte string literal not displayed */ TransactionFunc string `protobuf:"bytes,5,opt,name=transaction_func,json=transactionFunc,proto3" json:"transaction_func,omitempty"` // contains filtered or unexported fields }
func (*EventMatcher) Descriptor
deprecated
added in
v1.5.0
func (*EventMatcher) Descriptor() ([]byte, []int)
Deprecated: Use EventMatcher.ProtoReflect.Descriptor instead.
func (*EventMatcher) GetEventClassId ¶ added in v1.5.0
func (x *EventMatcher) GetEventClassId() string
func (*EventMatcher) GetEventType ¶ added in v1.5.0
func (x *EventMatcher) GetEventType() EventType
func (*EventMatcher) GetTransactionContractId ¶ added in v1.5.0
func (x *EventMatcher) GetTransactionContractId() string
func (*EventMatcher) GetTransactionFunc ¶ added in v1.5.0
func (x *EventMatcher) GetTransactionFunc() string
func (*EventMatcher) GetTransactionLedgerId ¶ added in v1.5.0
func (x *EventMatcher) GetTransactionLedgerId() string
func (*EventMatcher) ProtoMessage ¶ added in v1.5.0
func (*EventMatcher) ProtoMessage()
func (*EventMatcher) ProtoReflect ¶ added in v1.5.0
func (x *EventMatcher) ProtoReflect() protoreflect.Message
func (*EventMatcher) Reset ¶ added in v1.5.0
func (x *EventMatcher) Reset()
func (*EventMatcher) String ¶ added in v1.5.0
func (x *EventMatcher) String() string
type EventPublication ¶ added in v1.5.0
type EventPublication struct { // Types that are assignable to PublicationTarget: // // *EventPublication_Ctx // *EventPublication_AppUrl PublicationTarget isEventPublication_PublicationTarget `protobuf_oneof:"publication_target"` // contains filtered or unexported fields }
func (*EventPublication) Descriptor
deprecated
added in
v1.5.0
func (*EventPublication) Descriptor() ([]byte, []int)
Deprecated: Use EventPublication.ProtoReflect.Descriptor instead.
func (*EventPublication) GetAppUrl ¶ added in v1.5.0
func (x *EventPublication) GetAppUrl() string
func (*EventPublication) GetCtx ¶ added in v1.5.0
func (x *EventPublication) GetCtx() *ContractTransaction
func (*EventPublication) GetPublicationTarget ¶ added in v1.5.0
func (m *EventPublication) GetPublicationTarget() isEventPublication_PublicationTarget
func (*EventPublication) ProtoMessage ¶ added in v1.5.0
func (*EventPublication) ProtoMessage()
func (*EventPublication) ProtoReflect ¶ added in v1.5.0
func (x *EventPublication) ProtoReflect() protoreflect.Message
func (*EventPublication) Reset ¶ added in v1.5.0
func (x *EventPublication) Reset()
func (*EventPublication) String ¶ added in v1.5.0
func (x *EventPublication) String() string
type EventPublication_AppUrl ¶ added in v1.5.0
type EventPublication_AppUrl struct {
AppUrl string `protobuf:"bytes,2,opt,name=app_url,json=appUrl,proto3,oneof"`
}
type EventPublication_Ctx ¶ added in v1.5.0
type EventPublication_Ctx struct {
Ctx *ContractTransaction `protobuf:"bytes,1,opt,name=ctx,proto3,oneof"`
}
type EventState ¶ added in v1.5.0
type EventState struct { State *RequestState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
the payload that is used for the communication between the requesting relay and its network
func (*EventState) Descriptor
deprecated
added in
v1.5.0
func (*EventState) Descriptor() ([]byte, []int)
Deprecated: Use EventState.ProtoReflect.Descriptor instead.
func (*EventState) GetEventId ¶ added in v1.5.0
func (x *EventState) GetEventId() string
func (*EventState) GetMessage ¶ added in v1.5.0
func (x *EventState) GetMessage() string
func (*EventState) GetState ¶ added in v1.5.0
func (x *EventState) GetState() *RequestState
func (*EventState) ProtoMessage ¶ added in v1.5.0
func (*EventState) ProtoMessage()
func (*EventState) ProtoReflect ¶ added in v1.5.0
func (x *EventState) ProtoReflect() protoreflect.Message
func (*EventState) Reset ¶ added in v1.5.0
func (x *EventState) Reset()
func (*EventState) String ¶ added in v1.5.0
func (x *EventState) String() string
type EventStates ¶ added in v1.5.0
type EventStates struct { States []*EventState `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` // contains filtered or unexported fields }
func (*EventStates) Descriptor
deprecated
added in
v1.5.0
func (*EventStates) Descriptor() ([]byte, []int)
Deprecated: Use EventStates.ProtoReflect.Descriptor instead.
func (*EventStates) GetStates ¶ added in v1.5.0
func (x *EventStates) GetStates() []*EventState
func (*EventStates) ProtoMessage ¶ added in v1.5.0
func (*EventStates) ProtoMessage()
func (*EventStates) ProtoReflect ¶ added in v1.5.0
func (x *EventStates) ProtoReflect() protoreflect.Message
func (*EventStates) Reset ¶ added in v1.5.0
func (x *EventStates) Reset()
func (*EventStates) String ¶ added in v1.5.0
func (x *EventStates) String() string
type EventSubOperation ¶ added in v1.5.0
type EventSubOperation int32
const ( EventSubOperation_SUBSCRIBE EventSubOperation = 0 EventSubOperation_UNSUBSCRIBE EventSubOperation = 1 EventSubOperation_UPDATE EventSubOperation = 2 )
func (EventSubOperation) Descriptor ¶ added in v1.5.0
func (EventSubOperation) Descriptor() protoreflect.EnumDescriptor
func (EventSubOperation) Enum ¶ added in v1.5.0
func (x EventSubOperation) Enum() *EventSubOperation
func (EventSubOperation) EnumDescriptor
deprecated
added in
v1.5.0
func (EventSubOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventSubOperation.Descriptor instead.
func (EventSubOperation) Number ¶ added in v1.5.0
func (x EventSubOperation) Number() protoreflect.EnumNumber
func (EventSubOperation) String ¶ added in v1.5.0
func (x EventSubOperation) String() string
func (EventSubOperation) Type ¶ added in v1.5.0
func (EventSubOperation) Type() protoreflect.EnumType
type EventSubscription ¶ added in v1.5.0
type EventSubscription struct { EventMatcher *EventMatcher `protobuf:"bytes,1,opt,name=event_matcher,json=eventMatcher,proto3" json:"event_matcher,omitempty"` Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` Operation EventSubOperation `protobuf:"varint,3,opt,name=operation,proto3,enum=common.events.EventSubOperation" json:"operation,omitempty"` // contains filtered or unexported fields }
Below message is used to communicate between dest-relay and src-relay; and src-relay and src-driver.
func (*EventSubscription) Descriptor
deprecated
added in
v1.5.0
func (*EventSubscription) Descriptor() ([]byte, []int)
Deprecated: Use EventSubscription.ProtoReflect.Descriptor instead.
func (*EventSubscription) GetEventMatcher ¶ added in v1.5.0
func (x *EventSubscription) GetEventMatcher() *EventMatcher
func (*EventSubscription) GetOperation ¶ added in v1.5.0
func (x *EventSubscription) GetOperation() EventSubOperation
func (*EventSubscription) GetQuery ¶ added in v1.5.0
func (x *EventSubscription) GetQuery() *Query
func (*EventSubscription) ProtoMessage ¶ added in v1.5.0
func (*EventSubscription) ProtoMessage()
func (*EventSubscription) ProtoReflect ¶ added in v1.5.0
func (x *EventSubscription) ProtoReflect() protoreflect.Message
func (*EventSubscription) Reset ¶ added in v1.5.0
func (x *EventSubscription) Reset()
func (*EventSubscription) String ¶ added in v1.5.0
func (x *EventSubscription) String() string
type EventSubscriptionState ¶ added in v1.5.0
type EventSubscriptionState struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` PublishingRequestId string `protobuf:"bytes,2,opt,name=publishing_request_id,json=publishingRequestId,proto3" json:"publishing_request_id,omitempty"` Status EventSubscriptionState_STATUS `protobuf:"varint,3,opt,name=status,proto3,enum=common.events.EventSubscriptionState_STATUS" json:"status,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` EventMatcher *EventMatcher `protobuf:"bytes,5,opt,name=event_matcher,json=eventMatcher,proto3" json:"event_matcher,omitempty"` EventPublicationSpecs []*EventPublication `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EventSubscriptionState) Descriptor
deprecated
added in
v1.5.0
func (*EventSubscriptionState) Descriptor() ([]byte, []int)
Deprecated: Use EventSubscriptionState.ProtoReflect.Descriptor instead.
func (*EventSubscriptionState) GetEventMatcher ¶ added in v1.5.0
func (x *EventSubscriptionState) GetEventMatcher() *EventMatcher
func (*EventSubscriptionState) GetEventPublicationSpecs ¶ added in v1.5.4
func (x *EventSubscriptionState) GetEventPublicationSpecs() []*EventPublication
func (*EventSubscriptionState) GetMessage ¶ added in v1.5.0
func (x *EventSubscriptionState) GetMessage() string
func (*EventSubscriptionState) GetPublishingRequestId ¶ added in v1.5.4
func (x *EventSubscriptionState) GetPublishingRequestId() string
func (*EventSubscriptionState) GetRequestId ¶ added in v1.5.0
func (x *EventSubscriptionState) GetRequestId() string
func (*EventSubscriptionState) GetStatus ¶ added in v1.5.0
func (x *EventSubscriptionState) GetStatus() EventSubscriptionState_STATUS
func (*EventSubscriptionState) ProtoMessage ¶ added in v1.5.0
func (*EventSubscriptionState) ProtoMessage()
func (*EventSubscriptionState) ProtoReflect ¶ added in v1.5.0
func (x *EventSubscriptionState) ProtoReflect() protoreflect.Message
func (*EventSubscriptionState) Reset ¶ added in v1.5.0
func (x *EventSubscriptionState) Reset()
func (*EventSubscriptionState) String ¶ added in v1.5.0
func (x *EventSubscriptionState) String() string
type EventSubscriptionState_STATUS ¶ added in v1.5.0
type EventSubscriptionState_STATUS int32
const ( // pending ACK from remote relay EventSubscriptionState_SUBSCRIBE_PENDING_ACK EventSubscriptionState_STATUS = 0 // Received ACK, waiting for event subscription confirmation from remote relay EventSubscriptionState_SUBSCRIBE_PENDING EventSubscriptionState_STATUS = 1 EventSubscriptionState_SUBSCRIBED EventSubscriptionState_STATUS = 2 EventSubscriptionState_UNSUBSCRIBE_PENDING_ACK EventSubscriptionState_STATUS = 3 EventSubscriptionState_UNSUBSCRIBE_PENDING EventSubscriptionState_STATUS = 4 EventSubscriptionState_UNSUBSCRIBED EventSubscriptionState_STATUS = 5 EventSubscriptionState_ERROR EventSubscriptionState_STATUS = 6 EventSubscriptionState_DUPLICATE_QUERY_SUBSCRIBED EventSubscriptionState_STATUS = 7 )
func (EventSubscriptionState_STATUS) Descriptor ¶ added in v1.5.0
func (EventSubscriptionState_STATUS) Descriptor() protoreflect.EnumDescriptor
func (EventSubscriptionState_STATUS) Enum ¶ added in v1.5.0
func (x EventSubscriptionState_STATUS) Enum() *EventSubscriptionState_STATUS
func (EventSubscriptionState_STATUS) EnumDescriptor
deprecated
added in
v1.5.0
func (EventSubscriptionState_STATUS) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventSubscriptionState_STATUS.Descriptor instead.
func (EventSubscriptionState_STATUS) Number ¶ added in v1.5.0
func (x EventSubscriptionState_STATUS) Number() protoreflect.EnumNumber
func (EventSubscriptionState_STATUS) String ¶ added in v1.5.0
func (x EventSubscriptionState_STATUS) String() string
func (EventSubscriptionState_STATUS) Type ¶ added in v1.5.0
func (EventSubscriptionState_STATUS) Type() protoreflect.EnumType
type EventType ¶ added in v1.5.0
type EventType int32
func (EventType) Descriptor ¶ added in v1.5.0
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
added in
v1.5.0
func (EventType) Number ¶ added in v1.5.0
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶ added in v1.5.0
func (EventType) Type() protoreflect.EnumType
type FungibleAssetContractHTLC ¶
type FungibleAssetContractHTLC struct { ContractId string `protobuf:"bytes,1,opt,name=contractId,proto3" json:"contractId,omitempty"` Agreement *FungibleAssetExchangeAgreement `protobuf:"bytes,2,opt,name=agreement,proto3" json:"agreement,omitempty"` Lock *AssetLockHTLC `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` Claim *AssetClaimHTLC `protobuf:"bytes,4,opt,name=claim,proto3" json:"claim,omitempty"` // contains filtered or unexported fields }
func (*FungibleAssetContractHTLC) Descriptor
deprecated
func (*FungibleAssetContractHTLC) Descriptor() ([]byte, []int)
Deprecated: Use FungibleAssetContractHTLC.ProtoReflect.Descriptor instead.
func (*FungibleAssetContractHTLC) GetAgreement ¶
func (x *FungibleAssetContractHTLC) GetAgreement() *FungibleAssetExchangeAgreement
func (*FungibleAssetContractHTLC) GetClaim ¶
func (x *FungibleAssetContractHTLC) GetClaim() *AssetClaimHTLC
func (*FungibleAssetContractHTLC) GetContractId ¶
func (x *FungibleAssetContractHTLC) GetContractId() string
func (*FungibleAssetContractHTLC) GetLock ¶
func (x *FungibleAssetContractHTLC) GetLock() *AssetLockHTLC
func (*FungibleAssetContractHTLC) ProtoMessage ¶
func (*FungibleAssetContractHTLC) ProtoMessage()
func (*FungibleAssetContractHTLC) ProtoReflect ¶
func (x *FungibleAssetContractHTLC) ProtoReflect() protoreflect.Message
func (*FungibleAssetContractHTLC) Reset ¶
func (x *FungibleAssetContractHTLC) Reset()
func (*FungibleAssetContractHTLC) String ¶
func (x *FungibleAssetContractHTLC) String() string
type FungibleAssetExchangeAgreement ¶
type FungibleAssetExchangeAgreement struct { AssetType string `protobuf:"bytes,1,opt,name=assetType,proto3" json:"assetType,omitempty"` NumUnits uint64 `protobuf:"varint,2,opt,name=numUnits,proto3" json:"numUnits,omitempty"` Locker string `protobuf:"bytes,3,opt,name=locker,proto3" json:"locker,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
func (*FungibleAssetExchangeAgreement) Descriptor
deprecated
func (*FungibleAssetExchangeAgreement) Descriptor() ([]byte, []int)
Deprecated: Use FungibleAssetExchangeAgreement.ProtoReflect.Descriptor instead.
func (*FungibleAssetExchangeAgreement) GetAssetType ¶ added in v1.5.3
func (x *FungibleAssetExchangeAgreement) GetAssetType() string
func (*FungibleAssetExchangeAgreement) GetLocker ¶
func (x *FungibleAssetExchangeAgreement) GetLocker() string
func (*FungibleAssetExchangeAgreement) GetNumUnits ¶
func (x *FungibleAssetExchangeAgreement) GetNumUnits() uint64
func (*FungibleAssetExchangeAgreement) GetRecipient ¶
func (x *FungibleAssetExchangeAgreement) GetRecipient() string
func (*FungibleAssetExchangeAgreement) ProtoMessage ¶
func (*FungibleAssetExchangeAgreement) ProtoMessage()
func (*FungibleAssetExchangeAgreement) ProtoReflect ¶
func (x *FungibleAssetExchangeAgreement) ProtoReflect() protoreflect.Message
func (*FungibleAssetExchangeAgreement) Reset ¶
func (x *FungibleAssetExchangeAgreement) Reset()
func (*FungibleAssetExchangeAgreement) String ¶
func (x *FungibleAssetExchangeAgreement) String() string
type HashMechanism ¶ added in v1.3.0
type HashMechanism int32
const ( HashMechanism_SHA256 HashMechanism = 0 HashMechanism_SHA512 HashMechanism = 1 )
func (HashMechanism) Descriptor ¶ added in v1.3.0
func (HashMechanism) Descriptor() protoreflect.EnumDescriptor
func (HashMechanism) Enum ¶ added in v1.3.0
func (x HashMechanism) Enum() *HashMechanism
func (HashMechanism) EnumDescriptor
deprecated
added in
v1.3.0
func (HashMechanism) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashMechanism.Descriptor instead.
func (HashMechanism) Number ¶ added in v1.3.0
func (x HashMechanism) Number() protoreflect.EnumNumber
func (HashMechanism) String ¶ added in v1.3.0
func (x HashMechanism) String() string
func (HashMechanism) Type ¶ added in v1.3.0
func (HashMechanism) Type() protoreflect.EnumType
type HybridAssetExchangeAgreement ¶ added in v1.5.7
type HybridAssetExchangeAgreement struct { AssetType string `protobuf:"bytes,1,opt,name=assetType,proto3" json:"assetType,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` AssetData []byte `protobuf:"bytes,3,opt,name=assetData,proto3" json:"assetData,omitempty"` NumUnits uint64 `protobuf:"varint,4,opt,name=numUnits,proto3" json:"numUnits,omitempty"` Locker string `protobuf:"bytes,5,opt,name=locker,proto3" json:"locker,omitempty"` Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
func (*HybridAssetExchangeAgreement) Descriptor
deprecated
added in
v1.5.7
func (*HybridAssetExchangeAgreement) Descriptor() ([]byte, []int)
Deprecated: Use HybridAssetExchangeAgreement.ProtoReflect.Descriptor instead.
func (*HybridAssetExchangeAgreement) GetAssetData ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetAssetData() []byte
func (*HybridAssetExchangeAgreement) GetAssetType ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetAssetType() string
func (*HybridAssetExchangeAgreement) GetId ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetId() string
func (*HybridAssetExchangeAgreement) GetLocker ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetLocker() string
func (*HybridAssetExchangeAgreement) GetNumUnits ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetNumUnits() uint64
func (*HybridAssetExchangeAgreement) GetRecipient ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) GetRecipient() string
func (*HybridAssetExchangeAgreement) ProtoMessage ¶ added in v1.5.7
func (*HybridAssetExchangeAgreement) ProtoMessage()
func (*HybridAssetExchangeAgreement) ProtoReflect ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) ProtoReflect() protoreflect.Message
func (*HybridAssetExchangeAgreement) Reset ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) Reset()
func (*HybridAssetExchangeAgreement) String ¶ added in v1.5.7
func (x *HybridAssetExchangeAgreement) String() string
type Identifier ¶
type Identifier struct { // pattern defines the view/views that this rule applies to // A rule may contain a "*" at the end of the pattern Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` Policy *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
List of identifiers for the VerificationPolicy
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetPattern ¶
func (x *Identifier) GetPattern() string
func (*Identifier) GetPolicy ¶
func (x *Identifier) GetPolicy() *Policy
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
type InteropPayload ¶
type InteropPayload struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Confidential bool `protobuf:"varint,3,opt,name=confidential,proto3" json:"confidential,omitempty"` RequestorCertificate string `protobuf:"bytes,4,opt,name=requestor_certificate,json=requestorCertificate,proto3" json:"requestor_certificate,omitempty"` Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*InteropPayload) Descriptor
deprecated
func (*InteropPayload) Descriptor() ([]byte, []int)
Deprecated: Use InteropPayload.ProtoReflect.Descriptor instead.
func (*InteropPayload) GetAddress ¶
func (x *InteropPayload) GetAddress() string
func (*InteropPayload) GetConfidential ¶ added in v1.2.9
func (x *InteropPayload) GetConfidential() bool
func (*InteropPayload) GetNonce ¶ added in v1.2.9
func (x *InteropPayload) GetNonce() string
func (*InteropPayload) GetPayload ¶
func (x *InteropPayload) GetPayload() []byte
func (*InteropPayload) GetRequestorCertificate ¶ added in v1.2.9
func (x *InteropPayload) GetRequestorCertificate() string
func (*InteropPayload) ProtoMessage ¶
func (*InteropPayload) ProtoMessage()
func (*InteropPayload) ProtoReflect ¶
func (x *InteropPayload) ProtoReflect() protoreflect.Message
func (*InteropPayload) Reset ¶
func (x *InteropPayload) Reset()
func (*InteropPayload) String ¶
func (x *InteropPayload) String() string
type LockMechanism ¶
type LockMechanism int32
const (
LockMechanism_HTLC LockMechanism = 0
)
func (LockMechanism) Descriptor ¶
func (LockMechanism) Descriptor() protoreflect.EnumDescriptor
func (LockMechanism) Enum ¶
func (x LockMechanism) Enum() *LockMechanism
func (LockMechanism) EnumDescriptor
deprecated
func (LockMechanism) EnumDescriptor() ([]byte, []int)
Deprecated: Use LockMechanism.Descriptor instead.
func (LockMechanism) Number ¶
func (x LockMechanism) Number() protoreflect.EnumNumber
func (LockMechanism) String ¶
func (x LockMechanism) String() string
func (LockMechanism) Type ¶
func (LockMechanism) Type() protoreflect.EnumType
type Member ¶
type Member struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Chain []string `protobuf:"bytes,3,rep,name=chain,proto3" json:"chain,omitempty"` // contains filtered or unexported fields }
Member of a security group is represented by a set of public keys, certificates or certificate authorities
func (*Member) Descriptor
deprecated
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type Membership ¶
type Membership struct { SecurityDomain string `protobuf:"bytes,1,opt,name=securityDomain,proto3" json:"securityDomain,omitempty"` Members map[string]*Member `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Membership captures the members of an external entity such as a thing, person, organization or groups of entities such as networks
func (*Membership) Descriptor
deprecated
func (*Membership) Descriptor() ([]byte, []int)
Deprecated: Use Membership.ProtoReflect.Descriptor instead.
func (*Membership) GetMembers ¶
func (x *Membership) GetMembers() map[string]*Member
func (*Membership) GetSecurityDomain ¶
func (x *Membership) GetSecurityDomain() string
func (*Membership) ProtoMessage ¶
func (*Membership) ProtoMessage()
func (*Membership) ProtoReflect ¶
func (x *Membership) ProtoReflect() protoreflect.Message
func (*Membership) Reset ¶
func (x *Membership) Reset()
func (*Membership) String ¶
func (x *Membership) String() string
type Meta ¶
type Meta struct { // Underlying distributed ledger protocol. Protocol Meta_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=common.state.Meta_Protocol" json:"protocol,omitempty"` // What notion of time? // If the observer and network are synchronizing on a global clock // there won't be a need to distinguish between static and dynamic views. Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Notorization, SPV, ZKP, etc. Possibly enum ProofType string `protobuf:"bytes,3,opt,name=proof_type,json=proofType,proto3" json:"proof_type,omitempty"` // The data field's serialization format (e.g. JSON, XML, Protobuf) SerializationFormat string `protobuf:"bytes,4,opt,name=serialization_format,json=serializationFormat,proto3" json:"serialization_format,omitempty"` // contains filtered or unexported fields }
Metadata for a View
func (*Meta) Descriptor
deprecated
func (*Meta) GetProofType ¶
func (*Meta) GetProtocol ¶
func (x *Meta) GetProtocol() Meta_Protocol
func (*Meta) GetSerializationFormat ¶
func (*Meta) GetTimestamp ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
type Meta_Protocol ¶
type Meta_Protocol int32
const ( Meta_BITCOIN Meta_Protocol = 0 Meta_ETHEREUM Meta_Protocol = 1 Meta_FABRIC Meta_Protocol = 3 Meta_CORDA Meta_Protocol = 4 )
func (Meta_Protocol) Descriptor ¶
func (Meta_Protocol) Descriptor() protoreflect.EnumDescriptor
func (Meta_Protocol) Enum ¶
func (x Meta_Protocol) Enum() *Meta_Protocol
func (Meta_Protocol) EnumDescriptor
deprecated
func (Meta_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use Meta_Protocol.Descriptor instead.
func (Meta_Protocol) Number ¶
func (x Meta_Protocol) Number() protoreflect.EnumNumber
func (Meta_Protocol) String ¶
func (x Meta_Protocol) String() string
func (Meta_Protocol) Type ¶
func (Meta_Protocol) Type() protoreflect.EnumType
type Policy ¶
type Policy struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Criteria []string `protobuf:"bytes,2,rep,name=criteria,proto3" json:"criteria,omitempty"` // contains filtered or unexported fields }
The Policy captures the list of parties that are required to provide proofs of a view in order for the Fabric network to accept the view as valid.
func (*Policy) Descriptor
deprecated
func (*Policy) GetCriteria ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type Proof ¶
type Proof struct { Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
func (*Proof) GetCertificate ¶
func (*Proof) GetSignature ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶
func (x *Proof) ProtoReflect() protoreflect.Message
type Proofs ¶
type Proofs struct { Proofs []*Proof `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"` // contains filtered or unexported fields }
func (*Proofs) Descriptor
deprecated
func (*Proofs) ProtoMessage ¶
func (*Proofs) ProtoMessage()
func (*Proofs) ProtoReflect ¶
func (x *Proofs) ProtoReflect() protoreflect.Message
type Query ¶
type Query struct { Policy []string `protobuf:"bytes,1,rep,name=policy,proto3" json:"policy,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` RequestingRelay string `protobuf:"bytes,3,opt,name=requesting_relay,json=requestingRelay,proto3" json:"requesting_relay,omitempty"` RequestingNetwork string `protobuf:"bytes,4,opt,name=requesting_network,json=requestingNetwork,proto3" json:"requesting_network,omitempty"` Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"` RequestorSignature string `protobuf:"bytes,6,opt,name=requestor_signature,json=requestorSignature,proto3" json:"requestor_signature,omitempty"` Nonce string `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` RequestId string `protobuf:"bytes,8,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestingOrg string `protobuf:"bytes,9,opt,name=requesting_org,json=requestingOrg,proto3" json:"requesting_org,omitempty"` Confidential bool `protobuf:"varint,10,opt,name=confidential,proto3" json:"confidential,omitempty"` // contains filtered or unexported fields }
the payload to define the data that is being requested
func (*Query) Descriptor
deprecated
func (*Query) GetAddress ¶
func (*Query) GetCertificate ¶
func (*Query) GetConfidential ¶ added in v1.2.9
func (*Query) GetRequestId ¶
func (*Query) GetRequestingNetwork ¶
func (*Query) GetRequestingOrg ¶
func (*Query) GetRequestingRelay ¶
func (*Query) GetRequestorSignature ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type RequestState ¶
type RequestState struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Status RequestState_STATUS `protobuf:"varint,2,opt,name=status,proto3,enum=common.state.RequestState_STATUS" json:"status,omitempty"` // Types that are assignable to State: // // *RequestState_View // *RequestState_Error State isRequestState_State `protobuf_oneof:"state"` // contains filtered or unexported fields }
the payload that is used for the communication between the requesting relay and its network
func (*RequestState) Descriptor
deprecated
func (*RequestState) Descriptor() ([]byte, []int)
Deprecated: Use RequestState.ProtoReflect.Descriptor instead.
func (*RequestState) GetError ¶
func (x *RequestState) GetError() string
func (*RequestState) GetRequestId ¶
func (x *RequestState) GetRequestId() string
func (*RequestState) GetState ¶
func (m *RequestState) GetState() isRequestState_State
func (*RequestState) GetStatus ¶
func (x *RequestState) GetStatus() RequestState_STATUS
func (*RequestState) GetView ¶
func (x *RequestState) GetView() *View
func (*RequestState) ProtoMessage ¶
func (*RequestState) ProtoMessage()
func (*RequestState) ProtoReflect ¶
func (x *RequestState) ProtoReflect() protoreflect.Message
func (*RequestState) Reset ¶
func (x *RequestState) Reset()
func (*RequestState) String ¶
func (x *RequestState) String() string
type RequestState_Error ¶
type RequestState_Error struct {
Error string `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}
type RequestState_STATUS ¶
type RequestState_STATUS int32
const ( // pending ACK from remote relay RequestState_PENDING_ACK RequestState_STATUS = 0 // Received ACK, waiting for data to be sent from remote relay RequestState_PENDING RequestState_STATUS = 1 RequestState_ERROR RequestState_STATUS = 2 // View is not there, received error from remote relay RequestState_COMPLETED RequestState_STATUS = 3 // Data Sharing completed Successfully RequestState_EVENT_RECEIVED RequestState_STATUS = 4 // View is there and event is received from remote relay RequestState_EVENT_WRITTEN RequestState_STATUS = 5 // Driver Successfully wrote the view to ledger RequestState_EVENT_WRITE_ERROR RequestState_STATUS = 6 // View is there but driver failed to write RequestState_DELETED RequestState_STATUS = 7 // Once network fetches this request state, mark it delete for cleanup later on )
func (RequestState_STATUS) Descriptor ¶
func (RequestState_STATUS) Descriptor() protoreflect.EnumDescriptor
func (RequestState_STATUS) Enum ¶
func (x RequestState_STATUS) Enum() *RequestState_STATUS
func (RequestState_STATUS) EnumDescriptor
deprecated
func (RequestState_STATUS) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestState_STATUS.Descriptor instead.
func (RequestState_STATUS) Number ¶
func (x RequestState_STATUS) Number() protoreflect.EnumNumber
func (RequestState_STATUS) String ¶
func (x RequestState_STATUS) String() string
func (RequestState_STATUS) Type ¶
func (RequestState_STATUS) Type() protoreflect.EnumType
type RequestState_View ¶
type RequestState_View struct {
View *View `protobuf:"bytes,3,opt,name=view,proto3,oneof"`
}
type Rule ¶
type Rule struct { Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` PrincipalType string `protobuf:"bytes,2,opt,name=principalType,proto3" json:"principalType,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` Read bool `protobuf:"varint,4,opt,name=read,proto3" json:"read,omitempty"` // contains filtered or unexported fields }
Rule represents a single data access rule for the AccessControlPolicy
func (*Rule) Descriptor
deprecated
func (*Rule) GetPrincipal ¶
func (*Rule) GetPrincipalType ¶
func (*Rule) GetResource ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type TimeSpec ¶ added in v1.5.3
type TimeSpec int32
func (TimeSpec) Descriptor ¶ added in v1.5.3
func (TimeSpec) Descriptor() protoreflect.EnumDescriptor
func (TimeSpec) EnumDescriptor
deprecated
added in
v1.5.3
func (TimeSpec) Number ¶ added in v1.5.3
func (x TimeSpec) Number() protoreflect.EnumNumber
func (TimeSpec) Type ¶ added in v1.5.3
func (TimeSpec) Type() protoreflect.EnumType
type VerificationPolicy ¶
type VerificationPolicy struct { SecurityDomain string `protobuf:"bytes,1,opt,name=securityDomain,proto3" json:"securityDomain,omitempty"` Identifiers []*Identifier `protobuf:"bytes,2,rep,name=identifiers,proto3" json:"identifiers,omitempty"` // contains filtered or unexported fields }
VerificationPolicy stores the rules around which parties from a foreign network need to provide proof of a view in order for it to be deemed valid by the Fabric network
func (*VerificationPolicy) Descriptor
deprecated
func (*VerificationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use VerificationPolicy.ProtoReflect.Descriptor instead.
func (*VerificationPolicy) GetIdentifiers ¶
func (x *VerificationPolicy) GetIdentifiers() []*Identifier
func (*VerificationPolicy) GetSecurityDomain ¶
func (x *VerificationPolicy) GetSecurityDomain() string
func (*VerificationPolicy) ProtoMessage ¶
func (*VerificationPolicy) ProtoMessage()
func (*VerificationPolicy) ProtoReflect ¶
func (x *VerificationPolicy) ProtoReflect() protoreflect.Message
func (*VerificationPolicy) Reset ¶
func (x *VerificationPolicy) Reset()
func (*VerificationPolicy) String ¶
func (x *VerificationPolicy) String() string
type View ¶
type View struct { Meta *Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Represents the data playload of this view. // The representation of Fabric, Corda etc will be captured elsewhere. // For some protocols, like Bitcoin, the structure of an SPV proof is well known. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*View) Descriptor
deprecated
func (*View) ProtoMessage ¶
func (*View) ProtoMessage()
func (*View) ProtoReflect ¶
func (x *View) ProtoReflect() protoreflect.Message
type ViewPayload ¶
type ViewPayload struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Types that are assignable to State: // // *ViewPayload_View // *ViewPayload_Error State isViewPayload_State `protobuf_oneof:"state"` // contains filtered or unexported fields }
View represents the response from a remote network
func (*ViewPayload) Descriptor
deprecated
func (*ViewPayload) Descriptor() ([]byte, []int)
Deprecated: Use ViewPayload.ProtoReflect.Descriptor instead.
func (*ViewPayload) GetError ¶
func (x *ViewPayload) GetError() string
func (*ViewPayload) GetRequestId ¶
func (x *ViewPayload) GetRequestId() string
func (*ViewPayload) GetState ¶
func (m *ViewPayload) GetState() isViewPayload_State
func (*ViewPayload) GetView ¶
func (x *ViewPayload) GetView() *View
func (*ViewPayload) ProtoMessage ¶
func (*ViewPayload) ProtoMessage()
func (*ViewPayload) ProtoReflect ¶
func (x *ViewPayload) ProtoReflect() protoreflect.Message
func (*ViewPayload) Reset ¶
func (x *ViewPayload) Reset()
func (*ViewPayload) String ¶
func (x *ViewPayload) String() string
type ViewPayload_Error ¶
type ViewPayload_Error struct {
Error string `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type ViewPayload_View ¶
type ViewPayload_View struct {
View *View `protobuf:"bytes,2,opt,name=view,proto3,oneof"`
}