cm_pbgo

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMember        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMember          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMember = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRequest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRequest = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthResult        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResult          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupResult = fmt.Errorf("proto: unexpected end of group")
)
View Source
var MemberStatus_name = map[int32]string{
	0: "NORMAL",
	1: "INVALID",
	2: "REVOKED",
	3: "FROZEN",
}
View Source
var MemberStatus_value = map[string]int32{
	"NORMAL":  0,
	"INVALID": 1,
	"REVOKED": 2,
	"FROZEN":  3,
}
View Source
var MemberType_name = map[int32]string{
	0: "CERT",
	1: "CERT_HASH",
	2: "PUBLIC_KEY",
	3: "DID",
	4: "ALIAS",
	5: "ADDR",
}
View Source
var MemberType_value = map[string]int32{
	"CERT":       0,
	"CERT_HASH":  1,
	"PUBLIC_KEY": 2,
	"DID":        3,
	"ALIAS":      4,
	"ADDR":       5,
}
View Source
var TxStatusCode_name = map[int32]string{
	0:  "SUCCESS",
	1:  "TIMEOUT",
	2:  "INVALID_PARAMETER",
	3:  "NO_PERMISSION",
	4:  "CONTRACT_FAIL",
	5:  "INTERNAL_ERROR",
	10: "INVALID_CONTRACT_TRANSACTION_TYPE",
	11: "INVALID_CONTRACT_PARAMETER_CONTRACT_NAME",
	12: "INVALID_CONTRACT_PARAMETER_METHOD",
	13: "INVALID_CONTRACT_PARAMETER_INIT_METHOD",
	14: "INVALID_CONTRACT_PARAMETER_UPGRADE_METHOD",
	15: "INVALID_CONTRACT_PARAMETER_BYTE_CODE",
	16: "INVALID_CONTRACT_PARAMETER_RUNTIME_TYPE",
	17: "INVALID_CONTRACT_PARAMETER_VERSION",
	20: "GET_FROM_TX_CONTEXT_FAILED",
	21: "PUT_INTO_TX_CONTEXT_FAILED",
	22: "CONTRACT_VERSION_EXIST_FAILED",
	23: "CONTRACT_VERSION_NOT_EXIST_FAILED",
	24: "CONTRACT_BYTE_CODE_NOT_EXIST_FAILED",
	25: "MARSHAL_SENDER_FAILED",
	26: "INVOKE_INIT_METHOD_FAILED",
	27: "INVOKE_UPGRADE_METHOD_FAILED",
	28: "CREATE_RUNTIME_INSTANCE_FAILED",
	29: "UNMARSHAL_CREATOR_FAILED",
	30: "UNMARSHAL_SENDER_FAILED",
	31: "GET_SENDER_PK_FAILED",
	32: "GET_CREATOR_PK_FAILED",
	33: "GET_CREATOR_FAILED",
	34: "GET_CREATOR_CERT_FAILED",
	35: "GET_SENDER_CERT_FAILED",
	36: "CONTRACT_FREEZE_FAILED",
	37: "CONTRACT_TOO_DEEP_FAILED",
	38: "CONTRACT_REVOKE_FAILED",
	39: "CONTRACT_INVOKE_METHOD_FAILED",
	40: "ARCHIVED_TX",
	41: "ARCHIVED_BLOCK",
	42: "GAS_BALANCE_NOT_ENOUGH_FAILED",
	43: "GAS_LIMIT_NOT_SET",
	44: "GAS_LIMIT_TOO_SMALL",
	45: "GET_ACCOUNT_BALANCE_FAILED",
	46: "PARSE_ACCOUNT_BALANCE_FAILED",
	47: "GET_ACCOUNT_STATUS_FAILED",
	48: "ACCOUNT_STATUS_FROZEN",
}
View Source
var TxStatusCode_value = map[string]int32{
	"SUCCESS":                           0,
	"TIMEOUT":                           1,
	"INVALID_PARAMETER":                 2,
	"NO_PERMISSION":                     3,
	"CONTRACT_FAIL":                     4,
	"INTERNAL_ERROR":                    5,
	"INVALID_CONTRACT_TRANSACTION_TYPE": 10,
	"INVALID_CONTRACT_PARAMETER_CONTRACT_NAME":  11,
	"INVALID_CONTRACT_PARAMETER_METHOD":         12,
	"INVALID_CONTRACT_PARAMETER_INIT_METHOD":    13,
	"INVALID_CONTRACT_PARAMETER_UPGRADE_METHOD": 14,
	"INVALID_CONTRACT_PARAMETER_BYTE_CODE":      15,
	"INVALID_CONTRACT_PARAMETER_RUNTIME_TYPE":   16,
	"INVALID_CONTRACT_PARAMETER_VERSION":        17,
	"GET_FROM_TX_CONTEXT_FAILED":                20,
	"PUT_INTO_TX_CONTEXT_FAILED":                21,
	"CONTRACT_VERSION_EXIST_FAILED":             22,
	"CONTRACT_VERSION_NOT_EXIST_FAILED":         23,
	"CONTRACT_BYTE_CODE_NOT_EXIST_FAILED":       24,
	"MARSHAL_SENDER_FAILED":                     25,
	"INVOKE_INIT_METHOD_FAILED":                 26,
	"INVOKE_UPGRADE_METHOD_FAILED":              27,
	"CREATE_RUNTIME_INSTANCE_FAILED":            28,
	"UNMARSHAL_CREATOR_FAILED":                  29,
	"UNMARSHAL_SENDER_FAILED":                   30,
	"GET_SENDER_PK_FAILED":                      31,
	"GET_CREATOR_PK_FAILED":                     32,
	"GET_CREATOR_FAILED":                        33,
	"GET_CREATOR_CERT_FAILED":                   34,
	"GET_SENDER_CERT_FAILED":                    35,
	"CONTRACT_FREEZE_FAILED":                    36,
	"CONTRACT_TOO_DEEP_FAILED":                  37,
	"CONTRACT_REVOKE_FAILED":                    38,
	"CONTRACT_INVOKE_METHOD_FAILED":             39,
	"ARCHIVED_TX":                               40,
	"ARCHIVED_BLOCK":                            41,
	"GAS_BALANCE_NOT_ENOUGH_FAILED":             42,
	"GAS_LIMIT_NOT_SET":                         43,
	"GAS_LIMIT_TOO_SMALL":                       44,
	"GET_ACCOUNT_BALANCE_FAILED":                45,
	"PARSE_ACCOUNT_BALANCE_FAILED":              46,
	"GET_ACCOUNT_STATUS_FAILED":                 47,
	"ACCOUNT_STATUS_FROZEN":                     48,
}
View Source
var TxType_name = map[int32]string{
	0: "INVOKE_CONTRACT",
	1: "QUERY_CONTRACT",
	2: "SUBSCRIBE",
	3: "ARCHIVE",
}
View Source
var TxType_value = map[string]int32{
	"INVOKE_CONTRACT": 0,
	"QUERY_CONTRACT":  1,
	"SUBSCRIBE":       2,
	"ARCHIVE":         3,
}
View Source
var VerifyType_name = map[int32]string{
	0: "CRL",
}
View Source
var VerifyType_value = map[string]int32{
	"CRL": 0,
}

Functions

This section is empty.

Types

type AliasCertInfo added in v2.2.1

type AliasCertInfo struct {
	Hash        string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Cert        []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
	BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

cert info

func (*AliasCertInfo) Descriptor added in v2.2.1

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

func (*AliasCertInfo) GetBlockHeight added in v2.2.1

func (m *AliasCertInfo) GetBlockHeight() uint64

func (*AliasCertInfo) GetCert added in v2.2.1

func (m *AliasCertInfo) GetCert() []byte

func (*AliasCertInfo) GetHash added in v2.2.1

func (m *AliasCertInfo) GetHash() string

func (*AliasCertInfo) Marshal added in v2.2.1

func (m *AliasCertInfo) Marshal() (dAtA []byte, err error)

func (*AliasCertInfo) MarshalTo added in v2.2.1

func (m *AliasCertInfo) MarshalTo(dAtA []byte) (int, error)

func (*AliasCertInfo) MarshalToSizedBuffer added in v2.2.1

func (m *AliasCertInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AliasCertInfo) ProtoMessage added in v2.2.1

func (*AliasCertInfo) ProtoMessage()

func (*AliasCertInfo) Reset added in v2.2.1

func (m *AliasCertInfo) Reset()

func (*AliasCertInfo) Size added in v2.2.1

func (m *AliasCertInfo) Size() (n int)

func (*AliasCertInfo) String added in v2.2.1

func (m *AliasCertInfo) String() string

func (*AliasCertInfo) Unmarshal added in v2.2.1

func (m *AliasCertInfo) Unmarshal(dAtA []byte) error

func (*AliasCertInfo) XXX_DiscardUnknown added in v2.2.1

func (m *AliasCertInfo) XXX_DiscardUnknown()

func (*AliasCertInfo) XXX_Marshal added in v2.2.1

func (m *AliasCertInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AliasCertInfo) XXX_Merge added in v2.2.1

func (m *AliasCertInfo) XXX_Merge(src proto.Message)

func (*AliasCertInfo) XXX_Size added in v2.2.1

func (m *AliasCertInfo) XXX_Size() int

func (*AliasCertInfo) XXX_Unmarshal added in v2.2.1

func (m *AliasCertInfo) XXX_Unmarshal(b []byte) error

type AliasInfo added in v2.2.1

type AliasInfo struct {
	Alias    string           `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	NowCert  *AliasCertInfo   `protobuf:"bytes,2,opt,name=now_cert,json=nowCert,proto3" json:"now_cert,omitempty"`
	HisCerts []*AliasCertInfo `protobuf:"bytes,3,rep,name=his_certs,json=hisCerts,proto3" json:"his_certs,omitempty"`
}

alias info

func (*AliasInfo) Descriptor added in v2.2.1

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

func (*AliasInfo) GetAlias added in v2.2.1

func (m *AliasInfo) GetAlias() string

func (*AliasInfo) GetHisCerts added in v2.2.1

func (m *AliasInfo) GetHisCerts() []*AliasCertInfo

func (*AliasInfo) GetNowCert added in v2.2.1

func (m *AliasInfo) GetNowCert() *AliasCertInfo

func (*AliasInfo) Marshal added in v2.2.1

func (m *AliasInfo) Marshal() (dAtA []byte, err error)

func (*AliasInfo) MarshalTo added in v2.2.1

func (m *AliasInfo) MarshalTo(dAtA []byte) (int, error)

func (*AliasInfo) MarshalToSizedBuffer added in v2.2.1

func (m *AliasInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AliasInfo) ProtoMessage added in v2.2.1

func (*AliasInfo) ProtoMessage()

func (*AliasInfo) Reset added in v2.2.1

func (m *AliasInfo) Reset()

func (*AliasInfo) Size added in v2.2.1

func (m *AliasInfo) Size() (n int)

func (*AliasInfo) String added in v2.2.1

func (m *AliasInfo) String() string

func (*AliasInfo) Unmarshal added in v2.2.1

func (m *AliasInfo) Unmarshal(dAtA []byte) error

func (*AliasInfo) XXX_DiscardUnknown added in v2.2.1

func (m *AliasInfo) XXX_DiscardUnknown()

func (*AliasInfo) XXX_Marshal added in v2.2.1

func (m *AliasInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AliasInfo) XXX_Merge added in v2.2.1

func (m *AliasInfo) XXX_Merge(src proto.Message)

func (*AliasInfo) XXX_Size added in v2.2.1

func (m *AliasInfo) XXX_Size() int

func (*AliasInfo) XXX_Unmarshal added in v2.2.1

func (m *AliasInfo) XXX_Unmarshal(b []byte) error

type AliasInfos added in v2.2.1

type AliasInfos struct {
	AliasInfos []*AliasInfo `protobuf:"bytes,1,rep,name=alias_infos,json=aliasInfos,proto3" json:"alias_infos,omitempty"`
}

alias info

func (*AliasInfos) Descriptor added in v2.2.1

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

func (*AliasInfos) GetAliasInfos added in v2.2.1

func (m *AliasInfos) GetAliasInfos() []*AliasInfo

func (*AliasInfos) Marshal added in v2.2.1

func (m *AliasInfos) Marshal() (dAtA []byte, err error)

func (*AliasInfos) MarshalTo added in v2.2.1

func (m *AliasInfos) MarshalTo(dAtA []byte) (int, error)

func (*AliasInfos) MarshalToSizedBuffer added in v2.2.1

func (m *AliasInfos) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AliasInfos) ProtoMessage added in v2.2.1

func (*AliasInfos) ProtoMessage()

func (*AliasInfos) Reset added in v2.2.1

func (m *AliasInfos) Reset()

func (*AliasInfos) Size added in v2.2.1

func (m *AliasInfos) Size() (n int)

func (*AliasInfos) String added in v2.2.1

func (m *AliasInfos) String() string

func (*AliasInfos) Unmarshal added in v2.2.1

func (m *AliasInfos) Unmarshal(dAtA []byte) error

func (*AliasInfos) XXX_DiscardUnknown added in v2.2.1

func (m *AliasInfos) XXX_DiscardUnknown()

func (*AliasInfos) XXX_Marshal added in v2.2.1

func (m *AliasInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AliasInfos) XXX_Merge added in v2.2.1

func (m *AliasInfos) XXX_Merge(src proto.Message)

func (*AliasInfos) XXX_Size added in v2.2.1

func (m *AliasInfos) XXX_Size() int

func (*AliasInfos) XXX_Unmarshal added in v2.2.1

func (m *AliasInfos) XXX_Unmarshal(b []byte) error

type CertInfo

type CertInfo struct {
	// certificate hash
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// certificate contents
	Cert []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
}

certificate information

func (*CertInfo) Descriptor

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

func (*CertInfo) GetCert

func (m *CertInfo) GetCert() []byte

func (*CertInfo) GetHash

func (m *CertInfo) GetHash() string

func (*CertInfo) Marshal

func (m *CertInfo) Marshal() (dAtA []byte, err error)

func (*CertInfo) MarshalTo

func (m *CertInfo) MarshalTo(dAtA []byte) (int, error)

func (*CertInfo) MarshalToSizedBuffer

func (m *CertInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertInfo) ProtoMessage

func (*CertInfo) ProtoMessage()

func (*CertInfo) Reset

func (m *CertInfo) Reset()

func (*CertInfo) Size

func (m *CertInfo) Size() (n int)

func (*CertInfo) String

func (m *CertInfo) String() string

func (*CertInfo) Unmarshal

func (m *CertInfo) Unmarshal(dAtA []byte) error

func (*CertInfo) XXX_DiscardUnknown

func (m *CertInfo) XXX_DiscardUnknown()

func (*CertInfo) XXX_Marshal

func (m *CertInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertInfo) XXX_Merge

func (m *CertInfo) XXX_Merge(src proto.Message)

func (*CertInfo) XXX_Size

func (m *CertInfo) XXX_Size() int

func (*CertInfo) XXX_Unmarshal

func (m *CertInfo) XXX_Unmarshal(b []byte) error

type CertInfos

type CertInfos struct {
	CertInfos []*CertInfo `protobuf:"bytes,1,rep,name=cert_infos,json=certInfos,proto3" json:"cert_infos,omitempty"`
}

certificate collection

func (*CertInfos) Descriptor

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

func (*CertInfos) GetCertInfos

func (m *CertInfos) GetCertInfos() []*CertInfo

func (*CertInfos) Marshal

func (m *CertInfos) Marshal() (dAtA []byte, err error)

func (*CertInfos) MarshalTo

func (m *CertInfos) MarshalTo(dAtA []byte) (int, error)

func (*CertInfos) MarshalToSizedBuffer

func (m *CertInfos) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertInfos) ProtoMessage

func (*CertInfos) ProtoMessage()

func (*CertInfos) Reset

func (m *CertInfos) Reset()

func (*CertInfos) Size

func (m *CertInfos) Size() (n int)

func (*CertInfos) String

func (m *CertInfos) String() string

func (*CertInfos) Unmarshal

func (m *CertInfos) Unmarshal(dAtA []byte) error

func (*CertInfos) XXX_DiscardUnknown

func (m *CertInfos) XXX_DiscardUnknown()

func (*CertInfos) XXX_Marshal

func (m *CertInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertInfos) XXX_Merge

func (m *CertInfos) XXX_Merge(src proto.Message)

func (*CertInfos) XXX_Size

func (m *CertInfos) XXX_Size() int

func (*CertInfos) XXX_Unmarshal

func (m *CertInfos) XXX_Unmarshal(b []byte) error

type ContractEvent

type ContractEvent struct {
	Topic           string   `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	TxId            string   `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	ContractName    string   `protobuf:"bytes,3,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	ContractVersion string   `protobuf:"bytes,4,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	EventData       []string `protobuf:"bytes,5,rep,name=event_data,json=eventData,proto3" json:"event_data,omitempty"`
}

contract event saved in block chain

func (*ContractEvent) Descriptor

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

func (*ContractEvent) GetContractName

func (m *ContractEvent) GetContractName() string

func (*ContractEvent) GetContractVersion

func (m *ContractEvent) GetContractVersion() string

func (*ContractEvent) GetEventData

func (m *ContractEvent) GetEventData() []string

func (*ContractEvent) GetTopic

func (m *ContractEvent) GetTopic() string

func (*ContractEvent) GetTxId

func (m *ContractEvent) GetTxId() string

func (*ContractEvent) Marshal

func (m *ContractEvent) Marshal() (dAtA []byte, err error)

func (*ContractEvent) MarshalTo

func (m *ContractEvent) MarshalTo(dAtA []byte) (int, error)

func (*ContractEvent) MarshalToSizedBuffer

func (m *ContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractEvent) ProtoMessage

func (*ContractEvent) ProtoMessage()

func (*ContractEvent) Reset

func (m *ContractEvent) Reset()

func (*ContractEvent) Size

func (m *ContractEvent) Size() (n int)

func (*ContractEvent) String

func (m *ContractEvent) String() string

func (*ContractEvent) Unmarshal

func (m *ContractEvent) Unmarshal(dAtA []byte) error

func (*ContractEvent) XXX_DiscardUnknown

func (m *ContractEvent) XXX_DiscardUnknown()

func (*ContractEvent) XXX_Marshal

func (m *ContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractEvent) XXX_Merge

func (m *ContractEvent) XXX_Merge(src proto.Message)

func (*ContractEvent) XXX_Size

func (m *ContractEvent) XXX_Size() int

func (*ContractEvent) XXX_Unmarshal

func (m *ContractEvent) XXX_Unmarshal(b []byte) error

type ContractEventInfo

type ContractEventInfo struct {
	BlockHeight     uint64   `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	ChainId         string   `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Topic           string   `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
	TxId            string   `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	EventIndex      uint32   `protobuf:"varint,5,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"`
	ContractName    string   `protobuf:"bytes,6,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	ContractVersion string   `protobuf:"bytes,7,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	EventData       []string `protobuf:"bytes,8,rep,name=event_data,json=eventData,proto3" json:"event_data,omitempty"`
}

contract event published to user

func (*ContractEventInfo) Descriptor

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

func (*ContractEventInfo) GetBlockHeight

func (m *ContractEventInfo) GetBlockHeight() uint64

func (*ContractEventInfo) GetChainId

func (m *ContractEventInfo) GetChainId() string

func (*ContractEventInfo) GetContractName

func (m *ContractEventInfo) GetContractName() string

func (*ContractEventInfo) GetContractVersion

func (m *ContractEventInfo) GetContractVersion() string

func (*ContractEventInfo) GetEventData

func (m *ContractEventInfo) GetEventData() []string

func (*ContractEventInfo) GetEventIndex

func (m *ContractEventInfo) GetEventIndex() uint32

func (*ContractEventInfo) GetTopic

func (m *ContractEventInfo) GetTopic() string

func (*ContractEventInfo) GetTxId

func (m *ContractEventInfo) GetTxId() string

func (*ContractEventInfo) Marshal

func (m *ContractEventInfo) Marshal() (dAtA []byte, err error)

func (*ContractEventInfo) MarshalTo

func (m *ContractEventInfo) MarshalTo(dAtA []byte) (int, error)

func (*ContractEventInfo) MarshalToSizedBuffer

func (m *ContractEventInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractEventInfo) ProtoMessage

func (*ContractEventInfo) ProtoMessage()

func (*ContractEventInfo) Reset

func (m *ContractEventInfo) Reset()

func (*ContractEventInfo) Size

func (m *ContractEventInfo) Size() (n int)

func (*ContractEventInfo) String

func (m *ContractEventInfo) String() string

func (*ContractEventInfo) Unmarshal

func (m *ContractEventInfo) Unmarshal(dAtA []byte) error

func (*ContractEventInfo) XXX_DiscardUnknown

func (m *ContractEventInfo) XXX_DiscardUnknown()

func (*ContractEventInfo) XXX_Marshal

func (m *ContractEventInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractEventInfo) XXX_Merge

func (m *ContractEventInfo) XXX_Merge(src proto.Message)

func (*ContractEventInfo) XXX_Size

func (m *ContractEventInfo) XXX_Size() int

func (*ContractEventInfo) XXX_Unmarshal

func (m *ContractEventInfo) XXX_Unmarshal(b []byte) error

type ContractEventInfoList

type ContractEventInfoList struct {
	ContractEvents []*ContractEventInfo `protobuf:"bytes,1,rep,name=contract_events,json=contractEvents,proto3" json:"contract_events,omitempty"`
}

contract event published to user

func (*ContractEventInfoList) Descriptor

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

func (*ContractEventInfoList) GetContractEvents

func (m *ContractEventInfoList) GetContractEvents() []*ContractEventInfo

func (*ContractEventInfoList) Marshal

func (m *ContractEventInfoList) Marshal() (dAtA []byte, err error)

func (*ContractEventInfoList) MarshalTo

func (m *ContractEventInfoList) MarshalTo(dAtA []byte) (int, error)

func (*ContractEventInfoList) MarshalToSizedBuffer

func (m *ContractEventInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractEventInfoList) ProtoMessage

func (*ContractEventInfoList) ProtoMessage()

func (*ContractEventInfoList) Reset

func (m *ContractEventInfoList) Reset()

func (*ContractEventInfoList) Size

func (m *ContractEventInfoList) Size() (n int)

func (*ContractEventInfoList) String

func (m *ContractEventInfoList) String() string

func (*ContractEventInfoList) Unmarshal

func (m *ContractEventInfoList) Unmarshal(dAtA []byte) error

func (*ContractEventInfoList) XXX_DiscardUnknown

func (m *ContractEventInfoList) XXX_DiscardUnknown()

func (*ContractEventInfoList) XXX_Marshal

func (m *ContractEventInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractEventInfoList) XXX_Merge

func (m *ContractEventInfoList) XXX_Merge(src proto.Message)

func (*ContractEventInfoList) XXX_Size

func (m *ContractEventInfoList) XXX_Size() int

func (*ContractEventInfoList) XXX_Unmarshal

func (m *ContractEventInfoList) XXX_Unmarshal(b []byte) error

type ContractResult

type ContractResult struct {
	// user contract defined return code, 0-ok, >0 user define error code. for example, insufficient balance in token transfer
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// user contract defined result
	Result []byte `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// user contract defined result message
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// gas used by current contract(include contract call)
	GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	// contract events
	ContractEvent []*ContractEvent `protobuf:"bytes,5,rep,name=contract_event,json=contractEvent,proto3" json:"contract_event,omitempty"`
}

invoke user contract method return UserContractReturnPayload Unmarshal from TransactResult.TxResponse.payload

func (*ContractResult) Descriptor

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

func (*ContractResult) GetCode

func (m *ContractResult) GetCode() uint32

func (*ContractResult) GetContractEvent

func (m *ContractResult) GetContractEvent() []*ContractEvent

func (*ContractResult) GetGasUsed

func (m *ContractResult) GetGasUsed() uint64

func (*ContractResult) GetMessage

func (m *ContractResult) GetMessage() string

func (*ContractResult) GetResult

func (m *ContractResult) GetResult() []byte

func (*ContractResult) Marshal

func (m *ContractResult) Marshal() (dAtA []byte, err error)

func (*ContractResult) MarshalTo

func (m *ContractResult) MarshalTo(dAtA []byte) (int, error)

func (*ContractResult) MarshalToSizedBuffer

func (m *ContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractResult) ProtoMessage

func (*ContractResult) ProtoMessage()

func (*ContractResult) Reset

func (m *ContractResult) Reset()

func (*ContractResult) Size

func (m *ContractResult) Size() (n int)

func (*ContractResult) String

func (m *ContractResult) String() string

func (*ContractResult) Unmarshal

func (m *ContractResult) Unmarshal(dAtA []byte) error

func (*ContractResult) XXX_DiscardUnknown

func (m *ContractResult) XXX_DiscardUnknown()

func (*ContractResult) XXX_Marshal

func (m *ContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractResult) XXX_Merge

func (m *ContractResult) XXX_Merge(src proto.Message)

func (*ContractResult) XXX_Size

func (m *ContractResult) XXX_Size() int

func (*ContractResult) XXX_Unmarshal

func (m *ContractResult) XXX_Unmarshal(b []byte) error

type EndorsementEntry

type EndorsementEntry struct {
	// signer
	Signer *Member `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// signature
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

endorsement info, including a signer and his signature

func (*EndorsementEntry) Descriptor

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

func (*EndorsementEntry) GetSignature

func (m *EndorsementEntry) GetSignature() []byte

func (*EndorsementEntry) GetSigner

func (m *EndorsementEntry) GetSigner() *Member

func (*EndorsementEntry) Marshal

func (m *EndorsementEntry) Marshal() (dAtA []byte, err error)

func (*EndorsementEntry) MarshalTo

func (m *EndorsementEntry) MarshalTo(dAtA []byte) (int, error)

func (*EndorsementEntry) MarshalToSizedBuffer

func (m *EndorsementEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndorsementEntry) ProtoMessage

func (*EndorsementEntry) ProtoMessage()

func (*EndorsementEntry) Reset

func (m *EndorsementEntry) Reset()

func (*EndorsementEntry) Size

func (m *EndorsementEntry) Size() (n int)

func (*EndorsementEntry) String

func (m *EndorsementEntry) String() string

func (*EndorsementEntry) Unmarshal

func (m *EndorsementEntry) Unmarshal(dAtA []byte) error

func (*EndorsementEntry) XXX_DiscardUnknown

func (m *EndorsementEntry) XXX_DiscardUnknown()

func (*EndorsementEntry) XXX_Marshal

func (m *EndorsementEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndorsementEntry) XXX_Merge

func (m *EndorsementEntry) XXX_Merge(src proto.Message)

func (*EndorsementEntry) XXX_Size

func (m *EndorsementEntry) XXX_Size() int

func (*EndorsementEntry) XXX_Unmarshal

func (m *EndorsementEntry) XXX_Unmarshal(b []byte) error

type KeyValuePair

type KeyValuePair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

a k-v pair

func (*KeyValuePair) Descriptor

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

func (*KeyValuePair) GetKey

func (m *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (m *KeyValuePair) GetValue() []byte

func (*KeyValuePair) Marshal

func (m *KeyValuePair) Marshal() (dAtA []byte, err error)

func (*KeyValuePair) MarshalTo

func (m *KeyValuePair) MarshalTo(dAtA []byte) (int, error)

func (*KeyValuePair) MarshalToSizedBuffer

func (m *KeyValuePair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) Reset

func (m *KeyValuePair) Reset()

func (*KeyValuePair) Size

func (m *KeyValuePair) Size() (n int)

func (*KeyValuePair) String

func (m *KeyValuePair) String() string

func (*KeyValuePair) Unmarshal

func (m *KeyValuePair) Unmarshal(dAtA []byte) error

func (*KeyValuePair) XXX_DiscardUnknown

func (m *KeyValuePair) XXX_DiscardUnknown()

func (*KeyValuePair) XXX_Marshal

func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValuePair) XXX_Merge

func (m *KeyValuePair) XXX_Merge(src proto.Message)

func (*KeyValuePair) XXX_Size

func (m *KeyValuePair) XXX_Size() int

func (*KeyValuePair) XXX_Unmarshal

func (m *KeyValuePair) XXX_Unmarshal(b []byte) error

type Limit added in v2.2.1

type Limit struct {
	// gas limit
	GasLimit uint64 `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
}

Limit defines transaction limitation, Limit as a message for easy expansion

func (*Limit) Descriptor added in v2.2.1

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

func (*Limit) GetGasLimit added in v2.2.1

func (m *Limit) GetGasLimit() uint64

func (*Limit) Marshal added in v2.2.1

func (m *Limit) Marshal() (dAtA []byte, err error)

func (*Limit) MarshalTo added in v2.2.1

func (m *Limit) MarshalTo(dAtA []byte) (int, error)

func (*Limit) MarshalToSizedBuffer added in v2.2.1

func (m *Limit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Limit) ProtoMessage added in v2.2.1

func (*Limit) ProtoMessage()

func (*Limit) Reset added in v2.2.1

func (m *Limit) Reset()

func (*Limit) Size added in v2.2.1

func (m *Limit) Size() (n int)

func (*Limit) String added in v2.2.1

func (m *Limit) String() string

func (*Limit) Unmarshal added in v2.2.1

func (m *Limit) Unmarshal(dAtA []byte) error

func (*Limit) XXX_DiscardUnknown added in v2.2.1

func (m *Limit) XXX_DiscardUnknown()

func (*Limit) XXX_Marshal added in v2.2.1

func (m *Limit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Limit) XXX_Merge added in v2.2.1

func (m *Limit) XXX_Merge(src proto.Message)

func (*Limit) XXX_Size added in v2.2.1

func (m *Limit) XXX_Size() int

func (*Limit) XXX_Unmarshal added in v2.2.1

func (m *Limit) XXX_Unmarshal(b []byte) error

type Member

type Member struct {
	// organization identifier of the member
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// member type
	MemberType MemberType `protobuf:"varint,2,opt,name=member_type,json=memberType,proto3,enum=cm_pb.MemberType" json:"member_type,omitempty"`
	// member identity related info bytes
	MemberInfo []byte `protobuf:"bytes,3,opt,name=member_info,json=memberInfo,proto3" json:"member_info,omitempty"`
}

member of blockchain

func (*Member) Descriptor

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

func (*Member) GetMemberInfo

func (m *Member) GetMemberInfo() []byte

func (*Member) GetMemberType

func (m *Member) GetMemberType() MemberType

func (*Member) GetOrgId

func (m *Member) GetOrgId() string

func (*Member) Marshal

func (m *Member) Marshal() (dAtA []byte, err error)

func (*Member) MarshalTo

func (m *Member) MarshalTo(dAtA []byte) (int, error)

func (*Member) MarshalToSizedBuffer

func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) Size

func (m *Member) Size() (n int)

func (*Member) String

func (m *Member) String() string

func (*Member) Unmarshal

func (m *Member) Unmarshal(dAtA []byte) error

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

type MemberAndExtraData added in v2.2.1

type MemberAndExtraData struct {
	Member    *Member          `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	ExtraData *MemberExtraData `protobuf:"bytes,2,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
}

func (*MemberAndExtraData) Descriptor added in v2.2.1

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

func (*MemberAndExtraData) GetExtraData added in v2.2.1

func (m *MemberAndExtraData) GetExtraData() *MemberExtraData

func (*MemberAndExtraData) GetMember added in v2.2.1

func (m *MemberAndExtraData) GetMember() *Member

func (*MemberAndExtraData) Marshal added in v2.2.1

func (m *MemberAndExtraData) Marshal() (dAtA []byte, err error)

func (*MemberAndExtraData) MarshalTo added in v2.2.1

func (m *MemberAndExtraData) MarshalTo(dAtA []byte) (int, error)

func (*MemberAndExtraData) MarshalToSizedBuffer added in v2.2.1

func (m *MemberAndExtraData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemberAndExtraData) ProtoMessage added in v2.2.1

func (*MemberAndExtraData) ProtoMessage()

func (*MemberAndExtraData) Reset added in v2.2.1

func (m *MemberAndExtraData) Reset()

func (*MemberAndExtraData) Size added in v2.2.1

func (m *MemberAndExtraData) Size() (n int)

func (*MemberAndExtraData) String added in v2.2.1

func (m *MemberAndExtraData) String() string

func (*MemberAndExtraData) Unmarshal added in v2.2.1

func (m *MemberAndExtraData) Unmarshal(dAtA []byte) error

func (*MemberAndExtraData) XXX_DiscardUnknown added in v2.2.1

func (m *MemberAndExtraData) XXX_DiscardUnknown()

func (*MemberAndExtraData) XXX_Marshal added in v2.2.1

func (m *MemberAndExtraData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberAndExtraData) XXX_Merge added in v2.2.1

func (m *MemberAndExtraData) XXX_Merge(src proto.Message)

func (*MemberAndExtraData) XXX_Size added in v2.2.1

func (m *MemberAndExtraData) XXX_Size() int

func (*MemberAndExtraData) XXX_Unmarshal added in v2.2.1

func (m *MemberAndExtraData) XXX_Unmarshal(b []byte) error

type MemberExtraData added in v2.2.1

type MemberExtraData struct {
	// sequence, like ethereum account nonce, by default is 0
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

member extra data

func (*MemberExtraData) Descriptor added in v2.2.1

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

func (*MemberExtraData) GetSequence added in v2.2.1

func (m *MemberExtraData) GetSequence() uint64

func (*MemberExtraData) Marshal added in v2.2.1

func (m *MemberExtraData) Marshal() (dAtA []byte, err error)

func (*MemberExtraData) MarshalTo added in v2.2.1

func (m *MemberExtraData) MarshalTo(dAtA []byte) (int, error)

func (*MemberExtraData) MarshalToSizedBuffer added in v2.2.1

func (m *MemberExtraData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemberExtraData) ProtoMessage added in v2.2.1

func (*MemberExtraData) ProtoMessage()

func (*MemberExtraData) Reset added in v2.2.1

func (m *MemberExtraData) Reset()

func (*MemberExtraData) Size added in v2.2.1

func (m *MemberExtraData) Size() (n int)

func (*MemberExtraData) String added in v2.2.1

func (m *MemberExtraData) String() string

func (*MemberExtraData) Unmarshal added in v2.2.1

func (m *MemberExtraData) Unmarshal(dAtA []byte) error

func (*MemberExtraData) XXX_DiscardUnknown added in v2.2.1

func (m *MemberExtraData) XXX_DiscardUnknown()

func (*MemberExtraData) XXX_Marshal added in v2.2.1

func (m *MemberExtraData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberExtraData) XXX_Merge added in v2.2.1

func (m *MemberExtraData) XXX_Merge(src proto.Message)

func (*MemberExtraData) XXX_Size added in v2.2.1

func (m *MemberExtraData) XXX_Size() int

func (*MemberExtraData) XXX_Unmarshal added in v2.2.1

func (m *MemberExtraData) XXX_Unmarshal(b []byte) error

type MemberFull added in v2.2.1

type MemberFull struct {
	// organization identifier of the member
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// member type
	MemberType MemberType `protobuf:"varint,2,opt,name=member_type,json=memberType,proto3,enum=cm_pb.MemberType" json:"member_type,omitempty"`
	// member identity related info bytes
	MemberInfo []byte `protobuf:"bytes,3,opt,name=member_info,json=memberInfo,proto3" json:"member_info,omitempty"`
	// the identity of this member (non-uniqueness)
	MemberId string `protobuf:"bytes,4,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// role of this member
	Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
	// the identity of this member (unique)
	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
}

full attribute member of blockchain

func (*MemberFull) Descriptor added in v2.2.1

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

func (*MemberFull) GetMemberId added in v2.2.1

func (m *MemberFull) GetMemberId() string

func (*MemberFull) GetMemberInfo added in v2.2.1

func (m *MemberFull) GetMemberInfo() []byte

func (*MemberFull) GetMemberType added in v2.2.1

func (m *MemberFull) GetMemberType() MemberType

func (*MemberFull) GetOrgId added in v2.2.1

func (m *MemberFull) GetOrgId() string

func (*MemberFull) GetRole added in v2.2.1

func (m *MemberFull) GetRole() string

func (*MemberFull) GetUid added in v2.2.1

func (m *MemberFull) GetUid() string

func (*MemberFull) Marshal added in v2.2.1

func (m *MemberFull) Marshal() (dAtA []byte, err error)

func (*MemberFull) MarshalTo added in v2.2.1

func (m *MemberFull) MarshalTo(dAtA []byte) (int, error)

func (*MemberFull) MarshalToSizedBuffer added in v2.2.1

func (m *MemberFull) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemberFull) ProtoMessage added in v2.2.1

func (*MemberFull) ProtoMessage()

func (*MemberFull) Reset added in v2.2.1

func (m *MemberFull) Reset()

func (*MemberFull) Size added in v2.2.1

func (m *MemberFull) Size() (n int)

func (*MemberFull) String added in v2.2.1

func (m *MemberFull) String() string

func (*MemberFull) Unmarshal added in v2.2.1

func (m *MemberFull) Unmarshal(dAtA []byte) error

func (*MemberFull) XXX_DiscardUnknown added in v2.2.1

func (m *MemberFull) XXX_DiscardUnknown()

func (*MemberFull) XXX_Marshal added in v2.2.1

func (m *MemberFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberFull) XXX_Merge added in v2.2.1

func (m *MemberFull) XXX_Merge(src proto.Message)

func (*MemberFull) XXX_Size added in v2.2.1

func (m *MemberFull) XXX_Size() int

func (*MemberFull) XXX_Unmarshal added in v2.2.1

func (m *MemberFull) XXX_Unmarshal(b []byte) error

type MemberStatus added in v2.2.1

type MemberStatus int32

member status

const (
	//member's status is normal
	MemberStatus_NORMAL MemberStatus = 0
	//member's status is invalid
	MemberStatus_INVALID MemberStatus = 1
	//member's status is revoked
	MemberStatus_REVOKED MemberStatus = 2
	//member's status is frozen
	MemberStatus_FROZEN MemberStatus = 3
)

func (MemberStatus) EnumDescriptor added in v2.2.1

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

func (MemberStatus) String added in v2.2.1

func (x MemberStatus) String() string

type MemberType

type MemberType int32
const (
	//X509 cert
	MemberType_CERT MemberType = 0
	//cert hash
	MemberType_CERT_HASH MemberType = 1
	//public key
	MemberType_PUBLIC_KEY MemberType = 2
	//did
	MemberType_DID MemberType = 3
	//alias
	MemberType_ALIAS MemberType = 4
	//address
	MemberType_ADDR MemberType = 5
)

func (MemberType) EnumDescriptor

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

func (MemberType) String

func (x MemberType) String() string

type PKInfo added in v2.2.1

type PKInfo struct {
	// the der of the public key
	PkBytes []byte `protobuf:"bytes,1,opt,name=pk_bytes,json=pkBytes,proto3" json:"pk_bytes,omitempty"`
	// member role
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// member's org_id
	OrgId string `protobuf:"bytes,3,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

public key member's info

func (*PKInfo) Descriptor added in v2.2.1

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

func (*PKInfo) GetOrgId added in v2.2.1

func (m *PKInfo) GetOrgId() string

func (*PKInfo) GetPkBytes added in v2.2.1

func (m *PKInfo) GetPkBytes() []byte

func (*PKInfo) GetRole added in v2.2.1

func (m *PKInfo) GetRole() string

func (*PKInfo) Marshal added in v2.2.1

func (m *PKInfo) Marshal() (dAtA []byte, err error)

func (*PKInfo) MarshalTo added in v2.2.1

func (m *PKInfo) MarshalTo(dAtA []byte) (int, error)

func (*PKInfo) MarshalToSizedBuffer added in v2.2.1

func (m *PKInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PKInfo) ProtoMessage added in v2.2.1

func (*PKInfo) ProtoMessage()

func (*PKInfo) Reset added in v2.2.1

func (m *PKInfo) Reset()

func (*PKInfo) Size added in v2.2.1

func (m *PKInfo) Size() (n int)

func (*PKInfo) String added in v2.2.1

func (m *PKInfo) String() string

func (*PKInfo) Unmarshal added in v2.2.1

func (m *PKInfo) Unmarshal(dAtA []byte) error

func (*PKInfo) XXX_DiscardUnknown added in v2.2.1

func (m *PKInfo) XXX_DiscardUnknown()

func (*PKInfo) XXX_Marshal added in v2.2.1

func (m *PKInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PKInfo) XXX_Merge added in v2.2.1

func (m *PKInfo) XXX_Merge(src proto.Message)

func (*PKInfo) XXX_Size added in v2.2.1

func (m *PKInfo) XXX_Size() int

func (*PKInfo) XXX_Unmarshal added in v2.2.1

func (m *PKInfo) XXX_Unmarshal(b []byte) error

type Payload

type Payload struct {
	// blockchain identifier
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// transaction type
	TxType TxType `protobuf:"varint,2,opt,name=tx_type,json=txType,proto3,enum=cm_pb.TxType" json:"tx_type,omitempty"`
	// transaction id set by sender, should be unique
	TxId string `protobuf:"bytes,3,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// transaction timestamp, in unix timestamp format, seconds
	Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// expiration timestamp in unix timestamp format
	// after that the transaction is invalid if it is not included in block yet
	ExpirationTime int64 `protobuf:"varint,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// smart contract name
	ContractName string `protobuf:"bytes,6,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	// invoke method
	Method string `protobuf:"bytes,7,opt,name=method,proto3" json:"method,omitempty"`
	// invoke parameters in k-v format
	Parameters []*KeyValuePair `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// sequence number, default is 0
	Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// transaction limitation
	Limit *Limit `protobuf:"bytes,10,opt,name=limit,proto3" json:"limit,omitempty"`
}

transaction payload

func (*Payload) Descriptor

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

func (*Payload) GetChainId

func (m *Payload) GetChainId() string

func (*Payload) GetContractName

func (m *Payload) GetContractName() string

func (*Payload) GetExpirationTime

func (m *Payload) GetExpirationTime() int64

func (*Payload) GetLimit

func (m *Payload) GetLimit() *Limit

func (*Payload) GetMethod

func (m *Payload) GetMethod() string

func (*Payload) GetParameters

func (m *Payload) GetParameters() []*KeyValuePair

func (*Payload) GetSequence

func (m *Payload) GetSequence() uint64

func (*Payload) GetTimestamp

func (m *Payload) GetTimestamp() int64

func (*Payload) GetTxId

func (m *Payload) GetTxId() string

func (*Payload) GetTxType

func (m *Payload) GetTxType() TxType

func (*Payload) Marshal

func (m *Payload) Marshal() (dAtA []byte, err error)

func (*Payload) MarshalTo

func (m *Payload) MarshalTo(dAtA []byte) (int, error)

func (*Payload) MarshalToSizedBuffer

func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) Size

func (m *Payload) Size() (n int)

func (*Payload) String

func (m *Payload) String() string

func (*Payload) Unmarshal

func (m *Payload) Unmarshal(dAtA []byte) error

func (*Payload) XXX_DiscardUnknown

func (m *Payload) XXX_DiscardUnknown()

func (*Payload) XXX_Marshal

func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payload) XXX_Merge

func (m *Payload) XXX_Merge(src proto.Message)

func (*Payload) XXX_Size

func (m *Payload) XXX_Size() int

func (*Payload) XXX_Unmarshal

func (m *Payload) XXX_Unmarshal(b []byte) error

type PrivateGetContract

type PrivateGetContract struct {
	ContractCode []byte `protobuf:"bytes,1,opt,name=contract_code,json=contractCode,proto3" json:"contract_code,omitempty"`
	Version      string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	GasLimit     uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
}

func (*PrivateGetContract) Descriptor

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

func (*PrivateGetContract) GetContractCode

func (m *PrivateGetContract) GetContractCode() []byte

func (*PrivateGetContract) GetGasLimit

func (m *PrivateGetContract) GetGasLimit() uint64

func (*PrivateGetContract) GetVersion

func (m *PrivateGetContract) GetVersion() string

func (*PrivateGetContract) Marshal

func (m *PrivateGetContract) Marshal() (dAtA []byte, err error)

func (*PrivateGetContract) MarshalTo

func (m *PrivateGetContract) MarshalTo(dAtA []byte) (int, error)

func (*PrivateGetContract) MarshalToSizedBuffer

func (m *PrivateGetContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateGetContract) ProtoMessage

func (*PrivateGetContract) ProtoMessage()

func (*PrivateGetContract) Reset

func (m *PrivateGetContract) Reset()

func (*PrivateGetContract) Size

func (m *PrivateGetContract) Size() (n int)

func (*PrivateGetContract) String

func (m *PrivateGetContract) String() string

func (*PrivateGetContract) Unmarshal

func (m *PrivateGetContract) Unmarshal(dAtA []byte) error

func (*PrivateGetContract) XXX_DiscardUnknown

func (m *PrivateGetContract) XXX_DiscardUnknown()

func (*PrivateGetContract) XXX_Marshal

func (m *PrivateGetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateGetContract) XXX_Merge

func (m *PrivateGetContract) XXX_Merge(src proto.Message)

func (*PrivateGetContract) XXX_Size

func (m *PrivateGetContract) XXX_Size() int

func (*PrivateGetContract) XXX_Unmarshal

func (m *PrivateGetContract) XXX_Unmarshal(b []byte) error

type RawTxRequest added in v2.3.0

type RawTxRequest struct {
	RawTx []byte `protobuf:"bytes,1,opt,name=rawTx,proto3" json:"rawTx,omitempty"`
}

func (*RawTxRequest) Descriptor added in v2.3.0

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

func (*RawTxRequest) GetRawTx added in v2.3.0

func (m *RawTxRequest) GetRawTx() []byte

func (*RawTxRequest) Marshal added in v2.3.0

func (m *RawTxRequest) Marshal() (dAtA []byte, err error)

func (*RawTxRequest) MarshalTo added in v2.3.0

func (m *RawTxRequest) MarshalTo(dAtA []byte) (int, error)

func (*RawTxRequest) MarshalToSizedBuffer added in v2.3.0

func (m *RawTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RawTxRequest) ProtoMessage added in v2.3.0

func (*RawTxRequest) ProtoMessage()

func (*RawTxRequest) Reset added in v2.3.0

func (m *RawTxRequest) Reset()

func (*RawTxRequest) Size added in v2.3.0

func (m *RawTxRequest) Size() (n int)

func (*RawTxRequest) String added in v2.3.0

func (m *RawTxRequest) String() string

func (*RawTxRequest) Unmarshal added in v2.3.0

func (m *RawTxRequest) Unmarshal(dAtA []byte) error

func (*RawTxRequest) XXX_DiscardUnknown added in v2.3.0

func (m *RawTxRequest) XXX_DiscardUnknown()

func (*RawTxRequest) XXX_Marshal added in v2.3.0

func (m *RawTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawTxRequest) XXX_Merge added in v2.3.0

func (m *RawTxRequest) XXX_Merge(src proto.Message)

func (*RawTxRequest) XXX_Size added in v2.3.0

func (m *RawTxRequest) XXX_Size() int

func (*RawTxRequest) XXX_Unmarshal added in v2.3.0

func (m *RawTxRequest) XXX_Unmarshal(b []byte) error

type Result

type Result struct {
	// response code
	Code TxStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=cm_pb.TxStatusCode" json:"code,omitempty"`
	// returned data, set in smart contract
	ContractResult *ContractResult `protobuf:"bytes,2,opt,name=contract_result,json=contractResult,proto3" json:"contract_result,omitempty"`
	// hash of the transaction's read-write set
	RwSetHash []byte `protobuf:"bytes,3,opt,name=rw_set_hash,json=rwSetHash,proto3" json:"rw_set_hash,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
}

tx result, part of a transaction in block

func (*Result) Descriptor

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

func (*Result) GetCode

func (m *Result) GetCode() TxStatusCode

func (*Result) GetContractResult

func (m *Result) GetContractResult() *ContractResult

func (*Result) GetMessage

func (m *Result) GetMessage() string

func (*Result) GetRwSetHash

func (m *Result) GetRwSetHash() []byte

func (*Result) Marshal

func (m *Result) Marshal() (dAtA []byte, err error)

func (*Result) MarshalTo

func (m *Result) MarshalTo(dAtA []byte) (int, error)

func (*Result) MarshalToSizedBuffer

func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) Size

func (m *Result) Size() (n int)

func (*Result) String

func (m *Result) String() string

func (*Result) Unmarshal

func (m *Result) Unmarshal(dAtA []byte) error

func (*Result) XXX_DiscardUnknown

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal

func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result) XXX_Merge

func (m *Result) XXX_Merge(src proto.Message)

func (*Result) XXX_Size

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal

func (m *Result) XXX_Unmarshal(b []byte) error

type StrSlice

type StrSlice struct {
	StrArr []string `protobuf:"bytes,1,rep,name=str_arr,json=strArr,proto3" json:"str_arr,omitempty"`
}

func (*StrSlice) Descriptor

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

func (*StrSlice) GetStrArr

func (m *StrSlice) GetStrArr() []string

func (*StrSlice) Marshal

func (m *StrSlice) Marshal() (dAtA []byte, err error)

func (*StrSlice) MarshalTo

func (m *StrSlice) MarshalTo(dAtA []byte) (int, error)

func (*StrSlice) MarshalToSizedBuffer

func (m *StrSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StrSlice) ProtoMessage

func (*StrSlice) ProtoMessage()

func (*StrSlice) Reset

func (m *StrSlice) Reset()

func (*StrSlice) Size

func (m *StrSlice) Size() (n int)

func (*StrSlice) String

func (m *StrSlice) String() string

func (*StrSlice) Unmarshal

func (m *StrSlice) Unmarshal(dAtA []byte) error

func (*StrSlice) XXX_DiscardUnknown

func (m *StrSlice) XXX_DiscardUnknown()

func (*StrSlice) XXX_Marshal

func (m *StrSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StrSlice) XXX_Merge

func (m *StrSlice) XXX_Merge(src proto.Message)

func (*StrSlice) XXX_Size

func (m *StrSlice) XXX_Size() int

func (*StrSlice) XXX_Unmarshal

func (m *StrSlice) XXX_Unmarshal(b []byte) error

type SubscribeResult

type SubscribeResult struct {
	// when TxType == SUBSCRIBE_BLOCK_INFO, data type is pb.BlockInfo;
	// when TxType == SUBSCRIBE_TX_INFO,data type is pb.Transaction.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*SubscribeResult) Descriptor

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

func (*SubscribeResult) GetData

func (m *SubscribeResult) GetData() []byte

func (*SubscribeResult) Marshal

func (m *SubscribeResult) Marshal() (dAtA []byte, err error)

func (*SubscribeResult) MarshalTo

func (m *SubscribeResult) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeResult) MarshalToSizedBuffer

func (m *SubscribeResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscribeResult) ProtoMessage

func (*SubscribeResult) ProtoMessage()

func (*SubscribeResult) Reset

func (m *SubscribeResult) Reset()

func (*SubscribeResult) Size

func (m *SubscribeResult) Size() (n int)

func (*SubscribeResult) String

func (m *SubscribeResult) String() string

func (*SubscribeResult) Unmarshal

func (m *SubscribeResult) Unmarshal(dAtA []byte) error

func (*SubscribeResult) XXX_DiscardUnknown

func (m *SubscribeResult) XXX_DiscardUnknown()

func (*SubscribeResult) XXX_Marshal

func (m *SubscribeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeResult) XXX_Merge

func (m *SubscribeResult) XXX_Merge(src proto.Message)

func (*SubscribeResult) XXX_Size

func (m *SubscribeResult) XXX_Size() int

func (*SubscribeResult) XXX_Unmarshal

func (m *SubscribeResult) XXX_Unmarshal(b []byte) error

type TxRequest

type TxRequest struct {
	// payload
	Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// sender account and sender's signature
	Sender *EndorsementEntry `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// endorsers account and signatures
	Endorsers []*EndorsementEntry `protobuf:"bytes,3,rep,name=endorsers,proto3" json:"endorsers,omitempty"`
	// payer account and signature
	Payer *EndorsementEntry `protobuf:"bytes,4,opt,name=payer,proto3" json:"payer,omitempty"`
}

transaction request proposed by user

func (*TxRequest) Descriptor

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

func (*TxRequest) GetEndorsers

func (m *TxRequest) GetEndorsers() []*EndorsementEntry

func (*TxRequest) GetPayer added in v2.3.2

func (m *TxRequest) GetPayer() *EndorsementEntry

func (*TxRequest) GetPayload

func (m *TxRequest) GetPayload() *Payload

func (*TxRequest) GetSender

func (m *TxRequest) GetSender() *EndorsementEntry

func (*TxRequest) Marshal

func (m *TxRequest) Marshal() (dAtA []byte, err error)

func (*TxRequest) MarshalTo

func (m *TxRequest) MarshalTo(dAtA []byte) (int, error)

func (*TxRequest) MarshalToSizedBuffer

func (m *TxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxRequest) ProtoMessage

func (*TxRequest) ProtoMessage()

func (*TxRequest) Reset

func (m *TxRequest) Reset()

func (*TxRequest) Size

func (m *TxRequest) Size() (n int)

func (*TxRequest) String

func (m *TxRequest) String() string

func (*TxRequest) Unmarshal

func (m *TxRequest) Unmarshal(dAtA []byte) error

func (*TxRequest) XXX_DiscardUnknown

func (m *TxRequest) XXX_DiscardUnknown()

func (*TxRequest) XXX_Marshal

func (m *TxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxRequest) XXX_Merge

func (m *TxRequest) XXX_Merge(src proto.Message)

func (*TxRequest) XXX_Size

func (m *TxRequest) XXX_Size() int

func (*TxRequest) XXX_Unmarshal

func (m *TxRequest) XXX_Unmarshal(b []byte) error

type TxResponse

type TxResponse struct {
	// response code
	Code TxStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=cm_pb.TxStatusCode" json:"code,omitempty"`
	// response message
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// returned data, set in smart contract
	ContractResult *ContractResult `protobuf:"bytes,3,opt,name=contract_result,json=contractResult,proto3" json:"contract_result,omitempty"`
	// tx id of request
	TxId string `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// async tx mode: tx timestamp is zero
	// sync tx mode: tx timestamp is TxRequest.Payload.Timestamp
	TxTimestamp int64 `protobuf:"varint,5,opt,name=tx_timestamp,json=txTimestamp,proto3" json:"tx_timestamp,omitempty"`
	// async tx mode: tx block height is zero
	// sync tx mode: tx block height is the height of block which this tx was packaged
	TxBlockHeight uint64 `protobuf:"varint,6,opt,name=tx_block_height,json=txBlockHeight,proto3" json:"tx_block_height,omitempty"`
}

tx request - tx response, only for RPC response

func (*TxResponse) Descriptor

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

func (*TxResponse) GetCode

func (m *TxResponse) GetCode() TxStatusCode

func (*TxResponse) GetContractResult

func (m *TxResponse) GetContractResult() *ContractResult

func (*TxResponse) GetMessage

func (m *TxResponse) GetMessage() string

func (*TxResponse) GetTxBlockHeight added in v2.3.0

func (m *TxResponse) GetTxBlockHeight() uint64

func (*TxResponse) GetTxId

func (m *TxResponse) GetTxId() string

func (*TxResponse) GetTxTimestamp added in v2.3.0

func (m *TxResponse) GetTxTimestamp() int64

func (*TxResponse) Marshal

func (m *TxResponse) Marshal() (dAtA []byte, err error)

func (*TxResponse) MarshalTo

func (m *TxResponse) MarshalTo(dAtA []byte) (int, error)

func (*TxResponse) MarshalToSizedBuffer

func (m *TxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxResponse) ProtoMessage

func (*TxResponse) ProtoMessage()

func (*TxResponse) Reset

func (m *TxResponse) Reset()

func (*TxResponse) Size

func (m *TxResponse) Size() (n int)

func (*TxResponse) String

func (m *TxResponse) String() string

func (*TxResponse) Unmarshal

func (m *TxResponse) Unmarshal(dAtA []byte) error

func (*TxResponse) XXX_DiscardUnknown

func (m *TxResponse) XXX_DiscardUnknown()

func (*TxResponse) XXX_Marshal

func (m *TxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxResponse) XXX_Merge

func (m *TxResponse) XXX_Merge(src proto.Message)

func (*TxResponse) XXX_Size

func (m *TxResponse) XXX_Size() int

func (*TxResponse) XXX_Unmarshal

func (m *TxResponse) XXX_Unmarshal(b []byte) error

type TxStatusCode

type TxStatusCode int32

TxStatusCode describes the tx status in tx result

const (
	TxStatusCode_SUCCESS                                   TxStatusCode = 0
	TxStatusCode_TIMEOUT                                   TxStatusCode = 1
	TxStatusCode_INVALID_PARAMETER                         TxStatusCode = 2
	TxStatusCode_NO_PERMISSION                             TxStatusCode = 3
	TxStatusCode_CONTRACT_FAIL                             TxStatusCode = 4
	TxStatusCode_INTERNAL_ERROR                            TxStatusCode = 5
	TxStatusCode_INVALID_CONTRACT_TRANSACTION_TYPE         TxStatusCode = 10
	TxStatusCode_INVALID_CONTRACT_PARAMETER_CONTRACT_NAME  TxStatusCode = 11
	TxStatusCode_INVALID_CONTRACT_PARAMETER_METHOD         TxStatusCode = 12
	TxStatusCode_INVALID_CONTRACT_PARAMETER_INIT_METHOD    TxStatusCode = 13
	TxStatusCode_INVALID_CONTRACT_PARAMETER_UPGRADE_METHOD TxStatusCode = 14
	TxStatusCode_INVALID_CONTRACT_PARAMETER_BYTE_CODE      TxStatusCode = 15
	TxStatusCode_INVALID_CONTRACT_PARAMETER_RUNTIME_TYPE   TxStatusCode = 16
	TxStatusCode_INVALID_CONTRACT_PARAMETER_VERSION        TxStatusCode = 17
	TxStatusCode_GET_FROM_TX_CONTEXT_FAILED                TxStatusCode = 20
	TxStatusCode_PUT_INTO_TX_CONTEXT_FAILED                TxStatusCode = 21
	TxStatusCode_CONTRACT_VERSION_EXIST_FAILED             TxStatusCode = 22
	TxStatusCode_CONTRACT_VERSION_NOT_EXIST_FAILED         TxStatusCode = 23
	TxStatusCode_CONTRACT_BYTE_CODE_NOT_EXIST_FAILED       TxStatusCode = 24
	TxStatusCode_MARSHAL_SENDER_FAILED                     TxStatusCode = 25
	TxStatusCode_INVOKE_INIT_METHOD_FAILED                 TxStatusCode = 26
	TxStatusCode_INVOKE_UPGRADE_METHOD_FAILED              TxStatusCode = 27
	TxStatusCode_CREATE_RUNTIME_INSTANCE_FAILED            TxStatusCode = 28
	TxStatusCode_UNMARSHAL_CREATOR_FAILED                  TxStatusCode = 29
	TxStatusCode_UNMARSHAL_SENDER_FAILED                   TxStatusCode = 30
	TxStatusCode_GET_SENDER_PK_FAILED                      TxStatusCode = 31
	TxStatusCode_GET_CREATOR_PK_FAILED                     TxStatusCode = 32
	TxStatusCode_GET_CREATOR_FAILED                        TxStatusCode = 33
	TxStatusCode_GET_CREATOR_CERT_FAILED                   TxStatusCode = 34
	TxStatusCode_GET_SENDER_CERT_FAILED                    TxStatusCode = 35
	TxStatusCode_CONTRACT_FREEZE_FAILED                    TxStatusCode = 36
	TxStatusCode_CONTRACT_TOO_DEEP_FAILED                  TxStatusCode = 37
	TxStatusCode_CONTRACT_REVOKE_FAILED                    TxStatusCode = 38
	TxStatusCode_CONTRACT_INVOKE_METHOD_FAILED             TxStatusCode = 39
	TxStatusCode_ARCHIVED_TX                               TxStatusCode = 40
	TxStatusCode_ARCHIVED_BLOCK                            TxStatusCode = 41
	TxStatusCode_GAS_BALANCE_NOT_ENOUGH_FAILED             TxStatusCode = 42
	TxStatusCode_GAS_LIMIT_NOT_SET                         TxStatusCode = 43
	TxStatusCode_GAS_LIMIT_TOO_SMALL                       TxStatusCode = 44
	// add for optimized charging gas return message
	TxStatusCode_GET_ACCOUNT_BALANCE_FAILED   TxStatusCode = 45
	TxStatusCode_PARSE_ACCOUNT_BALANCE_FAILED TxStatusCode = 46
	TxStatusCode_GET_ACCOUNT_STATUS_FAILED    TxStatusCode = 47
	TxStatusCode_ACCOUNT_STATUS_FROZEN        TxStatusCode = 48
)

func (TxStatusCode) EnumDescriptor

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

func (TxStatusCode) String

func (x TxStatusCode) String() string

type TxType

type TxType int32

transaction type definition

const (
	// call a pre created contract, tx included in block
	TxType_INVOKE_CONTRACT TxType = 0
	// query a pre-created  contract, tx not included in block
	TxType_QUERY_CONTRACT TxType = 1
	// subscribe block info,tx info and contract info. tx not included in block
	TxType_SUBSCRIBE TxType = 2
	// archive/restore block, tx not included in block
	TxType_ARCHIVE TxType = 3
)

func (TxType) EnumDescriptor

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

func (TxType) String

func (x TxType) String() string

type VerifyType added in v2.2.1

type VerifyType int32

verify the member's relevant identity material type

const (
	//CRL
	VerifyType_CRL VerifyType = 0
)

func (VerifyType) EnumDescriptor added in v2.2.1

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

func (VerifyType) String added in v2.2.1

func (x VerifyType) String() string

Jump to

Keyboard shortcuts

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