Versions in this module Expand all Collapse all v2 v2.1.0 Dec 22, 2021 Changes in this version + var ErrIntOverflowMember = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRequest = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowResult = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMember = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRequest = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthResult = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupMember = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupRequest = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupResult = fmt.Errorf("proto: unexpected end of group") + var MemberType_name = map[int32]string + var MemberType_value = map[string]int32 + var TxStatusCode_name = map[int32]string + var TxStatusCode_value = map[string]int32 + var TxType_name = map[int32]string + var TxType_value = map[string]int32 + type CertInfo struct + Cert []byte + Hash string + func (*CertInfo) Descriptor() ([]byte, []int) + func (*CertInfo) ProtoMessage() + func (m *CertInfo) GetCert() []byte + func (m *CertInfo) GetHash() string + func (m *CertInfo) Marshal() (dAtA []byte, err error) + func (m *CertInfo) MarshalTo(dAtA []byte) (int, error) + func (m *CertInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CertInfo) Reset() + func (m *CertInfo) Size() (n int) + func (m *CertInfo) String() string + func (m *CertInfo) Unmarshal(dAtA []byte) error + func (m *CertInfo) XXX_DiscardUnknown() + func (m *CertInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CertInfo) XXX_Merge(src proto.Message) + func (m *CertInfo) XXX_Size() int + func (m *CertInfo) XXX_Unmarshal(b []byte) error + type CertInfos struct + CertInfos []*CertInfo + func (*CertInfos) Descriptor() ([]byte, []int) + func (*CertInfos) ProtoMessage() + func (m *CertInfos) GetCertInfos() []*CertInfo + func (m *CertInfos) Marshal() (dAtA []byte, err error) + func (m *CertInfos) MarshalTo(dAtA []byte) (int, error) + func (m *CertInfos) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CertInfos) Reset() + func (m *CertInfos) Size() (n int) + func (m *CertInfos) String() string + func (m *CertInfos) Unmarshal(dAtA []byte) error + func (m *CertInfos) XXX_DiscardUnknown() + func (m *CertInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CertInfos) XXX_Merge(src proto.Message) + func (m *CertInfos) XXX_Size() int + func (m *CertInfos) XXX_Unmarshal(b []byte) error + type ContractEvent struct + ContractName string + ContractVersion string + EventData []string + Topic string + TxId string + func (*ContractEvent) Descriptor() ([]byte, []int) + func (*ContractEvent) ProtoMessage() + func (m *ContractEvent) GetContractName() string + func (m *ContractEvent) GetContractVersion() string + func (m *ContractEvent) GetEventData() []string + func (m *ContractEvent) GetTopic() string + func (m *ContractEvent) GetTxId() string + func (m *ContractEvent) Marshal() (dAtA []byte, err error) + func (m *ContractEvent) MarshalTo(dAtA []byte) (int, error) + func (m *ContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractEvent) Reset() + func (m *ContractEvent) Size() (n int) + func (m *ContractEvent) String() string + func (m *ContractEvent) Unmarshal(dAtA []byte) error + func (m *ContractEvent) XXX_DiscardUnknown() + func (m *ContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractEvent) XXX_Merge(src proto.Message) + func (m *ContractEvent) XXX_Size() int + func (m *ContractEvent) XXX_Unmarshal(b []byte) error + type ContractEventInfo struct + BlockHeight uint64 + ChainId string + ContractName string + ContractVersion string + EventData []string + EventIndex uint32 + Topic string + TxId string + func (*ContractEventInfo) Descriptor() ([]byte, []int) + func (*ContractEventInfo) ProtoMessage() + func (m *ContractEventInfo) GetBlockHeight() uint64 + func (m *ContractEventInfo) GetChainId() string + func (m *ContractEventInfo) GetContractName() string + func (m *ContractEventInfo) GetContractVersion() string + func (m *ContractEventInfo) GetEventData() []string + func (m *ContractEventInfo) GetEventIndex() uint32 + func (m *ContractEventInfo) GetTopic() string + func (m *ContractEventInfo) GetTxId() string + func (m *ContractEventInfo) Marshal() (dAtA []byte, err error) + func (m *ContractEventInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ContractEventInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractEventInfo) Reset() + func (m *ContractEventInfo) Size() (n int) + func (m *ContractEventInfo) String() string + func (m *ContractEventInfo) Unmarshal(dAtA []byte) error + func (m *ContractEventInfo) XXX_DiscardUnknown() + func (m *ContractEventInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractEventInfo) XXX_Merge(src proto.Message) + func (m *ContractEventInfo) XXX_Size() int + func (m *ContractEventInfo) XXX_Unmarshal(b []byte) error + type ContractEventInfoList struct + ContractEvents []*ContractEventInfo + func (*ContractEventInfoList) Descriptor() ([]byte, []int) + func (*ContractEventInfoList) ProtoMessage() + func (m *ContractEventInfoList) GetContractEvents() []*ContractEventInfo + func (m *ContractEventInfoList) Marshal() (dAtA []byte, err error) + func (m *ContractEventInfoList) MarshalTo(dAtA []byte) (int, error) + func (m *ContractEventInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractEventInfoList) Reset() + func (m *ContractEventInfoList) Size() (n int) + func (m *ContractEventInfoList) String() string + func (m *ContractEventInfoList) Unmarshal(dAtA []byte) error + func (m *ContractEventInfoList) XXX_DiscardUnknown() + func (m *ContractEventInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractEventInfoList) XXX_Merge(src proto.Message) + func (m *ContractEventInfoList) XXX_Size() int + func (m *ContractEventInfoList) XXX_Unmarshal(b []byte) error + type ContractResult struct + Code uint32 + ContractEvent []*ContractEvent + GasUsed uint64 + Message string + Result []byte + func (*ContractResult) Descriptor() ([]byte, []int) + func (*ContractResult) ProtoMessage() + func (m *ContractResult) GetCode() uint32 + func (m *ContractResult) GetContractEvent() []*ContractEvent + func (m *ContractResult) GetGasUsed() uint64 + func (m *ContractResult) GetMessage() string + func (m *ContractResult) GetResult() []byte + func (m *ContractResult) Marshal() (dAtA []byte, err error) + func (m *ContractResult) MarshalTo(dAtA []byte) (int, error) + func (m *ContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContractResult) Reset() + func (m *ContractResult) Size() (n int) + func (m *ContractResult) String() string + func (m *ContractResult) Unmarshal(dAtA []byte) error + func (m *ContractResult) XXX_DiscardUnknown() + func (m *ContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContractResult) XXX_Merge(src proto.Message) + func (m *ContractResult) XXX_Size() int + func (m *ContractResult) XXX_Unmarshal(b []byte) error + type EndorsementEntry struct + Signature []byte + Signer *Member + func (*EndorsementEntry) Descriptor() ([]byte, []int) + func (*EndorsementEntry) ProtoMessage() + func (m *EndorsementEntry) GetSignature() []byte + func (m *EndorsementEntry) GetSigner() *Member + func (m *EndorsementEntry) Marshal() (dAtA []byte, err error) + func (m *EndorsementEntry) MarshalTo(dAtA []byte) (int, error) + func (m *EndorsementEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EndorsementEntry) Reset() + func (m *EndorsementEntry) Size() (n int) + func (m *EndorsementEntry) String() string + func (m *EndorsementEntry) Unmarshal(dAtA []byte) error + func (m *EndorsementEntry) XXX_DiscardUnknown() + func (m *EndorsementEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EndorsementEntry) XXX_Merge(src proto.Message) + func (m *EndorsementEntry) XXX_Size() int + func (m *EndorsementEntry) XXX_Unmarshal(b []byte) error + type KeyValuePair struct + Key string + Value []byte + func (*KeyValuePair) Descriptor() ([]byte, []int) + func (*KeyValuePair) ProtoMessage() + func (m *KeyValuePair) GetKey() string + func (m *KeyValuePair) GetValue() []byte + func (m *KeyValuePair) Marshal() (dAtA []byte, err error) + func (m *KeyValuePair) MarshalTo(dAtA []byte) (int, error) + func (m *KeyValuePair) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *KeyValuePair) Reset() + func (m *KeyValuePair) Size() (n int) + func (m *KeyValuePair) String() string + func (m *KeyValuePair) Unmarshal(dAtA []byte) error + func (m *KeyValuePair) XXX_DiscardUnknown() + func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *KeyValuePair) XXX_Merge(src proto.Message) + func (m *KeyValuePair) XXX_Size() int + func (m *KeyValuePair) XXX_Unmarshal(b []byte) error + type Member struct + MemberInfo []byte + MemberType MemberType + OrgId string + func (*Member) Descriptor() ([]byte, []int) + func (*Member) ProtoMessage() + func (m *Member) GetMemberInfo() []byte + func (m *Member) GetMemberType() MemberType + func (m *Member) GetOrgId() string + func (m *Member) Marshal() (dAtA []byte, err error) + func (m *Member) MarshalTo(dAtA []byte) (int, error) + func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Member) Reset() + func (m *Member) Size() (n int) + func (m *Member) String() string + func (m *Member) Unmarshal(dAtA []byte) error + func (m *Member) XXX_DiscardUnknown() + func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Member) XXX_Merge(src proto.Message) + func (m *Member) XXX_Size() int + func (m *Member) XXX_Unmarshal(b []byte) error + type MemberType int32 + const MemberType_CERT + const MemberType_CERT_HASH + const MemberType_DID + const MemberType_PUBLIC_KEY + func (MemberType) EnumDescriptor() ([]byte, []int) + func (x MemberType) String() string + type Payload struct + ChainId string + ContractName string + ExpirationTime int64 + Limit []byte + Method string + Parameters []*KeyValuePair + Sequence uint64 + Timestamp int64 + TxId string + TxType TxType + func (*Payload) Descriptor() ([]byte, []int) + func (*Payload) ProtoMessage() + func (m *Payload) GetChainId() string + func (m *Payload) GetContractName() string + func (m *Payload) GetExpirationTime() int64 + func (m *Payload) GetLimit() []byte + func (m *Payload) GetMethod() string + func (m *Payload) GetParameters() []*KeyValuePair + func (m *Payload) GetSequence() uint64 + func (m *Payload) GetTimestamp() int64 + func (m *Payload) GetTxId() string + func (m *Payload) GetTxType() TxType + func (m *Payload) Marshal() (dAtA []byte, err error) + func (m *Payload) MarshalTo(dAtA []byte) (int, error) + func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Payload) Reset() + func (m *Payload) Size() (n int) + func (m *Payload) String() string + func (m *Payload) Unmarshal(dAtA []byte) error + func (m *Payload) XXX_DiscardUnknown() + func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Payload) XXX_Merge(src proto.Message) + func (m *Payload) XXX_Size() int + func (m *Payload) XXX_Unmarshal(b []byte) error + type PrivateGetContract struct + ContractCode []byte + GasLimit uint64 + Version string + func (*PrivateGetContract) Descriptor() ([]byte, []int) + func (*PrivateGetContract) ProtoMessage() + func (m *PrivateGetContract) GetContractCode() []byte + func (m *PrivateGetContract) GetGasLimit() uint64 + func (m *PrivateGetContract) GetVersion() string + func (m *PrivateGetContract) Marshal() (dAtA []byte, err error) + func (m *PrivateGetContract) MarshalTo(dAtA []byte) (int, error) + func (m *PrivateGetContract) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PrivateGetContract) Reset() + func (m *PrivateGetContract) Size() (n int) + func (m *PrivateGetContract) String() string + func (m *PrivateGetContract) Unmarshal(dAtA []byte) error + func (m *PrivateGetContract) XXX_DiscardUnknown() + func (m *PrivateGetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PrivateGetContract) XXX_Merge(src proto.Message) + func (m *PrivateGetContract) XXX_Size() int + func (m *PrivateGetContract) XXX_Unmarshal(b []byte) error + type Result struct + Code TxStatusCode + ContractResult *ContractResult + Message string + RwSetHash []byte + func (*Result) Descriptor() ([]byte, []int) + func (*Result) ProtoMessage() + func (m *Result) GetCode() TxStatusCode + func (m *Result) GetContractResult() *ContractResult + func (m *Result) GetMessage() string + func (m *Result) GetRwSetHash() []byte + func (m *Result) Marshal() (dAtA []byte, err error) + func (m *Result) MarshalTo(dAtA []byte) (int, error) + func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Result) Reset() + func (m *Result) Size() (n int) + func (m *Result) String() string + func (m *Result) Unmarshal(dAtA []byte) error + func (m *Result) XXX_DiscardUnknown() + func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Result) XXX_Merge(src proto.Message) + func (m *Result) XXX_Size() int + func (m *Result) XXX_Unmarshal(b []byte) error + type StrSlice struct + StrArr []string + func (*StrSlice) Descriptor() ([]byte, []int) + func (*StrSlice) ProtoMessage() + func (m *StrSlice) GetStrArr() []string + func (m *StrSlice) Marshal() (dAtA []byte, err error) + func (m *StrSlice) MarshalTo(dAtA []byte) (int, error) + func (m *StrSlice) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StrSlice) Reset() + func (m *StrSlice) Size() (n int) + func (m *StrSlice) String() string + func (m *StrSlice) Unmarshal(dAtA []byte) error + func (m *StrSlice) XXX_DiscardUnknown() + func (m *StrSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StrSlice) XXX_Merge(src proto.Message) + func (m *StrSlice) XXX_Size() int + func (m *StrSlice) XXX_Unmarshal(b []byte) error + type SubscribeResult struct + Data []byte + func (*SubscribeResult) Descriptor() ([]byte, []int) + func (*SubscribeResult) ProtoMessage() + func (m *SubscribeResult) GetData() []byte + func (m *SubscribeResult) Marshal() (dAtA []byte, err error) + func (m *SubscribeResult) MarshalTo(dAtA []byte) (int, error) + func (m *SubscribeResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SubscribeResult) Reset() + func (m *SubscribeResult) Size() (n int) + func (m *SubscribeResult) String() string + func (m *SubscribeResult) Unmarshal(dAtA []byte) error + func (m *SubscribeResult) XXX_DiscardUnknown() + func (m *SubscribeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SubscribeResult) XXX_Merge(src proto.Message) + func (m *SubscribeResult) XXX_Size() int + func (m *SubscribeResult) XXX_Unmarshal(b []byte) error + type TxRequest struct + Endorsers []*EndorsementEntry + Payload *Payload + Sender *EndorsementEntry + func (*TxRequest) Descriptor() ([]byte, []int) + func (*TxRequest) ProtoMessage() + func (m *TxRequest) GetEndorsers() []*EndorsementEntry + func (m *TxRequest) GetPayload() *Payload + func (m *TxRequest) GetSender() *EndorsementEntry + func (m *TxRequest) Marshal() (dAtA []byte, err error) + func (m *TxRequest) MarshalTo(dAtA []byte) (int, error) + func (m *TxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxRequest) Reset() + func (m *TxRequest) Size() (n int) + func (m *TxRequest) String() string + func (m *TxRequest) Unmarshal(dAtA []byte) error + func (m *TxRequest) XXX_DiscardUnknown() + func (m *TxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxRequest) XXX_Merge(src proto.Message) + func (m *TxRequest) XXX_Size() int + func (m *TxRequest) XXX_Unmarshal(b []byte) error + type TxResponse struct + Code TxStatusCode + ContractResult *ContractResult + Message string + TxId string + func (*TxResponse) Descriptor() ([]byte, []int) + func (*TxResponse) ProtoMessage() + func (m *TxResponse) GetCode() TxStatusCode + func (m *TxResponse) GetContractResult() *ContractResult + func (m *TxResponse) GetMessage() string + func (m *TxResponse) GetTxId() string + func (m *TxResponse) Marshal() (dAtA []byte, err error) + func (m *TxResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxResponse) Reset() + func (m *TxResponse) Size() (n int) + func (m *TxResponse) String() string + func (m *TxResponse) Unmarshal(dAtA []byte) error + func (m *TxResponse) XXX_DiscardUnknown() + func (m *TxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxResponse) XXX_Merge(src proto.Message) + func (m *TxResponse) XXX_Size() int + func (m *TxResponse) XXX_Unmarshal(b []byte) error + type TxStatusCode int32 + const TxStatusCode_ARCHIVED_BLOCK + const TxStatusCode_ARCHIVED_TX + const TxStatusCode_CONTRACT_BYTE_CODE_NOT_EXIST_FAILED + const TxStatusCode_CONTRACT_FAIL + const TxStatusCode_CONTRACT_FREEZE_FAILED + const TxStatusCode_CONTRACT_INVOKE_METHOD_FAILED + const TxStatusCode_CONTRACT_REVOKE_FAILED + const TxStatusCode_CONTRACT_TOO_DEEP_FAILED + const TxStatusCode_CONTRACT_VERSION_EXIST_FAILED + const TxStatusCode_CONTRACT_VERSION_NOT_EXIST_FAILED + const TxStatusCode_CREATE_RUNTIME_INSTANCE_FAILED + const TxStatusCode_GET_CREATOR_CERT_FAILED + const TxStatusCode_GET_CREATOR_FAILED + const TxStatusCode_GET_CREATOR_PK_FAILED + const TxStatusCode_GET_FROM_TX_CONTEXT_FAILED + const TxStatusCode_GET_SENDER_CERT_FAILED + const TxStatusCode_GET_SENDER_PK_FAILED + const TxStatusCode_INTERNAL_ERROR + const TxStatusCode_INVALID_CONTRACT_PARAMETER_BYTE_CODE + const TxStatusCode_INVALID_CONTRACT_PARAMETER_CONTRACT_NAME + const TxStatusCode_INVALID_CONTRACT_PARAMETER_INIT_METHOD + const TxStatusCode_INVALID_CONTRACT_PARAMETER_METHOD + const TxStatusCode_INVALID_CONTRACT_PARAMETER_RUNTIME_TYPE + const TxStatusCode_INVALID_CONTRACT_PARAMETER_UPGRADE_METHOD + const TxStatusCode_INVALID_CONTRACT_PARAMETER_VERSION + const TxStatusCode_INVALID_CONTRACT_TRANSACTION_TYPE + const TxStatusCode_INVALID_PARAMETER + const TxStatusCode_INVOKE_INIT_METHOD_FAILED + const TxStatusCode_INVOKE_UPGRADE_METHOD_FAILED + const TxStatusCode_MARSHAL_SENDER_FAILED + const TxStatusCode_NO_PERMISSION + const TxStatusCode_PUT_INTO_TX_CONTEXT_FAILED + const TxStatusCode_SUCCESS + const TxStatusCode_TIMEOUT + const TxStatusCode_UNMARSHAL_CREATOR_FAILED + const TxStatusCode_UNMARSHAL_SENDER_FAILED + func (TxStatusCode) EnumDescriptor() ([]byte, []int) + func (x TxStatusCode) String() string + type TxType int32 + const TxType_ARCHIVE + const TxType_INVOKE_CONTRACT + const TxType_QUERY_CONTRACT + const TxType_SUBSCRIBE + func (TxType) EnumDescriptor() ([]byte, []int) + func (x TxType) String() string