Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountId() []byte
- func (x *Account) GetAccountName() []byte
- func (x *Account) GetAccountResource() *Account_AccountResource
- func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64
- func (x *Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth() int64
- func (x *Account) GetActivePermission() []*Permission
- func (x *Account) GetAddress() []byte
- func (x *Account) GetAllowance() int64
- func (x *Account) GetAsset() map[string]int64
- func (x *Account) GetAssetIssuedName() []byte
- func (x *Account) GetAssetIssued_ID() []byte
- func (x *Account) GetAssetOptimized() bool
- func (x *Account) GetAssetV2() map[string]int64
- func (x *Account) GetBalance() int64
- func (x *Account) GetCode() []byte
- func (x *Account) GetCodeHash() []byte
- func (x *Account) GetCreateTime() int64
- func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64
- func (x *Account) GetDelegatedFrozenV2BalanceForBandwidth() int64
- func (x *Account) GetFreeAssetNetUsage() map[string]int64
- func (x *Account) GetFreeAssetNetUsageV2() map[string]int64
- func (x *Account) GetFreeNetUsage() int64
- func (x *Account) GetFrozen() []*Account_Frozen
- func (x *Account) GetFrozenSupply() []*Account_Frozen
- func (x *Account) GetFrozenV2() []*Account_FreezeV2
- func (x *Account) GetIsCommittee() bool
- func (x *Account) GetIsWitness() bool
- func (x *Account) GetLatestAssetOperationTime() map[string]int64
- func (x *Account) GetLatestAssetOperationTimeV2() map[string]int64
- func (x *Account) GetLatestConsumeFreeTime() int64
- func (x *Account) GetLatestConsumeTime() int64
- func (x *Account) GetLatestOprationTime() int64
- func (x *Account) GetLatestWithdrawTime() int64
- func (x *Account) GetNetUsage() int64
- func (x *Account) GetNetWindowOptimized() bool
- func (x *Account) GetNetWindowSize() int64
- func (x *Account) GetOldTronPower() int64
- func (x *Account) GetOwnerPermission() *Permission
- func (x *Account) GetTronPower() *Account_Frozen
- func (x *Account) GetType() AccountType
- func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2
- func (x *Account) GetVotes() []*Vote
- func (x *Account) GetWitnessPermission() *Permission
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountId
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type Account_AccountResource
- func (*Account_AccountResource) Descriptor() ([]byte, []int)deprecated
- func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64
- func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
- func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64
- func (x *Account_AccountResource) GetEnergyUsage() int64
- func (x *Account_AccountResource) GetEnergyWindowOptimized() bool
- func (x *Account_AccountResource) GetEnergyWindowSize() int64
- func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen
- func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64
- func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64
- func (x *Account_AccountResource) GetStorageLimit() int64
- func (x *Account_AccountResource) GetStorageUsage() int64
- func (*Account_AccountResource) ProtoMessage()
- func (x *Account_AccountResource) ProtoReflect() protoreflect.Message
- func (x *Account_AccountResource) Reset()
- func (x *Account_AccountResource) String() string
- type Account_FreezeV2
- func (*Account_FreezeV2) Descriptor() ([]byte, []int)deprecated
- func (x *Account_FreezeV2) GetAmount() int64
- func (x *Account_FreezeV2) GetType() ResourceCode
- func (*Account_FreezeV2) ProtoMessage()
- func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message
- func (x *Account_FreezeV2) Reset()
- func (x *Account_FreezeV2) String() string
- type Account_Frozen
- func (*Account_Frozen) Descriptor() ([]byte, []int)deprecated
- func (x *Account_Frozen) GetExpireTime() int64
- func (x *Account_Frozen) GetFrozenBalance() int64
- func (*Account_Frozen) ProtoMessage()
- func (x *Account_Frozen) ProtoReflect() protoreflect.Message
- func (x *Account_Frozen) Reset()
- func (x *Account_Frozen) String() string
- type Account_UnFreezeV2
- func (*Account_UnFreezeV2) Descriptor() ([]byte, []int)deprecated
- func (x *Account_UnFreezeV2) GetType() ResourceCode
- func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64
- func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64
- func (*Account_UnFreezeV2) ProtoMessage()
- func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message
- func (x *Account_UnFreezeV2) Reset()
- func (x *Account_UnFreezeV2) String() string
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)deprecated
- func (x *Authority) GetAccount() *AccountId
- func (x *Authority) GetPermissionName() []byte
- func (*Authority) ProtoMessage()
- func (x *Authority) ProtoReflect() protoreflect.Message
- func (x *Authority) Reset()
- func (x *Authority) String() string
- type BackupMessage
- func (*BackupMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BackupMessage) GetFlag() bool
- func (x *BackupMessage) GetPriority() int32
- func (*BackupMessage) ProtoMessage()
- func (x *BackupMessage) ProtoReflect() protoreflect.Message
- func (x *BackupMessage) Reset()
- func (x *BackupMessage) String() string
- type Block
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeader) GetRawData() *BlockHeaderRaw
- func (x *BlockHeader) GetWitnessSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (x *BlockHeader) ProtoReflect() protoreflect.Message
- func (x *BlockHeader) Reset()
- func (x *BlockHeader) String() string
- type BlockHeaderRaw
- func (*BlockHeaderRaw) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeaderRaw) GetAccountStateRoot() []byte
- func (x *BlockHeaderRaw) GetNumber() int64
- func (x *BlockHeaderRaw) GetParentHash() []byte
- func (x *BlockHeaderRaw) GetTimestamp() int64
- func (x *BlockHeaderRaw) GetTxTrieRoot() []byte
- func (x *BlockHeaderRaw) GetVersion() int32
- func (x *BlockHeaderRaw) GetWitnessAddress() []byte
- func (x *BlockHeaderRaw) GetWitnessId() int64
- func (*BlockHeaderRaw) ProtoMessage()
- func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message
- func (x *BlockHeaderRaw) Reset()
- func (x *BlockHeaderRaw) String() string
- type BlockInventory
- func (*BlockInventory) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInventory) GetIds() []*BlockInventory_BlockId
- func (x *BlockInventory) GetType() BlockInventory_Type
- func (*BlockInventory) ProtoMessage()
- func (x *BlockInventory) ProtoReflect() protoreflect.Message
- func (x *BlockInventory) Reset()
- func (x *BlockInventory) String() string
- type BlockInventory_BlockId
- func (*BlockInventory_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInventory_BlockId) GetHash() []byte
- func (x *BlockInventory_BlockId) GetNumber() int64
- func (*BlockInventory_BlockId) ProtoMessage()
- func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message
- func (x *BlockInventory_BlockId) Reset()
- func (x *BlockInventory_BlockId) String() string
- type BlockInventory_Type
- func (BlockInventory_Type) Descriptor() protoreflect.EnumDescriptor
- func (x BlockInventory_Type) Enum() *BlockInventory_Type
- func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockInventory_Type) Number() protoreflect.EnumNumber
- func (x BlockInventory_Type) String() string
- func (BlockInventory_Type) Type() protoreflect.EnumType
- type ChainInventory
- func (*ChainInventory) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInventory) GetIds() []*ChainInventory_BlockId
- func (x *ChainInventory) GetRemainNum() int64
- func (*ChainInventory) ProtoMessage()
- func (x *ChainInventory) ProtoReflect() protoreflect.Message
- func (x *ChainInventory) Reset()
- func (x *ChainInventory) String() string
- type ChainInventory_BlockId
- func (*ChainInventory_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInventory_BlockId) GetHash() []byte
- func (x *ChainInventory_BlockId) GetNumber() int64
- func (*ChainInventory_BlockId) ProtoMessage()
- func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message
- func (x *ChainInventory_BlockId) Reset()
- func (x *ChainInventory_BlockId) String() string
- type ChainParameters
- func (*ChainParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter
- func (*ChainParameters) ProtoMessage()
- func (x *ChainParameters) ProtoReflect() protoreflect.Message
- func (x *ChainParameters) Reset()
- func (x *ChainParameters) String() string
- type ChainParameters_ChainParameter
- func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParameters_ChainParameter) GetKey() string
- func (x *ChainParameters_ChainParameter) GetValue() int64
- func (*ChainParameters_ChainParameter) ProtoMessage()
- func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message
- func (x *ChainParameters_ChainParameter) Reset()
- func (x *ChainParameters_ChainParameter) String() string
- type DelegatedResource
- func (*DelegatedResource) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatedResource) GetExpireTimeForBandwidth() int64
- func (x *DelegatedResource) GetExpireTimeForEnergy() int64
- func (x *DelegatedResource) GetFrom() []byte
- func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64
- func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64
- func (x *DelegatedResource) GetTo() []byte
- func (*DelegatedResource) ProtoMessage()
- func (x *DelegatedResource) ProtoReflect() protoreflect.Message
- func (x *DelegatedResource) Reset()
- func (x *DelegatedResource) String() string
- type DelegatedResourceAccountIndex
- func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatedResourceAccountIndex) GetAccount() []byte
- func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte
- func (x *DelegatedResourceAccountIndex) GetTimestamp() int64
- func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte
- func (*DelegatedResourceAccountIndex) ProtoMessage()
- func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message
- func (x *DelegatedResourceAccountIndex) Reset()
- func (x *DelegatedResourceAccountIndex) String() string
- type DisconnectMessage
- func (*DisconnectMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMessage) GetReason() ReasonCode
- func (*DisconnectMessage) ProtoMessage()
- func (x *DisconnectMessage) ProtoReflect() protoreflect.Message
- func (x *DisconnectMessage) Reset()
- func (x *DisconnectMessage) String() string
- type DynamicProperties
- func (*DynamicProperties) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicProperties) GetLastSolidityBlockNum() int64
- func (*DynamicProperties) ProtoMessage()
- func (x *DynamicProperties) ProtoReflect() protoreflect.Message
- func (x *DynamicProperties) Reset()
- func (x *DynamicProperties) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetAddress() []byte
- func (x *Endpoint) GetNodeId() []byte
- func (x *Endpoint) GetPort() int32
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type Exchange
- func (*Exchange) Descriptor() ([]byte, []int)deprecated
- func (x *Exchange) GetCreateTime() int64
- func (x *Exchange) GetCreatorAddress() []byte
- func (x *Exchange) GetExchangeId() int64
- func (x *Exchange) GetFirstTokenBalance() int64
- func (x *Exchange) GetFirstTokenId() []byte
- func (x *Exchange) GetSecondTokenBalance() int64
- func (x *Exchange) GetSecondTokenId() []byte
- func (*Exchange) ProtoMessage()
- func (x *Exchange) ProtoReflect() protoreflect.Message
- func (x *Exchange) Reset()
- func (x *Exchange) String() string
- type FindNeighbours
- func (*FindNeighbours) Descriptor() ([]byte, []int)deprecated
- func (x *FindNeighbours) GetFrom() *Endpoint
- func (x *FindNeighbours) GetTargetId() []byte
- func (x *FindNeighbours) GetTimestamp() int64
- func (*FindNeighbours) ProtoMessage()
- func (x *FindNeighbours) ProtoReflect() protoreflect.Message
- func (x *FindNeighbours) Reset()
- func (x *FindNeighbours) String() string
- type HelloMessage
- func (*HelloMessage) Descriptor() ([]byte, []int)deprecated
- func (x *HelloMessage) GetAddress() []byte
- func (x *HelloMessage) GetFrom() *Endpoint
- func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetLowestBlockNum() int64
- func (x *HelloMessage) GetNodeType() int32
- func (x *HelloMessage) GetSignature() []byte
- func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
- func (x *HelloMessage) GetTimestamp() int64
- func (x *HelloMessage) GetVersion() int32
- func (*HelloMessage) ProtoMessage()
- func (x *HelloMessage) ProtoReflect() protoreflect.Message
- func (x *HelloMessage) Reset()
- func (x *HelloMessage) String() string
- type HelloMessage_BlockId
- func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)deprecated
- func (x *HelloMessage_BlockId) GetHash() []byte
- func (x *HelloMessage_BlockId) GetNumber() int64
- func (*HelloMessage_BlockId) ProtoMessage()
- func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message
- func (x *HelloMessage_BlockId) Reset()
- func (x *HelloMessage_BlockId) String() string
- type InternalTransaction
- func (*InternalTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo
- func (x *InternalTransaction) GetCallerAddress() []byte
- func (x *InternalTransaction) GetExtra() string
- func (x *InternalTransaction) GetHash() []byte
- func (x *InternalTransaction) GetNote() []byte
- func (x *InternalTransaction) GetRejected() bool
- func (x *InternalTransaction) GetTransferToAddress() []byte
- func (*InternalTransaction) ProtoMessage()
- func (x *InternalTransaction) ProtoReflect() protoreflect.Message
- func (x *InternalTransaction) Reset()
- func (x *InternalTransaction) String() string
- type InternalTransaction_CallValueInfo
- func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InternalTransaction_CallValueInfo) GetCallValue() int64
- func (x *InternalTransaction_CallValueInfo) GetTokenId() string
- func (*InternalTransaction_CallValueInfo) ProtoMessage()
- func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message
- func (x *InternalTransaction_CallValueInfo) Reset()
- func (x *InternalTransaction_CallValueInfo) String() string
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetIds() [][]byte
- func (x *Inventory) GetType() Inventory_InventoryType
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type InventoryItems
- func (*InventoryItems) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryItems) GetItems() [][]byte
- func (x *InventoryItems) GetType() int32
- func (*InventoryItems) ProtoMessage()
- func (x *InventoryItems) ProtoReflect() protoreflect.Message
- func (x *InventoryItems) Reset()
- func (x *InventoryItems) String() string
- type Inventory_InventoryType
- func (Inventory_InventoryType) Descriptor() protoreflect.EnumDescriptor
- func (x Inventory_InventoryType) Enum() *Inventory_InventoryType
- func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Inventory_InventoryType) Number() protoreflect.EnumNumber
- func (x Inventory_InventoryType) String() string
- func (Inventory_InventoryType) Type() protoreflect.EnumType
- type Items
- func (*Items) Descriptor() ([]byte, []int)deprecated
- func (x *Items) GetBlockHeaders() []*BlockHeader
- func (x *Items) GetBlocks() []*Block
- func (x *Items) GetTransactions() []*Transaction
- func (x *Items) GetType() Items_ItemType
- func (*Items) ProtoMessage()
- func (x *Items) ProtoReflect() protoreflect.Message
- func (x *Items) Reset()
- func (x *Items) String() string
- type Items_ItemType
- func (Items_ItemType) Descriptor() protoreflect.EnumDescriptor
- func (x Items_ItemType) Enum() *Items_ItemType
- func (Items_ItemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Items_ItemType) Number() protoreflect.EnumNumber
- func (x Items_ItemType) String() string
- func (Items_ItemType) Type() protoreflect.EnumType
- type Key
- type MarketAccountOrder
- func (*MarketAccountOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MarketAccountOrder) GetCount() int64
- func (x *MarketAccountOrder) GetOrders() [][]byte
- func (x *MarketAccountOrder) GetOwnerAddress() []byte
- func (x *MarketAccountOrder) GetTotalCount() int64
- func (*MarketAccountOrder) ProtoMessage()
- func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message
- func (x *MarketAccountOrder) Reset()
- func (x *MarketAccountOrder) String() string
- type MarketOrder
- func (*MarketOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrder) GetBuyTokenId() []byte
- func (x *MarketOrder) GetBuyTokenQuantity() int64
- func (x *MarketOrder) GetCreateTime() int64
- func (x *MarketOrder) GetNext() []byte
- func (x *MarketOrder) GetOrderId() []byte
- func (x *MarketOrder) GetOwnerAddress() []byte
- func (x *MarketOrder) GetPrev() []byte
- func (x *MarketOrder) GetSellTokenId() []byte
- func (x *MarketOrder) GetSellTokenQuantity() int64
- func (x *MarketOrder) GetSellTokenQuantityRemain() int64
- func (x *MarketOrder) GetSellTokenQuantityReturn() int64
- func (x *MarketOrder) GetState() MarketOrder_State
- func (*MarketOrder) ProtoMessage()
- func (x *MarketOrder) ProtoReflect() protoreflect.Message
- func (x *MarketOrder) Reset()
- func (x *MarketOrder) String() string
- type MarketOrderDetail
- func (*MarketOrderDetail) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderDetail) GetFillBuyQuantity() int64
- func (x *MarketOrderDetail) GetFillSellQuantity() int64
- func (x *MarketOrderDetail) GetMakerOrderId() []byte
- func (x *MarketOrderDetail) GetTakerOrderId() []byte
- func (*MarketOrderDetail) ProtoMessage()
- func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message
- func (x *MarketOrderDetail) Reset()
- func (x *MarketOrderDetail) String() string
- type MarketOrderIdList
- func (*MarketOrderIdList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderIdList) GetHead() []byte
- func (x *MarketOrderIdList) GetTail() []byte
- func (*MarketOrderIdList) ProtoMessage()
- func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message
- func (x *MarketOrderIdList) Reset()
- func (x *MarketOrderIdList) String() string
- type MarketOrderList
- type MarketOrderPair
- func (*MarketOrderPair) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderPair) GetBuyTokenId() []byte
- func (x *MarketOrderPair) GetSellTokenId() []byte
- func (*MarketOrderPair) ProtoMessage()
- func (x *MarketOrderPair) ProtoReflect() protoreflect.Message
- func (x *MarketOrderPair) Reset()
- func (x *MarketOrderPair) String() string
- type MarketOrderPairList
- func (*MarketOrderPairList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair
- func (*MarketOrderPairList) ProtoMessage()
- func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message
- func (x *MarketOrderPairList) Reset()
- func (x *MarketOrderPairList) String() string
- type MarketOrder_State
- func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor
- func (x MarketOrder_State) Enum() *MarketOrder_State
- func (MarketOrder_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MarketOrder_State) Number() protoreflect.EnumNumber
- func (x MarketOrder_State) String() string
- func (MarketOrder_State) Type() protoreflect.EnumType
- type MarketPrice
- func (*MarketPrice) Descriptor() ([]byte, []int)deprecated
- func (x *MarketPrice) GetBuyTokenQuantity() int64
- func (x *MarketPrice) GetSellTokenQuantity() int64
- func (*MarketPrice) ProtoMessage()
- func (x *MarketPrice) ProtoReflect() protoreflect.Message
- func (x *MarketPrice) Reset()
- func (x *MarketPrice) String() string
- type MarketPriceList
- func (*MarketPriceList) Descriptor() ([]byte, []int)deprecated
- func (x *MarketPriceList) GetBuyTokenId() []byte
- func (x *MarketPriceList) GetPrices() []*MarketPrice
- func (x *MarketPriceList) GetSellTokenId() []byte
- func (*MarketPriceList) ProtoMessage()
- func (x *MarketPriceList) ProtoReflect() protoreflect.Message
- func (x *MarketPriceList) Reset()
- func (x *MarketPriceList) String() string
- type MetricsInfo
- func (*MetricsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo
- func (x *MetricsInfo) GetInterval() int64
- func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo
- func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo
- func (*MetricsInfo) ProtoMessage()
- func (x *MetricsInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo) Reset()
- func (x *MetricsInfo) String() string
- type MetricsInfo_BlockChainInfo
- func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness
- func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32
- func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string
- func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64
- func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32
- func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness
- func (*MetricsInfo_BlockChainInfo) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo) Reset()
- func (x *MetricsInfo_BlockChainInfo) String() string
- type MetricsInfo_BlockChainInfo_DupWitness
- func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64
- func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32
- func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset()
- func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string
- type MetricsInfo_BlockChainInfo_Witness
- func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string
- func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32
- func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage()
- func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_BlockChainInfo_Witness) Reset()
- func (x *MetricsInfo_BlockChainInfo_Witness) String() string
- type MetricsInfo_NetInfo
- func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo
- func (x *MetricsInfo_NetInfo) GetConnectionCount() int32
- func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32
- func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo
- func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32
- func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo
- func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32
- func (*MetricsInfo_NetInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo) Reset()
- func (x *MetricsInfo_NetInfo) String() string
- type MetricsInfo_NetInfo_ApiInfo
- func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo
- func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_ApiInfo) Reset()
- func (x *MetricsInfo_NetInfo_ApiInfo) String() string
- type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
- func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo
- func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string
- type MetricsInfo_NetInfo_DisconnectionDetailInfo
- func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string
- func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string
- type MetricsInfo_NetInfo_LatencyInfo
- func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32
- func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_LatencyInfo) Reset()
- func (x *MetricsInfo_NetInfo_LatencyInfo) String() string
- type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
- func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string
- func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage()
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset()
- func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string
- type MetricsInfo_NodeInfo
- func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32
- func (x *MetricsInfo_NodeInfo) GetIp() string
- func (x *MetricsInfo_NodeInfo) GetNodeType() int32
- func (x *MetricsInfo_NodeInfo) GetVersion() string
- func (*MetricsInfo_NodeInfo) ProtoMessage()
- func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_NodeInfo) Reset()
- func (x *MetricsInfo_NodeInfo) String() string
- type MetricsInfo_RateInfo
- func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsInfo_RateInfo) GetCount() int64
- func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64
- func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64
- func (x *MetricsInfo_RateInfo) GetMeanRate() float64
- func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64
- func (*MetricsInfo_RateInfo) ProtoMessage()
- func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message
- func (x *MetricsInfo_RateInfo) Reset()
- func (x *MetricsInfo_RateInfo) String() string
- type Neighbours
- func (*Neighbours) Descriptor() ([]byte, []int)deprecated
- func (x *Neighbours) GetFrom() *Endpoint
- func (x *Neighbours) GetNeighbours() []*Endpoint
- func (x *Neighbours) GetTimestamp() int64
- func (*Neighbours) ProtoMessage()
- func (x *Neighbours) ProtoReflect() protoreflect.Message
- func (x *Neighbours) Reset()
- func (x *Neighbours) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetActiveConnectCount() int32
- func (x *NodeInfo) GetBeginSyncNum() int64
- func (x *NodeInfo) GetBlock() string
- func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string
- func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo
- func (x *NodeInfo) GetCurrentConnectCount() int32
- func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo
- func (x *NodeInfo) GetPassiveConnectCount() int32
- func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo
- func (x *NodeInfo) GetSolidityBlock() string
- func (x *NodeInfo) GetTotalFlow() int64
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfo_ConfigNodeInfo
- func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64
- func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64
- func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32
- func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32
- func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string
- func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32
- func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool
- func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64
- func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32
- func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64
- func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string
- func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32
- func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool
- func (*NodeInfo_ConfigNodeInfo) ProtoMessage()
- func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_ConfigNodeInfo) Reset()
- func (x *NodeInfo_ConfigNodeInfo) String() string
- type NodeInfo_MachineInfo
- func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo) GetCpuCount() int32
- func (x *NodeInfo_MachineInfo) GetCpuRate() float64
- func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32
- func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo
- func (x *NodeInfo_MachineInfo) GetFreeMemory() int64
- func (x *NodeInfo_MachineInfo) GetJavaVersion() string
- func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64
- func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() int64
- func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo
- func (x *NodeInfo_MachineInfo) GetOsName() string
- func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64
- func (x *NodeInfo_MachineInfo) GetThreadCount() int32
- func (x *NodeInfo_MachineInfo) GetTotalMemory() int64
- func (*NodeInfo_MachineInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo) Reset()
- func (x *NodeInfo_MachineInfo) String() string
- type NodeInfo_MachineInfo_DeadLockThreadInfo
- func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64
- func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset()
- func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string
- type NodeInfo_MachineInfo_MemoryDescInfo
- func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64
- func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage()
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset()
- func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string
- type NodeInfo_PeerInfo
- func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_PeerInfo) GetAvgLatency() float64
- func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32
- func (x *NodeInfo_PeerInfo) GetConnectTime() int64
- func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32
- func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64
- func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string
- func (x *NodeInfo_PeerInfo) GetHost() string
- func (x *NodeInfo_PeerInfo) GetInFlow() int64
- func (x *NodeInfo_PeerInfo) GetIsActive() bool
- func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64
- func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string
- func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string
- func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool
- func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool
- func (x *NodeInfo_PeerInfo) GetNodeCount() int32
- func (x *NodeInfo_PeerInfo) GetNodeId() string
- func (x *NodeInfo_PeerInfo) GetPort() int32
- func (x *NodeInfo_PeerInfo) GetRemainNum() int64
- func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string
- func (x *NodeInfo_PeerInfo) GetScore() int32
- func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32
- func (x *NodeInfo_PeerInfo) GetSyncFlag() bool
- func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32
- func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64
- func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64
- func (*NodeInfo_PeerInfo) ProtoMessage()
- func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_PeerInfo) Reset()
- func (x *NodeInfo_PeerInfo) String() string
- type PBFTCommitResult
- func (*PBFTCommitResult) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTCommitResult) GetData() []byte
- func (x *PBFTCommitResult) GetSignature() [][]byte
- func (*PBFTCommitResult) ProtoMessage()
- func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message
- func (x *PBFTCommitResult) Reset()
- func (x *PBFTCommitResult) String() string
- type PBFTMessage
- func (*PBFTMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw
- func (x *PBFTMessage) GetSignature() []byte
- func (*PBFTMessage) ProtoMessage()
- func (x *PBFTMessage) ProtoReflect() protoreflect.Message
- func (x *PBFTMessage) Reset()
- func (x *PBFTMessage) String() string
- type PBFTMessage_DataType
- func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor
- func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType
- func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber
- func (x PBFTMessage_DataType) String() string
- func (PBFTMessage_DataType) Type() protoreflect.EnumType
- type PBFTMessage_MsgType
- func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor
- func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType
- func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber
- func (x PBFTMessage_MsgType) String() string
- func (PBFTMessage_MsgType) Type() protoreflect.EnumType
- type PBFTMessage_Raw
- func (*PBFTMessage_Raw) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTMessage_Raw) GetData() []byte
- func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType
- func (x *PBFTMessage_Raw) GetEpoch() int64
- func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType
- func (x *PBFTMessage_Raw) GetViewN() int64
- func (*PBFTMessage_Raw) ProtoMessage()
- func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message
- func (x *PBFTMessage_Raw) Reset()
- func (x *PBFTMessage_Raw) String() string
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetId() int32
- func (x *Permission) GetKeys() []*Key
- func (x *Permission) GetOperations() []byte
- func (x *Permission) GetParentId() int32
- func (x *Permission) GetPermissionName() string
- func (x *Permission) GetThreshold() int64
- func (x *Permission) GetType() Permission_PermissionType
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type Permission_PermissionType
- func (Permission_PermissionType) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_PermissionType) Enum() *Permission_PermissionType
- func (Permission_PermissionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_PermissionType) Number() protoreflect.EnumNumber
- func (x Permission_PermissionType) String() string
- func (Permission_PermissionType) Type() protoreflect.EnumType
- type PingMessage
- func (*PingMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PingMessage) GetFrom() *Endpoint
- func (x *PingMessage) GetTimestamp() int64
- func (x *PingMessage) GetTo() *Endpoint
- func (x *PingMessage) GetVersion() int32
- func (*PingMessage) ProtoMessage()
- func (x *PingMessage) ProtoReflect() protoreflect.Message
- func (x *PingMessage) Reset()
- func (x *PingMessage) String() string
- type PongMessage
- func (*PongMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PongMessage) GetEcho() int32
- func (x *PongMessage) GetFrom() *Endpoint
- func (x *PongMessage) GetTimestamp() int64
- func (*PongMessage) ProtoMessage()
- func (x *PongMessage) ProtoReflect() protoreflect.Message
- func (x *PongMessage) Reset()
- func (x *PongMessage) String() string
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetApprovals() [][]byte
- func (x *Proposal) GetCreateTime() int64
- func (x *Proposal) GetExpirationTime() int64
- func (x *Proposal) GetParameters() map[int64]int64
- func (x *Proposal) GetProposalId() int64
- func (x *Proposal) GetProposerAddress() []byte
- func (x *Proposal) GetState() Proposal_State
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type Proposal_State
- func (Proposal_State) Descriptor() protoreflect.EnumDescriptor
- func (x Proposal_State) Enum() *Proposal_State
- func (Proposal_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Proposal_State) Number() protoreflect.EnumNumber
- func (x Proposal_State) String() string
- func (Proposal_State) Type() protoreflect.EnumType
- type ReasonCode
- type ResourceReceipt
- func (*ResourceReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReceipt) GetEnergyFee() int64
- func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64
- func (x *ResourceReceipt) GetEnergyUsage() int64
- func (x *ResourceReceipt) GetEnergyUsageTotal() int64
- func (x *ResourceReceipt) GetNetFee() int64
- func (x *ResourceReceipt) GetNetUsage() int64
- func (x *ResourceReceipt) GetOriginEnergyUsage() int64
- func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult
- func (*ResourceReceipt) ProtoMessage()
- func (x *ResourceReceipt) ProtoReflect() protoreflect.Message
- func (x *ResourceReceipt) Reset()
- func (x *ResourceReceipt) String() string
- type SRL
- type TXInput
- type TXInputRaw
- func (*TXInputRaw) Descriptor() ([]byte, []int)deprecated
- func (x *TXInputRaw) GetPubKey() []byte
- func (x *TXInputRaw) GetTxID() []byte
- func (x *TXInputRaw) GetVout() int64
- func (*TXInputRaw) ProtoMessage()
- func (x *TXInputRaw) ProtoReflect() protoreflect.Message
- func (x *TXInputRaw) Reset()
- func (x *TXInputRaw) String() string
- type TXOutput
- type TXOutputs
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetRawData() *TransactionRaw
- func (x *Transaction) GetRet() []*Transaction_Result
- func (x *Transaction) GetSignature() [][]byte
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionInfo
- func (*TransactionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInfo) GetAssetIssueID() string
- func (x *TransactionInfo) GetBlockNumber() int64
- func (x *TransactionInfo) GetBlockTimeStamp() int64
- func (x *TransactionInfo) GetCancelUnfreezeV2Amount() map[string]int64
- func (x *TransactionInfo) GetContractAddress() []byte
- func (x *TransactionInfo) GetContractResult() [][]byte
- func (x *TransactionInfo) GetExchangeId() int64
- func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64
- func (x *TransactionInfo) GetExchangeReceivedAmount() int64
- func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64
- func (x *TransactionInfo) GetFee() int64
- func (x *TransactionInfo) GetId() []byte
- func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction
- func (x *TransactionInfo) GetLog() []*TransactionInfo_Log
- func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail
- func (x *TransactionInfo) GetOrderId() []byte
- func (x *TransactionInfo) GetPackingFee() int64
- func (x *TransactionInfo) GetReceipt() *ResourceReceipt
- func (x *TransactionInfo) GetResMessage() []byte
- func (x *TransactionInfo) GetResult() TransactionInfoCode
- func (x *TransactionInfo) GetShieldedTransactionFee() int64
- func (x *TransactionInfo) GetUnfreezeAmount() int64
- func (x *TransactionInfo) GetWithdrawAmount() int64
- func (x *TransactionInfo) GetWithdrawExpireAmount() int64
- func (*TransactionInfo) ProtoMessage()
- func (x *TransactionInfo) ProtoReflect() protoreflect.Message
- func (x *TransactionInfo) Reset()
- func (x *TransactionInfo) String() string
- type TransactionInfoCode
- func (TransactionInfoCode) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionInfoCode) Enum() *TransactionInfoCode
- func (TransactionInfoCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionInfoCode) Number() protoreflect.EnumNumber
- func (x TransactionInfoCode) String() string
- func (TransactionInfoCode) Type() protoreflect.EnumType
- type TransactionInfo_Log
- func (*TransactionInfo_Log) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInfo_Log) GetAddress() []byte
- func (x *TransactionInfo_Log) GetData() []byte
- func (x *TransactionInfo_Log) GetTopics() [][]byte
- func (*TransactionInfo_Log) ProtoMessage()
- func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message
- func (x *TransactionInfo_Log) Reset()
- func (x *TransactionInfo_Log) String() string
- type TransactionRaw
- func (*TransactionRaw) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRaw) GetAuths() []*Authority
- func (x *TransactionRaw) GetContract() []*Transaction_Contract
- func (x *TransactionRaw) GetData() []byte
- func (x *TransactionRaw) GetExpiration() int64
- func (x *TransactionRaw) GetFeeLimit() int64
- func (x *TransactionRaw) GetRefBlockBytes() []byte
- func (x *TransactionRaw) GetRefBlockHash() []byte
- func (x *TransactionRaw) GetRefBlockNum() int64
- func (x *TransactionRaw) GetScripts() []byte
- func (x *TransactionRaw) GetTimestamp() int64
- func (*TransactionRaw) ProtoMessage()
- func (x *TransactionRaw) ProtoReflect() protoreflect.Message
- func (x *TransactionRaw) Reset()
- func (x *TransactionRaw) String() string
- type TransactionRet
- func (*TransactionRet) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRet) GetBlockNumber() int64
- func (x *TransactionRet) GetBlockTimeStamp() int64
- func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo
- func (*TransactionRet) ProtoMessage()
- func (x *TransactionRet) ProtoReflect() protoreflect.Message
- func (x *TransactionRet) Reset()
- func (x *TransactionRet) String() string
- type Transaction_Contract
- func (*Transaction_Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Contract) GetContractName() []byte
- func (x *Transaction_Contract) GetParameter() *anypb.Any
- func (x *Transaction_Contract) GetPermissionId() int32
- func (x *Transaction_Contract) GetProvider() []byte
- func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType
- func (*Transaction_Contract) ProtoMessage()
- func (x *Transaction_Contract) ProtoReflect() protoreflect.Message
- func (x *Transaction_Contract) Reset()
- func (x *Transaction_Contract) String() string
- type Transaction_Contract_ContractType
- func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_Contract_ContractType) Enum() *Transaction_Contract_ContractType
- func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber
- func (x Transaction_Contract_ContractType) String() string
- func (Transaction_Contract_ContractType) Type() protoreflect.EnumType
- type Transaction_Result
- func (*Transaction_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Result) GetAssetIssueID() string
- func (x *Transaction_Result) GetCancelUnfreezeV2Amount() map[string]int64
- func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult
- func (x *Transaction_Result) GetExchangeId() int64
- func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64
- func (x *Transaction_Result) GetExchangeReceivedAmount() int64
- func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64
- func (x *Transaction_Result) GetFee() int64
- func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail
- func (x *Transaction_Result) GetOrderId() []byte
- func (x *Transaction_Result) GetRet() Transaction_ResultCode
- func (x *Transaction_Result) GetShieldedTransactionFee() int64
- func (x *Transaction_Result) GetUnfreezeAmount() int64
- func (x *Transaction_Result) GetWithdrawAmount() int64
- func (x *Transaction_Result) GetWithdrawExpireAmount() int64
- func (*Transaction_Result) ProtoMessage()
- func (x *Transaction_Result) ProtoReflect() protoreflect.Message
- func (x *Transaction_Result) Reset()
- func (x *Transaction_Result) String() string
- type Transaction_ResultCode
- func (Transaction_ResultCode) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_ResultCode) Enum() *Transaction_ResultCode
- func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_ResultCode) Number() protoreflect.EnumNumber
- func (x Transaction_ResultCode) String() string
- func (Transaction_ResultCode) Type() protoreflect.EnumType
- type Transaction_ResultContractResult
- func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor
- func (x Transaction_ResultContractResult) Enum() *Transaction_ResultContractResult
- func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber
- func (x Transaction_ResultContractResult) String() string
- func (Transaction_ResultContractResult) Type() protoreflect.EnumType
- type Transactions
- type Vote
- type Votes
- func (*Votes) Descriptor() ([]byte, []int)deprecated
- func (x *Votes) GetAddress() []byte
- func (x *Votes) GetNewVotes() []*Vote
- func (x *Votes) GetOldVotes() []*Vote
- func (*Votes) ProtoMessage()
- func (x *Votes) ProtoReflect() protoreflect.Message
- func (x *Votes) Reset()
- func (x *Votes) String() string
- type Witness
- func (*Witness) Descriptor() ([]byte, []int)deprecated
- func (x *Witness) GetAddress() []byte
- func (x *Witness) GetIsJobs() bool
- func (x *Witness) GetLatestBlockNum() int64
- func (x *Witness) GetLatestSlotNum() int64
- func (x *Witness) GetPubKey() []byte
- func (x *Witness) GetTotalMissed() int64
- func (x *Witness) GetTotalProduced() int64
- func (x *Witness) GetUrl() string
- func (x *Witness) GetVoteCount() int64
- func (*Witness) ProtoMessage()
- func (x *Witness) ProtoReflect() protoreflect.Message
- func (x *Witness) Reset()
- func (x *Witness) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AccountType_name = map[int32]string{ 0: "Normal", 1: "AssetIssue", 2: "Contract", } AccountType_value = map[string]int32{ "Normal": 0, "AssetIssue": 1, "Contract": 2, } )
Enum value maps for AccountType.
var ( ReasonCode_name = map[int32]string{ 0: "REQUESTED", 2: "BAD_PROTOCOL", 4: "TOO_MANY_PEERS", 5: "DUPLICATE_PEER", 6: "INCOMPATIBLE_PROTOCOL", 7: "RANDOM_ELIMINATION", 8: "PEER_QUITING", 9: "UNEXPECTED_IDENTITY", 10: "LOCAL_IDENTITY", 11: "PING_TIMEOUT", 16: "USER_REASON", 17: "RESET", 18: "SYNC_FAIL", 19: "FETCH_FAIL", 20: "BAD_TX", 21: "BAD_BLOCK", 22: "FORKED", 23: "UNLINKABLE", 24: "INCOMPATIBLE_VERSION", 25: "INCOMPATIBLE_CHAIN", 32: "TIME_OUT", 33: "CONNECT_FAIL", 34: "TOO_MANY_PEERS_WITH_SAME_IP", 35: "LIGHT_NODE_SYNC_FAIL", 36: "BELOW_THAN_ME", 37: "NOT_WITNESS", 38: "NO_SUCH_MESSAGE", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ "REQUESTED": 0, "BAD_PROTOCOL": 2, "TOO_MANY_PEERS": 4, "DUPLICATE_PEER": 5, "INCOMPATIBLE_PROTOCOL": 6, "RANDOM_ELIMINATION": 7, "PEER_QUITING": 8, "UNEXPECTED_IDENTITY": 9, "LOCAL_IDENTITY": 10, "PING_TIMEOUT": 11, "USER_REASON": 16, "RESET": 17, "SYNC_FAIL": 18, "FETCH_FAIL": 19, "BAD_TX": 20, "BAD_BLOCK": 21, "FORKED": 22, "UNLINKABLE": 23, "INCOMPATIBLE_VERSION": 24, "INCOMPATIBLE_CHAIN": 25, "TIME_OUT": 32, "CONNECT_FAIL": 33, "TOO_MANY_PEERS_WITH_SAME_IP": 34, "LIGHT_NODE_SYNC_FAIL": 35, "BELOW_THAN_ME": 36, "NOT_WITNESS": 37, "NO_SUCH_MESSAGE": 38, "UNKNOWN": 255, } )
Enum value maps for ReasonCode.
var ( Proposal_State_name = map[int32]string{ 0: "PENDING", 1: "DISAPPROVED", 2: "APPROVED", 3: "CANCELED", } Proposal_State_value = map[string]int32{ "PENDING": 0, "DISAPPROVED": 1, "APPROVED": 2, "CANCELED": 3, } )
Enum value maps for Proposal_State.
var ( MarketOrder_State_name = map[int32]string{ 0: "ACTIVE", 1: "INACTIVE", 2: "CANCELED", } MarketOrder_State_value = map[string]int32{ "ACTIVE": 0, "INACTIVE": 1, "CANCELED": 2, } )
Enum value maps for MarketOrder_State.
var ( Permission_PermissionType_name = map[int32]string{ 0: "Owner", 1: "Witness", 2: "Active", } Permission_PermissionType_value = map[string]int32{ "Owner": 0, "Witness": 1, "Active": 2, } )
Enum value maps for Permission_PermissionType.
var ( Transaction_Contract_ContractType_name = map[int32]string{ 0: "AccountCreateContract", 1: "TransferContract", 2: "TransferAssetContract", 3: "VoteAssetContract", 4: "VoteWitnessContract", 5: "WitnessCreateContract", 6: "AssetIssueContract", 8: "WitnessUpdateContract", 9: "ParticipateAssetIssueContract", 10: "AccountUpdateContract", 11: "FreezeBalanceContract", 12: "UnfreezeBalanceContract", 13: "WithdrawBalanceContract", 14: "UnfreezeAssetContract", 15: "UpdateAssetContract", 16: "ProposalCreateContract", 17: "ProposalApproveContract", 18: "ProposalDeleteContract", 19: "SetAccountIdContract", 20: "CustomContract", 30: "CreateSmartContract", 31: "TriggerSmartContract", 32: "GetContract", 33: "UpdateSettingContract", 41: "ExchangeCreateContract", 42: "ExchangeInjectContract", 43: "ExchangeWithdrawContract", 44: "ExchangeTransactionContract", 45: "UpdateEnergyLimitContract", 46: "AccountPermissionUpdateContract", 48: "ClearABIContract", 49: "UpdateBrokerageContract", 51: "ShieldedTransferContract", 52: "MarketSellAssetContract", 53: "MarketCancelOrderContract", 54: "FreezeBalanceV2Contract", 55: "UnfreezeBalanceV2Contract", 56: "WithdrawExpireUnfreezeContract", 57: "DelegateResourceContract", 58: "UnDelegateResourceContract", 59: "CancelAllUnfreezeV2Contract", } Transaction_Contract_ContractType_value = map[string]int32{ "AccountCreateContract": 0, "TransferContract": 1, "TransferAssetContract": 2, "VoteAssetContract": 3, "VoteWitnessContract": 4, "WitnessCreateContract": 5, "AssetIssueContract": 6, "WitnessUpdateContract": 8, "ParticipateAssetIssueContract": 9, "AccountUpdateContract": 10, "FreezeBalanceContract": 11, "UnfreezeBalanceContract": 12, "WithdrawBalanceContract": 13, "UnfreezeAssetContract": 14, "UpdateAssetContract": 15, "ProposalCreateContract": 16, "ProposalApproveContract": 17, "ProposalDeleteContract": 18, "SetAccountIdContract": 19, "CustomContract": 20, "CreateSmartContract": 30, "TriggerSmartContract": 31, "GetContract": 32, "UpdateSettingContract": 33, "ExchangeCreateContract": 41, "ExchangeInjectContract": 42, "ExchangeWithdrawContract": 43, "ExchangeTransactionContract": 44, "UpdateEnergyLimitContract": 45, "AccountPermissionUpdateContract": 46, "ClearABIContract": 48, "UpdateBrokerageContract": 49, "ShieldedTransferContract": 51, "MarketSellAssetContract": 52, "MarketCancelOrderContract": 53, "FreezeBalanceV2Contract": 54, "UnfreezeBalanceV2Contract": 55, "WithdrawExpireUnfreezeContract": 56, "DelegateResourceContract": 57, "UnDelegateResourceContract": 58, "CancelAllUnfreezeV2Contract": 59, } )
Enum value maps for Transaction_Contract_ContractType.
var ( Transaction_ResultCode_name = map[int32]string{ 0: "SUCESS", 1: "FAILED", } Transaction_ResultCode_value = map[string]int32{ "SUCESS": 0, "FAILED": 1, } )
Enum value maps for Transaction_ResultCode.
var ( Transaction_ResultContractResult_name = map[int32]string{ 0: "DEFAULT", 1: "SUCCESS", 2: "REVERT", 3: "BAD_JUMP_DESTINATION", 4: "OUT_OF_MEMORY", 5: "PRECOMPILED_CONTRACT", 6: "STACK_TOO_SMALL", 7: "STACK_TOO_LARGE", 8: "ILLEGAL_OPERATION", 9: "STACK_OVERFLOW", 10: "OUT_OF_ENERGY", 11: "OUT_OF_TIME", 12: "JVM_STACK_OVER_FLOW", 13: "UNKNOWN", 14: "TRANSFER_FAILED", 15: "INVALID_CODE", } Transaction_ResultContractResult_value = map[string]int32{ "DEFAULT": 0, "SUCCESS": 1, "REVERT": 2, "BAD_JUMP_DESTINATION": 3, "OUT_OF_MEMORY": 4, "PRECOMPILED_CONTRACT": 5, "STACK_TOO_SMALL": 6, "STACK_TOO_LARGE": 7, "ILLEGAL_OPERATION": 8, "STACK_OVERFLOW": 9, "OUT_OF_ENERGY": 10, "OUT_OF_TIME": 11, "JVM_STACK_OVER_FLOW": 12, "UNKNOWN": 13, "TRANSFER_FAILED": 14, "INVALID_CODE": 15, } )
Enum value maps for Transaction_ResultContractResult.
var ( TransactionInfoCode_name = map[int32]string{ 0: "SUCESS", 1: "FAILED", } TransactionInfoCode_value = map[string]int32{ "SUCESS": 0, "FAILED": 1, } )
Enum value maps for TransactionInfoCode.
var ( BlockInventory_Type_name = map[int32]string{ 0: "SYNC", 1: "ADVTISE", 2: "FETCH", } BlockInventory_Type_value = map[string]int32{ "SYNC": 0, "ADVTISE": 1, "FETCH": 2, } )
Enum value maps for BlockInventory_Type.
var ( Inventory_InventoryType_name = map[int32]string{ 0: "TRX", 1: "BLOCK", } Inventory_InventoryType_value = map[string]int32{ "TRX": 0, "BLOCK": 1, } )
Enum value maps for Inventory_InventoryType.
var ( Items_ItemType_name = map[int32]string{ 0: "ERR", 1: "TRX", 2: "BLOCK", 3: "BLOCKHEADER", } Items_ItemType_value = map[string]int32{ "ERR": 0, "TRX": 1, "BLOCK": 2, "BLOCKHEADER": 3, } )
Enum value maps for Items_ItemType.
var ( PBFTMessage_MsgType_name = map[int32]string{ 0: "VIEW_CHANGE", 1: "REQUEST", 2: "PREPREPARE", 3: "PREPARE", 4: "COMMIT", } PBFTMessage_MsgType_value = map[string]int32{ "VIEW_CHANGE": 0, "REQUEST": 1, "PREPREPARE": 2, "PREPARE": 3, "COMMIT": 4, } )
Enum value maps for PBFTMessage_MsgType.
var ( PBFTMessage_DataType_name = map[int32]string{ 0: "BLOCK", 1: "SRL", } PBFTMessage_DataType_value = map[string]int32{ "BLOCK": 0, "SRL": 1, } )
Enum value maps for PBFTMessage_DataType.
var File_core_Discover_proto protoreflect.FileDescriptor
var File_core_TronInventoryItems_proto protoreflect.FileDescriptor
var File_core_Tron_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // account nick name AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` // the create address Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // the trx balance Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` // the votes Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` // the other asset owned by this account Asset map[string]int64 `` /* 152-byte string literal not displayed */ // the other asset owned by this account,key is assetId AssetV2 map[string]int64 `` /* 157-byte string literal not displayed */ // the frozen balance for bandwidth Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` // bandwidth, get from frozen NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` // Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForBandwidth int64 `` /* 197-byte string literal not displayed */ // Freeze and provide balances to other accounts DelegatedFrozenBalanceForBandwidth int64 `` /* 171-byte string literal not displayed */ OldTronPower int64 `protobuf:"varint,46,opt,name=old_tron_power,json=oldTronPower,proto3" json:"old_tron_power,omitempty"` TronPower *Account_Frozen `protobuf:"bytes,47,opt,name=tron_power,json=tronPower,proto3" json:"tron_power,omitempty"` AssetOptimized bool `protobuf:"varint,60,opt,name=asset_optimized,json=assetOptimized,proto3" json:"asset_optimized,omitempty"` // this account create time CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // this last operation time, including transfer, voting and so on. //FIXME fix grammar LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` // witness block producing allowance Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` // last withdraw time LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` // not used so far Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` // frozen asset(for asset issuer) FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` // asset_issued_name AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` LatestAssetOperationTime map[string]int64 `` /* 227-byte string literal not displayed */ LatestAssetOperationTimeV2 map[string]int64 `` /* 233-byte string literal not displayed */ FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` FreeAssetNetUsage map[string]int64 `` /* 206-byte string literal not displayed */ FreeAssetNetUsageV2 map[string]int64 `` /* 212-byte string literal not displayed */ LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` LatestConsumeFreeTime int64 `` /* 130-byte string literal not displayed */ // the identity of this account, case insensitive AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` NetWindowSize int64 `protobuf:"varint,24,opt,name=net_window_size,json=netWindowSize,proto3" json:"net_window_size,omitempty"` NetWindowOptimized bool `protobuf:"varint,25,opt,name=net_window_optimized,json=netWindowOptimized,proto3" json:"net_window_optimized,omitempty"` AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` WitnessPermission *Permission `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"` ActivePermission []*Permission `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"` FrozenV2 []*Account_FreezeV2 `protobuf:"bytes,34,rep,name=frozenV2,proto3" json:"frozenV2,omitempty"` UnfrozenV2 []*Account_UnFreezeV2 `protobuf:"bytes,35,rep,name=unfrozenV2,proto3" json:"unfrozenV2,omitempty"` DelegatedFrozenV2BalanceForBandwidth int64 `` /* 177-byte string literal not displayed */ AcquiredDelegatedFrozenV2BalanceForBandwidth int64 `` /* 203-byte string literal not displayed */ // contains filtered or unexported fields }
Account
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetAccountName ¶
func (*Account) GetAccountResource ¶
func (x *Account) GetAccountResource() *Account_AccountResource
func (*Account) GetAcquiredDelegatedFrozenBalanceForBandwidth ¶
func (*Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth ¶
func (*Account) GetActivePermission ¶
func (x *Account) GetActivePermission() []*Permission
func (*Account) GetAddress ¶
func (*Account) GetAllowance ¶
func (*Account) GetAssetIssuedName ¶
func (*Account) GetAssetIssued_ID ¶
func (*Account) GetAssetOptimized ¶
func (*Account) GetAssetV2 ¶
func (*Account) GetBalance ¶
func (*Account) GetCodeHash ¶
func (*Account) GetCreateTime ¶
func (*Account) GetDelegatedFrozenBalanceForBandwidth ¶
func (*Account) GetDelegatedFrozenV2BalanceForBandwidth ¶
func (*Account) GetFreeAssetNetUsage ¶
func (*Account) GetFreeAssetNetUsageV2 ¶
func (*Account) GetFreeNetUsage ¶
func (*Account) GetFrozen ¶
func (x *Account) GetFrozen() []*Account_Frozen
func (*Account) GetFrozenSupply ¶
func (x *Account) GetFrozenSupply() []*Account_Frozen
func (*Account) GetFrozenV2 ¶
func (x *Account) GetFrozenV2() []*Account_FreezeV2
func (*Account) GetIsCommittee ¶
func (*Account) GetIsWitness ¶
func (*Account) GetLatestAssetOperationTime ¶
func (*Account) GetLatestAssetOperationTimeV2 ¶
func (*Account) GetLatestConsumeFreeTime ¶
func (*Account) GetLatestConsumeTime ¶
func (*Account) GetLatestOprationTime ¶
func (*Account) GetLatestWithdrawTime ¶
func (*Account) GetNetUsage ¶
func (*Account) GetNetWindowOptimized ¶
func (*Account) GetNetWindowSize ¶
func (*Account) GetOldTronPower ¶
func (*Account) GetOwnerPermission ¶
func (x *Account) GetOwnerPermission() *Permission
func (*Account) GetTronPower ¶
func (x *Account) GetTronPower() *Account_Frozen
func (*Account) GetType ¶
func (x *Account) GetType() AccountType
func (*Account) GetUnfrozenV2 ¶
func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2
func (*Account) GetWitnessPermission ¶
func (x *Account) GetWitnessPermission() *Permission
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountId ¶
type AccountId struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
AccountId, (name, address) use name, (null, address) use address, (name, null) use name,
func (*AccountId) Descriptor
deprecated
func (*AccountId) GetAddress ¶
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) ProtoReflect ¶
func (x *AccountId) ProtoReflect() protoreflect.Message
type AccountType ¶
type AccountType int32
const ( AccountType_Normal AccountType = 0 AccountType_AssetIssue AccountType = 1 AccountType_Contract AccountType = 2 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶
func (AccountType) Type() protoreflect.EnumType
type Account_AccountResource ¶
type Account_AccountResource struct { // energy resource, get from frozen EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` // the frozen balance for energy FrozenBalanceForEnergy *Account_Frozen `` /* 131-byte string literal not displayed */ LatestConsumeTimeForEnergy int64 `` /* 146-byte string literal not displayed */ // Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForEnergy int64 `` /* 187-byte string literal not displayed */ // Frozen balances provided to other accounts DelegatedFrozenBalanceForEnergy int64 `` /* 161-byte string literal not displayed */ // storage resource, get from market StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` StorageUsage int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` LatestExchangeStorageTime int64 `` /* 141-byte string literal not displayed */ EnergyWindowSize int64 `protobuf:"varint,9,opt,name=energy_window_size,json=energyWindowSize,proto3" json:"energy_window_size,omitempty"` DelegatedFrozenV2BalanceForEnergy int64 `` /* 168-byte string literal not displayed */ AcquiredDelegatedFrozenV2BalanceForEnergy int64 `` /* 194-byte string literal not displayed */ EnergyWindowOptimized bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Account_AccountResource) Descriptor
deprecated
func (*Account_AccountResource) Descriptor() ([]byte, []int)
Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead.
func (*Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64
func (*Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy ¶
func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64
func (*Account_AccountResource) GetDelegatedFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64
func (*Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy ¶
func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64
func (*Account_AccountResource) GetEnergyUsage ¶
func (x *Account_AccountResource) GetEnergyUsage() int64
func (*Account_AccountResource) GetEnergyWindowOptimized ¶
func (x *Account_AccountResource) GetEnergyWindowOptimized() bool
func (*Account_AccountResource) GetEnergyWindowSize ¶
func (x *Account_AccountResource) GetEnergyWindowSize() int64
func (*Account_AccountResource) GetFrozenBalanceForEnergy ¶
func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen
func (*Account_AccountResource) GetLatestConsumeTimeForEnergy ¶
func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64
func (*Account_AccountResource) GetLatestExchangeStorageTime ¶
func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64
func (*Account_AccountResource) GetStorageLimit ¶
func (x *Account_AccountResource) GetStorageLimit() int64
func (*Account_AccountResource) GetStorageUsage ¶
func (x *Account_AccountResource) GetStorageUsage() int64
func (*Account_AccountResource) ProtoMessage ¶
func (*Account_AccountResource) ProtoMessage()
func (*Account_AccountResource) ProtoReflect ¶
func (x *Account_AccountResource) ProtoReflect() protoreflect.Message
func (*Account_AccountResource) Reset ¶
func (x *Account_AccountResource) Reset()
func (*Account_AccountResource) String ¶
func (x *Account_AccountResource) String() string
type Account_FreezeV2 ¶
type Account_FreezeV2 struct { Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Account_FreezeV2) Descriptor
deprecated
func (*Account_FreezeV2) Descriptor() ([]byte, []int)
Deprecated: Use Account_FreezeV2.ProtoReflect.Descriptor instead.
func (*Account_FreezeV2) GetAmount ¶
func (x *Account_FreezeV2) GetAmount() int64
func (*Account_FreezeV2) GetType ¶
func (x *Account_FreezeV2) GetType() ResourceCode
func (*Account_FreezeV2) ProtoMessage ¶
func (*Account_FreezeV2) ProtoMessage()
func (*Account_FreezeV2) ProtoReflect ¶
func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message
func (*Account_FreezeV2) Reset ¶
func (x *Account_FreezeV2) Reset()
func (*Account_FreezeV2) String ¶
func (x *Account_FreezeV2) String() string
type Account_Frozen ¶
type Account_Frozen struct { FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time // contains filtered or unexported fields }
frozen balance
func (*Account_Frozen) Descriptor
deprecated
func (*Account_Frozen) Descriptor() ([]byte, []int)
Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead.
func (*Account_Frozen) GetExpireTime ¶
func (x *Account_Frozen) GetExpireTime() int64
func (*Account_Frozen) GetFrozenBalance ¶
func (x *Account_Frozen) GetFrozenBalance() int64
func (*Account_Frozen) ProtoMessage ¶
func (*Account_Frozen) ProtoMessage()
func (*Account_Frozen) ProtoReflect ¶
func (x *Account_Frozen) ProtoReflect() protoreflect.Message
func (*Account_Frozen) Reset ¶
func (x *Account_Frozen) Reset()
func (*Account_Frozen) String ¶
func (x *Account_Frozen) String() string
type Account_UnFreezeV2 ¶
type Account_UnFreezeV2 struct { Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` // contains filtered or unexported fields }
func (*Account_UnFreezeV2) Descriptor
deprecated
func (*Account_UnFreezeV2) Descriptor() ([]byte, []int)
Deprecated: Use Account_UnFreezeV2.ProtoReflect.Descriptor instead.
func (*Account_UnFreezeV2) GetType ¶
func (x *Account_UnFreezeV2) GetType() ResourceCode
func (*Account_UnFreezeV2) GetUnfreezeAmount ¶
func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64
func (*Account_UnFreezeV2) GetUnfreezeExpireTime ¶
func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64
func (*Account_UnFreezeV2) ProtoMessage ¶
func (*Account_UnFreezeV2) ProtoMessage()
func (*Account_UnFreezeV2) ProtoReflect ¶
func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message
func (*Account_UnFreezeV2) Reset ¶
func (x *Account_UnFreezeV2) Reset()
func (*Account_UnFreezeV2) String ¶
func (x *Account_UnFreezeV2) String() string
type Authority ¶
type Authority struct { Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` // contains filtered or unexported fields }
func (*Authority) Descriptor
deprecated
func (*Authority) GetAccount ¶
func (*Authority) GetPermissionName ¶
func (*Authority) ProtoMessage ¶
func (*Authority) ProtoMessage()
func (*Authority) ProtoReflect ¶
func (x *Authority) ProtoReflect() protoreflect.Message
type BackupMessage ¶
type BackupMessage struct { Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
func (*BackupMessage) Descriptor
deprecated
func (*BackupMessage) Descriptor() ([]byte, []int)
Deprecated: Use BackupMessage.ProtoReflect.Descriptor instead.
func (*BackupMessage) GetFlag ¶
func (x *BackupMessage) GetFlag() bool
func (*BackupMessage) GetPriority ¶
func (x *BackupMessage) GetPriority() int32
func (*BackupMessage) ProtoMessage ¶
func (*BackupMessage) ProtoMessage()
func (*BackupMessage) ProtoReflect ¶
func (x *BackupMessage) ProtoReflect() protoreflect.Message
func (*BackupMessage) Reset ¶
func (x *BackupMessage) Reset()
func (*BackupMessage) String ¶
func (x *BackupMessage) String() string
type Block ¶
type Block struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` // contains filtered or unexported fields }
block
func (*Block) Descriptor
deprecated
func (*Block) GetBlockHeader ¶
func (x *Block) GetBlockHeader() *BlockHeader
func (*Block) GetTransactions ¶
func (x *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockHeader ¶
type BlockHeader struct { RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` // contains filtered or unexported fields }
func (*BlockHeader) Descriptor
deprecated
func (*BlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.
func (*BlockHeader) GetRawData ¶
func (x *BlockHeader) GetRawData() *BlockHeaderRaw
func (*BlockHeader) GetWitnessSignature ¶
func (x *BlockHeader) GetWitnessSignature() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) ProtoReflect ¶
func (x *BlockHeader) ProtoReflect() protoreflect.Message
func (*BlockHeader) Reset ¶
func (x *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (x *BlockHeader) String() string
type BlockHeaderRaw ¶
type BlockHeaderRaw struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` // bytes nonce = 5; // bytes difficulty = 6; Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` AccountStateRoot []byte `protobuf:"bytes,11,opt,name=accountStateRoot,proto3" json:"accountStateRoot,omitempty"` // contains filtered or unexported fields }
func (*BlockHeaderRaw) Descriptor
deprecated
func (*BlockHeaderRaw) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead.
func (*BlockHeaderRaw) GetAccountStateRoot ¶
func (x *BlockHeaderRaw) GetAccountStateRoot() []byte
func (*BlockHeaderRaw) GetNumber ¶
func (x *BlockHeaderRaw) GetNumber() int64
func (*BlockHeaderRaw) GetParentHash ¶
func (x *BlockHeaderRaw) GetParentHash() []byte
func (*BlockHeaderRaw) GetTimestamp ¶
func (x *BlockHeaderRaw) GetTimestamp() int64
func (*BlockHeaderRaw) GetTxTrieRoot ¶
func (x *BlockHeaderRaw) GetTxTrieRoot() []byte
func (*BlockHeaderRaw) GetVersion ¶
func (x *BlockHeaderRaw) GetVersion() int32
func (*BlockHeaderRaw) GetWitnessAddress ¶
func (x *BlockHeaderRaw) GetWitnessAddress() []byte
func (*BlockHeaderRaw) GetWitnessId ¶
func (x *BlockHeaderRaw) GetWitnessId() int64
func (*BlockHeaderRaw) ProtoMessage ¶
func (*BlockHeaderRaw) ProtoMessage()
func (*BlockHeaderRaw) ProtoReflect ¶
func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message
func (*BlockHeaderRaw) Reset ¶
func (x *BlockHeaderRaw) Reset()
func (*BlockHeaderRaw) String ¶
func (x *BlockHeaderRaw) String() string
type BlockInventory ¶
type BlockInventory struct { Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Inventory
func (*BlockInventory) Descriptor
deprecated
func (*BlockInventory) Descriptor() ([]byte, []int)
Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead.
func (*BlockInventory) GetIds ¶
func (x *BlockInventory) GetIds() []*BlockInventory_BlockId
func (*BlockInventory) GetType ¶
func (x *BlockInventory) GetType() BlockInventory_Type
func (*BlockInventory) ProtoMessage ¶
func (*BlockInventory) ProtoMessage()
func (*BlockInventory) ProtoReflect ¶
func (x *BlockInventory) ProtoReflect() protoreflect.Message
func (*BlockInventory) Reset ¶
func (x *BlockInventory) Reset()
func (*BlockInventory) String ¶
func (x *BlockInventory) String() string
type BlockInventory_BlockId ¶
type BlockInventory_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*BlockInventory_BlockId) Descriptor
deprecated
func (*BlockInventory_BlockId) Descriptor() ([]byte, []int)
Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead.
func (*BlockInventory_BlockId) GetHash ¶
func (x *BlockInventory_BlockId) GetHash() []byte
func (*BlockInventory_BlockId) GetNumber ¶
func (x *BlockInventory_BlockId) GetNumber() int64
func (*BlockInventory_BlockId) ProtoMessage ¶
func (*BlockInventory_BlockId) ProtoMessage()
func (*BlockInventory_BlockId) ProtoReflect ¶
func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message
func (*BlockInventory_BlockId) Reset ¶
func (x *BlockInventory_BlockId) Reset()
func (*BlockInventory_BlockId) String ¶
func (x *BlockInventory_BlockId) String() string
type BlockInventory_Type ¶
type BlockInventory_Type int32
const ( BlockInventory_SYNC BlockInventory_Type = 0 BlockInventory_ADVTISE BlockInventory_Type = 1 BlockInventory_FETCH BlockInventory_Type = 2 )
func (BlockInventory_Type) Descriptor ¶
func (BlockInventory_Type) Descriptor() protoreflect.EnumDescriptor
func (BlockInventory_Type) Enum ¶
func (x BlockInventory_Type) Enum() *BlockInventory_Type
func (BlockInventory_Type) EnumDescriptor
deprecated
func (BlockInventory_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockInventory_Type.Descriptor instead.
func (BlockInventory_Type) Number ¶
func (x BlockInventory_Type) Number() protoreflect.EnumNumber
func (BlockInventory_Type) String ¶
func (x BlockInventory_Type) String() string
func (BlockInventory_Type) Type ¶
func (BlockInventory_Type) Type() protoreflect.EnumType
type ChainInventory ¶
type ChainInventory struct { Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` // contains filtered or unexported fields }
func (*ChainInventory) Descriptor
deprecated
func (*ChainInventory) Descriptor() ([]byte, []int)
Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead.
func (*ChainInventory) GetIds ¶
func (x *ChainInventory) GetIds() []*ChainInventory_BlockId
func (*ChainInventory) GetRemainNum ¶
func (x *ChainInventory) GetRemainNum() int64
func (*ChainInventory) ProtoMessage ¶
func (*ChainInventory) ProtoMessage()
func (*ChainInventory) ProtoReflect ¶
func (x *ChainInventory) ProtoReflect() protoreflect.Message
func (*ChainInventory) Reset ¶
func (x *ChainInventory) Reset()
func (*ChainInventory) String ¶
func (x *ChainInventory) String() string
type ChainInventory_BlockId ¶
type ChainInventory_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*ChainInventory_BlockId) Descriptor
deprecated
func (*ChainInventory_BlockId) Descriptor() ([]byte, []int)
Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead.
func (*ChainInventory_BlockId) GetHash ¶
func (x *ChainInventory_BlockId) GetHash() []byte
func (*ChainInventory_BlockId) GetNumber ¶
func (x *ChainInventory_BlockId) GetNumber() int64
func (*ChainInventory_BlockId) ProtoMessage ¶
func (*ChainInventory_BlockId) ProtoMessage()
func (*ChainInventory_BlockId) ProtoReflect ¶
func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message
func (*ChainInventory_BlockId) Reset ¶
func (x *ChainInventory_BlockId) Reset()
func (*ChainInventory_BlockId) String ¶
func (x *ChainInventory_BlockId) String() string
type ChainParameters ¶
type ChainParameters struct { ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"` // contains filtered or unexported fields }
func (*ChainParameters) Descriptor
deprecated
func (*ChainParameters) Descriptor() ([]byte, []int)
Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead.
func (*ChainParameters) GetChainParameter ¶
func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter
func (*ChainParameters) ProtoMessage ¶
func (*ChainParameters) ProtoMessage()
func (*ChainParameters) ProtoReflect ¶
func (x *ChainParameters) ProtoReflect() protoreflect.Message
func (*ChainParameters) Reset ¶
func (x *ChainParameters) Reset()
func (*ChainParameters) String ¶
func (x *ChainParameters) String() string
type ChainParameters_ChainParameter ¶
type ChainParameters_ChainParameter struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChainParameters_ChainParameter) Descriptor
deprecated
func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int)
Deprecated: Use ChainParameters_ChainParameter.ProtoReflect.Descriptor instead.
func (*ChainParameters_ChainParameter) GetKey ¶
func (x *ChainParameters_ChainParameter) GetKey() string
func (*ChainParameters_ChainParameter) GetValue ¶
func (x *ChainParameters_ChainParameter) GetValue() int64
func (*ChainParameters_ChainParameter) ProtoMessage ¶
func (*ChainParameters_ChainParameter) ProtoMessage()
func (*ChainParameters_ChainParameter) ProtoReflect ¶
func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message
func (*ChainParameters_ChainParameter) Reset ¶
func (x *ChainParameters_ChainParameter) Reset()
func (*ChainParameters_ChainParameter) String ¶
func (x *ChainParameters_ChainParameter) String() string
type DelegatedResource ¶
type DelegatedResource struct { From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` FrozenBalanceForBandwidth int64 `` /* 141-byte string literal not displayed */ FrozenBalanceForEnergy int64 `` /* 132-byte string literal not displayed */ ExpireTimeForBandwidth int64 `` /* 132-byte string literal not displayed */ ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` // contains filtered or unexported fields }
func (*DelegatedResource) Descriptor
deprecated
func (*DelegatedResource) Descriptor() ([]byte, []int)
Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead.
func (*DelegatedResource) GetExpireTimeForBandwidth ¶
func (x *DelegatedResource) GetExpireTimeForBandwidth() int64
func (*DelegatedResource) GetExpireTimeForEnergy ¶
func (x *DelegatedResource) GetExpireTimeForEnergy() int64
func (*DelegatedResource) GetFrom ¶
func (x *DelegatedResource) GetFrom() []byte
func (*DelegatedResource) GetFrozenBalanceForBandwidth ¶
func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64
func (*DelegatedResource) GetFrozenBalanceForEnergy ¶
func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64
func (*DelegatedResource) GetTo ¶
func (x *DelegatedResource) GetTo() []byte
func (*DelegatedResource) ProtoMessage ¶
func (*DelegatedResource) ProtoMessage()
func (*DelegatedResource) ProtoReflect ¶
func (x *DelegatedResource) ProtoReflect() protoreflect.Message
func (*DelegatedResource) Reset ¶
func (x *DelegatedResource) Reset()
func (*DelegatedResource) String ¶
func (x *DelegatedResource) String() string
type DelegatedResourceAccountIndex ¶
type DelegatedResourceAccountIndex struct { Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*DelegatedResourceAccountIndex) Descriptor
deprecated
func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int)
Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead.
func (*DelegatedResourceAccountIndex) GetAccount ¶
func (x *DelegatedResourceAccountIndex) GetAccount() []byte
func (*DelegatedResourceAccountIndex) GetFromAccounts ¶
func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte
func (*DelegatedResourceAccountIndex) GetTimestamp ¶
func (x *DelegatedResourceAccountIndex) GetTimestamp() int64
func (*DelegatedResourceAccountIndex) GetToAccounts ¶
func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte
func (*DelegatedResourceAccountIndex) ProtoMessage ¶
func (*DelegatedResourceAccountIndex) ProtoMessage()
func (*DelegatedResourceAccountIndex) ProtoReflect ¶
func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message
func (*DelegatedResourceAccountIndex) Reset ¶
func (x *DelegatedResourceAccountIndex) Reset()
func (*DelegatedResourceAccountIndex) String ¶
func (x *DelegatedResourceAccountIndex) String() string
type DisconnectMessage ¶
type DisconnectMessage struct { Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*DisconnectMessage) Descriptor
deprecated
func (*DisconnectMessage) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead.
func (*DisconnectMessage) GetReason ¶
func (x *DisconnectMessage) GetReason() ReasonCode
func (*DisconnectMessage) ProtoMessage ¶
func (*DisconnectMessage) ProtoMessage()
func (*DisconnectMessage) ProtoReflect ¶
func (x *DisconnectMessage) ProtoReflect() protoreflect.Message
func (*DisconnectMessage) Reset ¶
func (x *DisconnectMessage) Reset()
func (*DisconnectMessage) String ¶
func (x *DisconnectMessage) String() string
type DynamicProperties ¶
type DynamicProperties struct { LastSolidityBlockNum int64 `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
DynamicProperties
func (*DynamicProperties) Descriptor
deprecated
func (*DynamicProperties) Descriptor() ([]byte, []int)
Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead.
func (*DynamicProperties) GetLastSolidityBlockNum ¶
func (x *DynamicProperties) GetLastSolidityBlockNum() int64
func (*DynamicProperties) ProtoMessage ¶
func (*DynamicProperties) ProtoMessage()
func (*DynamicProperties) ProtoReflect ¶
func (x *DynamicProperties) ProtoReflect() protoreflect.Message
func (*DynamicProperties) Reset ¶
func (x *DynamicProperties) Reset()
func (*DynamicProperties) String ¶
func (x *DynamicProperties) String() string
type Endpoint ¶
type Endpoint struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` NodeId []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetAddress ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type Exchange ¶
type Exchange struct { ExchangeId int64 `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` CreatorAddress []byte `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` FirstTokenId []byte `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` FirstTokenBalance int64 `protobuf:"varint,7,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` SecondTokenId []byte `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` SecondTokenBalance int64 `protobuf:"varint,9,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` // contains filtered or unexported fields }
Exchange
func (*Exchange) Descriptor
deprecated
func (*Exchange) GetCreateTime ¶
func (*Exchange) GetCreatorAddress ¶
func (*Exchange) GetExchangeId ¶
func (*Exchange) GetFirstTokenBalance ¶
func (*Exchange) GetFirstTokenId ¶
func (*Exchange) GetSecondTokenBalance ¶
func (*Exchange) GetSecondTokenId ¶
func (*Exchange) ProtoMessage ¶
func (*Exchange) ProtoMessage()
func (*Exchange) ProtoReflect ¶
func (x *Exchange) ProtoReflect() protoreflect.Message
type FindNeighbours ¶
type FindNeighbours struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` TargetId []byte `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*FindNeighbours) Descriptor
deprecated
func (*FindNeighbours) Descriptor() ([]byte, []int)
Deprecated: Use FindNeighbours.ProtoReflect.Descriptor instead.
func (*FindNeighbours) GetFrom ¶
func (x *FindNeighbours) GetFrom() *Endpoint
func (*FindNeighbours) GetTargetId ¶
func (x *FindNeighbours) GetTargetId() []byte
func (*FindNeighbours) GetTimestamp ¶
func (x *FindNeighbours) GetTimestamp() int64
func (*FindNeighbours) ProtoMessage ¶
func (*FindNeighbours) ProtoMessage()
func (*FindNeighbours) ProtoReflect ¶
func (x *FindNeighbours) ProtoReflect() protoreflect.Message
func (*FindNeighbours) Reset ¶
func (x *FindNeighbours) Reset()
func (*FindNeighbours) String ¶
func (x *FindNeighbours) String() string
type HelloMessage ¶
type HelloMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` // contains filtered or unexported fields }
func (*HelloMessage) Descriptor
deprecated
func (*HelloMessage) Descriptor() ([]byte, []int)
Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead.
func (*HelloMessage) GetAddress ¶
func (x *HelloMessage) GetAddress() []byte
func (*HelloMessage) GetFrom ¶
func (x *HelloMessage) GetFrom() *Endpoint
func (*HelloMessage) GetGenesisBlockId ¶
func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetHeadBlockId ¶
func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetLowestBlockNum ¶
func (x *HelloMessage) GetLowestBlockNum() int64
func (*HelloMessage) GetNodeType ¶
func (x *HelloMessage) GetNodeType() int32
func (*HelloMessage) GetSignature ¶
func (x *HelloMessage) GetSignature() []byte
func (*HelloMessage) GetSolidBlockId ¶
func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId
func (*HelloMessage) GetTimestamp ¶
func (x *HelloMessage) GetTimestamp() int64
func (*HelloMessage) GetVersion ¶
func (x *HelloMessage) GetVersion() int32
func (*HelloMessage) ProtoMessage ¶
func (*HelloMessage) ProtoMessage()
func (*HelloMessage) ProtoReflect ¶
func (x *HelloMessage) ProtoReflect() protoreflect.Message
func (*HelloMessage) Reset ¶
func (x *HelloMessage) Reset()
func (*HelloMessage) String ¶
func (x *HelloMessage) String() string
type HelloMessage_BlockId ¶
type HelloMessage_BlockId struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*HelloMessage_BlockId) Descriptor
deprecated
func (*HelloMessage_BlockId) Descriptor() ([]byte, []int)
Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead.
func (*HelloMessage_BlockId) GetHash ¶
func (x *HelloMessage_BlockId) GetHash() []byte
func (*HelloMessage_BlockId) GetNumber ¶
func (x *HelloMessage_BlockId) GetNumber() int64
func (*HelloMessage_BlockId) ProtoMessage ¶
func (*HelloMessage_BlockId) ProtoMessage()
func (*HelloMessage_BlockId) ProtoReflect ¶
func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message
func (*HelloMessage_BlockId) Reset ¶
func (x *HelloMessage_BlockId) Reset()
func (*HelloMessage_BlockId) String ¶
func (x *HelloMessage_BlockId) String() string
type InternalTransaction ¶
type InternalTransaction struct { // internalTransaction identity, the root InternalTransaction hash // should equals to root transaction id. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the one send trx (TBD: or token) via function CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` // the one recieve trx (TBD: or token) via function TransferToAddress []byte `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"` CallValueInfo []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"` Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*InternalTransaction) Descriptor
deprecated
func (*InternalTransaction) Descriptor() ([]byte, []int)
Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead.
func (*InternalTransaction) GetCallValueInfo ¶
func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo
func (*InternalTransaction) GetCallerAddress ¶
func (x *InternalTransaction) GetCallerAddress() []byte
func (*InternalTransaction) GetExtra ¶
func (x *InternalTransaction) GetExtra() string
func (*InternalTransaction) GetHash ¶
func (x *InternalTransaction) GetHash() []byte
func (*InternalTransaction) GetNote ¶
func (x *InternalTransaction) GetNote() []byte
func (*InternalTransaction) GetRejected ¶
func (x *InternalTransaction) GetRejected() bool
func (*InternalTransaction) GetTransferToAddress ¶
func (x *InternalTransaction) GetTransferToAddress() []byte
func (*InternalTransaction) ProtoMessage ¶
func (*InternalTransaction) ProtoMessage()
func (*InternalTransaction) ProtoReflect ¶
func (x *InternalTransaction) ProtoReflect() protoreflect.Message
func (*InternalTransaction) Reset ¶
func (x *InternalTransaction) Reset()
func (*InternalTransaction) String ¶
func (x *InternalTransaction) String() string
type InternalTransaction_CallValueInfo ¶
type InternalTransaction_CallValueInfo struct { // trx (TBD: or token) value CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` // TBD: tokenName, trx should be empty TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` // contains filtered or unexported fields }
func (*InternalTransaction_CallValueInfo) Descriptor
deprecated
func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int)
Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead.
func (*InternalTransaction_CallValueInfo) GetCallValue ¶
func (x *InternalTransaction_CallValueInfo) GetCallValue() int64
func (*InternalTransaction_CallValueInfo) GetTokenId ¶
func (x *InternalTransaction_CallValueInfo) GetTokenId() string
func (*InternalTransaction_CallValueInfo) ProtoMessage ¶
func (*InternalTransaction_CallValueInfo) ProtoMessage()
func (*InternalTransaction_CallValueInfo) ProtoReflect ¶
func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message
func (*InternalTransaction_CallValueInfo) Reset ¶
func (x *InternalTransaction_CallValueInfo) Reset()
func (*InternalTransaction_CallValueInfo) String ¶
func (x *InternalTransaction_CallValueInfo) String() string
type Inventory ¶
type Inventory struct { Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*Inventory) Descriptor
deprecated
func (*Inventory) GetType ¶
func (x *Inventory) GetType() Inventory_InventoryType
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type InventoryItems ¶
type InventoryItems struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*InventoryItems) Descriptor
deprecated
func (*InventoryItems) Descriptor() ([]byte, []int)
Deprecated: Use InventoryItems.ProtoReflect.Descriptor instead.
func (*InventoryItems) GetItems ¶
func (x *InventoryItems) GetItems() [][]byte
func (*InventoryItems) GetType ¶
func (x *InventoryItems) GetType() int32
func (*InventoryItems) ProtoMessage ¶
func (*InventoryItems) ProtoMessage()
func (*InventoryItems) ProtoReflect ¶
func (x *InventoryItems) ProtoReflect() protoreflect.Message
func (*InventoryItems) Reset ¶
func (x *InventoryItems) Reset()
func (*InventoryItems) String ¶
func (x *InventoryItems) String() string
type Inventory_InventoryType ¶
type Inventory_InventoryType int32
const ( Inventory_TRX Inventory_InventoryType = 0 Inventory_BLOCK Inventory_InventoryType = 1 )
func (Inventory_InventoryType) Descriptor ¶
func (Inventory_InventoryType) Descriptor() protoreflect.EnumDescriptor
func (Inventory_InventoryType) Enum ¶
func (x Inventory_InventoryType) Enum() *Inventory_InventoryType
func (Inventory_InventoryType) EnumDescriptor
deprecated
func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Inventory_InventoryType.Descriptor instead.
func (Inventory_InventoryType) Number ¶
func (x Inventory_InventoryType) Number() protoreflect.EnumNumber
func (Inventory_InventoryType) String ¶
func (x Inventory_InventoryType) String() string
func (Inventory_InventoryType) Type ¶
func (Inventory_InventoryType) Type() protoreflect.EnumType
type Items ¶
type Items struct { Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Items) Descriptor
deprecated
func (*Items) GetBlockHeaders ¶
func (x *Items) GetBlockHeaders() []*BlockHeader
func (*Items) GetTransactions ¶
func (x *Items) GetTransactions() []*Transaction
func (*Items) GetType ¶
func (x *Items) GetType() Items_ItemType
func (*Items) ProtoMessage ¶
func (*Items) ProtoMessage()
func (*Items) ProtoReflect ¶
func (x *Items) ProtoReflect() protoreflect.Message
type Items_ItemType ¶
type Items_ItemType int32
const ( Items_ERR Items_ItemType = 0 Items_TRX Items_ItemType = 1 Items_BLOCK Items_ItemType = 2 Items_BLOCKHEADER Items_ItemType = 3 )
func (Items_ItemType) Descriptor ¶
func (Items_ItemType) Descriptor() protoreflect.EnumDescriptor
func (Items_ItemType) Enum ¶
func (x Items_ItemType) Enum() *Items_ItemType
func (Items_ItemType) EnumDescriptor
deprecated
func (Items_ItemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Items_ItemType.Descriptor instead.
func (Items_ItemType) Number ¶
func (x Items_ItemType) Number() protoreflect.EnumNumber
func (Items_ItemType) String ¶
func (x Items_ItemType) String() string
func (Items_ItemType) Type ¶
func (Items_ItemType) Type() protoreflect.EnumType
type Key ¶
type Key struct { Address []byte `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 (*Key) Descriptor
deprecated
func (*Key) GetAddress ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type MarketAccountOrder ¶
type MarketAccountOrder struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*MarketAccountOrder) Descriptor
deprecated
func (*MarketAccountOrder) Descriptor() ([]byte, []int)
Deprecated: Use MarketAccountOrder.ProtoReflect.Descriptor instead.
func (*MarketAccountOrder) GetCount ¶
func (x *MarketAccountOrder) GetCount() int64
func (*MarketAccountOrder) GetOrders ¶
func (x *MarketAccountOrder) GetOrders() [][]byte
func (*MarketAccountOrder) GetOwnerAddress ¶
func (x *MarketAccountOrder) GetOwnerAddress() []byte
func (*MarketAccountOrder) GetTotalCount ¶
func (x *MarketAccountOrder) GetTotalCount() int64
func (*MarketAccountOrder) ProtoMessage ¶
func (*MarketAccountOrder) ProtoMessage()
func (*MarketAccountOrder) ProtoReflect ¶
func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message
func (*MarketAccountOrder) Reset ¶
func (x *MarketAccountOrder) Reset()
func (*MarketAccountOrder) String ¶
func (x *MarketAccountOrder) String() string
type MarketOrder ¶
type MarketOrder struct { OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive SellTokenQuantityRemain int64 `` /* 135-byte string literal not displayed */ // When state != ACTIVE and sell_token_quantity_return !=0, // it means that some sell tokens are returned to the account due to insufficient remaining amount SellTokenQuantityReturn int64 `` /* 136-byte string literal not displayed */ State MarketOrder_State `protobuf:"varint,11,opt,name=state,proto3,enum=protocol.MarketOrder_State" json:"state,omitempty"` Prev []byte `protobuf:"bytes,12,opt,name=prev,proto3" json:"prev,omitempty"` Next []byte `protobuf:"bytes,13,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
market
func (*MarketOrder) Descriptor
deprecated
func (*MarketOrder) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrder.ProtoReflect.Descriptor instead.
func (*MarketOrder) GetBuyTokenId ¶
func (x *MarketOrder) GetBuyTokenId() []byte
func (*MarketOrder) GetBuyTokenQuantity ¶
func (x *MarketOrder) GetBuyTokenQuantity() int64
func (*MarketOrder) GetCreateTime ¶
func (x *MarketOrder) GetCreateTime() int64
func (*MarketOrder) GetNext ¶
func (x *MarketOrder) GetNext() []byte
func (*MarketOrder) GetOrderId ¶
func (x *MarketOrder) GetOrderId() []byte
func (*MarketOrder) GetOwnerAddress ¶
func (x *MarketOrder) GetOwnerAddress() []byte
func (*MarketOrder) GetPrev ¶
func (x *MarketOrder) GetPrev() []byte
func (*MarketOrder) GetSellTokenId ¶
func (x *MarketOrder) GetSellTokenId() []byte
func (*MarketOrder) GetSellTokenQuantity ¶
func (x *MarketOrder) GetSellTokenQuantity() int64
func (*MarketOrder) GetSellTokenQuantityRemain ¶
func (x *MarketOrder) GetSellTokenQuantityRemain() int64
func (*MarketOrder) GetSellTokenQuantityReturn ¶
func (x *MarketOrder) GetSellTokenQuantityReturn() int64
func (*MarketOrder) GetState ¶
func (x *MarketOrder) GetState() MarketOrder_State
func (*MarketOrder) ProtoMessage ¶
func (*MarketOrder) ProtoMessage()
func (*MarketOrder) ProtoReflect ¶
func (x *MarketOrder) ProtoReflect() protoreflect.Message
func (*MarketOrder) Reset ¶
func (x *MarketOrder) Reset()
func (*MarketOrder) String ¶
func (x *MarketOrder) String() string
type MarketOrderDetail ¶
type MarketOrderDetail struct { MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderDetail) Descriptor
deprecated
func (*MarketOrderDetail) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderDetail.ProtoReflect.Descriptor instead.
func (*MarketOrderDetail) GetFillBuyQuantity ¶
func (x *MarketOrderDetail) GetFillBuyQuantity() int64
func (*MarketOrderDetail) GetFillSellQuantity ¶
func (x *MarketOrderDetail) GetFillSellQuantity() int64
func (*MarketOrderDetail) GetMakerOrderId ¶
func (x *MarketOrderDetail) GetMakerOrderId() []byte
func (*MarketOrderDetail) GetTakerOrderId ¶
func (x *MarketOrderDetail) GetTakerOrderId() []byte
func (*MarketOrderDetail) ProtoMessage ¶
func (*MarketOrderDetail) ProtoMessage()
func (*MarketOrderDetail) ProtoReflect ¶
func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message
func (*MarketOrderDetail) Reset ¶
func (x *MarketOrderDetail) Reset()
func (*MarketOrderDetail) String ¶
func (x *MarketOrderDetail) String() string
type MarketOrderIdList ¶
type MarketOrderIdList struct { Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderIdList) Descriptor
deprecated
func (*MarketOrderIdList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderIdList.ProtoReflect.Descriptor instead.
func (*MarketOrderIdList) GetHead ¶
func (x *MarketOrderIdList) GetHead() []byte
func (*MarketOrderIdList) GetTail ¶
func (x *MarketOrderIdList) GetTail() []byte
func (*MarketOrderIdList) ProtoMessage ¶
func (*MarketOrderIdList) ProtoMessage()
func (*MarketOrderIdList) ProtoReflect ¶
func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message
func (*MarketOrderIdList) Reset ¶
func (x *MarketOrderIdList) Reset()
func (*MarketOrderIdList) String ¶
func (x *MarketOrderIdList) String() string
type MarketOrderList ¶
type MarketOrderList struct { Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderList) Descriptor
deprecated
func (*MarketOrderList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderList.ProtoReflect.Descriptor instead.
func (*MarketOrderList) GetOrders ¶
func (x *MarketOrderList) GetOrders() []*MarketOrder
func (*MarketOrderList) ProtoMessage ¶
func (*MarketOrderList) ProtoMessage()
func (*MarketOrderList) ProtoReflect ¶
func (x *MarketOrderList) ProtoReflect() protoreflect.Message
func (*MarketOrderList) Reset ¶
func (x *MarketOrderList) Reset()
func (*MarketOrderList) String ¶
func (x *MarketOrderList) String() string
type MarketOrderPair ¶
type MarketOrderPair struct { SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderPair) Descriptor
deprecated
func (*MarketOrderPair) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderPair.ProtoReflect.Descriptor instead.
func (*MarketOrderPair) GetBuyTokenId ¶
func (x *MarketOrderPair) GetBuyTokenId() []byte
func (*MarketOrderPair) GetSellTokenId ¶
func (x *MarketOrderPair) GetSellTokenId() []byte
func (*MarketOrderPair) ProtoMessage ¶
func (*MarketOrderPair) ProtoMessage()
func (*MarketOrderPair) ProtoReflect ¶
func (x *MarketOrderPair) ProtoReflect() protoreflect.Message
func (*MarketOrderPair) Reset ¶
func (x *MarketOrderPair) Reset()
func (*MarketOrderPair) String ¶
func (x *MarketOrderPair) String() string
type MarketOrderPairList ¶
type MarketOrderPairList struct { OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` // contains filtered or unexported fields }
func (*MarketOrderPairList) Descriptor
deprecated
func (*MarketOrderPairList) Descriptor() ([]byte, []int)
Deprecated: Use MarketOrderPairList.ProtoReflect.Descriptor instead.
func (*MarketOrderPairList) GetOrderPair ¶
func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair
func (*MarketOrderPairList) ProtoMessage ¶
func (*MarketOrderPairList) ProtoMessage()
func (*MarketOrderPairList) ProtoReflect ¶
func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message
func (*MarketOrderPairList) Reset ¶
func (x *MarketOrderPairList) Reset()
func (*MarketOrderPairList) String ¶
func (x *MarketOrderPairList) String() string
type MarketOrder_State ¶
type MarketOrder_State int32
const ( MarketOrder_ACTIVE MarketOrder_State = 0 MarketOrder_INACTIVE MarketOrder_State = 1 MarketOrder_CANCELED MarketOrder_State = 2 )
func (MarketOrder_State) Descriptor ¶
func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor
func (MarketOrder_State) Enum ¶
func (x MarketOrder_State) Enum() *MarketOrder_State
func (MarketOrder_State) EnumDescriptor
deprecated
func (MarketOrder_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MarketOrder_State.Descriptor instead.
func (MarketOrder_State) Number ¶
func (x MarketOrder_State) Number() protoreflect.EnumNumber
func (MarketOrder_State) String ¶
func (x MarketOrder_State) String() string
func (MarketOrder_State) Type ¶
func (MarketOrder_State) Type() protoreflect.EnumType
type MarketPrice ¶
type MarketPrice struct { SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // contains filtered or unexported fields }
func (*MarketPrice) Descriptor
deprecated
func (*MarketPrice) Descriptor() ([]byte, []int)
Deprecated: Use MarketPrice.ProtoReflect.Descriptor instead.
func (*MarketPrice) GetBuyTokenQuantity ¶
func (x *MarketPrice) GetBuyTokenQuantity() int64
func (*MarketPrice) GetSellTokenQuantity ¶
func (x *MarketPrice) GetSellTokenQuantity() int64
func (*MarketPrice) ProtoMessage ¶
func (*MarketPrice) ProtoMessage()
func (*MarketPrice) ProtoReflect ¶
func (x *MarketPrice) ProtoReflect() protoreflect.Message
func (*MarketPrice) Reset ¶
func (x *MarketPrice) Reset()
func (*MarketPrice) String ¶
func (x *MarketPrice) String() string
type MarketPriceList ¶
type MarketPriceList struct { SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` // contains filtered or unexported fields }
func (*MarketPriceList) Descriptor
deprecated
func (*MarketPriceList) Descriptor() ([]byte, []int)
Deprecated: Use MarketPriceList.ProtoReflect.Descriptor instead.
func (*MarketPriceList) GetBuyTokenId ¶
func (x *MarketPriceList) GetBuyTokenId() []byte
func (*MarketPriceList) GetPrices ¶
func (x *MarketPriceList) GetPrices() []*MarketPrice
func (*MarketPriceList) GetSellTokenId ¶
func (x *MarketPriceList) GetSellTokenId() []byte
func (*MarketPriceList) ProtoMessage ¶
func (*MarketPriceList) ProtoMessage()
func (*MarketPriceList) ProtoReflect ¶
func (x *MarketPriceList) ProtoReflect() protoreflect.Message
func (*MarketPriceList) Reset ¶
func (x *MarketPriceList) Reset()
func (*MarketPriceList) String ¶
func (x *MarketPriceList) String() string
type MetricsInfo ¶
type MetricsInfo struct { Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo) Descriptor
deprecated
func (*MetricsInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo) GetBlockchain ¶
func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo
func (*MetricsInfo) GetInterval ¶
func (x *MetricsInfo) GetInterval() int64
func (*MetricsInfo) GetNet ¶
func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo
func (*MetricsInfo) GetNode ¶
func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo
func (*MetricsInfo) ProtoMessage ¶
func (*MetricsInfo) ProtoMessage()
func (*MetricsInfo) ProtoReflect ¶
func (x *MetricsInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo) Reset ¶
func (x *MetricsInfo) Reset()
func (*MetricsInfo) String ¶
func (x *MetricsInfo) String() string
type MetricsInfo_BlockChainInfo ¶
type MetricsInfo_BlockChainInfo struct { HeadBlockNum int64 `protobuf:"varint,1,opt,name=headBlockNum,proto3" json:"headBlockNum,omitempty"` HeadBlockTimestamp int64 `protobuf:"varint,2,opt,name=headBlockTimestamp,proto3" json:"headBlockTimestamp,omitempty"` HeadBlockHash string `protobuf:"bytes,3,opt,name=headBlockHash,proto3" json:"headBlockHash,omitempty"` ForkCount int32 `protobuf:"varint,4,opt,name=forkCount,proto3" json:"forkCount,omitempty"` FailForkCount int32 `protobuf:"varint,5,opt,name=failForkCount,proto3" json:"failForkCount,omitempty"` BlockProcessTime *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=blockProcessTime,proto3" json:"blockProcessTime,omitempty"` Tps *MetricsInfo_RateInfo `protobuf:"bytes,7,opt,name=tps,proto3" json:"tps,omitempty"` TransactionCacheSize int32 `protobuf:"varint,8,opt,name=transactionCacheSize,proto3" json:"transactionCacheSize,omitempty"` MissedTransaction *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=missedTransaction,proto3" json:"missedTransaction,omitempty"` Witnesses []*MetricsInfo_BlockChainInfo_Witness `protobuf:"bytes,10,rep,name=witnesses,proto3" json:"witnesses,omitempty"` FailProcessBlockNum int64 `protobuf:"varint,11,opt,name=failProcessBlockNum,proto3" json:"failProcessBlockNum,omitempty"` FailProcessBlockReason string `protobuf:"bytes,12,opt,name=failProcessBlockReason,proto3" json:"failProcessBlockReason,omitempty"` DupWitness []*MetricsInfo_BlockChainInfo_DupWitness `protobuf:"bytes,13,rep,name=dupWitness,proto3" json:"dupWitness,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo) GetBlockProcessTime ¶
func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetDupWitness ¶
func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness
func (*MetricsInfo_BlockChainInfo) GetFailForkCount ¶
func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32
func (*MetricsInfo_BlockChainInfo) GetFailProcessBlockNum ¶
func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64
func (*MetricsInfo_BlockChainInfo) GetFailProcessBlockReason ¶
func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string
func (*MetricsInfo_BlockChainInfo) GetForkCount ¶
func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32
func (*MetricsInfo_BlockChainInfo) GetHeadBlockHash ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string
func (*MetricsInfo_BlockChainInfo) GetHeadBlockNum ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64
func (*MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp ¶
func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64
func (*MetricsInfo_BlockChainInfo) GetMissedTransaction ¶
func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetTps ¶
func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo
func (*MetricsInfo_BlockChainInfo) GetTransactionCacheSize ¶
func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32
func (*MetricsInfo_BlockChainInfo) GetWitnesses ¶
func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness
func (*MetricsInfo_BlockChainInfo) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo) ProtoMessage()
func (*MetricsInfo_BlockChainInfo) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo) Reset ¶
func (x *MetricsInfo_BlockChainInfo) Reset()
func (*MetricsInfo_BlockChainInfo) String ¶
func (x *MetricsInfo_BlockChainInfo) String() string
type MetricsInfo_BlockChainInfo_DupWitness ¶
type MetricsInfo_BlockChainInfo_DupWitness struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo_DupWitness.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo_DupWitness) GetAddress ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string
func (*MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64
func (*MetricsInfo_BlockChainInfo_DupWitness) GetCount ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage()
func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo_DupWitness) Reset ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset()
func (*MetricsInfo_BlockChainInfo_DupWitness) String ¶
func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string
type MetricsInfo_BlockChainInfo_Witness ¶
type MetricsInfo_BlockChainInfo_Witness struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_BlockChainInfo_Witness) Descriptor
deprecated
func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_BlockChainInfo_Witness.ProtoReflect.Descriptor instead.
func (*MetricsInfo_BlockChainInfo_Witness) GetAddress ¶
func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string
func (*MetricsInfo_BlockChainInfo_Witness) GetVersion ¶
func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32
func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage ¶
func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage()
func (*MetricsInfo_BlockChainInfo_Witness) ProtoReflect ¶
func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message
func (*MetricsInfo_BlockChainInfo_Witness) Reset ¶
func (x *MetricsInfo_BlockChainInfo_Witness) Reset()
func (*MetricsInfo_BlockChainInfo_Witness) String ¶
func (x *MetricsInfo_BlockChainInfo_Witness) String() string
type MetricsInfo_NetInfo ¶
type MetricsInfo_NetInfo struct { ErrorProtoCount int32 `protobuf:"varint,1,opt,name=errorProtoCount,proto3" json:"errorProtoCount,omitempty"` Api *MetricsInfo_NetInfo_ApiInfo `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` ConnectionCount int32 `protobuf:"varint,3,opt,name=connectionCount,proto3" json:"connectionCount,omitempty"` ValidConnectionCount int32 `protobuf:"varint,4,opt,name=validConnectionCount,proto3" json:"validConnectionCount,omitempty"` TcpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,5,opt,name=tcpInTraffic,proto3" json:"tcpInTraffic,omitempty"` TcpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=tcpOutTraffic,proto3" json:"tcpOutTraffic,omitempty"` DisconnectionCount int32 `protobuf:"varint,7,opt,name=disconnectionCount,proto3" json:"disconnectionCount,omitempty"` DisconnectionDetail []*MetricsInfo_NetInfo_DisconnectionDetailInfo `protobuf:"bytes,8,rep,name=disconnectionDetail,proto3" json:"disconnectionDetail,omitempty"` UdpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=udpInTraffic,proto3" json:"udpInTraffic,omitempty"` UdpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,10,opt,name=udpOutTraffic,proto3" json:"udpOutTraffic,omitempty"` Latency *MetricsInfo_NetInfo_LatencyInfo `protobuf:"bytes,11,opt,name=latency,proto3" json:"latency,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo) GetApi ¶
func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo
func (*MetricsInfo_NetInfo) GetConnectionCount ¶
func (x *MetricsInfo_NetInfo) GetConnectionCount() int32
func (*MetricsInfo_NetInfo) GetDisconnectionCount ¶
func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32
func (*MetricsInfo_NetInfo) GetDisconnectionDetail ¶
func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo
func (*MetricsInfo_NetInfo) GetErrorProtoCount ¶
func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32
func (*MetricsInfo_NetInfo) GetLatency ¶
func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo
func (*MetricsInfo_NetInfo) GetTcpInTraffic ¶
func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetTcpOutTraffic ¶
func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetUdpInTraffic ¶
func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetUdpOutTraffic ¶
func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo) GetValidConnectionCount ¶
func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32
func (*MetricsInfo_NetInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo) ProtoMessage()
func (*MetricsInfo_NetInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo) Reset ¶
func (x *MetricsInfo_NetInfo) Reset()
func (*MetricsInfo_NetInfo) String ¶
func (x *MetricsInfo_NetInfo) String() string
type MetricsInfo_NetInfo_ApiInfo ¶
type MetricsInfo_NetInfo_ApiInfo struct { Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_ApiInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_ApiInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_ApiInfo) GetDetail ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetFailQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetOutTraffic ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) GetQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_ApiInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_ApiInfo) Reset ¶
func (x *MetricsInfo_NetInfo_ApiInfo) Reset()
func (*MetricsInfo_NetInfo_ApiInfo) String ¶
func (x *MetricsInfo_NetInfo_ApiInfo) String() string
type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo ¶
type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset()
func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string
type MetricsInfo_NetInfo_DisconnectionDetailInfo ¶
type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_DisconnectionDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset()
func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string
type MetricsInfo_NetInfo_LatencyInfo ¶
type MetricsInfo_NetInfo_LatencyInfo struct { Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_LatencyInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay1S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay2S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDelay3S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetDetail ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop75 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop95 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTop99 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32
func (*MetricsInfo_NetInfo_LatencyInfo) GetTotalCount ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_LatencyInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_LatencyInfo) Reset ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) Reset()
func (*MetricsInfo_NetInfo_LatencyInfo) String ¶
func (x *MetricsInfo_NetInfo_LatencyInfo) String() string
type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo ¶
type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor
deprecated
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99 ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage ¶
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage()
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset()
func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String ¶
func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string
type MetricsInfo_NodeInfo ¶
type MetricsInfo_NodeInfo struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_NodeInfo) Descriptor
deprecated
func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_NodeInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_NodeInfo) GetBackupStatus ¶
func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32
func (*MetricsInfo_NodeInfo) GetIp ¶
func (x *MetricsInfo_NodeInfo) GetIp() string
func (*MetricsInfo_NodeInfo) GetNodeType ¶
func (x *MetricsInfo_NodeInfo) GetNodeType() int32
func (*MetricsInfo_NodeInfo) GetVersion ¶
func (x *MetricsInfo_NodeInfo) GetVersion() string
func (*MetricsInfo_NodeInfo) ProtoMessage ¶
func (*MetricsInfo_NodeInfo) ProtoMessage()
func (*MetricsInfo_NodeInfo) ProtoReflect ¶
func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_NodeInfo) Reset ¶
func (x *MetricsInfo_NodeInfo) Reset()
func (*MetricsInfo_NodeInfo) String ¶
func (x *MetricsInfo_NodeInfo) String() string
type MetricsInfo_RateInfo ¶
type MetricsInfo_RateInfo struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` // contains filtered or unexported fields }
func (*MetricsInfo_RateInfo) Descriptor
deprecated
func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricsInfo_RateInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo_RateInfo) GetCount ¶
func (x *MetricsInfo_RateInfo) GetCount() int64
func (*MetricsInfo_RateInfo) GetFifteenMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64
func (*MetricsInfo_RateInfo) GetFiveMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64
func (*MetricsInfo_RateInfo) GetMeanRate ¶
func (x *MetricsInfo_RateInfo) GetMeanRate() float64
func (*MetricsInfo_RateInfo) GetOneMinuteRate ¶
func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64
func (*MetricsInfo_RateInfo) ProtoMessage ¶
func (*MetricsInfo_RateInfo) ProtoMessage()
func (*MetricsInfo_RateInfo) ProtoReflect ¶
func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message
func (*MetricsInfo_RateInfo) Reset ¶
func (x *MetricsInfo_RateInfo) Reset()
func (*MetricsInfo_RateInfo) String ¶
func (x *MetricsInfo_RateInfo) String() string
type Neighbours ¶
type Neighbours struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Neighbours) Descriptor
deprecated
func (*Neighbours) Descriptor() ([]byte, []int)
Deprecated: Use Neighbours.ProtoReflect.Descriptor instead.
func (*Neighbours) GetFrom ¶
func (x *Neighbours) GetFrom() *Endpoint
func (*Neighbours) GetNeighbours ¶
func (x *Neighbours) GetNeighbours() []*Endpoint
func (*Neighbours) GetTimestamp ¶
func (x *Neighbours) GetTimestamp() int64
func (*Neighbours) ProtoMessage ¶
func (*Neighbours) ProtoMessage()
func (*Neighbours) ProtoReflect ¶
func (x *Neighbours) ProtoReflect() protoreflect.Message
func (*Neighbours) Reset ¶
func (x *Neighbours) Reset()
func (*Neighbours) String ¶
func (x *Neighbours) String() string
type NodeInfo ¶
type NodeInfo struct { BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` // connect information CurrentConnectCount int32 `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"` ActiveConnectCount int32 `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"` PassiveConnectCount int32 `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"` TotalFlow int64 `protobuf:"varint,7,opt,name=totalFlow,proto3" json:"totalFlow,omitempty"` PeerInfoList []*NodeInfo_PeerInfo `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"` ConfigNodeInfo *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"` MachineInfo *NodeInfo_MachineInfo `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"` CheatWitnessInfoMap map[string]string `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetActiveConnectCount ¶
func (*NodeInfo) GetBeginSyncNum ¶
func (*NodeInfo) GetCheatWitnessInfoMap ¶
func (*NodeInfo) GetConfigNodeInfo ¶
func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo
func (*NodeInfo) GetCurrentConnectCount ¶
func (*NodeInfo) GetMachineInfo ¶
func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo
func (*NodeInfo) GetPassiveConnectCount ¶
func (*NodeInfo) GetPeerInfoList ¶
func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo
func (*NodeInfo) GetSolidityBlock ¶
func (*NodeInfo) GetTotalFlow ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfo_ConfigNodeInfo ¶
type NodeInfo_ConfigNodeInfo struct { CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_ConfigNodeInfo) Descriptor
deprecated
func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_ConfigNodeInfo) GetActiveNodeSize ¶
func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32
func (*NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy ¶
func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64
func (*NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts ¶
func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64
func (*NodeInfo_ConfigNodeInfo) GetBackupListenPort ¶
func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32
func (*NodeInfo_ConfigNodeInfo) GetBackupMemberSize ¶
func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32
func (*NodeInfo_ConfigNodeInfo) GetBackupPriority ¶
func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32
func (*NodeInfo_ConfigNodeInfo) GetCodeVersion ¶
func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string
func (*NodeInfo_ConfigNodeInfo) GetDbVersion ¶
func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32
func (*NodeInfo_ConfigNodeInfo) GetDiscoverEnable ¶
func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool
func (*NodeInfo_ConfigNodeInfo) GetListenPort ¶
func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32
func (*NodeInfo_ConfigNodeInfo) GetMaxConnectCount ¶
func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32
func (*NodeInfo_ConfigNodeInfo) GetMaxTimeRatio ¶
func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64
func (*NodeInfo_ConfigNodeInfo) GetMinParticipationRate ¶
func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32
func (*NodeInfo_ConfigNodeInfo) GetMinTimeRatio ¶
func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64
func (*NodeInfo_ConfigNodeInfo) GetP2PVersion ¶
func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string
func (*NodeInfo_ConfigNodeInfo) GetPassiveNodeSize ¶
func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32
func (*NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount ¶
func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32
func (*NodeInfo_ConfigNodeInfo) GetSendNodeSize ¶
func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32
func (*NodeInfo_ConfigNodeInfo) GetSupportConstant ¶
func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool
func (*NodeInfo_ConfigNodeInfo) ProtoMessage ¶
func (*NodeInfo_ConfigNodeInfo) ProtoMessage()
func (*NodeInfo_ConfigNodeInfo) ProtoReflect ¶
func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_ConfigNodeInfo) Reset ¶
func (x *NodeInfo_ConfigNodeInfo) Reset()
func (*NodeInfo_ConfigNodeInfo) String ¶
func (x *NodeInfo_ConfigNodeInfo) String() string
type NodeInfo_MachineInfo ¶
type NodeInfo_MachineInfo struct { ThreadCount int32 `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"` DeadLockThreadCount int32 `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"` CpuCount int32 `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` TotalMemory int64 `protobuf:"varint,4,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` FreeMemory int64 `protobuf:"varint,5,opt,name=freeMemory,proto3" json:"freeMemory,omitempty"` CpuRate float64 `protobuf:"fixed64,6,opt,name=cpuRate,proto3" json:"cpuRate,omitempty"` JavaVersion string `protobuf:"bytes,7,opt,name=javaVersion,proto3" json:"javaVersion,omitempty"` OsName string `protobuf:"bytes,8,opt,name=osName,proto3" json:"osName,omitempty"` JvmTotalMemory int64 `protobuf:"varint,9,opt,name=jvmTotalMemory,proto3" json:"jvmTotalMemory,omitempty"` JvmFreeMemory int64 `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"` ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_MachineInfo) Descriptor
deprecated
func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_MachineInfo) GetCpuCount ¶
func (x *NodeInfo_MachineInfo) GetCpuCount() int32
func (*NodeInfo_MachineInfo) GetCpuRate ¶
func (x *NodeInfo_MachineInfo) GetCpuRate() float64
func (*NodeInfo_MachineInfo) GetDeadLockThreadCount ¶
func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32
func (*NodeInfo_MachineInfo) GetDeadLockThreadInfoList ¶
func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo
func (*NodeInfo_MachineInfo) GetFreeMemory ¶
func (x *NodeInfo_MachineInfo) GetFreeMemory() int64
func (*NodeInfo_MachineInfo) GetJavaVersion ¶
func (x *NodeInfo_MachineInfo) GetJavaVersion() string
func (*NodeInfo_MachineInfo) GetJvmFreeMemory ¶
func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64
func (*NodeInfo_MachineInfo) GetJvmTotalMemory ¶
func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() int64
func (*NodeInfo_MachineInfo) GetMemoryDescInfoList ¶
func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo
func (*NodeInfo_MachineInfo) GetOsName ¶
func (x *NodeInfo_MachineInfo) GetOsName() string
func (*NodeInfo_MachineInfo) GetProcessCpuRate ¶
func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64
func (*NodeInfo_MachineInfo) GetThreadCount ¶
func (x *NodeInfo_MachineInfo) GetThreadCount() int32
func (*NodeInfo_MachineInfo) GetTotalMemory ¶
func (x *NodeInfo_MachineInfo) GetTotalMemory() int64
func (*NodeInfo_MachineInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo) ProtoMessage()
func (*NodeInfo_MachineInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo) Reset ¶
func (x *NodeInfo_MachineInfo) Reset()
func (*NodeInfo_MachineInfo) String ¶
func (x *NodeInfo_MachineInfo) String() string
type NodeInfo_MachineInfo_DeadLockThreadInfo ¶
type NodeInfo_MachineInfo_DeadLockThreadInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor
deprecated
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetName ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetState ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage()
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Reset ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset()
func (*NodeInfo_MachineInfo_DeadLockThreadInfo) String ¶
func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string
type NodeInfo_MachineInfo_MemoryDescInfo ¶
type NodeInfo_MachineInfo_MemoryDescInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor
deprecated
func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetName ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64
func (*NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage ¶
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage()
func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_MachineInfo_MemoryDescInfo) Reset ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset()
func (*NodeInfo_MachineInfo_MemoryDescInfo) String ¶
func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string
type NodeInfo_PeerInfo ¶
type NodeInfo_PeerInfo struct { LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_PeerInfo) Descriptor
deprecated
func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_PeerInfo) GetAvgLatency ¶
func (x *NodeInfo_PeerInfo) GetAvgLatency() float64
func (*NodeInfo_PeerInfo) GetBlockInPorcSize ¶
func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32
func (*NodeInfo_PeerInfo) GetConnectTime ¶
func (x *NodeInfo_PeerInfo) GetConnectTime() int64
func (*NodeInfo_PeerInfo) GetDisconnectTimes ¶
func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32
func (*NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave ¶
func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64
func (*NodeInfo_PeerInfo) GetHeadBlockWeBothHave ¶
func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string
func (*NodeInfo_PeerInfo) GetHost ¶
func (x *NodeInfo_PeerInfo) GetHost() string
func (*NodeInfo_PeerInfo) GetInFlow ¶
func (x *NodeInfo_PeerInfo) GetInFlow() int64
func (*NodeInfo_PeerInfo) GetIsActive ¶
func (x *NodeInfo_PeerInfo) GetIsActive() bool
func (*NodeInfo_PeerInfo) GetLastBlockUpdateTime ¶
func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64
func (*NodeInfo_PeerInfo) GetLastSyncBlock ¶
func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string
func (*NodeInfo_PeerInfo) GetLocalDisconnectReason ¶
func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string
func (*NodeInfo_PeerInfo) GetNeedSyncFromPeer ¶
func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool
func (*NodeInfo_PeerInfo) GetNeedSyncFromUs ¶
func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool
func (*NodeInfo_PeerInfo) GetNodeCount ¶
func (x *NodeInfo_PeerInfo) GetNodeCount() int32
func (*NodeInfo_PeerInfo) GetNodeId ¶
func (x *NodeInfo_PeerInfo) GetNodeId() string
func (*NodeInfo_PeerInfo) GetPort ¶
func (x *NodeInfo_PeerInfo) GetPort() int32
func (*NodeInfo_PeerInfo) GetRemainNum ¶
func (x *NodeInfo_PeerInfo) GetRemainNum() int64
func (*NodeInfo_PeerInfo) GetRemoteDisconnectReason ¶
func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string
func (*NodeInfo_PeerInfo) GetScore ¶
func (x *NodeInfo_PeerInfo) GetScore() int32
func (*NodeInfo_PeerInfo) GetSyncBlockRequestedSize ¶
func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32
func (*NodeInfo_PeerInfo) GetSyncFlag ¶
func (x *NodeInfo_PeerInfo) GetSyncFlag() bool
func (*NodeInfo_PeerInfo) GetSyncToFetchSize ¶
func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32
func (*NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum ¶
func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64
func (*NodeInfo_PeerInfo) GetUnFetchSynNum ¶
func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64
func (*NodeInfo_PeerInfo) ProtoMessage ¶
func (*NodeInfo_PeerInfo) ProtoMessage()
func (*NodeInfo_PeerInfo) ProtoReflect ¶
func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_PeerInfo) Reset ¶
func (x *NodeInfo_PeerInfo) Reset()
func (*NodeInfo_PeerInfo) String ¶
func (x *NodeInfo_PeerInfo) String() string
type PBFTCommitResult ¶
type PBFTCommitResult struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*PBFTCommitResult) Descriptor
deprecated
func (*PBFTCommitResult) Descriptor() ([]byte, []int)
Deprecated: Use PBFTCommitResult.ProtoReflect.Descriptor instead.
func (*PBFTCommitResult) GetData ¶
func (x *PBFTCommitResult) GetData() []byte
func (*PBFTCommitResult) GetSignature ¶
func (x *PBFTCommitResult) GetSignature() [][]byte
func (*PBFTCommitResult) ProtoMessage ¶
func (*PBFTCommitResult) ProtoMessage()
func (*PBFTCommitResult) ProtoReflect ¶
func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message
func (*PBFTCommitResult) Reset ¶
func (x *PBFTCommitResult) Reset()
func (*PBFTCommitResult) String ¶
func (x *PBFTCommitResult) String() string
type PBFTMessage ¶
type PBFTMessage struct { RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*PBFTMessage) Descriptor
deprecated
func (*PBFTMessage) Descriptor() ([]byte, []int)
Deprecated: Use PBFTMessage.ProtoReflect.Descriptor instead.
func (*PBFTMessage) GetRawData ¶
func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw
func (*PBFTMessage) GetSignature ¶
func (x *PBFTMessage) GetSignature() []byte
func (*PBFTMessage) ProtoMessage ¶
func (*PBFTMessage) ProtoMessage()
func (*PBFTMessage) ProtoReflect ¶
func (x *PBFTMessage) ProtoReflect() protoreflect.Message
func (*PBFTMessage) Reset ¶
func (x *PBFTMessage) Reset()
func (*PBFTMessage) String ¶
func (x *PBFTMessage) String() string
type PBFTMessage_DataType ¶
type PBFTMessage_DataType int32
const ( PBFTMessage_BLOCK PBFTMessage_DataType = 0 PBFTMessage_SRL PBFTMessage_DataType = 1 )
func (PBFTMessage_DataType) Descriptor ¶
func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor
func (PBFTMessage_DataType) Enum ¶
func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType
func (PBFTMessage_DataType) EnumDescriptor
deprecated
func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_DataType.Descriptor instead.
func (PBFTMessage_DataType) Number ¶
func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber
func (PBFTMessage_DataType) String ¶
func (x PBFTMessage_DataType) String() string
func (PBFTMessage_DataType) Type ¶
func (PBFTMessage_DataType) Type() protoreflect.EnumType
type PBFTMessage_MsgType ¶
type PBFTMessage_MsgType int32
const ( PBFTMessage_VIEW_CHANGE PBFTMessage_MsgType = 0 PBFTMessage_REQUEST PBFTMessage_MsgType = 1 PBFTMessage_PREPREPARE PBFTMessage_MsgType = 2 PBFTMessage_PREPARE PBFTMessage_MsgType = 3 PBFTMessage_COMMIT PBFTMessage_MsgType = 4 )
func (PBFTMessage_MsgType) Descriptor ¶
func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor
func (PBFTMessage_MsgType) Enum ¶
func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType
func (PBFTMessage_MsgType) EnumDescriptor
deprecated
func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_MsgType.Descriptor instead.
func (PBFTMessage_MsgType) Number ¶
func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber
func (PBFTMessage_MsgType) String ¶
func (x PBFTMessage_MsgType) String() string
func (PBFTMessage_MsgType) Type ¶
func (PBFTMessage_MsgType) Type() protoreflect.EnumType
type PBFTMessage_Raw ¶
type PBFTMessage_Raw struct { MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PBFTMessage_Raw) Descriptor
deprecated
func (*PBFTMessage_Raw) Descriptor() ([]byte, []int)
Deprecated: Use PBFTMessage_Raw.ProtoReflect.Descriptor instead.
func (*PBFTMessage_Raw) GetData ¶
func (x *PBFTMessage_Raw) GetData() []byte
func (*PBFTMessage_Raw) GetDataType ¶
func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType
func (*PBFTMessage_Raw) GetEpoch ¶
func (x *PBFTMessage_Raw) GetEpoch() int64
func (*PBFTMessage_Raw) GetMsgType ¶
func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType
func (*PBFTMessage_Raw) GetViewN ¶
func (x *PBFTMessage_Raw) GetViewN() int64
func (*PBFTMessage_Raw) ProtoMessage ¶
func (*PBFTMessage_Raw) ProtoMessage()
func (*PBFTMessage_Raw) ProtoReflect ¶
func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message
func (*PBFTMessage_Raw) Reset ¶
func (x *PBFTMessage_Raw) Reset()
func (*PBFTMessage_Raw) String ¶
func (x *PBFTMessage_Raw) String() string
type Permission ¶
type Permission struct { Type Permission_PermissionType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Permission_PermissionType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` //Owner id=0, Witness id=1, Active id start by 2 PermissionName string `protobuf:"bytes,3,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` Threshold int64 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` ParentId int32 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Operations []byte `protobuf:"bytes,6,opt,name=operations,proto3" json:"operations,omitempty"` //1 bit 1 contract Keys []*Key `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetId ¶
func (x *Permission) GetId() int32
func (*Permission) GetKeys ¶
func (x *Permission) GetKeys() []*Key
func (*Permission) GetOperations ¶
func (x *Permission) GetOperations() []byte
func (*Permission) GetParentId ¶
func (x *Permission) GetParentId() int32
func (*Permission) GetPermissionName ¶
func (x *Permission) GetPermissionName() string
func (*Permission) GetThreshold ¶
func (x *Permission) GetThreshold() int64
func (*Permission) GetType ¶
func (x *Permission) GetType() Permission_PermissionType
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
type Permission_PermissionType ¶
type Permission_PermissionType int32
const ( Permission_Owner Permission_PermissionType = 0 Permission_Witness Permission_PermissionType = 1 Permission_Active Permission_PermissionType = 2 )
func (Permission_PermissionType) Descriptor ¶
func (Permission_PermissionType) Descriptor() protoreflect.EnumDescriptor
func (Permission_PermissionType) Enum ¶
func (x Permission_PermissionType) Enum() *Permission_PermissionType
func (Permission_PermissionType) EnumDescriptor
deprecated
func (Permission_PermissionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_PermissionType.Descriptor instead.
func (Permission_PermissionType) Number ¶
func (x Permission_PermissionType) Number() protoreflect.EnumNumber
func (Permission_PermissionType) String ¶
func (x Permission_PermissionType) String() string
func (Permission_PermissionType) Type ¶
func (Permission_PermissionType) Type() protoreflect.EnumType
type PingMessage ¶
type PingMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*PingMessage) Descriptor
deprecated
func (*PingMessage) Descriptor() ([]byte, []int)
Deprecated: Use PingMessage.ProtoReflect.Descriptor instead.
func (*PingMessage) GetFrom ¶
func (x *PingMessage) GetFrom() *Endpoint
func (*PingMessage) GetTimestamp ¶
func (x *PingMessage) GetTimestamp() int64
func (*PingMessage) GetTo ¶
func (x *PingMessage) GetTo() *Endpoint
func (*PingMessage) GetVersion ¶
func (x *PingMessage) GetVersion() int32
func (*PingMessage) ProtoMessage ¶
func (*PingMessage) ProtoMessage()
func (*PingMessage) ProtoReflect ¶
func (x *PingMessage) ProtoReflect() protoreflect.Message
func (*PingMessage) Reset ¶
func (x *PingMessage) Reset()
func (*PingMessage) String ¶
func (x *PingMessage) String() string
type PongMessage ¶
type PongMessage struct { From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Echo int32 `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*PongMessage) Descriptor
deprecated
func (*PongMessage) Descriptor() ([]byte, []int)
Deprecated: Use PongMessage.ProtoReflect.Descriptor instead.
func (*PongMessage) GetEcho ¶
func (x *PongMessage) GetEcho() int32
func (*PongMessage) GetFrom ¶
func (x *PongMessage) GetFrom() *Endpoint
func (*PongMessage) GetTimestamp ¶
func (x *PongMessage) GetTimestamp() int64
func (*PongMessage) ProtoMessage ¶
func (*PongMessage) ProtoMessage()
func (*PongMessage) ProtoReflect ¶
func (x *PongMessage) ProtoReflect() protoreflect.Message
func (*PongMessage) Reset ¶
func (x *PongMessage) Reset()
func (*PongMessage) String ¶
func (x *PongMessage) String() string
type Proposal ¶
type Proposal struct { ProposalId int64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` ProposerAddress []byte `protobuf:"bytes,2,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` Parameters map[int64]int64 `` /* 163-byte string literal not displayed */ ExpirationTime int64 `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` CreateTime int64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Approvals [][]byte `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"` State Proposal_State `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty"` // contains filtered or unexported fields }
Proposal
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetApprovals ¶
func (*Proposal) GetCreateTime ¶
func (*Proposal) GetExpirationTime ¶
func (*Proposal) GetParameters ¶
func (*Proposal) GetProposalId ¶
func (*Proposal) GetProposerAddress ¶
func (*Proposal) GetState ¶
func (x *Proposal) GetState() Proposal_State
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
type Proposal_State ¶
type Proposal_State int32
const ( Proposal_PENDING Proposal_State = 0 Proposal_DISAPPROVED Proposal_State = 1 Proposal_APPROVED Proposal_State = 2 Proposal_CANCELED Proposal_State = 3 )
func (Proposal_State) Descriptor ¶
func (Proposal_State) Descriptor() protoreflect.EnumDescriptor
func (Proposal_State) Enum ¶
func (x Proposal_State) Enum() *Proposal_State
func (Proposal_State) EnumDescriptor
deprecated
func (Proposal_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Proposal_State.Descriptor instead.
func (Proposal_State) Number ¶
func (x Proposal_State) Number() protoreflect.EnumNumber
func (Proposal_State) String ¶
func (x Proposal_State) String() string
func (Proposal_State) Type ¶
func (Proposal_State) Type() protoreflect.EnumType
type ReasonCode ¶
type ReasonCode int32
const ( ReasonCode_REQUESTED ReasonCode = 0 ReasonCode_BAD_PROTOCOL ReasonCode = 2 ReasonCode_TOO_MANY_PEERS ReasonCode = 4 ReasonCode_DUPLICATE_PEER ReasonCode = 5 ReasonCode_INCOMPATIBLE_PROTOCOL ReasonCode = 6 ReasonCode_RANDOM_ELIMINATION ReasonCode = 7 ReasonCode_PEER_QUITING ReasonCode = 8 ReasonCode_UNEXPECTED_IDENTITY ReasonCode = 9 ReasonCode_LOCAL_IDENTITY ReasonCode = 10 ReasonCode_PING_TIMEOUT ReasonCode = 11 ReasonCode_USER_REASON ReasonCode = 16 ReasonCode_RESET ReasonCode = 17 ReasonCode_SYNC_FAIL ReasonCode = 18 ReasonCode_FETCH_FAIL ReasonCode = 19 ReasonCode_BAD_TX ReasonCode = 20 ReasonCode_BAD_BLOCK ReasonCode = 21 ReasonCode_FORKED ReasonCode = 22 ReasonCode_UNLINKABLE ReasonCode = 23 ReasonCode_INCOMPATIBLE_VERSION ReasonCode = 24 ReasonCode_INCOMPATIBLE_CHAIN ReasonCode = 25 ReasonCode_TIME_OUT ReasonCode = 32 ReasonCode_CONNECT_FAIL ReasonCode = 33 ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 ReasonCode_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 ReasonCode_BELOW_THAN_ME ReasonCode = 36 ReasonCode_NOT_WITNESS ReasonCode = 37 ReasonCode_NO_SUCH_MESSAGE ReasonCode = 38 ReasonCode_UNKNOWN ReasonCode = 255 )
func (ReasonCode) Descriptor ¶
func (ReasonCode) Descriptor() protoreflect.EnumDescriptor
func (ReasonCode) Enum ¶
func (x ReasonCode) Enum() *ReasonCode
func (ReasonCode) EnumDescriptor
deprecated
func (ReasonCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReasonCode.Descriptor instead.
func (ReasonCode) Number ¶
func (x ReasonCode) Number() protoreflect.EnumNumber
func (ReasonCode) String ¶
func (x ReasonCode) String() string
func (ReasonCode) Type ¶
func (ReasonCode) Type() protoreflect.EnumType
type ResourceReceipt ¶
type ResourceReceipt struct { EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` EnergyUsageTotal int64 `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"` NetUsage int64 `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` EnergyPenaltyTotal int64 `protobuf:"varint,8,opt,name=energy_penalty_total,json=energyPenaltyTotal,proto3" json:"energy_penalty_total,omitempty"` // contains filtered or unexported fields }
func (*ResourceReceipt) Descriptor
deprecated
func (*ResourceReceipt) Descriptor() ([]byte, []int)
Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead.
func (*ResourceReceipt) GetEnergyFee ¶
func (x *ResourceReceipt) GetEnergyFee() int64
func (*ResourceReceipt) GetEnergyPenaltyTotal ¶
func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64
func (*ResourceReceipt) GetEnergyUsage ¶
func (x *ResourceReceipt) GetEnergyUsage() int64
func (*ResourceReceipt) GetEnergyUsageTotal ¶
func (x *ResourceReceipt) GetEnergyUsageTotal() int64
func (*ResourceReceipt) GetNetFee ¶
func (x *ResourceReceipt) GetNetFee() int64
func (*ResourceReceipt) GetNetUsage ¶
func (x *ResourceReceipt) GetNetUsage() int64
func (*ResourceReceipt) GetOriginEnergyUsage ¶
func (x *ResourceReceipt) GetOriginEnergyUsage() int64
func (*ResourceReceipt) GetResult ¶
func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult
func (*ResourceReceipt) ProtoMessage ¶
func (*ResourceReceipt) ProtoMessage()
func (*ResourceReceipt) ProtoReflect ¶
func (x *ResourceReceipt) ProtoReflect() protoreflect.Message
func (*ResourceReceipt) Reset ¶
func (x *ResourceReceipt) Reset()
func (*ResourceReceipt) String ¶
func (x *ResourceReceipt) String() string
type SRL ¶
type SRL struct { SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` // contains filtered or unexported fields }
func (*SRL) Descriptor
deprecated
func (*SRL) GetSrAddress ¶
func (*SRL) ProtoMessage ¶
func (*SRL) ProtoMessage()
func (*SRL) ProtoReflect ¶
func (x *SRL) ProtoReflect() protoreflect.Message
type TXInput ¶
type TXInput struct { RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*TXInput) Descriptor
deprecated
func (*TXInput) GetRawData ¶
func (x *TXInput) GetRawData() *TXInputRaw
func (*TXInput) GetSignature ¶
func (*TXInput) ProtoMessage ¶
func (*TXInput) ProtoMessage()
func (*TXInput) ProtoReflect ¶
func (x *TXInput) ProtoReflect() protoreflect.Message
type TXInputRaw ¶
type TXInputRaw struct { TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` // contains filtered or unexported fields }
func (*TXInputRaw) Descriptor
deprecated
func (*TXInputRaw) Descriptor() ([]byte, []int)
Deprecated: Use TXInputRaw.ProtoReflect.Descriptor instead.
func (*TXInputRaw) GetPubKey ¶
func (x *TXInputRaw) GetPubKey() []byte
func (*TXInputRaw) GetTxID ¶
func (x *TXInputRaw) GetTxID() []byte
func (*TXInputRaw) GetVout ¶
func (x *TXInputRaw) GetVout() int64
func (*TXInputRaw) ProtoMessage ¶
func (*TXInputRaw) ProtoMessage()
func (*TXInputRaw) ProtoReflect ¶
func (x *TXInputRaw) ProtoReflect() protoreflect.Message
func (*TXInputRaw) Reset ¶
func (x *TXInputRaw) Reset()
func (*TXInputRaw) String ¶
func (x *TXInputRaw) String() string
type TXOutput ¶
type TXOutput struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` // contains filtered or unexported fields }
func (*TXOutput) Descriptor
deprecated
func (*TXOutput) GetPubKeyHash ¶
func (*TXOutput) ProtoMessage ¶
func (*TXOutput) ProtoMessage()
func (*TXOutput) ProtoReflect ¶
func (x *TXOutput) ProtoReflect() protoreflect.Message
type TXOutputs ¶
type TXOutputs struct { Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*TXOutputs) Descriptor
deprecated
func (*TXOutputs) GetOutputs ¶
func (*TXOutputs) ProtoMessage ¶
func (*TXOutputs) ProtoMessage()
func (*TXOutputs) ProtoReflect ¶
func (x *TXOutputs) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct { RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` // only support size = 1, repeated list here for muti-sig extension Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetRawData ¶
func (x *Transaction) GetRawData() *TransactionRaw
func (*Transaction) GetRet ¶
func (x *Transaction) GetRet() []*Transaction_Result
func (*Transaction) GetSignature ¶
func (x *Transaction) GetSignature() [][]byte
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 TransactionInfo ¶
type TransactionInfo struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` ContractResult [][]byte `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"` ContractAddress []byte `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Receipt *ResourceReceipt `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"` Log []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"` Result TransactionInfoCode `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"` ResMessage []byte `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"` AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` InternalTransactions []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` ExchangeReceivedAmount int64 `` /* 131-byte string literal not displayed */ ExchangeInjectAnotherAmount int64 `` /* 148-byte string literal not displayed */ ExchangeWithdrawAnotherAmount int64 `` /* 154-byte string literal not displayed */ ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` ShieldedTransactionFee int64 `` /* 131-byte string literal not displayed */ OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` CancelUnfreezeV2Amount map[string]int64 `` /* 219-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionInfo) Descriptor
deprecated
func (*TransactionInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.
func (*TransactionInfo) GetAssetIssueID ¶
func (x *TransactionInfo) GetAssetIssueID() string
func (*TransactionInfo) GetBlockNumber ¶
func (x *TransactionInfo) GetBlockNumber() int64
func (*TransactionInfo) GetBlockTimeStamp ¶
func (x *TransactionInfo) GetBlockTimeStamp() int64
func (*TransactionInfo) GetCancelUnfreezeV2Amount ¶
func (x *TransactionInfo) GetCancelUnfreezeV2Amount() map[string]int64
func (*TransactionInfo) GetContractAddress ¶
func (x *TransactionInfo) GetContractAddress() []byte
func (*TransactionInfo) GetContractResult ¶
func (x *TransactionInfo) GetContractResult() [][]byte
func (*TransactionInfo) GetExchangeId ¶
func (x *TransactionInfo) GetExchangeId() int64
func (*TransactionInfo) GetExchangeInjectAnotherAmount ¶
func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64
func (*TransactionInfo) GetExchangeReceivedAmount ¶
func (x *TransactionInfo) GetExchangeReceivedAmount() int64
func (*TransactionInfo) GetExchangeWithdrawAnotherAmount ¶
func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64
func (*TransactionInfo) GetFee ¶
func (x *TransactionInfo) GetFee() int64
func (*TransactionInfo) GetId ¶
func (x *TransactionInfo) GetId() []byte
func (*TransactionInfo) GetInternalTransactions ¶
func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction
func (*TransactionInfo) GetLog ¶
func (x *TransactionInfo) GetLog() []*TransactionInfo_Log
func (*TransactionInfo) GetOrderDetails ¶
func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail
func (*TransactionInfo) GetOrderId ¶
func (x *TransactionInfo) GetOrderId() []byte
func (*TransactionInfo) GetPackingFee ¶
func (x *TransactionInfo) GetPackingFee() int64
func (*TransactionInfo) GetReceipt ¶
func (x *TransactionInfo) GetReceipt() *ResourceReceipt
func (*TransactionInfo) GetResMessage ¶
func (x *TransactionInfo) GetResMessage() []byte
func (*TransactionInfo) GetResult ¶
func (x *TransactionInfo) GetResult() TransactionInfoCode
func (*TransactionInfo) GetShieldedTransactionFee ¶
func (x *TransactionInfo) GetShieldedTransactionFee() int64
func (*TransactionInfo) GetUnfreezeAmount ¶
func (x *TransactionInfo) GetUnfreezeAmount() int64
func (*TransactionInfo) GetWithdrawAmount ¶
func (x *TransactionInfo) GetWithdrawAmount() int64
func (*TransactionInfo) GetWithdrawExpireAmount ¶
func (x *TransactionInfo) GetWithdrawExpireAmount() int64
func (*TransactionInfo) ProtoMessage ¶
func (*TransactionInfo) ProtoMessage()
func (*TransactionInfo) ProtoReflect ¶
func (x *TransactionInfo) ProtoReflect() protoreflect.Message
func (*TransactionInfo) Reset ¶
func (x *TransactionInfo) Reset()
func (*TransactionInfo) String ¶
func (x *TransactionInfo) String() string
type TransactionInfoCode ¶
type TransactionInfoCode int32
const ( TransactionInfo_SUCESS TransactionInfoCode = 0 TransactionInfo_FAILED TransactionInfoCode = 1 )
func (TransactionInfoCode) Descriptor ¶
func (TransactionInfoCode) Descriptor() protoreflect.EnumDescriptor
func (TransactionInfoCode) Enum ¶
func (x TransactionInfoCode) Enum() *TransactionInfoCode
func (TransactionInfoCode) EnumDescriptor
deprecated
func (TransactionInfoCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionInfoCode.Descriptor instead.
func (TransactionInfoCode) Number ¶
func (x TransactionInfoCode) Number() protoreflect.EnumNumber
func (TransactionInfoCode) String ¶
func (x TransactionInfoCode) String() string
func (TransactionInfoCode) Type ¶
func (TransactionInfoCode) Type() protoreflect.EnumType
type TransactionInfo_Log ¶
type TransactionInfo_Log struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TransactionInfo_Log) Descriptor
deprecated
func (*TransactionInfo_Log) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInfo_Log.ProtoReflect.Descriptor instead.
func (*TransactionInfo_Log) GetAddress ¶
func (x *TransactionInfo_Log) GetAddress() []byte
func (*TransactionInfo_Log) GetData ¶
func (x *TransactionInfo_Log) GetData() []byte
func (*TransactionInfo_Log) GetTopics ¶
func (x *TransactionInfo_Log) GetTopics() [][]byte
func (*TransactionInfo_Log) ProtoMessage ¶
func (*TransactionInfo_Log) ProtoMessage()
func (*TransactionInfo_Log) ProtoReflect ¶
func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message
func (*TransactionInfo_Log) Reset ¶
func (x *TransactionInfo_Log) Reset()
func (*TransactionInfo_Log) String ¶
func (x *TransactionInfo_Log) String() string
type TransactionRaw ¶
type TransactionRaw struct { RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` // data not used Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` // only support size = 1, repeated list here for extension Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` // scripts not used Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` // contains filtered or unexported fields }
func (*TransactionRaw) Descriptor
deprecated
func (*TransactionRaw) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead.
func (*TransactionRaw) GetAuths ¶
func (x *TransactionRaw) GetAuths() []*Authority
func (*TransactionRaw) GetContract ¶
func (x *TransactionRaw) GetContract() []*Transaction_Contract
func (*TransactionRaw) GetData ¶
func (x *TransactionRaw) GetData() []byte
func (*TransactionRaw) GetExpiration ¶
func (x *TransactionRaw) GetExpiration() int64
func (*TransactionRaw) GetFeeLimit ¶
func (x *TransactionRaw) GetFeeLimit() int64
func (*TransactionRaw) GetRefBlockBytes ¶
func (x *TransactionRaw) GetRefBlockBytes() []byte
func (*TransactionRaw) GetRefBlockHash ¶
func (x *TransactionRaw) GetRefBlockHash() []byte
func (*TransactionRaw) GetRefBlockNum ¶
func (x *TransactionRaw) GetRefBlockNum() int64
func (*TransactionRaw) GetScripts ¶
func (x *TransactionRaw) GetScripts() []byte
func (*TransactionRaw) GetTimestamp ¶
func (x *TransactionRaw) GetTimestamp() int64
func (*TransactionRaw) ProtoMessage ¶
func (*TransactionRaw) ProtoMessage()
func (*TransactionRaw) ProtoReflect ¶
func (x *TransactionRaw) ProtoReflect() protoreflect.Message
func (*TransactionRaw) Reset ¶
func (x *TransactionRaw) Reset()
func (*TransactionRaw) String ¶
func (x *TransactionRaw) String() string
type TransactionRet ¶
type TransactionRet struct { BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` // contains filtered or unexported fields }
func (*TransactionRet) Descriptor
deprecated
func (*TransactionRet) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead.
func (*TransactionRet) GetBlockNumber ¶
func (x *TransactionRet) GetBlockNumber() int64
func (*TransactionRet) GetBlockTimeStamp ¶
func (x *TransactionRet) GetBlockTimeStamp() int64
func (*TransactionRet) GetTransactioninfo ¶
func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo
func (*TransactionRet) ProtoMessage ¶
func (*TransactionRet) ProtoMessage()
func (*TransactionRet) ProtoReflect ¶
func (x *TransactionRet) ProtoReflect() protoreflect.Message
func (*TransactionRet) Reset ¶
func (x *TransactionRet) Reset()
func (*TransactionRet) String ¶
func (x *TransactionRet) String() string
type Transaction_Contract ¶
type Transaction_Contract struct { Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` Parameter *anypb.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Contract) Descriptor
deprecated
func (*Transaction_Contract) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead.
func (*Transaction_Contract) GetContractName ¶
func (x *Transaction_Contract) GetContractName() []byte
func (*Transaction_Contract) GetParameter ¶
func (x *Transaction_Contract) GetParameter() *anypb.Any
func (*Transaction_Contract) GetPermissionId ¶
func (x *Transaction_Contract) GetPermissionId() int32
func (*Transaction_Contract) GetProvider ¶
func (x *Transaction_Contract) GetProvider() []byte
func (*Transaction_Contract) GetType ¶
func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType
func (*Transaction_Contract) ProtoMessage ¶
func (*Transaction_Contract) ProtoMessage()
func (*Transaction_Contract) ProtoReflect ¶
func (x *Transaction_Contract) ProtoReflect() protoreflect.Message
func (*Transaction_Contract) Reset ¶
func (x *Transaction_Contract) Reset()
func (*Transaction_Contract) String ¶
func (x *Transaction_Contract) String() string
type Transaction_Contract_ContractType ¶
type Transaction_Contract_ContractType int32
const ( Transaction_Contract_AccountCreateContract Transaction_Contract_ContractType = 0 Transaction_Contract_TransferContract Transaction_Contract_ContractType = 1 Transaction_Contract_TransferAssetContract Transaction_Contract_ContractType = 2 Transaction_Contract_VoteAssetContract Transaction_Contract_ContractType = 3 Transaction_Contract_VoteWitnessContract Transaction_Contract_ContractType = 4 Transaction_Contract_WitnessCreateContract Transaction_Contract_ContractType = 5 Transaction_Contract_AssetIssueContract Transaction_Contract_ContractType = 6 Transaction_Contract_WitnessUpdateContract Transaction_Contract_ContractType = 8 Transaction_Contract_ParticipateAssetIssueContract Transaction_Contract_ContractType = 9 Transaction_Contract_AccountUpdateContract Transaction_Contract_ContractType = 10 Transaction_Contract_FreezeBalanceContract Transaction_Contract_ContractType = 11 Transaction_Contract_UnfreezeBalanceContract Transaction_Contract_ContractType = 12 Transaction_Contract_WithdrawBalanceContract Transaction_Contract_ContractType = 13 Transaction_Contract_UnfreezeAssetContract Transaction_Contract_ContractType = 14 Transaction_Contract_UpdateAssetContract Transaction_Contract_ContractType = 15 Transaction_Contract_ProposalCreateContract Transaction_Contract_ContractType = 16 Transaction_Contract_ProposalApproveContract Transaction_Contract_ContractType = 17 Transaction_Contract_ProposalDeleteContract Transaction_Contract_ContractType = 18 Transaction_Contract_SetAccountIdContract Transaction_Contract_ContractType = 19 Transaction_Contract_CustomContract Transaction_Contract_ContractType = 20 Transaction_Contract_CreateSmartContract Transaction_Contract_ContractType = 30 Transaction_Contract_TriggerSmartContract Transaction_Contract_ContractType = 31 Transaction_Contract_GetContract Transaction_Contract_ContractType = 32 Transaction_Contract_UpdateSettingContract Transaction_Contract_ContractType = 33 Transaction_Contract_ExchangeCreateContract Transaction_Contract_ContractType = 41 Transaction_Contract_ExchangeInjectContract Transaction_Contract_ContractType = 42 Transaction_Contract_ExchangeWithdrawContract Transaction_Contract_ContractType = 43 Transaction_Contract_ExchangeTransactionContract Transaction_Contract_ContractType = 44 Transaction_Contract_UpdateEnergyLimitContract Transaction_Contract_ContractType = 45 Transaction_Contract_AccountPermissionUpdateContract Transaction_Contract_ContractType = 46 Transaction_Contract_ClearABIContract Transaction_Contract_ContractType = 48 Transaction_Contract_UpdateBrokerageContract Transaction_Contract_ContractType = 49 Transaction_Contract_ShieldedTransferContract Transaction_Contract_ContractType = 51 Transaction_Contract_MarketSellAssetContract Transaction_Contract_ContractType = 52 Transaction_Contract_MarketCancelOrderContract Transaction_Contract_ContractType = 53 Transaction_Contract_FreezeBalanceV2Contract Transaction_Contract_ContractType = 54 Transaction_Contract_UnfreezeBalanceV2Contract Transaction_Contract_ContractType = 55 Transaction_Contract_WithdrawExpireUnfreezeContract Transaction_Contract_ContractType = 56 Transaction_Contract_DelegateResourceContract Transaction_Contract_ContractType = 57 Transaction_Contract_UnDelegateResourceContract Transaction_Contract_ContractType = 58 Transaction_Contract_CancelAllUnfreezeV2Contract Transaction_Contract_ContractType = 59 )
func (Transaction_Contract_ContractType) Descriptor ¶
func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor
func (Transaction_Contract_ContractType) Enum ¶
func (x Transaction_Contract_ContractType) Enum() *Transaction_Contract_ContractType
func (Transaction_Contract_ContractType) EnumDescriptor
deprecated
func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Transaction_Contract_ContractType.Descriptor instead.
func (Transaction_Contract_ContractType) Number ¶
func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber
func (Transaction_Contract_ContractType) String ¶
func (x Transaction_Contract_ContractType) String() string
func (Transaction_Contract_ContractType) Type ¶
func (Transaction_Contract_ContractType) Type() protoreflect.EnumType
type Transaction_Result ¶
type Transaction_Result struct { Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` ContractRet Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"` AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` ExchangeReceivedAmount int64 `` /* 131-byte string literal not displayed */ ExchangeInjectAnotherAmount int64 `` /* 148-byte string literal not displayed */ ExchangeWithdrawAnotherAmount int64 `` /* 154-byte string literal not displayed */ ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` ShieldedTransactionFee int64 `` /* 131-byte string literal not displayed */ OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` CancelUnfreezeV2Amount map[string]int64 `` /* 219-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Transaction_Result) Descriptor
deprecated
func (*Transaction_Result) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Result.ProtoReflect.Descriptor instead.
func (*Transaction_Result) GetAssetIssueID ¶
func (x *Transaction_Result) GetAssetIssueID() string
func (*Transaction_Result) GetCancelUnfreezeV2Amount ¶
func (x *Transaction_Result) GetCancelUnfreezeV2Amount() map[string]int64
func (*Transaction_Result) GetContractRet ¶
func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult
func (*Transaction_Result) GetExchangeId ¶
func (x *Transaction_Result) GetExchangeId() int64
func (*Transaction_Result) GetExchangeInjectAnotherAmount ¶
func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64
func (*Transaction_Result) GetExchangeReceivedAmount ¶
func (x *Transaction_Result) GetExchangeReceivedAmount() int64
func (*Transaction_Result) GetExchangeWithdrawAnotherAmount ¶
func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64
func (*Transaction_Result) GetFee ¶
func (x *Transaction_Result) GetFee() int64
func (*Transaction_Result) GetOrderDetails ¶
func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail
func (*Transaction_Result) GetOrderId ¶
func (x *Transaction_Result) GetOrderId() []byte
func (*Transaction_Result) GetRet ¶
func (x *Transaction_Result) GetRet() Transaction_ResultCode
func (*Transaction_Result) GetShieldedTransactionFee ¶
func (x *Transaction_Result) GetShieldedTransactionFee() int64
func (*Transaction_Result) GetUnfreezeAmount ¶
func (x *Transaction_Result) GetUnfreezeAmount() int64
func (*Transaction_Result) GetWithdrawAmount ¶
func (x *Transaction_Result) GetWithdrawAmount() int64
func (*Transaction_Result) GetWithdrawExpireAmount ¶
func (x *Transaction_Result) GetWithdrawExpireAmount() int64
func (*Transaction_Result) ProtoMessage ¶
func (*Transaction_Result) ProtoMessage()
func (*Transaction_Result) ProtoReflect ¶
func (x *Transaction_Result) ProtoReflect() protoreflect.Message
func (*Transaction_Result) Reset ¶
func (x *Transaction_Result) Reset()
func (*Transaction_Result) String ¶
func (x *Transaction_Result) String() string
type Transaction_ResultCode ¶
type Transaction_ResultCode int32
const ( Transaction_Result_SUCESS Transaction_ResultCode = 0 Transaction_Result_FAILED Transaction_ResultCode = 1 )
func (Transaction_ResultCode) Descriptor ¶
func (Transaction_ResultCode) Descriptor() protoreflect.EnumDescriptor
func (Transaction_ResultCode) Enum ¶
func (x Transaction_ResultCode) Enum() *Transaction_ResultCode
func (Transaction_ResultCode) EnumDescriptor
deprecated
func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Transaction_ResultCode.Descriptor instead.
func (Transaction_ResultCode) Number ¶
func (x Transaction_ResultCode) Number() protoreflect.EnumNumber
func (Transaction_ResultCode) String ¶
func (x Transaction_ResultCode) String() string
func (Transaction_ResultCode) Type ¶
func (Transaction_ResultCode) Type() protoreflect.EnumType
type Transaction_ResultContractResult ¶
type Transaction_ResultContractResult int32
const ( Transaction_Result_DEFAULT Transaction_ResultContractResult = 0 Transaction_Result_SUCCESS Transaction_ResultContractResult = 1 Transaction_Result_REVERT Transaction_ResultContractResult = 2 Transaction_Result_BAD_JUMP_DESTINATION Transaction_ResultContractResult = 3 Transaction_Result_OUT_OF_MEMORY Transaction_ResultContractResult = 4 Transaction_Result_PRECOMPILED_CONTRACT Transaction_ResultContractResult = 5 Transaction_Result_STACK_TOO_SMALL Transaction_ResultContractResult = 6 Transaction_Result_STACK_TOO_LARGE Transaction_ResultContractResult = 7 Transaction_Result_ILLEGAL_OPERATION Transaction_ResultContractResult = 8 Transaction_Result_STACK_OVERFLOW Transaction_ResultContractResult = 9 Transaction_Result_OUT_OF_ENERGY Transaction_ResultContractResult = 10 Transaction_Result_OUT_OF_TIME Transaction_ResultContractResult = 11 Transaction_Result_JVM_STACK_OVER_FLOW Transaction_ResultContractResult = 12 Transaction_Result_UNKNOWN Transaction_ResultContractResult = 13 Transaction_Result_TRANSFER_FAILED Transaction_ResultContractResult = 14 Transaction_Result_INVALID_CODE Transaction_ResultContractResult = 15 )
func (Transaction_ResultContractResult) Descriptor ¶
func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor
func (Transaction_ResultContractResult) Enum ¶
func (x Transaction_ResultContractResult) Enum() *Transaction_ResultContractResult
func (Transaction_ResultContractResult) EnumDescriptor
deprecated
func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use Transaction_ResultContractResult.Descriptor instead.
func (Transaction_ResultContractResult) Number ¶
func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber
func (Transaction_ResultContractResult) String ¶
func (x Transaction_ResultContractResult) String() string
func (Transaction_ResultContractResult) Type ¶
func (Transaction_ResultContractResult) Type() protoreflect.EnumType
type Transactions ¶
type Transactions struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Transactions) Descriptor
deprecated
func (*Transactions) Descriptor() ([]byte, []int)
Deprecated: Use Transactions.ProtoReflect.Descriptor instead.
func (*Transactions) GetTransactions ¶
func (x *Transactions) GetTransactions() []*Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) ProtoReflect ¶
func (x *Transactions) ProtoReflect() protoreflect.Message
func (*Transactions) Reset ¶
func (x *Transactions) Reset()
func (*Transactions) String ¶
func (x *Transactions) String() string
type Vote ¶
type Vote struct { // the super rep address VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` // the vote num to this super rep. VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // contains filtered or unexported fields }
vote message
func (*Vote) Descriptor
deprecated
func (*Vote) GetVoteAddress ¶
func (*Vote) GetVoteCount ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
type Votes ¶
type Votes struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` // contains filtered or unexported fields }
Vote Change
func (*Votes) Descriptor
deprecated
func (*Votes) GetAddress ¶
func (*Votes) GetNewVotes ¶
func (*Votes) GetOldVotes ¶
func (*Votes) ProtoMessage ¶
func (*Votes) ProtoMessage()
func (*Votes) ProtoReflect ¶
func (x *Votes) ProtoReflect() protoreflect.Message
type Witness ¶
type Witness struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` // contains filtered or unexported fields }
Witness
func (*Witness) Descriptor
deprecated
func (*Witness) GetAddress ¶
func (*Witness) GetLatestBlockNum ¶
func (*Witness) GetLatestSlotNum ¶
func (*Witness) GetTotalMissed ¶
func (*Witness) GetTotalProduced ¶
func (*Witness) GetVoteCount ¶
func (*Witness) ProtoMessage ¶
func (*Witness) ProtoMessage()
func (*Witness) ProtoReflect ¶
func (x *Witness) ProtoReflect() protoreflect.Message