proto

package
v0.0.0-...-60962e5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Limit_name = map[int32]string{
		0:   "UNKNOWN",
		100: "SIGNATURE",
	}
	Limit_value = map[string]int32{
		"UNKNOWN":   0,
		"SIGNATURE": 100,
	}
)

Enum value maps for Limit.

View Source
var (
	ControlledArea_TRUST_FLAG_name = map[int32]string{
		0: "UNCERT",
		1: "TRUSTED",
		2: "UNTRUSTED",
	}
	ControlledArea_TRUST_FLAG_value = map[string]int32{
		"UNCERT":    0,
		"TRUSTED":   1,
		"UNTRUSTED": 2,
	}
)

Enum value maps for ControlledArea_TRUST_FLAG.

View Source
var (
	ControlledArea_STATUS_FALG_name = map[int32]string{
		0: "ENABLED",
		1: "DISABLED",
	}
	ControlledArea_STATUS_FALG_value = map[string]int32{
		"ENABLED":  0,
		"DISABLED": 1,
	}
)

Enum value maps for ControlledArea_STATUS_FALG.

View Source
var (
	Operation_Type_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "CREATE_ACCOUNT",
		4:  "SET_METADATA",
		5:  "SET_SIGNER_WEIGHT",
		6:  "SET_THRESHOLD",
		7:  "PAY_COIN",
		8:  "LOG",
		9:  "SET_PRIVILEGE",
		10: "UPGRADE_CONTRACT",
		11: "SET_CONTROLLED_AREA",
		12: "CREATE_PRIVATE_CONTRACT",
		13: "CALL_PRIVATE_CONTRACT",
	}
	Operation_Type_value = map[string]int32{
		"UNKNOWN":                 0,
		"CREATE_ACCOUNT":          1,
		"SET_METADATA":            4,
		"SET_SIGNER_WEIGHT":       5,
		"SET_THRESHOLD":           6,
		"PAY_COIN":                7,
		"LOG":                     8,
		"SET_PRIVILEGE":           9,
		"UPGRADE_CONTRACT":        10,
		"SET_CONTROLLED_AREA":     11,
		"CREATE_PRIVATE_CONTRACT": 12,
		"CALL_PRIVATE_CONTRACT":   13,
	}
)

Enum value maps for Operation_Type.

View Source
var (
	Transaction_Limit_name = map[int32]string{
		0:    "UNKNOWN",
		1000: "OPERATIONS",
	}
	Transaction_Limit_value = map[string]int32{
		"UNKNOWN":    0,
		"OPERATIONS": 1000,
	}
)

Enum value maps for Transaction_Limit.

View Source
var (
	Signer_Limit_name = map[int32]string{
		0:   "SIGNER_NONE",
		100: "SIGNER",
	}
	Signer_Limit_value = map[string]int32{
		"SIGNER_NONE": 0,
		"SIGNER":      100,
	}
)

Enum value maps for Signer_Limit.

View Source
var (
	Trigger_TransactionType_name = map[int32]string{
		0: "NORMAL_TRANSACTION",
		1: "CONTRACT_TRANSACTION",
	}
	Trigger_TransactionType_value = map[string]int32{
		"NORMAL_TRANSACTION":   0,
		"CONTRACT_TRANSACTION": 1,
	}
)

Enum value maps for Trigger_TransactionType.

View Source
var (
	Contract_ContractType_name = map[int32]string{
		0: "JAVASCRIPT",
		1: "EVM",
		2: "SYSTEM",
	}
	Contract_ContractType_value = map[string]int32{
		"JAVASCRIPT": 0,
		"EVM":        1,
		"SYSTEM":     2,
	}
)

Enum value maps for Contract_ContractType.

View Source
var (
	ERRORCODE_name = map[int32]string{
		0:   "ERRCODE_SUCCESS",
		1:   "ERRCODE_INTERNAL_ERROR",
		2:   "ERRCODE_INVALID_PARAMETER",
		3:   "ERRCODE_ALREADY_EXIST",
		4:   "ERRCODE_NOT_EXIST",
		5:   "ERRCODE_TX_TIMEOUT",
		6:   "ERRCODE_ACCESS_DENIED",
		7:   "ERRCODE_MATH_OVERFLOW",
		20:  "ERRCODE_EXPR_CONDITION_RESULT_FALSE",
		21:  "ERRCODE_EXPR_CONDITION_SYNTAX_ERROR",
		90:  "ERRCODE_INVALID_PUBKEY",
		91:  "ERRCODE_INVALID_PRIKEY",
		92:  "ERRCODE_ASSET_INVALID",
		93:  "ERRCODE_INVALID_SIGNATURE",
		94:  "ERRCODE_INVALID_ADDRESS",
		97:  "ERRCODE_MISSING_OPERATIONS",
		98:  "ERRCODE_TOO_MANY_OPERATIONS",
		99:  "ERRCODE_BAD_SEQUENCE",
		100: "ERRCODE_ACCOUNT_LOW_RESERVE",
		101: "ERRCODE_ACCOUNT_SOURCEDEST_EQUAL",
		102: "ERRCODE_ACCOUNT_DEST_EXIST",
		103: "ERRCODE_ACCOUNT_NOT_EXIST",
		104: "ERRCODE_ACCOUNT_ASSET_LOW_RESERVE",
		105: "ERRCODE_ACCOUNT_ASSET_AMOUNT_TOO_LARGE",
		106: "ERRCODE_ACCOUNT_INIT_LOW_RESERVE",
		111: "ERRCODE_FEE_NOT_ENOUGH",
		112: "ERRCODE_FEE_INVALID",
		114: "ERRCODE_OUT_OF_TXCACHE",
		120: "ERRCODE_WEIGHT_NOT_VALID",
		121: "ERRCODE_THRESHOLD_NOT_VALID",
		144: "ERRCODE_INVALID_DATAVERSION",
		146: "ERRCODE_TX_SIZE_TOO_BIG",
		151: "ERRCODE_CONTRACT_EXECUTE_FAIL",
		152: "ERRCODE_CONTRACT_SYNTAX_ERROR",
		153: "ERRCODE_CONTRACT_TOO_MANY_RECURSION",
		154: "ERRCODE_CONTRACT_TOO_MANY_TRANSACTIONS",
		155: "ERRCODE_CONTRACT_EXECUTE_EXPIRED",
		156: "ERRCODE_INVALID_CONTRACT",
		157: "ERRCODE_INVALID_CONTRACTVERSION",
		160: "ERRCODE_TX_INSERT_QUEUE_FAIL",
	}
	ERRORCODE_value = map[string]int32{
		"ERRCODE_SUCCESS":                        0,
		"ERRCODE_INTERNAL_ERROR":                 1,
		"ERRCODE_INVALID_PARAMETER":              2,
		"ERRCODE_ALREADY_EXIST":                  3,
		"ERRCODE_NOT_EXIST":                      4,
		"ERRCODE_TX_TIMEOUT":                     5,
		"ERRCODE_ACCESS_DENIED":                  6,
		"ERRCODE_MATH_OVERFLOW":                  7,
		"ERRCODE_EXPR_CONDITION_RESULT_FALSE":    20,
		"ERRCODE_EXPR_CONDITION_SYNTAX_ERROR":    21,
		"ERRCODE_INVALID_PUBKEY":                 90,
		"ERRCODE_INVALID_PRIKEY":                 91,
		"ERRCODE_ASSET_INVALID":                  92,
		"ERRCODE_INVALID_SIGNATURE":              93,
		"ERRCODE_INVALID_ADDRESS":                94,
		"ERRCODE_MISSING_OPERATIONS":             97,
		"ERRCODE_TOO_MANY_OPERATIONS":            98,
		"ERRCODE_BAD_SEQUENCE":                   99,
		"ERRCODE_ACCOUNT_LOW_RESERVE":            100,
		"ERRCODE_ACCOUNT_SOURCEDEST_EQUAL":       101,
		"ERRCODE_ACCOUNT_DEST_EXIST":             102,
		"ERRCODE_ACCOUNT_NOT_EXIST":              103,
		"ERRCODE_ACCOUNT_ASSET_LOW_RESERVE":      104,
		"ERRCODE_ACCOUNT_ASSET_AMOUNT_TOO_LARGE": 105,
		"ERRCODE_ACCOUNT_INIT_LOW_RESERVE":       106,
		"ERRCODE_FEE_NOT_ENOUGH":                 111,
		"ERRCODE_FEE_INVALID":                    112,
		"ERRCODE_OUT_OF_TXCACHE":                 114,
		"ERRCODE_WEIGHT_NOT_VALID":               120,
		"ERRCODE_THRESHOLD_NOT_VALID":            121,
		"ERRCODE_INVALID_DATAVERSION":            144,
		"ERRCODE_TX_SIZE_TOO_BIG":                146,
		"ERRCODE_CONTRACT_EXECUTE_FAIL":          151,
		"ERRCODE_CONTRACT_SYNTAX_ERROR":          152,
		"ERRCODE_CONTRACT_TOO_MANY_RECURSION":    153,
		"ERRCODE_CONTRACT_TOO_MANY_TRANSACTIONS": 154,
		"ERRCODE_CONTRACT_EXECUTE_EXPIRED":       155,
		"ERRCODE_INVALID_CONTRACT":               156,
		"ERRCODE_INVALID_CONTRACTVERSION":        157,
		"ERRCODE_TX_INSERT_QUEUE_FAIL":           160,
	}
)

Enum value maps for ERRORCODE.

View Source
var (
	OVERLAY_MESSAGE_TYPE_name = map[int32]string{
		0: "OVERLAY_MSGTYPE_NONE",
		1: "OVERLAY_MSGTYPE_PING",
		2: "OVERLAY_MSGTYPE_HELLO",
		3: "OVERLAY_MSGTYPE_PEERS",
		4: "OVERLAY_MSGTYPE_TRANSACTION",
		5: "OVERLAY_MSGTYPE_LEDGERS",
		6: "OVERLAY_MSGTYPE_PBFT",
		7: "OVERLAY_MSGTYPE_LEDGER_UPGRADE_NOTIFY",
	}
	OVERLAY_MESSAGE_TYPE_value = map[string]int32{
		"OVERLAY_MSGTYPE_NONE":                  0,
		"OVERLAY_MSGTYPE_PING":                  1,
		"OVERLAY_MSGTYPE_HELLO":                 2,
		"OVERLAY_MSGTYPE_PEERS":                 3,
		"OVERLAY_MSGTYPE_TRANSACTION":           4,
		"OVERLAY_MSGTYPE_LEDGERS":               5,
		"OVERLAY_MSGTYPE_PBFT":                  6,
		"OVERLAY_MSGTYPE_LEDGER_UPGRADE_NOTIFY": 7,
	}
)

Enum value maps for OVERLAY_MESSAGE_TYPE.

View Source
var (
	ChainMessageType_name = map[int32]string{
		0:  "CHAIN_TYPE_NONE",
		10: "CHAIN_HELLO",
		11: "CHAIN_TX_STATUS",
		12: "CHAIN_PEER_ONLINE",
		13: "CHAIN_PEER_OFFLINE",
		14: "CHAIN_PEER_MESSAGE",
		15: "CHAIN_SUBMITTRANSACTION",
		16: "CHAIN_LEDGER_HEADER",
		17: "CHAIN_CONTRACT_LOG",
		18: "CHAIN_LEDGER_TXS",
		19: "CHAIN_SUBSCRIBE_TX",
		20: "CHAIN_TX_ENV_STORE",
	}
	ChainMessageType_value = map[string]int32{
		"CHAIN_TYPE_NONE":         0,
		"CHAIN_HELLO":             10,
		"CHAIN_TX_STATUS":         11,
		"CHAIN_PEER_ONLINE":       12,
		"CHAIN_PEER_OFFLINE":      13,
		"CHAIN_PEER_MESSAGE":      14,
		"CHAIN_SUBMITTRANSACTION": 15,
		"CHAIN_LEDGER_HEADER":     16,
		"CHAIN_CONTRACT_LOG":      17,
		"CHAIN_LEDGER_TXS":        18,
		"CHAIN_SUBSCRIBE_TX":      19,
		"CHAIN_TX_ENV_STORE":      20,
	}
)

Enum value maps for ChainMessageType.

View Source
var (
	Ledgers_SyncCode_name = map[int32]string{
		0: "OK",
		1: "OUT_OF_SYNC",
		2: "OUT_OF_LEDGERS",
		3: "BUSY",
		4: "REFUSE",
		5: "INTERNAL",
	}
	Ledgers_SyncCode_value = map[string]int32{
		"OK":             0,
		"OUT_OF_SYNC":    1,
		"OUT_OF_LEDGERS": 2,
		"BUSY":           3,
		"REFUSE":         4,
		"INTERNAL":       5,
	}
)

Enum value maps for Ledgers_SyncCode.

View Source
var (
	ChainTxStatus_TxStatus_name = map[int32]string{
		0: "UNDEFINED",
		1: "CONFIRMED",
		2: "PENDING",
		3: "COMPLETE",
		4: "FAILURE",
		5: "APPLY_FAILURE",
	}
	ChainTxStatus_TxStatus_value = map[string]int32{
		"UNDEFINED":     0,
		"CONFIRMED":     1,
		"PENDING":       2,
		"COMPLETE":      3,
		"FAILURE":       4,
		"APPLY_FAILURE": 5,
	}
)

Enum value maps for ChainTxStatus_TxStatus.

View Source
var File_chain_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_overlay_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	Address        string            `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Nonce          int64             `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` //Last transaction seq
	Priv           *AccountPrivilege `protobuf:"bytes,3,opt,name=priv,proto3" json:"priv,omitempty"`
	MetadatasHash  []byte            `protobuf:"bytes,4,opt,name=metadatas_hash,json=metadatasHash,proto3" json:"metadatas_hash,omitempty"` //metadatas_hash = merklehash(metadatas);
	AssetsHash     []byte            `protobuf:"bytes,5,opt,name=assets_hash,json=assetsHash,proto3" json:"assets_hash,omitempty"`          //assets_hash = merkelhash(assets)
	Contract       *Contract         `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
	Balance        int64             `protobuf:"varint,7,opt,name=balance,proto3" json:"balance,omitempty"`
	ControlledArea *ControlledArea   `protobuf:"bytes,8,opt,name=controlled_area,json=controlledArea,proto3" json:"controlled_area,omitempty"`
	PublicKey      string            `protobuf:"bytes,9,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAddress

func (x *Account) GetAddress() string

func (*Account) GetAssetsHash

func (x *Account) GetAssetsHash() []byte

func (*Account) GetBalance

func (x *Account) GetBalance() int64

func (*Account) GetContract

func (x *Account) GetContract() *Contract

func (*Account) GetControlledArea

func (x *Account) GetControlledArea() *ControlledArea

func (*Account) GetMetadatasHash

func (x *Account) GetMetadatasHash() []byte

func (*Account) GetNonce

func (x *Account) GetNonce() int64

func (*Account) GetPriv

func (x *Account) GetPriv() *AccountPrivilege

func (*Account) GetPublicKey

func (x *Account) GetPublicKey() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountPrivilege

type AccountPrivilege struct {
	MasterWeight int64             `protobuf:"varint,1,opt,name=master_weight,json=masterWeight,proto3" json:"master_weight,omitempty"`
	Signers      []*Signer         `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	Thresholds   *AccountThreshold `protobuf:"bytes,3,opt,name=thresholds,proto3" json:"thresholds,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountPrivilege) Descriptor deprecated

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

Deprecated: Use AccountPrivilege.ProtoReflect.Descriptor instead.

func (*AccountPrivilege) GetMasterWeight

func (x *AccountPrivilege) GetMasterWeight() int64

func (*AccountPrivilege) GetSigners

func (x *AccountPrivilege) GetSigners() []*Signer

func (*AccountPrivilege) GetThresholds

func (x *AccountPrivilege) GetThresholds() *AccountThreshold

func (*AccountPrivilege) ProtoMessage

func (*AccountPrivilege) ProtoMessage()

func (*AccountPrivilege) ProtoReflect

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

func (*AccountPrivilege) Reset

func (x *AccountPrivilege) Reset()

func (*AccountPrivilege) String

func (x *AccountPrivilege) String() string

type AccountThreshold

type AccountThreshold struct {
	TxThreshold    int64                     `protobuf:"varint,1,opt,name=tx_threshold,json=txThreshold,proto3" json:"tx_threshold,omitempty"` //required, [-1,MAX(INT64)] -1: indicates no setting
	TypeThresholds []*OperationTypeThreshold `protobuf:"bytes,2,rep,name=type_thresholds,json=typeThresholds,proto3" json:"type_thresholds,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountThreshold) Descriptor deprecated

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

Deprecated: Use AccountThreshold.ProtoReflect.Descriptor instead.

func (*AccountThreshold) GetTxThreshold

func (x *AccountThreshold) GetTxThreshold() int64

func (*AccountThreshold) GetTypeThresholds

func (x *AccountThreshold) GetTypeThresholds() []*OperationTypeThreshold

func (*AccountThreshold) ProtoMessage

func (*AccountThreshold) ProtoMessage()

func (*AccountThreshold) ProtoReflect

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

func (*AccountThreshold) Reset

func (x *AccountThreshold) Reset()

func (*AccountThreshold) String

func (x *AccountThreshold) String() string

type ChainContractLog

type ChainContractLog struct {
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Data      string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Timestamp int64  `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainContractLog) Descriptor deprecated

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

Deprecated: Use ChainContractLog.ProtoReflect.Descriptor instead.

func (*ChainContractLog) GetData

func (x *ChainContractLog) GetData() string

func (*ChainContractLog) GetSender

func (x *ChainContractLog) GetSender() string

func (*ChainContractLog) GetTimestamp

func (x *ChainContractLog) GetTimestamp() int64

func (*ChainContractLog) ProtoMessage

func (*ChainContractLog) ProtoMessage()

func (*ChainContractLog) ProtoReflect

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

func (*ChainContractLog) Reset

func (x *ChainContractLog) Reset()

func (*ChainContractLog) String

func (x *ChainContractLog) String() string

type ChainHello

type ChainHello struct {
	ApiList   []ChainMessageType `protobuf:"varint,1,rep,packed,name=api_list,json=apiList,proto3,enum=protocol.ChainMessageType" json:"api_list,omitempty"` //By default, enable all apis
	Timestamp int64              `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Register notification events

func (*ChainHello) Descriptor deprecated

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

Deprecated: Use ChainHello.ProtoReflect.Descriptor instead.

func (*ChainHello) GetApiList

func (x *ChainHello) GetApiList() []ChainMessageType

func (*ChainHello) GetTimestamp

func (x *ChainHello) GetTimestamp() int64

func (*ChainHello) ProtoMessage

func (*ChainHello) ProtoMessage()

func (*ChainHello) ProtoReflect

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

func (*ChainHello) Reset

func (x *ChainHello) Reset()

func (*ChainHello) String

func (x *ChainHello) String() string

type ChainMessageType

type ChainMessageType int32

message interfaces for java

const (
	ChainMessageType_CHAIN_TYPE_NONE         ChainMessageType = 0
	ChainMessageType_CHAIN_HELLO             ChainMessageType = 10 // response with CHAIN_STATUS = 2;
	ChainMessageType_CHAIN_TX_STATUS         ChainMessageType = 11
	ChainMessageType_CHAIN_PEER_ONLINE       ChainMessageType = 12
	ChainMessageType_CHAIN_PEER_OFFLINE      ChainMessageType = 13
	ChainMessageType_CHAIN_PEER_MESSAGE      ChainMessageType = 14
	ChainMessageType_CHAIN_SUBMITTRANSACTION ChainMessageType = 15
	ChainMessageType_CHAIN_LEDGER_HEADER     ChainMessageType = 16 //bifchain notifies the client ledger(protocol::LedgerHeader) when closed
	ChainMessageType_CHAIN_CONTRACT_LOG      ChainMessageType = 17 // smart contract log
	ChainMessageType_CHAIN_LEDGER_TXS        ChainMessageType = 18
	ChainMessageType_CHAIN_SUBSCRIBE_TX      ChainMessageType = 19 //response with CHAIN_RESPONSE
	ChainMessageType_CHAIN_TX_ENV_STORE      ChainMessageType = 20
)

func (ChainMessageType) Descriptor

func (ChainMessageType) Enum

func (ChainMessageType) EnumDescriptor deprecated

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

Deprecated: Use ChainMessageType.Descriptor instead.

func (ChainMessageType) Number

func (ChainMessageType) String

func (x ChainMessageType) String() string

func (ChainMessageType) Type

type ChainPeerMessage

type ChainPeerMessage struct {
	SrcPeerAddr  string   `protobuf:"bytes,1,opt,name=src_peer_addr,json=srcPeerAddr,proto3" json:"src_peer_addr,omitempty"`
	DesPeerAddrs []string `protobuf:"bytes,2,rep,name=des_peer_addrs,json=desPeerAddrs,proto3" json:"des_peer_addrs,omitempty"`
	Data         []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainPeerMessage) Descriptor deprecated

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

Deprecated: Use ChainPeerMessage.ProtoReflect.Descriptor instead.

func (*ChainPeerMessage) GetData

func (x *ChainPeerMessage) GetData() []byte

func (*ChainPeerMessage) GetDesPeerAddrs

func (x *ChainPeerMessage) GetDesPeerAddrs() []string

func (*ChainPeerMessage) GetSrcPeerAddr

func (x *ChainPeerMessage) GetSrcPeerAddr() string

func (*ChainPeerMessage) ProtoMessage

func (*ChainPeerMessage) ProtoMessage()

func (*ChainPeerMessage) ProtoReflect

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

func (*ChainPeerMessage) Reset

func (x *ChainPeerMessage) Reset()

func (*ChainPeerMessage) String

func (x *ChainPeerMessage) String() string

type ChainResponse

type ChainResponse struct {
	ErrorCode int32  `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	ErrorDesc string `protobuf:"bytes,2,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainResponse) Descriptor deprecated

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

Deprecated: Use ChainResponse.ProtoReflect.Descriptor instead.

func (*ChainResponse) GetErrorCode

func (x *ChainResponse) GetErrorCode() int32

func (*ChainResponse) GetErrorDesc

func (x *ChainResponse) GetErrorDesc() string

func (*ChainResponse) ProtoMessage

func (*ChainResponse) ProtoMessage()

func (*ChainResponse) ProtoReflect

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

func (*ChainResponse) Reset

func (x *ChainResponse) Reset()

func (*ChainResponse) String

func (x *ChainResponse) String() string

type ChainStatus

type ChainStatus struct {
	SelfAddr       string `protobuf:"bytes,1,opt,name=self_addr,json=selfAddr,proto3" json:"self_addr,omitempty"`
	LedgerVersion  int64  `protobuf:"varint,2,opt,name=ledger_version,json=ledgerVersion,proto3" json:"ledger_version,omitempty"`
	MonitorVersion int64  `protobuf:"varint,3,opt,name=monitor_version,json=monitorVersion,proto3" json:"monitor_version,omitempty"`
	ChainVersion   string `protobuf:"bytes,4,opt,name=chain_version,json=chainVersion,proto3" json:"chain_version,omitempty"`
	Timestamp      int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NetworkId      int64  `protobuf:"varint,6,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	ChainCode      string `protobuf:"bytes,7,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
	AddressPrefix  string `protobuf:"bytes,8,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	// contains filtered or unexported fields
}

1.ChainHello response 2.async notification from local

func (*ChainStatus) Descriptor deprecated

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

Deprecated: Use ChainStatus.ProtoReflect.Descriptor instead.

func (*ChainStatus) GetAddressPrefix

func (x *ChainStatus) GetAddressPrefix() string

func (*ChainStatus) GetChainCode

func (x *ChainStatus) GetChainCode() string

func (*ChainStatus) GetChainVersion

func (x *ChainStatus) GetChainVersion() string

func (*ChainStatus) GetLedgerVersion

func (x *ChainStatus) GetLedgerVersion() int64

func (*ChainStatus) GetMonitorVersion

func (x *ChainStatus) GetMonitorVersion() int64

func (*ChainStatus) GetNetworkId

func (x *ChainStatus) GetNetworkId() int64

func (*ChainStatus) GetSelfAddr

func (x *ChainStatus) GetSelfAddr() string

func (*ChainStatus) GetTimestamp

func (x *ChainStatus) GetTimestamp() int64

func (*ChainStatus) ProtoMessage

func (*ChainStatus) ProtoMessage()

func (*ChainStatus) ProtoReflect

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

func (*ChainStatus) Reset

func (x *ChainStatus) Reset()

func (*ChainStatus) String

func (x *ChainStatus) String() string

type ChainSubscribeTx

type ChainSubscribeTx struct {
	Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainSubscribeTx) Descriptor deprecated

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

Deprecated: Use ChainSubscribeTx.ProtoReflect.Descriptor instead.

func (*ChainSubscribeTx) GetAddress

func (x *ChainSubscribeTx) GetAddress() []string

func (*ChainSubscribeTx) ProtoMessage

func (*ChainSubscribeTx) ProtoMessage()

func (*ChainSubscribeTx) ProtoReflect

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

func (*ChainSubscribeTx) Reset

func (x *ChainSubscribeTx) Reset()

func (*ChainSubscribeTx) String

func (x *ChainSubscribeTx) String() string

type ChainTxStatus

type ChainTxStatus struct {
	Status           ChainTxStatus_TxStatus `protobuf:"varint,1,opt,name=status,proto3,enum=protocol.ChainTxStatus_TxStatus" json:"status,omitempty"`
	TxHash           string                 `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	SourceAddress    string                 `protobuf:"bytes,3,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	SourceAccountSeq int64                  `protobuf:"varint,4,opt,name=source_account_seq,json=sourceAccountSeq,proto3" json:"source_account_seq,omitempty"`
	LedgerSeq        int64                  `protobuf:"varint,5,opt,name=ledger_seq,json=ledgerSeq,proto3" json:"ledger_seq,omitempty"`                         //on which block this tx records
	NewAccountSeq    int64                  `protobuf:"varint,6,opt,name=new_account_seq,json=newAccountSeq,proto3" json:"new_account_seq,omitempty"`           //new account sequence if COMPLETE
	ErrorCode        ERRORCODE              `protobuf:"varint,7,opt,name=error_code,json=errorCode,proto3,enum=protocol.ERRORCODE" json:"error_code,omitempty"` //use it if FAIL
	ErrorDesc        string                 `protobuf:"bytes,8,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`                          //error desc
	Timestamp        int64                  `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainTxStatus) Descriptor deprecated

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

Deprecated: Use ChainTxStatus.ProtoReflect.Descriptor instead.

func (*ChainTxStatus) GetErrorCode

func (x *ChainTxStatus) GetErrorCode() ERRORCODE

func (*ChainTxStatus) GetErrorDesc

func (x *ChainTxStatus) GetErrorDesc() string

func (*ChainTxStatus) GetLedgerSeq

func (x *ChainTxStatus) GetLedgerSeq() int64

func (*ChainTxStatus) GetNewAccountSeq

func (x *ChainTxStatus) GetNewAccountSeq() int64

func (*ChainTxStatus) GetSourceAccountSeq

func (x *ChainTxStatus) GetSourceAccountSeq() int64

func (*ChainTxStatus) GetSourceAddress

func (x *ChainTxStatus) GetSourceAddress() string

func (*ChainTxStatus) GetStatus

func (x *ChainTxStatus) GetStatus() ChainTxStatus_TxStatus

func (*ChainTxStatus) GetTimestamp

func (x *ChainTxStatus) GetTimestamp() int64

func (*ChainTxStatus) GetTxHash

func (x *ChainTxStatus) GetTxHash() string

func (*ChainTxStatus) ProtoMessage

func (*ChainTxStatus) ProtoMessage()

func (*ChainTxStatus) ProtoReflect

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

func (*ChainTxStatus) Reset

func (x *ChainTxStatus) Reset()

func (*ChainTxStatus) String

func (x *ChainTxStatus) String() string

type ChainTxStatus_TxStatus

type ChainTxStatus_TxStatus int32
const (
	ChainTxStatus_UNDEFINED     ChainTxStatus_TxStatus = 0
	ChainTxStatus_CONFIRMED     ChainTxStatus_TxStatus = 1 // web server will check tx parameters, signatures etc fist, noitfy CONFIRMED if pass
	ChainTxStatus_PENDING       ChainTxStatus_TxStatus = 2 // master will check futher before put it into pending queue
	ChainTxStatus_COMPLETE      ChainTxStatus_TxStatus = 3 // notify if Tx write ledger successfully
	ChainTxStatus_FAILURE       ChainTxStatus_TxStatus = 4 // notify once failed before broadcast and set error_code
	ChainTxStatus_APPLY_FAILURE ChainTxStatus_TxStatus = 5 // notify once failed after apply and set error_code
)

func (ChainTxStatus_TxStatus) Descriptor

func (ChainTxStatus_TxStatus) Enum

func (ChainTxStatus_TxStatus) EnumDescriptor deprecated

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

Deprecated: Use ChainTxStatus_TxStatus.Descriptor instead.

func (ChainTxStatus_TxStatus) Number

func (ChainTxStatus_TxStatus) String

func (x ChainTxStatus_TxStatus) String() string

func (ChainTxStatus_TxStatus) Type

type ConsensusValue

type ConsensusValue struct {
	Txset              *TransactionEnvSet        `protobuf:"bytes,1,opt,name=txset,proto3" json:"txset,omitempty"`
	CloseTime          int64                     `protobuf:"varint,2,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	PreviousProof      []byte                    `protobuf:"bytes,3,opt,name=previous_proof,json=previousProof,proto3" json:"previous_proof,omitempty"`
	LedgerSeq          int64                     `protobuf:"varint,4,opt,name=ledger_seq,json=ledgerSeq,proto3" json:"ledger_seq,omitempty"`
	PreviousLedgerHash []byte                    `protobuf:"bytes,5,opt,name=previous_ledger_hash,json=previousLedgerHash,proto3" json:"previous_ledger_hash,omitempty"`
	LedgerUpgrade      *LedgerUpgrade            `protobuf:"bytes,6,opt,name=ledger_upgrade,json=ledgerUpgrade,proto3" json:"ledger_upgrade,omitempty"`
	Validation         *ConsensusValueValidation `protobuf:"bytes,7,opt,name=validation,proto3" json:"validation,omitempty"`
	Txs                []byte                    `protobuf:"bytes,8,opt,name=txs,proto3" json:"txs,omitempty"`
	Txhash             []byte                    `protobuf:"bytes,9,opt,name=txhash,proto3" json:"txhash,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsensusValue) Descriptor deprecated

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

Deprecated: Use ConsensusValue.ProtoReflect.Descriptor instead.

func (*ConsensusValue) GetCloseTime

func (x *ConsensusValue) GetCloseTime() int64

func (*ConsensusValue) GetLedgerSeq

func (x *ConsensusValue) GetLedgerSeq() int64

func (*ConsensusValue) GetLedgerUpgrade

func (x *ConsensusValue) GetLedgerUpgrade() *LedgerUpgrade

func (*ConsensusValue) GetPreviousLedgerHash

func (x *ConsensusValue) GetPreviousLedgerHash() []byte

func (*ConsensusValue) GetPreviousProof

func (x *ConsensusValue) GetPreviousProof() []byte

func (*ConsensusValue) GetTxhash

func (x *ConsensusValue) GetTxhash() []byte

func (*ConsensusValue) GetTxs

func (x *ConsensusValue) GetTxs() []byte

func (*ConsensusValue) GetTxset

func (x *ConsensusValue) GetTxset() *TransactionEnvSet

func (*ConsensusValue) GetValidation

func (x *ConsensusValue) GetValidation() *ConsensusValueValidation

func (*ConsensusValue) ProtoMessage

func (*ConsensusValue) ProtoMessage()

func (*ConsensusValue) ProtoReflect

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

func (*ConsensusValue) Reset

func (x *ConsensusValue) Reset()

func (*ConsensusValue) String

func (x *ConsensusValue) String() string

type ConsensusValueValidation

type ConsensusValueValidation struct {
	ExpireTxIds []int32 `protobuf:"varint,1,rep,packed,name=expire_tx_ids,json=expireTxIds,proto3" json:"expire_tx_ids,omitempty"` //Contract execution expired
	ErrorTxIds  []int32 `protobuf:"varint,2,rep,packed,name=error_tx_ids,json=errorTxIds,proto3" json:"error_tx_ids,omitempty"`
	//May contain other checks
	SuccTxCount int32 `protobuf:"varint,3,opt,name=succ_tx_count,json=succTxCount,proto3" json:"succ_tx_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsensusValueValidation) Descriptor deprecated

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

Deprecated: Use ConsensusValueValidation.ProtoReflect.Descriptor instead.

func (*ConsensusValueValidation) GetErrorTxIds

func (x *ConsensusValueValidation) GetErrorTxIds() []int32

func (*ConsensusValueValidation) GetExpireTxIds

func (x *ConsensusValueValidation) GetExpireTxIds() []int32

func (*ConsensusValueValidation) GetSuccTxCount

func (x *ConsensusValueValidation) GetSuccTxCount() int32

func (*ConsensusValueValidation) ProtoMessage

func (*ConsensusValueValidation) ProtoMessage()

func (*ConsensusValueValidation) ProtoReflect

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

func (*ConsensusValueValidation) Reset

func (x *ConsensusValueValidation) Reset()

func (*ConsensusValueValidation) String

func (x *ConsensusValueValidation) String() string

type Contract

type Contract struct {
	Type    Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Contract_ContractType" json:"type,omitempty"`
	Payload string                `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Version int64                 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Contract) Descriptor deprecated

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

Deprecated: Use Contract.ProtoReflect.Descriptor instead.

func (*Contract) GetPayload

func (x *Contract) GetPayload() string

func (*Contract) GetType

func (x *Contract) GetType() Contract_ContractType

func (*Contract) GetVersion

func (x *Contract) GetVersion() int64

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) ProtoReflect

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

func (*Contract) Reset

func (x *Contract) Reset()

func (*Contract) String

func (x *Contract) String() string

type Contract_ContractType

type Contract_ContractType int32
const (
	Contract_JAVASCRIPT Contract_ContractType = 0
	Contract_EVM        Contract_ContractType = 1
	Contract_SYSTEM     Contract_ContractType = 2
)

func (Contract_ContractType) Descriptor

func (Contract_ContractType) Enum

func (Contract_ContractType) EnumDescriptor deprecated

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

Deprecated: Use Contract_ContractType.Descriptor instead.

func (Contract_ContractType) Number

func (Contract_ContractType) String

func (x Contract_ContractType) String() string

func (Contract_ContractType) Type

type ControlledArea

type ControlledArea struct {
	Trusted    ControlledArea_TRUST_FLAG  `protobuf:"varint,1,opt,name=trusted,proto3,enum=protocol.ControlledArea_TRUST_FLAG" json:"trusted,omitempty"`
	Status     ControlledArea_STATUS_FALG `protobuf:"varint,2,opt,name=status,proto3,enum=protocol.ControlledArea_STATUS_FALG" json:"status,omitempty"`
	Attributes []*KeyPair                 `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlledArea) Descriptor deprecated

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

Deprecated: Use ControlledArea.ProtoReflect.Descriptor instead.

func (*ControlledArea) GetAttributes

func (x *ControlledArea) GetAttributes() []*KeyPair

func (*ControlledArea) GetStatus

func (*ControlledArea) GetTrusted

func (x *ControlledArea) GetTrusted() ControlledArea_TRUST_FLAG

func (*ControlledArea) ProtoMessage

func (*ControlledArea) ProtoMessage()

func (*ControlledArea) ProtoReflect

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

func (*ControlledArea) Reset

func (x *ControlledArea) Reset()

func (*ControlledArea) String

func (x *ControlledArea) String() string

type ControlledArea_STATUS_FALG

type ControlledArea_STATUS_FALG int32
const (
	ControlledArea_ENABLED  ControlledArea_STATUS_FALG = 0
	ControlledArea_DISABLED ControlledArea_STATUS_FALG = 1
)

func (ControlledArea_STATUS_FALG) Descriptor

func (ControlledArea_STATUS_FALG) Enum

func (ControlledArea_STATUS_FALG) EnumDescriptor deprecated

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

Deprecated: Use ControlledArea_STATUS_FALG.Descriptor instead.

func (ControlledArea_STATUS_FALG) Number

func (ControlledArea_STATUS_FALG) String

func (ControlledArea_STATUS_FALG) Type

type ControlledArea_TRUST_FLAG

type ControlledArea_TRUST_FLAG int32
const (
	ControlledArea_UNCERT    ControlledArea_TRUST_FLAG = 0
	ControlledArea_TRUSTED   ControlledArea_TRUST_FLAG = 1
	ControlledArea_UNTRUSTED ControlledArea_TRUST_FLAG = 2
)

func (ControlledArea_TRUST_FLAG) Descriptor

func (ControlledArea_TRUST_FLAG) Enum

func (ControlledArea_TRUST_FLAG) EnumDescriptor deprecated

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

Deprecated: Use ControlledArea_TRUST_FLAG.Descriptor instead.

func (ControlledArea_TRUST_FLAG) Number

func (ControlledArea_TRUST_FLAG) String

func (x ControlledArea_TRUST_FLAG) String() string

func (ControlledArea_TRUST_FLAG) Type

type DontHave

type DontHave struct {
	Type int64  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

for dont have

func (*DontHave) Descriptor deprecated

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

Deprecated: Use DontHave.ProtoReflect.Descriptor instead.

func (*DontHave) GetHash

func (x *DontHave) GetHash() []byte

func (*DontHave) GetType

func (x *DontHave) GetType() int64

func (*DontHave) ProtoMessage

func (*DontHave) ProtoMessage()

func (*DontHave) ProtoReflect

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

func (*DontHave) Reset

func (x *DontHave) Reset()

func (*DontHave) String

func (x *DontHave) String() string

type ERRORCODE

type ERRORCODE int32
const (
	ERRORCODE_ERRCODE_SUCCESS                        ERRORCODE = 0
	ERRORCODE_ERRCODE_INTERNAL_ERROR                 ERRORCODE = 1
	ERRORCODE_ERRCODE_INVALID_PARAMETER              ERRORCODE = 2
	ERRORCODE_ERRCODE_ALREADY_EXIST                  ERRORCODE = 3
	ERRORCODE_ERRCODE_NOT_EXIST                      ERRORCODE = 4
	ERRORCODE_ERRCODE_TX_TIMEOUT                     ERRORCODE = 5
	ERRORCODE_ERRCODE_ACCESS_DENIED                  ERRORCODE = 6
	ERRORCODE_ERRCODE_MATH_OVERFLOW                  ERRORCODE = 7
	ERRORCODE_ERRCODE_EXPR_CONDITION_RESULT_FALSE    ERRORCODE = 20
	ERRORCODE_ERRCODE_EXPR_CONDITION_SYNTAX_ERROR    ERRORCODE = 21
	ERRORCODE_ERRCODE_INVALID_PUBKEY                 ERRORCODE = 90 // UNUSED
	ERRORCODE_ERRCODE_INVALID_PRIKEY                 ERRORCODE = 91
	ERRORCODE_ERRCODE_ASSET_INVALID                  ERRORCODE = 92
	ERRORCODE_ERRCODE_INVALID_SIGNATURE              ERRORCODE = 93
	ERRORCODE_ERRCODE_INVALID_ADDRESS                ERRORCODE = 94
	ERRORCODE_ERRCODE_MISSING_OPERATIONS             ERRORCODE = 97
	ERRORCODE_ERRCODE_TOO_MANY_OPERATIONS            ERRORCODE = 98
	ERRORCODE_ERRCODE_BAD_SEQUENCE                   ERRORCODE = 99
	ERRORCODE_ERRCODE_ACCOUNT_LOW_RESERVE            ERRORCODE = 100 //BUCHAIN LOW RESERVE
	ERRORCODE_ERRCODE_ACCOUNT_SOURCEDEST_EQUAL       ERRORCODE = 101
	ERRORCODE_ERRCODE_ACCOUNT_DEST_EXIST             ERRORCODE = 102
	ERRORCODE_ERRCODE_ACCOUNT_NOT_EXIST              ERRORCODE = 103
	ERRORCODE_ERRCODE_ACCOUNT_ASSET_LOW_RESERVE      ERRORCODE = 104 //IOU LOW RESERVE
	ERRORCODE_ERRCODE_ACCOUNT_ASSET_AMOUNT_TOO_LARGE ERRORCODE = 105
	ERRORCODE_ERRCODE_ACCOUNT_INIT_LOW_RESERVE       ERRORCODE = 106
	ERRORCODE_ERRCODE_FEE_NOT_ENOUGH                 ERRORCODE = 111
	ERRORCODE_ERRCODE_FEE_INVALID                    ERRORCODE = 112
	ERRORCODE_ERRCODE_OUT_OF_TXCACHE                 ERRORCODE = 114
	ERRORCODE_ERRCODE_WEIGHT_NOT_VALID               ERRORCODE = 120
	ERRORCODE_ERRCODE_THRESHOLD_NOT_VALID            ERRORCODE = 121
	ERRORCODE_ERRCODE_INVALID_DATAVERSION            ERRORCODE = 144 //metadata version error
	ERRORCODE_ERRCODE_TX_SIZE_TOO_BIG                ERRORCODE = 146
	ERRORCODE_ERRCODE_CONTRACT_EXECUTE_FAIL          ERRORCODE = 151
	ERRORCODE_ERRCODE_CONTRACT_SYNTAX_ERROR          ERRORCODE = 152
	ERRORCODE_ERRCODE_CONTRACT_TOO_MANY_RECURSION    ERRORCODE = 153
	ERRORCODE_ERRCODE_CONTRACT_TOO_MANY_TRANSACTIONS ERRORCODE = 154
	ERRORCODE_ERRCODE_CONTRACT_EXECUTE_EXPIRED       ERRORCODE = 155
	ERRORCODE_ERRCODE_INVALID_CONTRACT               ERRORCODE = 156
	ERRORCODE_ERRCODE_INVALID_CONTRACTVERSION        ERRORCODE = 157 //contract version error
	ERRORCODE_ERRCODE_TX_INSERT_QUEUE_FAIL           ERRORCODE = 160
)

func (ERRORCODE) Descriptor

func (ERRORCODE) Descriptor() protoreflect.EnumDescriptor

func (ERRORCODE) Enum

func (x ERRORCODE) Enum() *ERRORCODE

func (ERRORCODE) EnumDescriptor deprecated

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

Deprecated: Use ERRORCODE.Descriptor instead.

func (ERRORCODE) Number

func (x ERRORCODE) Number() protoreflect.EnumNumber

func (ERRORCODE) String

func (x ERRORCODE) String() string

func (ERRORCODE) Type

type EntryList

type EntryList struct {
	Entry [][]byte `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

for key value db storage

func (*EntryList) Descriptor deprecated

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

Deprecated: Use EntryList.ProtoReflect.Descriptor instead.

func (*EntryList) GetEntry

func (x *EntryList) GetEntry() [][]byte

func (*EntryList) ProtoMessage

func (*EntryList) ProtoMessage()

func (*EntryList) ProtoReflect

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

func (*EntryList) Reset

func (x *EntryList) Reset()

func (*EntryList) String

func (x *EntryList) String() string

type EvaluateFeeTransaction

type EvaluateFeeTransaction struct {
	SourceAddress    string       `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	Nonce            int64        `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ExprCondition    string       `protobuf:"bytes,3,opt,name=expr_condition,json=exprCondition,proto3" json:"expr_condition,omitempty"`
	Operations       []*Operation `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"`
	Metadata         string       `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	FeeLimit         int64        `protobuf:"varint,6,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	GasPrice         int64        `protobuf:"varint,7,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	CeilLedgerSeq    int64        `protobuf:"varint,8,opt,name=ceil_ledger_seq,json=ceilLedgerSeq,proto3" json:"ceil_ledger_seq,omitempty"`
	ChainId          int64        `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	AddressPrefix    string       `protobuf:"bytes,10,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"` //it represent the address is raw
	RawSourceAddress []byte       `protobuf:"bytes,11,opt,name=raw_source_address,json=rawSourceAddress,proto3" json:"raw_source_address,omitempty"`
	// contains filtered or unexported fields
}

type GetLedgers

type GetLedgers struct {
	Begin     int64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"`
	End       int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ChainId   int64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

for getledgers

func (*GetLedgers) Descriptor deprecated

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

Deprecated: Use GetLedgers.ProtoReflect.Descriptor instead.

func (*GetLedgers) GetBegin

func (x *GetLedgers) GetBegin() int64

func (*GetLedgers) GetChainId

func (x *GetLedgers) GetChainId() int64

func (*GetLedgers) GetEnd

func (x *GetLedgers) GetEnd() int64

func (*GetLedgers) GetTimestamp

func (x *GetLedgers) GetTimestamp() int64

func (*GetLedgers) ProtoMessage

func (*GetLedgers) ProtoMessage()

func (*GetLedgers) ProtoReflect

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

func (*GetLedgers) Reset

func (x *GetLedgers) Reset()

func (*GetLedgers) String

func (x *GetLedgers) String() string

type Hello

type Hello struct {
	NetworkId      int64  `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	LedgerVersion  int64  `protobuf:"varint,2,opt,name=ledger_version,json=ledgerVersion,proto3" json:"ledger_version,omitempty"`
	OverlayVersion int64  `protobuf:"varint,3,opt,name=overlay_version,json=overlayVersion,proto3" json:"overlay_version,omitempty"`
	ChainVersion   string `protobuf:"bytes,4,opt,name=chain_version,json=chainVersion,proto3" json:"chain_version,omitempty"`
	ListeningPort  int64  `protobuf:"varint,5,opt,name=listening_port,json=listeningPort,proto3" json:"listening_port,omitempty"`
	NodeAddress    string `protobuf:"bytes,6,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"`
	NodeRand       string `protobuf:"bytes,7,opt,name=node_rand,json=nodeRand,proto3" json:"node_rand,omitempty"`
	License        string `protobuf:"bytes,8,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

func (*Hello) Descriptor deprecated

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

Deprecated: Use Hello.ProtoReflect.Descriptor instead.

func (*Hello) GetChainVersion

func (x *Hello) GetChainVersion() string

func (*Hello) GetLedgerVersion

func (x *Hello) GetLedgerVersion() int64

func (*Hello) GetLicense

func (x *Hello) GetLicense() string

func (*Hello) GetListeningPort

func (x *Hello) GetListeningPort() int64

func (*Hello) GetNetworkId

func (x *Hello) GetNetworkId() int64

func (*Hello) GetNodeAddress

func (x *Hello) GetNodeAddress() string

func (*Hello) GetNodeRand

func (x *Hello) GetNodeRand() string

func (*Hello) GetOverlayVersion

func (x *Hello) GetOverlayVersion() int64

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) ProtoReflect

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

func (*Hello) Reset

func (x *Hello) Reset()

func (*Hello) String

func (x *Hello) String() string

type HelloResponse

type HelloResponse struct {
	ErrorCode ERRORCODE `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=protocol.ERRORCODE" json:"error_code,omitempty"`
	ErrorDesc string    `protobuf:"bytes,2,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloResponse) Descriptor deprecated

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

Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.

func (*HelloResponse) GetErrorCode

func (x *HelloResponse) GetErrorCode() ERRORCODE

func (*HelloResponse) GetErrorDesc

func (x *HelloResponse) GetErrorDesc() string

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) ProtoReflect

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

func (*HelloResponse) Reset

func (x *HelloResponse) Reset()

func (*HelloResponse) String

func (x *HelloResponse) String() string

type KeyPair

type KeyPair struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Version int64  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyPair) Descriptor deprecated

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

Deprecated: Use KeyPair.ProtoReflect.Descriptor instead.

func (*KeyPair) GetKey

func (x *KeyPair) GetKey() string

func (*KeyPair) GetValue

func (x *KeyPair) GetValue() string

func (*KeyPair) GetVersion

func (x *KeyPair) GetVersion() int64

func (*KeyPair) ProtoMessage

func (*KeyPair) ProtoMessage()

func (*KeyPair) ProtoReflect

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

func (*KeyPair) Reset

func (x *KeyPair) Reset()

func (*KeyPair) String

func (x *KeyPair) String() string

type Ledger

type Ledger struct {
	Header          *LedgerHeader     `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TransactionEnvs []*TransactionEnv `protobuf:"bytes,2,rep,name=transaction_envs,json=transactionEnvs,proto3" json:"transaction_envs,omitempty"`
	// contains filtered or unexported fields
}

func (*Ledger) Descriptor deprecated

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

Deprecated: Use Ledger.ProtoReflect.Descriptor instead.

func (*Ledger) GetHeader

func (x *Ledger) GetHeader() *LedgerHeader

func (*Ledger) GetTransactionEnvs

func (x *Ledger) GetTransactionEnvs() []*TransactionEnv

func (*Ledger) ProtoMessage

func (*Ledger) ProtoMessage()

func (*Ledger) ProtoReflect

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

func (*Ledger) Reset

func (x *Ledger) Reset()

func (*Ledger) String

func (x *Ledger) String() string

type LedgerHeader

type LedgerHeader struct {
	Seq                int64  `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Hash               []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	PreviousHash       []byte `protobuf:"bytes,3,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
	AccountTreeHash    []byte `protobuf:"bytes,4,opt,name=account_tree_hash,json=accountTreeHash,proto3" json:"account_tree_hash,omitempty"`
	CloseTime          int64  `protobuf:"varint,5,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	ConsensusValueHash []byte `protobuf:"bytes,6,opt,name=consensus_value_hash,json=consensusValueHash,proto3" json:"consensus_value_hash,omitempty"`
	Version            int64  `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	TxCount            int64  `protobuf:"varint,8,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
	ValidatorsHash     []byte `protobuf:"bytes,9,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` // hash
	Reserve            string `protobuf:"bytes,10,opt,name=reserve,proto3" json:"reserve,omitempty"`
	FeesHash           []byte `protobuf:"bytes,11,opt,name=fees_hash,json=feesHash,proto3" json:"fees_hash,omitempty"`
	ChainId            int64  `protobuf:"varint,12,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LedgerHeader) Descriptor deprecated

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

Deprecated: Use LedgerHeader.ProtoReflect.Descriptor instead.

func (*LedgerHeader) GetAccountTreeHash

func (x *LedgerHeader) GetAccountTreeHash() []byte

func (*LedgerHeader) GetChainId

func (x *LedgerHeader) GetChainId() int64

func (*LedgerHeader) GetCloseTime

func (x *LedgerHeader) GetCloseTime() int64

func (*LedgerHeader) GetConsensusValueHash

func (x *LedgerHeader) GetConsensusValueHash() []byte

func (*LedgerHeader) GetFeesHash

func (x *LedgerHeader) GetFeesHash() []byte

func (*LedgerHeader) GetHash

func (x *LedgerHeader) GetHash() []byte

func (*LedgerHeader) GetPreviousHash

func (x *LedgerHeader) GetPreviousHash() []byte

func (*LedgerHeader) GetReserve

func (x *LedgerHeader) GetReserve() string

func (*LedgerHeader) GetSeq

func (x *LedgerHeader) GetSeq() int64

func (*LedgerHeader) GetTxCount

func (x *LedgerHeader) GetTxCount() int64

func (*LedgerHeader) GetValidatorsHash

func (x *LedgerHeader) GetValidatorsHash() []byte

func (*LedgerHeader) GetVersion

func (x *LedgerHeader) GetVersion() int64

func (*LedgerHeader) ProtoMessage

func (*LedgerHeader) ProtoMessage()

func (*LedgerHeader) ProtoReflect

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

func (*LedgerHeader) Reset

func (x *LedgerHeader) Reset()

func (*LedgerHeader) String

func (x *LedgerHeader) String() string

type LedgerTxs

type LedgerTxs struct {
	Header       *LedgerHeader           `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Txs          []*TransactionEnvResult `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
	LedgerLength int64                   `protobuf:"varint,3,opt,name=ledger_length,json=ledgerLength,proto3" json:"ledger_length,omitempty"`
	// contains filtered or unexported fields
}

func (*LedgerTxs) Descriptor deprecated

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

Deprecated: Use LedgerTxs.ProtoReflect.Descriptor instead.

func (*LedgerTxs) GetHeader

func (x *LedgerTxs) GetHeader() *LedgerHeader

func (*LedgerTxs) GetLedgerLength

func (x *LedgerTxs) GetLedgerLength() int64

func (*LedgerTxs) GetTxs

func (x *LedgerTxs) GetTxs() []*TransactionEnvResult

func (*LedgerTxs) ProtoMessage

func (*LedgerTxs) ProtoMessage()

func (*LedgerTxs) ProtoReflect

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

func (*LedgerTxs) Reset

func (x *LedgerTxs) Reset()

func (*LedgerTxs) String

func (x *LedgerTxs) String() string

type LedgerUpgrade

type LedgerUpgrade struct {
	NewLedgerVersion int64    `protobuf:"varint,1,opt,name=new_ledger_version,json=newLedgerVersion,proto3" json:"new_ledger_version,omitempty"` //will be processed as required at verion 2.1.0.0
	NewValidatorList []string `protobuf:"bytes,2,rep,name=new_validator_list,json=newValidatorList,proto3" json:"new_validator_list,omitempty"`  //for hardfork
	ChainCode        string   `protobuf:"bytes,3,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
	// contains filtered or unexported fields
}

func (*LedgerUpgrade) Descriptor deprecated

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

Deprecated: Use LedgerUpgrade.ProtoReflect.Descriptor instead.

func (*LedgerUpgrade) GetChainCode

func (x *LedgerUpgrade) GetChainCode() string

func (*LedgerUpgrade) GetNewLedgerVersion

func (x *LedgerUpgrade) GetNewLedgerVersion() int64

func (*LedgerUpgrade) GetNewValidatorList

func (x *LedgerUpgrade) GetNewValidatorList() []string

func (*LedgerUpgrade) ProtoMessage

func (*LedgerUpgrade) ProtoMessage()

func (*LedgerUpgrade) ProtoReflect

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

func (*LedgerUpgrade) Reset

func (x *LedgerUpgrade) Reset()

func (*LedgerUpgrade) String

func (x *LedgerUpgrade) String() string

type LedgerUpgradeNotify

type LedgerUpgradeNotify struct {
	Nonce     int64          `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` //for broadcast
	Upgrade   *LedgerUpgrade `protobuf:"bytes,2,opt,name=upgrade,proto3" json:"upgrade,omitempty"`
	Signature *Signature     `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` //consensus sig
	// contains filtered or unexported fields
}

for ledger upgrade

func (*LedgerUpgradeNotify) Descriptor deprecated

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

Deprecated: Use LedgerUpgradeNotify.ProtoReflect.Descriptor instead.

func (*LedgerUpgradeNotify) GetNonce

func (x *LedgerUpgradeNotify) GetNonce() int64

func (*LedgerUpgradeNotify) GetSignature

func (x *LedgerUpgradeNotify) GetSignature() *Signature

func (*LedgerUpgradeNotify) GetUpgrade

func (x *LedgerUpgradeNotify) GetUpgrade() *LedgerUpgrade

func (*LedgerUpgradeNotify) ProtoMessage

func (*LedgerUpgradeNotify) ProtoMessage()

func (*LedgerUpgradeNotify) ProtoReflect

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

func (*LedgerUpgradeNotify) Reset

func (x *LedgerUpgradeNotify) Reset()

func (*LedgerUpgradeNotify) String

func (x *LedgerUpgradeNotify) String() string

type Ledgers

type Ledgers struct {
	Values   []*ConsensusValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	SyncCode Ledgers_SyncCode  `protobuf:"varint,2,opt,name=sync_code,json=syncCode,proto3,enum=protocol.Ledgers_SyncCode" json:"sync_code,omitempty"`
	MaxSeq   int64             `protobuf:"varint,3,opt,name=max_seq,json=maxSeq,proto3" json:"max_seq,omitempty"`
	Proof    []byte            `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"`
	ChainId  int64             `protobuf:"varint,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

for ledgers

func (*Ledgers) Descriptor deprecated

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

Deprecated: Use Ledgers.ProtoReflect.Descriptor instead.

func (*Ledgers) GetChainId

func (x *Ledgers) GetChainId() int64

func (*Ledgers) GetMaxSeq

func (x *Ledgers) GetMaxSeq() int64

func (*Ledgers) GetProof

func (x *Ledgers) GetProof() []byte

func (*Ledgers) GetSyncCode

func (x *Ledgers) GetSyncCode() Ledgers_SyncCode

func (*Ledgers) GetValues

func (x *Ledgers) GetValues() []*ConsensusValue

func (*Ledgers) ProtoMessage

func (*Ledgers) ProtoMessage()

func (*Ledgers) ProtoReflect

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

func (*Ledgers) Reset

func (x *Ledgers) Reset()

func (*Ledgers) String

func (x *Ledgers) String() string

type Ledgers_SyncCode

type Ledgers_SyncCode int32
const (
	Ledgers_OK             Ledgers_SyncCode = 0 //Success
	Ledgers_OUT_OF_SYNC    Ledgers_SyncCode = 1 //The node itself is not in sync status
	Ledgers_OUT_OF_LEDGERS Ledgers_SyncCode = 2 //Too many requested ledgers
	Ledgers_BUSY           Ledgers_SyncCode = 3 //This node is occupied
	Ledgers_REFUSE         Ledgers_SyncCode = 4 //The node itself is not allow sync
	Ledgers_INTERNAL       Ledgers_SyncCode = 5 //Inner error
)

func (Ledgers_SyncCode) Descriptor

func (Ledgers_SyncCode) Enum

func (Ledgers_SyncCode) EnumDescriptor deprecated

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

Deprecated: Use Ledgers_SyncCode.Descriptor instead.

func (Ledgers_SyncCode) Number

func (Ledgers_SyncCode) String

func (x Ledgers_SyncCode) String() string

func (Ledgers_SyncCode) Type

type Limit

type Limit int32
const (
	Limit_UNKNOWN   Limit = 0
	Limit_SIGNATURE Limit = 100
)

func (Limit) Descriptor

func (Limit) Descriptor() protoreflect.EnumDescriptor

func (Limit) Enum

func (x Limit) Enum() *Limit

func (Limit) EnumDescriptor deprecated

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

Deprecated: Use Limit.Descriptor instead.

func (Limit) Number

func (x Limit) Number() protoreflect.EnumNumber

func (Limit) String

func (x Limit) String() string

func (Limit) Type

func (Limit) Type() protoreflect.EnumType

type OVERLAY_MESSAGE_TYPE

type OVERLAY_MESSAGE_TYPE int32
const (
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_NONE                  OVERLAY_MESSAGE_TYPE = 0
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_PING                  OVERLAY_MESSAGE_TYPE = 1
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_HELLO                 OVERLAY_MESSAGE_TYPE = 2
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_PEERS                 OVERLAY_MESSAGE_TYPE = 3
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_TRANSACTION           OVERLAY_MESSAGE_TYPE = 4
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_LEDGERS               OVERLAY_MESSAGE_TYPE = 5
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_PBFT                  OVERLAY_MESSAGE_TYPE = 6
	OVERLAY_MESSAGE_TYPE_OVERLAY_MSGTYPE_LEDGER_UPGRADE_NOTIFY OVERLAY_MESSAGE_TYPE = 7 //Broadcast the ledger upgrade status
)

func (OVERLAY_MESSAGE_TYPE) Descriptor

func (OVERLAY_MESSAGE_TYPE) Enum

func (OVERLAY_MESSAGE_TYPE) EnumDescriptor deprecated

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

Deprecated: Use OVERLAY_MESSAGE_TYPE.Descriptor instead.

func (OVERLAY_MESSAGE_TYPE) Number

func (OVERLAY_MESSAGE_TYPE) String

func (x OVERLAY_MESSAGE_TYPE) String() string

func (OVERLAY_MESSAGE_TYPE) Type

type Operation

type Operation struct {
	Type          Operation_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Operation_Type" json:"type,omitempty"`
	SourceAddress string         `protobuf:"bytes,2,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	Metadata      []byte         `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	//
	CreateAccount         *OperationCreateAccount         `protobuf:"bytes,4,opt,name=create_account,json=createAccount,proto3" json:"create_account,omitempty"`
	SetMetadata           *OperationSetMetadata           `protobuf:"bytes,7,opt,name=set_metadata,json=setMetadata,proto3" json:"set_metadata,omitempty"`
	SetSignerWeight       *OperationSetSignerWeight       `protobuf:"bytes,8,opt,name=set_signer_weight,json=setSignerWeight,proto3" json:"set_signer_weight,omitempty"`
	SetThreshold          *OperationSetThreshold          `protobuf:"bytes,9,opt,name=set_threshold,json=setThreshold,proto3" json:"set_threshold,omitempty"`
	PayCoin               *OperationPayCoin               `protobuf:"bytes,10,opt,name=pay_coin,json=payCoin,proto3" json:"pay_coin,omitempty"`
	Log                   *OperationLog                   `protobuf:"bytes,11,opt,name=log,proto3" json:"log,omitempty"`
	SetPrivilege          *OperationSetPrivilege          `protobuf:"bytes,12,opt,name=set_privilege,json=setPrivilege,proto3" json:"set_privilege,omitempty"`
	UpgradeContract       *OperationUpgradeContract       `protobuf:"bytes,13,opt,name=upgrade_contract,json=upgradeContract,proto3" json:"upgrade_contract,omitempty"`
	SetControlledArea     *OperationSetControlledArea     `protobuf:"bytes,14,opt,name=set_controlled_area,json=setControlledArea,proto3" json:"set_controlled_area,omitempty"`
	CreatePrivateContract *OperationCreatePrivateContract `` /* 127-byte string literal not displayed */
	CallPrivateContract   *OperationCallPrivateContract   `protobuf:"bytes,16,opt,name=call_private_contract,json=callPrivateContract,proto3" json:"call_private_contract,omitempty"`
	RawSourceAddress      []byte                          `protobuf:"bytes,20,opt,name=raw_source_address,json=rawSourceAddress,proto3" json:"raw_source_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetCallPrivateContract

func (x *Operation) GetCallPrivateContract() *OperationCallPrivateContract

func (*Operation) GetCreateAccount

func (x *Operation) GetCreateAccount() *OperationCreateAccount

func (*Operation) GetCreatePrivateContract

func (x *Operation) GetCreatePrivateContract() *OperationCreatePrivateContract

func (*Operation) GetLog

func (x *Operation) GetLog() *OperationLog

func (*Operation) GetMetadata

func (x *Operation) GetMetadata() []byte

func (*Operation) GetPayCoin

func (x *Operation) GetPayCoin() *OperationPayCoin

func (*Operation) GetRawSourceAddress

func (x *Operation) GetRawSourceAddress() []byte

func (*Operation) GetSetControlledArea

func (x *Operation) GetSetControlledArea() *OperationSetControlledArea

func (*Operation) GetSetMetadata

func (x *Operation) GetSetMetadata() *OperationSetMetadata

func (*Operation) GetSetPrivilege

func (x *Operation) GetSetPrivilege() *OperationSetPrivilege

func (*Operation) GetSetSignerWeight

func (x *Operation) GetSetSignerWeight() *OperationSetSignerWeight

func (*Operation) GetSetThreshold

func (x *Operation) GetSetThreshold() *OperationSetThreshold

func (*Operation) GetSourceAddress

func (x *Operation) GetSourceAddress() string

func (*Operation) GetType

func (x *Operation) GetType() Operation_Type

func (*Operation) GetUpgradeContract

func (x *Operation) GetUpgradeContract() *OperationUpgradeContract

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationCallPrivateContract

type OperationCallPrivateContract struct {
	DestAddress string `protobuf:"bytes,1,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	Input       string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationCallPrivateContract) Descriptor deprecated

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

Deprecated: Use OperationCallPrivateContract.ProtoReflect.Descriptor instead.

func (*OperationCallPrivateContract) GetDestAddress

func (x *OperationCallPrivateContract) GetDestAddress() string

func (*OperationCallPrivateContract) GetInput

func (x *OperationCallPrivateContract) GetInput() string

func (*OperationCallPrivateContract) ProtoMessage

func (*OperationCallPrivateContract) ProtoMessage()

func (*OperationCallPrivateContract) ProtoReflect

func (*OperationCallPrivateContract) Reset

func (x *OperationCallPrivateContract) Reset()

func (*OperationCallPrivateContract) String

type OperationCreateAccount

type OperationCreateAccount struct {
	DestAddress    string            `protobuf:"bytes,1,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	Contract       *Contract         `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Priv           *AccountPrivilege `protobuf:"bytes,3,opt,name=priv,proto3" json:"priv,omitempty"`
	Metadatas      []*KeyPair        `protobuf:"bytes,4,rep,name=metadatas,proto3" json:"metadatas,omitempty"`
	InitBalance    int64             `protobuf:"varint,5,opt,name=init_balance,json=initBalance,proto3" json:"init_balance,omitempty"`
	InitInput      string            `protobuf:"bytes,6,opt,name=init_input,json=initInput,proto3" json:"init_input,omitempty"`
	DestPublicKey  string            `protobuf:"bytes,7,opt,name=dest_public_key,json=destPublicKey,proto3" json:"dest_public_key,omitempty"`
	RawDestAddress []byte            `protobuf:"bytes,8,opt,name=raw_dest_address,json=rawDestAddress,proto3" json:"raw_dest_address,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationCreateAccount) Descriptor deprecated

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

Deprecated: Use OperationCreateAccount.ProtoReflect.Descriptor instead.

func (*OperationCreateAccount) GetContract

func (x *OperationCreateAccount) GetContract() *Contract

func (*OperationCreateAccount) GetDestAddress

func (x *OperationCreateAccount) GetDestAddress() string

func (*OperationCreateAccount) GetDestPublicKey

func (x *OperationCreateAccount) GetDestPublicKey() string

func (*OperationCreateAccount) GetInitBalance

func (x *OperationCreateAccount) GetInitBalance() int64

func (*OperationCreateAccount) GetInitInput

func (x *OperationCreateAccount) GetInitInput() string

func (*OperationCreateAccount) GetMetadatas

func (x *OperationCreateAccount) GetMetadatas() []*KeyPair

func (*OperationCreateAccount) GetPriv

func (*OperationCreateAccount) GetRawDestAddress

func (x *OperationCreateAccount) GetRawDestAddress() []byte

func (*OperationCreateAccount) ProtoMessage

func (*OperationCreateAccount) ProtoMessage()

func (*OperationCreateAccount) ProtoReflect

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

func (*OperationCreateAccount) Reset

func (x *OperationCreateAccount) Reset()

func (*OperationCreateAccount) String

func (x *OperationCreateAccount) String() string

type OperationCreatePrivateContract

type OperationCreatePrivateContract struct {
	Contract  *Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	InitInput string    `protobuf:"bytes,2,opt,name=init_input,json=initInput,proto3" json:"init_input,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationCreatePrivateContract) Descriptor deprecated

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

Deprecated: Use OperationCreatePrivateContract.ProtoReflect.Descriptor instead.

func (*OperationCreatePrivateContract) GetContract

func (x *OperationCreatePrivateContract) GetContract() *Contract

func (*OperationCreatePrivateContract) GetInitInput

func (x *OperationCreatePrivateContract) GetInitInput() string

func (*OperationCreatePrivateContract) ProtoMessage

func (*OperationCreatePrivateContract) ProtoMessage()

func (*OperationCreatePrivateContract) ProtoReflect

func (*OperationCreatePrivateContract) Reset

func (x *OperationCreatePrivateContract) Reset()

func (*OperationCreatePrivateContract) String

type OperationLog

type OperationLog struct {
	Topic string   `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Datas []string `protobuf:"bytes,2,rep,name=datas,proto3" json:"datas,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationLog) Descriptor deprecated

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

Deprecated: Use OperationLog.ProtoReflect.Descriptor instead.

func (*OperationLog) GetDatas

func (x *OperationLog) GetDatas() []string

func (*OperationLog) GetTopic

func (x *OperationLog) GetTopic() string

func (*OperationLog) ProtoMessage

func (*OperationLog) ProtoMessage()

func (*OperationLog) ProtoReflect

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

func (*OperationLog) Reset

func (x *OperationLog) Reset()

func (*OperationLog) String

func (x *OperationLog) String() string

type OperationPayCoin

type OperationPayCoin struct {
	DestAddress    string `protobuf:"bytes,1,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	Amount         int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Input          string `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	RawDestAddress []byte `protobuf:"bytes,4,opt,name=raw_dest_address,json=rawDestAddress,proto3" json:"raw_dest_address,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationPayCoin) Descriptor deprecated

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

Deprecated: Use OperationPayCoin.ProtoReflect.Descriptor instead.

func (*OperationPayCoin) GetAmount

func (x *OperationPayCoin) GetAmount() int64

func (*OperationPayCoin) GetDestAddress

func (x *OperationPayCoin) GetDestAddress() string

func (*OperationPayCoin) GetInput

func (x *OperationPayCoin) GetInput() string

func (*OperationPayCoin) GetRawDestAddress

func (x *OperationPayCoin) GetRawDestAddress() []byte

func (*OperationPayCoin) ProtoMessage

func (*OperationPayCoin) ProtoMessage()

func (*OperationPayCoin) ProtoReflect

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

func (*OperationPayCoin) Reset

func (x *OperationPayCoin) Reset()

func (*OperationPayCoin) String

func (x *OperationPayCoin) String() string

type OperationSetControlledArea

type OperationSetControlledArea struct {
	DestAddress string                     `protobuf:"bytes,1,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	STrusted    bool                       `protobuf:"varint,2,opt,name=s_trusted,json=sTrusted,proto3" json:"s_trusted,omitempty"`
	SStatus     bool                       `protobuf:"varint,3,opt,name=s_status,json=sStatus,proto3" json:"s_status,omitempty"`
	Trusted     ControlledArea_TRUST_FLAG  `protobuf:"varint,4,opt,name=trusted,proto3,enum=protocol.ControlledArea_TRUST_FLAG" json:"trusted,omitempty"`
	Status      ControlledArea_STATUS_FALG `protobuf:"varint,5,opt,name=status,proto3,enum=protocol.ControlledArea_STATUS_FALG" json:"status,omitempty"`
	Attributes  []*KeyPair                 `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationSetControlledArea) Descriptor deprecated

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

Deprecated: Use OperationSetControlledArea.ProtoReflect.Descriptor instead.

func (*OperationSetControlledArea) GetAttributes

func (x *OperationSetControlledArea) GetAttributes() []*KeyPair

func (*OperationSetControlledArea) GetDestAddress

func (x *OperationSetControlledArea) GetDestAddress() string

func (*OperationSetControlledArea) GetSStatus

func (x *OperationSetControlledArea) GetSStatus() bool

func (*OperationSetControlledArea) GetSTrusted

func (x *OperationSetControlledArea) GetSTrusted() bool

func (*OperationSetControlledArea) GetStatus

func (*OperationSetControlledArea) GetTrusted

func (*OperationSetControlledArea) ProtoMessage

func (*OperationSetControlledArea) ProtoMessage()

func (*OperationSetControlledArea) ProtoReflect

func (*OperationSetControlledArea) Reset

func (x *OperationSetControlledArea) Reset()

func (*OperationSetControlledArea) String

func (x *OperationSetControlledArea) String() string

type OperationSetMetadata

type OperationSetMetadata struct {
	Key        string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value      string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Version    int64  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` //Optional. The version number of metadata. If set, it must be the same as the existing metadata_version of the account.
	DeleteFlag bool   `protobuf:"varint,4,opt,name=delete_flag,json=deleteFlag,proto3" json:"delete_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationSetMetadata) Descriptor deprecated

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

Deprecated: Use OperationSetMetadata.ProtoReflect.Descriptor instead.

func (*OperationSetMetadata) GetDeleteFlag

func (x *OperationSetMetadata) GetDeleteFlag() bool

func (*OperationSetMetadata) GetKey

func (x *OperationSetMetadata) GetKey() string

func (*OperationSetMetadata) GetValue

func (x *OperationSetMetadata) GetValue() string

func (*OperationSetMetadata) GetVersion

func (x *OperationSetMetadata) GetVersion() int64

func (*OperationSetMetadata) ProtoMessage

func (*OperationSetMetadata) ProtoMessage()

func (*OperationSetMetadata) ProtoReflect

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

func (*OperationSetMetadata) Reset

func (x *OperationSetMetadata) Reset()

func (*OperationSetMetadata) String

func (x *OperationSetMetadata) String() string

type OperationSetPrivilege

type OperationSetPrivilege struct {
	MasterWeight   string                    `protobuf:"bytes,1,opt,name=master_weight,json=masterWeight,proto3" json:"master_weight,omitempty"`
	Signers        []*Signer                 `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	TxThreshold    string                    `protobuf:"bytes,3,opt,name=tx_threshold,json=txThreshold,proto3" json:"tx_threshold,omitempty"`
	TypeThresholds []*OperationTypeThreshold `protobuf:"bytes,4,rep,name=type_thresholds,json=typeThresholds,proto3" json:"type_thresholds,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationSetPrivilege) Descriptor deprecated

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

Deprecated: Use OperationSetPrivilege.ProtoReflect.Descriptor instead.

func (*OperationSetPrivilege) GetMasterWeight

func (x *OperationSetPrivilege) GetMasterWeight() string

func (*OperationSetPrivilege) GetSigners

func (x *OperationSetPrivilege) GetSigners() []*Signer

func (*OperationSetPrivilege) GetTxThreshold

func (x *OperationSetPrivilege) GetTxThreshold() string

func (*OperationSetPrivilege) GetTypeThresholds

func (x *OperationSetPrivilege) GetTypeThresholds() []*OperationTypeThreshold

func (*OperationSetPrivilege) ProtoMessage

func (*OperationSetPrivilege) ProtoMessage()

func (*OperationSetPrivilege) ProtoReflect

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

func (*OperationSetPrivilege) Reset

func (x *OperationSetPrivilege) Reset()

func (*OperationSetPrivilege) String

func (x *OperationSetPrivilege) String() string

type OperationSetSignerWeight

type OperationSetSignerWeight struct {
	MasterWeight int64     `protobuf:"varint,1,opt,name=master_weight,json=masterWeight,proto3" json:"master_weight,omitempty"` //required, [-1,MAX(UINT32)] -1: indicates no setting
	Signers      []*Signer `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`                                //address:weight, if weight is 0, it indicates deleting this signer
	// contains filtered or unexported fields
}

func (*OperationSetSignerWeight) Descriptor deprecated

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

Deprecated: Use OperationSetSignerWeight.ProtoReflect.Descriptor instead.

func (*OperationSetSignerWeight) GetMasterWeight

func (x *OperationSetSignerWeight) GetMasterWeight() int64

func (*OperationSetSignerWeight) GetSigners

func (x *OperationSetSignerWeight) GetSigners() []*Signer

func (*OperationSetSignerWeight) ProtoMessage

func (*OperationSetSignerWeight) ProtoMessage()

func (*OperationSetSignerWeight) ProtoReflect

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

func (*OperationSetSignerWeight) Reset

func (x *OperationSetSignerWeight) Reset()

func (*OperationSetSignerWeight) String

func (x *OperationSetSignerWeight) String() string

type OperationSetThreshold

type OperationSetThreshold struct {
	TxThreshold    int64                     `protobuf:"varint,1,opt,name=tx_threshold,json=txThreshold,proto3" json:"tx_threshold,omitempty"`
	TypeThresholds []*OperationTypeThreshold `protobuf:"bytes,4,rep,name=type_thresholds,json=typeThresholds,proto3" json:"type_thresholds,omitempty"` //type:threshold, threshold:0 indicates deleting this type
	// contains filtered or unexported fields
}

func (*OperationSetThreshold) Descriptor deprecated

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

Deprecated: Use OperationSetThreshold.ProtoReflect.Descriptor instead.

func (*OperationSetThreshold) GetTxThreshold

func (x *OperationSetThreshold) GetTxThreshold() int64

func (*OperationSetThreshold) GetTypeThresholds

func (x *OperationSetThreshold) GetTypeThresholds() []*OperationTypeThreshold

func (*OperationSetThreshold) ProtoMessage

func (*OperationSetThreshold) ProtoMessage()

func (*OperationSetThreshold) ProtoReflect

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

func (*OperationSetThreshold) Reset

func (x *OperationSetThreshold) Reset()

func (*OperationSetThreshold) String

func (x *OperationSetThreshold) String() string

type OperationTypeThreshold

type OperationTypeThreshold struct {
	Type      Operation_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Operation_Type" json:"type,omitempty"`
	Threshold int64          `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationTypeThreshold) Descriptor deprecated

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

Deprecated: Use OperationTypeThreshold.ProtoReflect.Descriptor instead.

func (*OperationTypeThreshold) GetThreshold

func (x *OperationTypeThreshold) GetThreshold() int64

func (*OperationTypeThreshold) GetType

func (*OperationTypeThreshold) ProtoMessage

func (*OperationTypeThreshold) ProtoMessage()

func (*OperationTypeThreshold) ProtoReflect

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

func (*OperationTypeThreshold) Reset

func (x *OperationTypeThreshold) Reset()

func (*OperationTypeThreshold) String

func (x *OperationTypeThreshold) String() string

type OperationUpgradeContract

type OperationUpgradeContract struct {
	DestAddress string `protobuf:"bytes,1,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	Payload     string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Type        int64  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationUpgradeContract) Descriptor deprecated

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

Deprecated: Use OperationUpgradeContract.ProtoReflect.Descriptor instead.

func (*OperationUpgradeContract) GetDestAddress

func (x *OperationUpgradeContract) GetDestAddress() string

func (*OperationUpgradeContract) GetPayload

func (x *OperationUpgradeContract) GetPayload() string

func (*OperationUpgradeContract) GetType

func (x *OperationUpgradeContract) GetType() int64

func (*OperationUpgradeContract) ProtoMessage

func (*OperationUpgradeContract) ProtoMessage()

func (*OperationUpgradeContract) ProtoReflect

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

func (*OperationUpgradeContract) Reset

func (x *OperationUpgradeContract) Reset()

func (*OperationUpgradeContract) String

func (x *OperationUpgradeContract) String() string

type Operation_Type

type Operation_Type int32
const (
	Operation_UNKNOWN                 Operation_Type = 0
	Operation_CREATE_ACCOUNT          Operation_Type = 1
	Operation_SET_METADATA            Operation_Type = 4
	Operation_SET_SIGNER_WEIGHT       Operation_Type = 5
	Operation_SET_THRESHOLD           Operation_Type = 6
	Operation_PAY_COIN                Operation_Type = 7
	Operation_LOG                     Operation_Type = 8
	Operation_SET_PRIVILEGE           Operation_Type = 9
	Operation_UPGRADE_CONTRACT        Operation_Type = 10
	Operation_SET_CONTROLLED_AREA     Operation_Type = 11
	Operation_CREATE_PRIVATE_CONTRACT Operation_Type = 12
	Operation_CALL_PRIVATE_CONTRACT   Operation_Type = 13
)

func (Operation_Type) Descriptor

func (Operation_Type) Enum

func (x Operation_Type) Enum() *Operation_Type

func (Operation_Type) EnumDescriptor deprecated

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

Deprecated: Use Operation_Type.Descriptor instead.

func (Operation_Type) Number

func (Operation_Type) String

func (x Operation_Type) String() string

func (Operation_Type) Type

type Peer

type Peer struct {
	Ip              string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port            int64  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	NumFailures     int64  `protobuf:"varint,3,opt,name=num_failures,json=numFailures,proto3" json:"num_failures,omitempty"`
	NextAttemptTime int64  `protobuf:"varint,4,opt,name=next_attempt_time,json=nextAttemptTime,proto3" json:"next_attempt_time,omitempty"`
	ActiveTime      int64  `protobuf:"varint,5,opt,name=active_time,json=activeTime,proto3" json:"active_time,omitempty"`
	ConnectionId    int64  `protobuf:"varint,6,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

for peers message

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetActiveTime

func (x *Peer) GetActiveTime() int64

func (*Peer) GetConnectionId

func (x *Peer) GetConnectionId() int64

func (*Peer) GetIp

func (x *Peer) GetIp() string

func (*Peer) GetNextAttemptTime

func (x *Peer) GetNextAttemptTime() int64

func (*Peer) GetNumFailures

func (x *Peer) GetNumFailures() int64

func (*Peer) GetPort

func (x *Peer) GetPort() int64

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type Peers

type Peers struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*Peers) Descriptor deprecated

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

Deprecated: Use Peers.ProtoReflect.Descriptor instead.

func (*Peers) GetPeers

func (x *Peers) GetPeers() []*Peer

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) ProtoReflect

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

func (*Peers) Reset

func (x *Peers) Reset()

func (*Peers) String

func (x *Peers) String() string

type Ping

type Ping struct {
	Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

for ping messsage

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetNonce

func (x *Ping) GetNonce() int64

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

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

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type Pong

type Pong struct {
	Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

for pong message

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetNonce

func (x *Pong) GetNonce() int64

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

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

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

type PrivateContractAccount

type PrivateContractAccount struct {
	Address       string    `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	MetadatasHash []byte    `protobuf:"bytes,2,opt,name=metadatas_hash,json=metadatasHash,proto3" json:"metadatas_hash,omitempty"` //metadatas_hash = merklehash(metadatas);
	Contract      *Contract `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateContractAccount) Descriptor deprecated

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

Deprecated: Use PrivateContractAccount.ProtoReflect.Descriptor instead.

func (*PrivateContractAccount) GetAddress

func (x *PrivateContractAccount) GetAddress() string

func (*PrivateContractAccount) GetContract

func (x *PrivateContractAccount) GetContract() *Contract

func (*PrivateContractAccount) GetMetadatasHash

func (x *PrivateContractAccount) GetMetadatasHash() []byte

func (*PrivateContractAccount) ProtoMessage

func (*PrivateContractAccount) ProtoMessage()

func (*PrivateContractAccount) ProtoReflect

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

func (*PrivateContractAccount) Reset

func (x *PrivateContractAccount) Reset()

func (*PrivateContractAccount) String

func (x *PrivateContractAccount) String() string

type Signature

type Signature struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	SignData  []byte `protobuf:"bytes,2,opt,name=sign_data,json=signData,proto3" json:"sign_data,omitempty"`
	// contains filtered or unexported fields
}

func (*Signature) Descriptor deprecated

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

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetPublicKey

func (x *Signature) GetPublicKey() string

func (*Signature) GetSignData

func (x *Signature) GetSignData() []byte

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type Signer

type Signer struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Weight  int64  `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*Signer) Descriptor deprecated

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

Deprecated: Use Signer.ProtoReflect.Descriptor instead.

func (*Signer) GetAddress

func (x *Signer) GetAddress() string

func (*Signer) GetWeight

func (x *Signer) GetWeight() int64

func (*Signer) ProtoMessage

func (*Signer) ProtoMessage()

func (*Signer) ProtoReflect

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

func (*Signer) Reset

func (x *Signer) Reset()

func (*Signer) String

func (x *Signer) String() string

type Signer_Limit

type Signer_Limit int32
const (
	Signer_SIGNER_NONE Signer_Limit = 0
	Signer_SIGNER      Signer_Limit = 100
)

func (Signer_Limit) Descriptor

func (Signer_Limit) Enum

func (x Signer_Limit) Enum() *Signer_Limit

func (Signer_Limit) EnumDescriptor deprecated

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

Deprecated: Use Signer_Limit.Descriptor instead.

func (Signer_Limit) Number

func (Signer_Limit) String

func (x Signer_Limit) String() string

func (Signer_Limit) Type

type Transaction

type Transaction struct {
	SourceAddress    string       `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	Nonce            int64        `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ExprCondition    string       `protobuf:"bytes,3,opt,name=expr_condition,json=exprCondition,proto3" json:"expr_condition,omitempty"`
	Operations       []*Operation `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"`
	Metadata         []byte       `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	FeeLimit         int64        `protobuf:"varint,6,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	GasPrice         int64        `protobuf:"varint,7,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	CeilLedgerSeq    int64        `protobuf:"varint,8,opt,name=ceil_ledger_seq,json=ceilLedgerSeq,proto3" json:"ceil_ledger_seq,omitempty"`
	ChainId          int64        `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	AddressPrefix    string       `protobuf:"bytes,10,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"` //it represent the address is raw
	RawSourceAddress []byte       `protobuf:"bytes,11,opt,name=raw_source_address,json=rawSourceAddress,proto3" json:"raw_source_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetAddressPrefix

func (x *Transaction) GetAddressPrefix() string

func (*Transaction) GetCeilLedgerSeq

func (x *Transaction) GetCeilLedgerSeq() int64

func (*Transaction) GetChainId

func (x *Transaction) GetChainId() int64

func (*Transaction) GetExprCondition

func (x *Transaction) GetExprCondition() string

func (*Transaction) GetFeeLimit

func (x *Transaction) GetFeeLimit() int64

func (*Transaction) GetGasPrice

func (x *Transaction) GetGasPrice() int64

func (*Transaction) GetMetadata

func (x *Transaction) GetMetadata() []byte

func (*Transaction) GetNonce

func (x *Transaction) GetNonce() int64

func (*Transaction) GetOperations

func (x *Transaction) GetOperations() []*Operation

func (*Transaction) GetRawSourceAddress

func (x *Transaction) GetRawSourceAddress() []byte

func (*Transaction) GetSourceAddress

func (x *Transaction) GetSourceAddress() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionEnv

type TransactionEnv struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Signatures  []*Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
	Trigger     *Trigger     `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionEnv) Descriptor deprecated

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

Deprecated: Use TransactionEnv.ProtoReflect.Descriptor instead.

func (*TransactionEnv) GetSignatures

func (x *TransactionEnv) GetSignatures() []*Signature

func (*TransactionEnv) GetTransaction

func (x *TransactionEnv) GetTransaction() *Transaction

func (*TransactionEnv) GetTrigger

func (x *TransactionEnv) GetTrigger() *Trigger

func (*TransactionEnv) ProtoMessage

func (*TransactionEnv) ProtoMessage()

func (*TransactionEnv) ProtoReflect

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

func (*TransactionEnv) Reset

func (x *TransactionEnv) Reset()

func (*TransactionEnv) String

func (x *TransactionEnv) String() string

type TransactionEnvResult

type TransactionEnvResult struct {
	TranEnv          *TransactionEnv `protobuf:"bytes,1,opt,name=tran_env,json=tranEnv,proto3" json:"tran_env,omitempty"`
	TxHash           string          `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	ErrorCode        ERRORCODE       `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=protocol.ERRORCODE" json:"error_code,omitempty"`
	ErrorDesc        string          `protobuf:"bytes,4,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`
	LedgerSeq        int64           `protobuf:"varint,5,opt,name=ledger_seq,json=ledgerSeq,proto3" json:"ledger_seq,omitempty"`
	CloseTime        int64           `protobuf:"varint,6,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	ActualFee        int64           `protobuf:"varint,7,opt,name=actual_fee,json=actualFee,proto3" json:"actual_fee,omitempty"`
	ContractTxHashes [][]byte        `protobuf:"bytes,8,rep,name=contract_tx_hashes,json=contractTxHashes,proto3" json:"contract_tx_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionEnvResult) Descriptor deprecated

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

Deprecated: Use TransactionEnvResult.ProtoReflect.Descriptor instead.

func (*TransactionEnvResult) GetActualFee

func (x *TransactionEnvResult) GetActualFee() int64

func (*TransactionEnvResult) GetCloseTime

func (x *TransactionEnvResult) GetCloseTime() int64

func (*TransactionEnvResult) GetContractTxHashes

func (x *TransactionEnvResult) GetContractTxHashes() [][]byte

func (*TransactionEnvResult) GetErrorCode

func (x *TransactionEnvResult) GetErrorCode() ERRORCODE

func (*TransactionEnvResult) GetErrorDesc

func (x *TransactionEnvResult) GetErrorDesc() string

func (*TransactionEnvResult) GetLedgerSeq

func (x *TransactionEnvResult) GetLedgerSeq() int64

func (*TransactionEnvResult) GetTranEnv

func (x *TransactionEnvResult) GetTranEnv() *TransactionEnv

func (*TransactionEnvResult) GetTxHash

func (x *TransactionEnvResult) GetTxHash() string

func (*TransactionEnvResult) ProtoMessage

func (*TransactionEnvResult) ProtoMessage()

func (*TransactionEnvResult) ProtoReflect

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

func (*TransactionEnvResult) Reset

func (x *TransactionEnvResult) Reset()

func (*TransactionEnvResult) String

func (x *TransactionEnvResult) String() string

type TransactionEnvSet

type TransactionEnvSet struct {
	Txs []*TransactionEnv `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionEnvSet) Descriptor deprecated

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

Deprecated: Use TransactionEnvSet.ProtoReflect.Descriptor instead.

func (*TransactionEnvSet) GetTxs

func (x *TransactionEnvSet) GetTxs() []*TransactionEnv

func (*TransactionEnvSet) ProtoMessage

func (*TransactionEnvSet) ProtoMessage()

func (*TransactionEnvSet) ProtoReflect

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

func (*TransactionEnvSet) Reset

func (x *TransactionEnvSet) Reset()

func (*TransactionEnvSet) String

func (x *TransactionEnvSet) String() string

type TransactionEnvStore

type TransactionEnvStore struct {
	TransactionEnv *TransactionEnv `protobuf:"bytes,1,opt,name=transaction_env,json=transactionEnv,proto3" json:"transaction_env,omitempty"`
	ErrorCode      int32           `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	ErrorDesc      string          `protobuf:"bytes,3,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`
	LedgerSeq      int64           `protobuf:"varint,4,opt,name=ledger_seq,json=ledgerSeq,proto3" json:"ledger_seq,omitempty"`
	CloseTime      int64           `protobuf:"varint,5,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	//for notify
	Hash             []byte   `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
	ActualFee        int64    `protobuf:"varint,7,opt,name=actual_fee,json=actualFee,proto3" json:"actual_fee,omitempty"`
	ContractTxHashes [][]byte `protobuf:"bytes,8,rep,name=contract_tx_hashes,json=contractTxHashes,proto3" json:"contract_tx_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionEnvStore) Descriptor deprecated

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

Deprecated: Use TransactionEnvStore.ProtoReflect.Descriptor instead.

func (*TransactionEnvStore) GetActualFee

func (x *TransactionEnvStore) GetActualFee() int64

func (*TransactionEnvStore) GetCloseTime

func (x *TransactionEnvStore) GetCloseTime() int64

func (*TransactionEnvStore) GetContractTxHashes

func (x *TransactionEnvStore) GetContractTxHashes() [][]byte

func (*TransactionEnvStore) GetErrorCode

func (x *TransactionEnvStore) GetErrorCode() int32

func (*TransactionEnvStore) GetErrorDesc

func (x *TransactionEnvStore) GetErrorDesc() string

func (*TransactionEnvStore) GetHash

func (x *TransactionEnvStore) GetHash() []byte

func (*TransactionEnvStore) GetLedgerSeq

func (x *TransactionEnvStore) GetLedgerSeq() int64

func (*TransactionEnvStore) GetTransactionEnv

func (x *TransactionEnvStore) GetTransactionEnv() *TransactionEnv

func (*TransactionEnvStore) ProtoMessage

func (*TransactionEnvStore) ProtoMessage()

func (*TransactionEnvStore) ProtoReflect

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

func (*TransactionEnvStore) Reset

func (x *TransactionEnvStore) Reset()

func (*TransactionEnvStore) String

func (x *TransactionEnvStore) String() string

type Transaction_Limit

type Transaction_Limit int32
const (
	Transaction_UNKNOWN    Transaction_Limit = 0
	Transaction_OPERATIONS Transaction_Limit = 1000
)

func (Transaction_Limit) Descriptor

func (Transaction_Limit) Enum

func (Transaction_Limit) EnumDescriptor deprecated

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

Deprecated: Use Transaction_Limit.Descriptor instead.

func (Transaction_Limit) Number

func (Transaction_Limit) String

func (x Transaction_Limit) String() string

func (Transaction_Limit) Type

type Trigger

type Trigger struct {
	TransactionType Trigger_TransactionType   ``                                                                                          /* 145-byte string literal not displayed */
	LedgerSeq       int64                     `protobuf:"varint,2,opt,name=ledger_seq,json=ledgerSeq,proto3" json:"ledger_seq,omitempty"` //If it is triggered by a specific block (temporarily not provided)
	Transaction     *Trigger_OperationTrigger `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"`               //If it's a transaction triggered
	// contains filtered or unexported fields
}

func (*Trigger) Descriptor deprecated

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

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetLedgerSeq

func (x *Trigger) GetLedgerSeq() int64

func (*Trigger) GetTransaction

func (x *Trigger) GetTransaction() *Trigger_OperationTrigger

func (*Trigger) GetTransactionType

func (x *Trigger) GetTransactionType() Trigger_TransactionType

func (*Trigger) ProtoMessage

func (*Trigger) ProtoMessage()

func (*Trigger) ProtoReflect

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

func (*Trigger) Reset

func (x *Trigger) Reset()

func (*Trigger) String

func (x *Trigger) String() string

type Trigger_OperationTrigger

type Trigger_OperationTrigger struct {
	Hash  []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Index int64  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Trigger_OperationTrigger) Descriptor deprecated

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

Deprecated: Use Trigger_OperationTrigger.ProtoReflect.Descriptor instead.

func (*Trigger_OperationTrigger) GetHash

func (x *Trigger_OperationTrigger) GetHash() []byte

func (*Trigger_OperationTrigger) GetIndex

func (x *Trigger_OperationTrigger) GetIndex() int64

func (*Trigger_OperationTrigger) ProtoMessage

func (*Trigger_OperationTrigger) ProtoMessage()

func (*Trigger_OperationTrigger) ProtoReflect

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

func (*Trigger_OperationTrigger) Reset

func (x *Trigger_OperationTrigger) Reset()

func (*Trigger_OperationTrigger) String

func (x *Trigger_OperationTrigger) String() string

type Trigger_TransactionType

type Trigger_TransactionType int32
const (
	Trigger_NORMAL_TRANSACTION   Trigger_TransactionType = 0
	Trigger_CONTRACT_TRANSACTION Trigger_TransactionType = 1
)

func (Trigger_TransactionType) Descriptor

func (Trigger_TransactionType) Enum

func (Trigger_TransactionType) EnumDescriptor deprecated

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

Deprecated: Use Trigger_TransactionType.Descriptor instead.

func (Trigger_TransactionType) Number

func (Trigger_TransactionType) String

func (x Trigger_TransactionType) String() string

func (Trigger_TransactionType) Type

type WsMessage

type WsMessage struct {
	Type     int64  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`       //1: ping
	Request  bool   `protobuf:"varint,2,opt,name=request,proto3" json:"request,omitempty"` //true :request , false:reponse
	Sequence int64  `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Data     []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WsMessage) Descriptor deprecated

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

Deprecated: Use WsMessage.ProtoReflect.Descriptor instead.

func (*WsMessage) GetData

func (x *WsMessage) GetData() []byte

func (*WsMessage) GetRequest

func (x *WsMessage) GetRequest() bool

func (*WsMessage) GetSequence

func (x *WsMessage) GetSequence() int64

func (*WsMessage) GetType

func (x *WsMessage) GetType() int64

func (*WsMessage) ProtoMessage

func (*WsMessage) ProtoMessage()

func (*WsMessage) ProtoReflect

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

func (*WsMessage) Reset

func (x *WsMessage) Reset()

func (*WsMessage) String

func (x *WsMessage) String() string

Jump to

Keyboard shortcuts

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