Documentation ¶
Index ¶
- Variables
- type AirdropRewardHistoryTab
- func (*AirdropRewardHistoryTab) Descriptor() ([]byte, []int)
- func (m *AirdropRewardHistoryTab) GetDateCreated() time.Time
- func (m *AirdropRewardHistoryTab) GetIsSuspect() bool
- func (m *AirdropRewardHistoryTab) GetNodeId() string
- func (m *AirdropRewardHistoryTab) GetReward() uint64
- func (m *AirdropRewardHistoryTab) GetStake() uint32
- func (m *AirdropRewardHistoryTab) GetTimeCreated() time.Time
- func (m *AirdropRewardHistoryTab) GetType() uint32
- func (m *AirdropRewardHistoryTab) GetWeight() uint32
- func (m *AirdropRewardHistoryTab) GettableName() string
- func (m *AirdropRewardHistoryTab) Marshal() (dAtA []byte, err error)
- func (m *AirdropRewardHistoryTab) MarshalTo(dAtA []byte) (int, error)
- func (m *AirdropRewardHistoryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AirdropRewardHistoryTab) ProtoMessage()
- func (m *AirdropRewardHistoryTab) Reset()
- func (m *AirdropRewardHistoryTab) Size() (n int)
- func (m *AirdropRewardHistoryTab) String() string
- func (m *AirdropRewardHistoryTab) Unmarshal(dAtA []byte) error
- func (m *AirdropRewardHistoryTab) XXX_DiscardUnknown()
- func (m *AirdropRewardHistoryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AirdropRewardHistoryTab) XXX_Merge(src proto.Message)
- func (*AirdropRewardHistoryTab) XXX_MessageName() string
- func (m *AirdropRewardHistoryTab) XXX_Size() int
- func (m *AirdropRewardHistoryTab) XXX_Unmarshal(b []byte) error
- type BtfsScanTab
- func (*BtfsScanTab) Descriptor() ([]byte, []int)
- func (m *BtfsScanTab) GetCountryDistribute() map[string]int32
- func (m *BtfsScanTab) GetDateCreated() time.Time
- func (m *BtfsScanTab) GetNewRank() string
- func (m *BtfsScanTab) GetOnlineMinersNumber() uint32
- func (m *BtfsScanTab) GetPrice() float64
- func (m *BtfsScanTab) GetScoreDistribute() map[string]int32
- func (m *BtfsScanTab) GetStorageAlreadyUsed() float64
- func (m *BtfsScanTab) GetStorageVolumeLeft() float64
- func (m *BtfsScanTab) GetTimeCreated() time.Time
- func (m *BtfsScanTab) GetTotalRank() string
- func (m *BtfsScanTab) GettableName() string
- func (m *BtfsScanTab) Marshal() (dAtA []byte, err error)
- func (m *BtfsScanTab) MarshalTo(dAtA []byte) (int, error)
- func (m *BtfsScanTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BtfsScanTab) ProtoMessage()
- func (m *BtfsScanTab) Reset()
- func (m *BtfsScanTab) Size() (n int)
- func (m *BtfsScanTab) String() string
- func (m *BtfsScanTab) Unmarshal(dAtA []byte) error
- func (m *BtfsScanTab) XXX_DiscardUnknown()
- func (m *BtfsScanTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BtfsScanTab) XXX_Merge(src proto.Message)
- func (*BtfsScanTab) XXX_MessageName() string
- func (m *BtfsScanTab) XXX_Size() int
- func (m *BtfsScanTab) XXX_Unmarshal(b []byte) error
- type ContractStat
- func (*ContractStat) Descriptor() ([]byte, []int)
- func (m *ContractStat) GetActiveContractNum() int64
- func (m *ContractStat) GetCompensationOutstanding() int64
- func (m *ContractStat) GetCompensationPaid() int64
- func (m *ContractStat) GetFirstContractStart() time.Time
- func (m *ContractStat) GetLastContractEnd() time.Time
- func (m *ContractStat) GetRole() ContractStat_Role
- func (m *ContractStat) Marshal() (dAtA []byte, err error)
- func (m *ContractStat) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractStat) ProtoMessage()
- func (m *ContractStat) Reset()
- func (m *ContractStat) Size() (n int)
- func (m *ContractStat) String() string
- func (m *ContractStat) Unmarshal(dAtA []byte) error
- func (m *ContractStat) XXX_DiscardUnknown()
- func (m *ContractStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractStat) XXX_Merge(src proto.Message)
- func (*ContractStat) XXX_MessageName() string
- func (m *ContractStat) XXX_Size() int
- func (m *ContractStat) XXX_Unmarshal(b []byte) error
- type ContractStat_Role
- type Contracts
- func (*Contracts) Descriptor() ([]byte, []int)
- func (m *Contracts) GetContracts() []*Contracts_Contract
- func (m *Contracts) Marshal() (dAtA []byte, err error)
- func (m *Contracts) MarshalTo(dAtA []byte) (int, error)
- func (m *Contracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contracts) ProtoMessage()
- func (m *Contracts) Reset()
- func (m *Contracts) Size() (n int)
- func (m *Contracts) String() string
- func (m *Contracts) Unmarshal(dAtA []byte) error
- func (m *Contracts) XXX_DiscardUnknown()
- func (m *Contracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contracts) XXX_Merge(src proto.Message)
- func (*Contracts) XXX_MessageName() string
- func (m *Contracts) XXX_Size() int
- func (m *Contracts) XXX_Unmarshal(b []byte) error
- type Contracts_Contract
- func (*Contracts_Contract) Descriptor() ([]byte, []int)
- func (m *Contracts_Contract) GetCompensationOutstanding() int64
- func (m *Contracts_Contract) GetCompensationPaid() int64
- func (m *Contracts_Contract) GetContractId() string
- func (m *Contracts_Contract) GetEndTime() time.Time
- func (m *Contracts_Contract) GetFileHash() string
- func (m *Contracts_Contract) GetHostId() string
- func (m *Contracts_Contract) GetLastModifyTime() time.Time
- func (m *Contracts_Contract) GetNextEscrowTime() time.Time
- func (m *Contracts_Contract) GetRenterId() string
- func (m *Contracts_Contract) GetShardHash() string
- func (m *Contracts_Contract) GetShardSize() int64
- func (m *Contracts_Contract) GetStartTime() time.Time
- func (m *Contracts_Contract) GetStatus() guard.Contract_ContractState
- func (m *Contracts_Contract) GetUnitPrice() int64
- func (m *Contracts_Contract) Marshal() (dAtA []byte, err error)
- func (m *Contracts_Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contracts_Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contracts_Contract) ProtoMessage()
- func (m *Contracts_Contract) Reset()
- func (m *Contracts_Contract) Size() (n int)
- func (m *Contracts_Contract) String() string
- func (m *Contracts_Contract) Unmarshal(dAtA []byte) error
- func (m *Contracts_Contract) XXX_DiscardUnknown()
- func (m *Contracts_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contracts_Contract) XXX_Merge(src proto.Message)
- func (*Contracts_Contract) XXX_MessageName() string
- func (m *Contracts_Contract) XXX_Size() int
- func (m *Contracts_Contract) XXX_Unmarshal(b []byte) error
- type DiscoveryErrorCode
- type DiscoveryNode
- func (*DiscoveryNode) Descriptor() ([]byte, []int)
- func (m *DiscoveryNode) GetErrCode() DiscoveryErrorCode
- func (m *DiscoveryNode) GetNodeConnectLatency() int32
- func (m *DiscoveryNode) GetToNodeId() string
- func (m *DiscoveryNode) Marshal() (dAtA []byte, err error)
- func (m *DiscoveryNode) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveryNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveryNode) ProtoMessage()
- func (m *DiscoveryNode) Reset()
- func (m *DiscoveryNode) Size() (n int)
- func (m *DiscoveryNode) String() string
- func (m *DiscoveryNode) Unmarshal(dAtA []byte) error
- func (m *DiscoveryNode) XXX_DiscardUnknown()
- func (m *DiscoveryNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveryNode) XXX_Merge(src proto.Message)
- func (*DiscoveryNode) XXX_MessageName() string
- func (m *DiscoveryNode) XXX_Size() int
- func (m *DiscoveryNode) XXX_Unmarshal(b []byte) error
- type DiscoveryTab
- func (*DiscoveryTab) Descriptor() ([]byte, []int)
- func (m *DiscoveryTab) GetAvgConnectLatency() int32
- func (m *DiscoveryTab) GetConnectCnt() uint32
- func (m *DiscoveryTab) GetDiscoveryLabel() int32
- func (m *DiscoveryTab) GetErrCode() DiscoveryErrorCode
- func (m *DiscoveryTab) GetNodeId() string
- func (m *DiscoveryTab) GetTimeCreated() time.Time
- func (m *DiscoveryTab) GettableName() string
- func (m *DiscoveryTab) Marshal() (dAtA []byte, err error)
- func (m *DiscoveryTab) MarshalTo(dAtA []byte) (int, error)
- func (m *DiscoveryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiscoveryTab) ProtoMessage()
- func (m *DiscoveryTab) Reset()
- func (m *DiscoveryTab) Size() (n int)
- func (m *DiscoveryTab) String() string
- func (m *DiscoveryTab) Unmarshal(dAtA []byte) error
- func (m *DiscoveryTab) XXX_DiscardUnknown()
- func (m *DiscoveryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoveryTab) XXX_Merge(src proto.Message)
- func (*DiscoveryTab) XXX_MessageName() string
- func (m *DiscoveryTab) XXX_Size() int
- func (m *DiscoveryTab) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetArchType() string
- func (m *Node) GetBandwidthPriceDeal() uint64
- func (m *Node) GetBlocksDown() uint64
- func (m *Node) GetBlocksUp() uint64
- func (m *Node) GetBtfsVersion() string
- func (m *Node) GetCpuInfo() string
- func (m *Node) GetCpuUsed() float64
- func (m *Node) GetDownload() uint64
- func (m *Node) GetHVal() string
- func (m *Node) GetMemoryUsed() uint64
- func (m *Node) GetNodeId() string
- func (m *Node) GetOsType() string
- func (m *Node) GetPeersConnected() uint64
- func (m *Node) GetReputation() float64
- func (m *Node) GetStoragePriceDeal() uint64
- func (m *Node) GetStorageUsed() uint64
- func (m *Node) GetStorageVolumeCap() uint64
- func (m *Node) GetTimeCreated() time.Time
- func (m *Node) GetTotalDownload() uint64
- func (m *Node) GetTotalUpload() uint64
- func (m *Node) GetUpTime() uint64
- func (m *Node) GetUpload() uint64
- func (m *Node) GettableName() string
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (*Node) XXX_MessageName() string
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeRole
- type Node_ExperimentalFlags
- func (*Node_ExperimentalFlags) Descriptor() ([]byte, []int)
- func (m *Node_ExperimentalFlags) GetAnalytics() bool
- func (m *Node_ExperimentalFlags) GetChallengeHostEnabled() bool
- func (m *Node_ExperimentalFlags) GetDisableAutoUpdate() bool
- func (m *Node_ExperimentalFlags) GetFilestoreEnabled() bool
- func (m *Node_ExperimentalFlags) GetGraphsyncEnabled() bool
- func (m *Node_ExperimentalFlags) GetHostsSyncEnabled() bool
- func (m *Node_ExperimentalFlags) GetHostsSyncMode() string
- func (m *Node_ExperimentalFlags) GetLibp2PStreamMounting() bool
- func (m *Node_ExperimentalFlags) GetP2PHttpProxy() bool
- func (m *Node_ExperimentalFlags) GetPreferTls() bool
- func (m *Node_ExperimentalFlags) GetQuic() bool
- func (m *Node_ExperimentalFlags) GetRemoveOnUnpin() bool
- func (m *Node_ExperimentalFlags) GetRepairHostEnabled() bool
- func (m *Node_ExperimentalFlags) GetShardingEnabled() bool
- func (m *Node_ExperimentalFlags) GetStorageClientEnabled() bool
- func (m *Node_ExperimentalFlags) GetStorageHostEnabled() bool
- func (m *Node_ExperimentalFlags) GetStrategicProviding() bool
- func (m *Node_ExperimentalFlags) GetUrlStoreEnabled() bool
- func (m *Node_ExperimentalFlags) Marshal() (dAtA []byte, err error)
- func (m *Node_ExperimentalFlags) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_ExperimentalFlags) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_ExperimentalFlags) ProtoMessage()
- func (m *Node_ExperimentalFlags) Reset()
- func (m *Node_ExperimentalFlags) Size() (n int)
- func (m *Node_ExperimentalFlags) String() string
- func (m *Node_ExperimentalFlags) Unmarshal(dAtA []byte) error
- func (m *Node_ExperimentalFlags) XXX_DiscardUnknown()
- func (m *Node_ExperimentalFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_ExperimentalFlags) XXX_Merge(src proto.Message)
- func (*Node_ExperimentalFlags) XXX_MessageName() string
- func (m *Node_ExperimentalFlags) XXX_Size() int
- func (m *Node_ExperimentalFlags) XXX_Unmarshal(b []byte) error
- type Node_Geo
- func (*Node_Geo) Descriptor() ([]byte, []int)
- func (m *Node_Geo) GetCountryShort() string
- func (m *Node_Geo) GetLatitude() float32
- func (m *Node_Geo) GetLongitude() float32
- func (m *Node_Geo) GetRegion() string
- func (m *Node_Geo) Marshal() (dAtA []byte, err error)
- func (m *Node_Geo) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_Geo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_Geo) ProtoMessage()
- func (m *Node_Geo) Reset()
- func (m *Node_Geo) Size() (n int)
- func (m *Node_Geo) String() string
- func (m *Node_Geo) Unmarshal(dAtA []byte) error
- func (m *Node_Geo) XXX_DiscardUnknown()
- func (m *Node_Geo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_Geo) XXX_Merge(src proto.Message)
- func (*Node_Geo) XXX_MessageName() string
- func (m *Node_Geo) XXX_Size() int
- func (m *Node_Geo) XXX_Unmarshal(b []byte) error
- type Node_Settings
- func (*Node_Settings) Descriptor() ([]byte, []int)
- func (m *Node_Settings) GetBandwidthLimit() float64
- func (m *Node_Settings) GetBandwidthPriceAsk() uint64
- func (m *Node_Settings) GetChallengeCustomizedPricing() bool
- func (m *Node_Settings) GetChallengePriceCustomized() uint64
- func (m *Node_Settings) GetChallengePriceDefault() uint64
- func (m *Node_Settings) GetCollateralStake() uint64
- func (m *Node_Settings) GetCustomizedPricing() bool
- func (m *Node_Settings) GetRepairCustomizedPricing() bool
- func (m *Node_Settings) GetRepairPriceCustomized() uint64
- func (m *Node_Settings) GetRepairPriceDefault() uint64
- func (m *Node_Settings) GetRoles() []NodeRole
- func (m *Node_Settings) GetStoragePriceAsk() uint64
- func (m *Node_Settings) GetStoragePriceDefault() uint64
- func (m *Node_Settings) GetStorageTimeMin() uint64
- func (m *Node_Settings) Marshal() (dAtA []byte, err error)
- func (m *Node_Settings) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_Settings) ProtoMessage()
- func (m *Node_Settings) Reset()
- func (m *Node_Settings) Size() (n int)
- func (m *Node_Settings) String() string
- func (m *Node_Settings) Unmarshal(dAtA []byte) error
- func (m *Node_Settings) XXX_DiscardUnknown()
- func (m *Node_Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_Settings) XXX_Merge(src proto.Message)
- func (*Node_Settings) XXX_MessageName() string
- func (m *Node_Settings) XXX_Size() int
- func (m *Node_Settings) XXX_Unmarshal(b []byte) error
- type PayLoadInfo
- func (*PayLoadInfo) Descriptor() ([]byte, []int)
- func (m *PayLoadInfo) GetDiscoveryNodes() []*DiscoveryNode
- func (m *PayLoadInfo) GetLastTime() time.Time
- func (m *PayLoadInfo) GetNode() *Node
- func (m *PayLoadInfo) GetNodeId() string
- func (m *PayLoadInfo) Marshal() (dAtA []byte, err error)
- func (m *PayLoadInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PayLoadInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayLoadInfo) ProtoMessage()
- func (m *PayLoadInfo) Reset()
- func (m *PayLoadInfo) Size() (n int)
- func (m *PayLoadInfo) String() string
- func (m *PayLoadInfo) Unmarshal(dAtA []byte) error
- func (m *PayLoadInfo) XXX_DiscardUnknown()
- func (m *PayLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayLoadInfo) XXX_Merge(src proto.Message)
- func (*PayLoadInfo) XXX_MessageName() string
- func (m *PayLoadInfo) XXX_Size() int
- func (m *PayLoadInfo) XXX_Unmarshal(b []byte) error
- type ScoreHistoryTab
- func (*ScoreHistoryTab) Descriptor() ([]byte, []int)
- func (m *ScoreHistoryTab) GetDateCreated() time.Time
- func (m *ScoreHistoryTab) GetNodeId() string
- func (m *ScoreHistoryTab) GetScore() uint32
- func (m *ScoreHistoryTab) GetStorageVolumeCap() uint64
- func (m *ScoreHistoryTab) GetStorageVolumeLeft() uint64
- func (m *ScoreHistoryTab) GetTimeCreated() time.Time
- func (m *ScoreHistoryTab) GettableName() string
- func (m *ScoreHistoryTab) Marshal() (dAtA []byte, err error)
- func (m *ScoreHistoryTab) MarshalTo(dAtA []byte) (int, error)
- func (m *ScoreHistoryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScoreHistoryTab) ProtoMessage()
- func (m *ScoreHistoryTab) Reset()
- func (m *ScoreHistoryTab) Size() (n int)
- func (m *ScoreHistoryTab) String() string
- func (m *ScoreHistoryTab) Unmarshal(dAtA []byte) error
- func (m *ScoreHistoryTab) XXX_DiscardUnknown()
- func (m *ScoreHistoryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScoreHistoryTab) XXX_Merge(src proto.Message)
- func (*ScoreHistoryTab) XXX_MessageName() string
- func (m *ScoreHistoryTab) XXX_Size() int
- func (m *ScoreHistoryTab) XXX_Unmarshal(b []byte) error
- type StorageStat
- func (*StorageStat) Descriptor() ([]byte, []int)
- func (m *StorageStat) GetHostStats() StorageStat_Host
- func (m *StorageStat) GetRenterStats() StorageStat_Renter
- func (m *StorageStat) Marshal() (dAtA []byte, err error)
- func (m *StorageStat) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat) ProtoMessage()
- func (m *StorageStat) Reset()
- func (m *StorageStat) Size() (n int)
- func (m *StorageStat) String() string
- func (m *StorageStat) Unmarshal(dAtA []byte) error
- func (m *StorageStat) XXX_DiscardUnknown()
- func (m *StorageStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat) XXX_Merge(src proto.Message)
- func (*StorageStat) XXX_MessageName() string
- func (m *StorageStat) XXX_Size() int
- func (m *StorageStat) XXX_Unmarshal(b []byte) error
- type StorageStat_Host
- func (*StorageStat_Host) Descriptor() ([]byte, []int)
- func (m *StorageStat_Host) GetOnline() bool
- func (m *StorageStat_Host) GetStorageCap() int64
- func (m *StorageStat_Host) GetStorageDiskAvailable() int64
- func (m *StorageStat_Host) GetStorageDiskTotal() int64
- func (m *StorageStat_Host) GetStorageUsed() int64
- func (m *StorageStat_Host) Marshal() (dAtA []byte, err error)
- func (m *StorageStat_Host) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat_Host) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat_Host) ProtoMessage()
- func (m *StorageStat_Host) Reset()
- func (m *StorageStat_Host) Size() (n int)
- func (m *StorageStat_Host) String() string
- func (m *StorageStat_Host) Unmarshal(dAtA []byte) error
- func (m *StorageStat_Host) XXX_DiscardUnknown()
- func (m *StorageStat_Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat_Host) XXX_Merge(src proto.Message)
- func (*StorageStat_Host) XXX_MessageName() string
- func (m *StorageStat_Host) XXX_Size() int
- func (m *StorageStat_Host) XXX_Unmarshal(b []byte) error
- type StorageStat_HostStats
- func (*StorageStat_HostStats) Descriptor() ([]byte, []int)
- func (m *StorageStat_HostStats) GetAgeScore() float32
- func (m *StorageStat_HostStats) GetAgeWeight() float32
- func (m *StorageStat_HostStats) GetDownloadSpeedScore() float32
- func (m *StorageStat_HostStats) GetDownloadSpeedWeight() float32
- func (m *StorageStat_HostStats) GetLastUpdated() time.Time
- func (m *StorageStat_HostStats) GetScore() float32
- func (m *StorageStat_HostStats) GetSpeedScore() float32
- func (m *StorageStat_HostStats) GetSpeedWeight() float32
- func (m *StorageStat_HostStats) GetUploadSpeedScore() float32
- func (m *StorageStat_HostStats) GetUploadSpeedWeight() float32
- func (m *StorageStat_HostStats) GetUptime() float32
- func (m *StorageStat_HostStats) GetUptimeScore() float32
- func (m *StorageStat_HostStats) GetUptimeWeight() float32
- func (m *StorageStat_HostStats) GetVersionScore() float32
- func (m *StorageStat_HostStats) GetVersionWeight() float32
- func (m *StorageStat_HostStats) Marshal() (dAtA []byte, err error)
- func (m *StorageStat_HostStats) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat_HostStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat_HostStats) ProtoMessage()
- func (m *StorageStat_HostStats) Reset()
- func (m *StorageStat_HostStats) Size() (n int)
- func (m *StorageStat_HostStats) String() string
- func (m *StorageStat_HostStats) Unmarshal(dAtA []byte) error
- func (m *StorageStat_HostStats) XXX_DiscardUnknown()
- func (m *StorageStat_HostStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat_HostStats) XXX_Merge(src proto.Message)
- func (*StorageStat_HostStats) XXX_MessageName() string
- func (m *StorageStat_HostStats) XXX_Size() int
- func (m *StorageStat_HostStats) XXX_Unmarshal(b []byte) error
- type StorageStat_Renter
- func (*StorageStat_Renter) Descriptor() ([]byte, []int)
- func (m *StorageStat_Renter) GetReserved() string
- func (m *StorageStat_Renter) Marshal() (dAtA []byte, err error)
- func (m *StorageStat_Renter) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat_Renter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat_Renter) ProtoMessage()
- func (m *StorageStat_Renter) Reset()
- func (m *StorageStat_Renter) Size() (n int)
- func (m *StorageStat_Renter) String() string
- func (m *StorageStat_Renter) Unmarshal(dAtA []byte) error
- func (m *StorageStat_Renter) XXX_DiscardUnknown()
- func (m *StorageStat_Renter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat_Renter) XXX_Merge(src proto.Message)
- func (*StorageStat_Renter) XXX_MessageName() string
- func (m *StorageStat_Renter) XXX_Size() int
- func (m *StorageStat_Renter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNode = fmt.Errorf("proto: unexpected end of group") )
View Source
var ContractStat_Role_name = map[int32]string{
0: "HOST",
1: "RENTER",
2: "RESERVED",
}
View Source
var ContractStat_Role_value = map[string]int32{
"HOST": 0,
"RENTER": 1,
"RESERVED": 2,
}
View Source
var DiscoveryErrorCode_name = map[int32]string{
0: "SUCCESS",
1: "UNCONNECTED",
2: "TIMEOUT",
3: "ABSOLUTELY_UNOPEN",
10: "OTHER_REASON",
}
View Source
var DiscoveryErrorCode_value = map[string]int32{
"SUCCESS": 0,
"UNCONNECTED": 1,
"TIMEOUT": 2,
"ABSOLUTELY_UNOPEN": 3,
"OTHER_REASON": 10,
}
View Source
var NodeRole_name = map[int32]string{
0: "RENTER",
1: "HOST",
2: "REPAIRER",
3: "CHALLENGER",
4: "NETWORK_CHECKER",
5: "REPUTATION_CHECKER",
6: "CDN_PROVIDER",
20: "OTHER",
}
View Source
var NodeRole_value = map[string]int32{
"RENTER": 0,
"HOST": 1,
"REPAIRER": 2,
"CHALLENGER": 3,
"NETWORK_CHECKER": 4,
"REPUTATION_CHECKER": 5,
"CDN_PROVIDER": 6,
"OTHER": 20,
}
Functions ¶
This section is empty.
Types ¶
type AirdropRewardHistoryTab ¶ added in v0.7.15
type AirdropRewardHistoryTab struct { Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty" pg:"type"` NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` Reward uint64 `protobuf:"varint,4,opt,name=reward,proto3" json:"reward,omitempty" pg:"reward"` IsSuspect bool `protobuf:"varint,5,opt,name=is_suspect,json=isSuspect,proto3" json:"is_suspect,omitempty" pg:"is_suspect"` Weight uint32 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty" pg:"weight"` Stake uint32 `protobuf:"varint,7,opt,name=stake,proto3" json:"stake,omitempty" pg:"stake"` DateCreated time.Time `protobuf:"bytes,8,opt,name=date_created,json=dateCreated,proto3,stdtime" json:"date_created" pg:"date_created"` TimeCreated time.Time `protobuf:"bytes,9,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedAirdropRewardHistoryTab ¶ added in v0.7.15
func NewPopulatedAirdropRewardHistoryTab(r randyNode, easy bool) *AirdropRewardHistoryTab
func (*AirdropRewardHistoryTab) Descriptor ¶ added in v0.7.15
func (*AirdropRewardHistoryTab) Descriptor() ([]byte, []int)
func (*AirdropRewardHistoryTab) GetDateCreated ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetDateCreated() time.Time
func (*AirdropRewardHistoryTab) GetIsSuspect ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetIsSuspect() bool
func (*AirdropRewardHistoryTab) GetNodeId ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetNodeId() string
func (*AirdropRewardHistoryTab) GetReward ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetReward() uint64
func (*AirdropRewardHistoryTab) GetStake ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetStake() uint32
func (*AirdropRewardHistoryTab) GetTimeCreated ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetTimeCreated() time.Time
func (*AirdropRewardHistoryTab) GetType ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetType() uint32
func (*AirdropRewardHistoryTab) GetWeight ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GetWeight() uint32
func (*AirdropRewardHistoryTab) GettableName ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) GettableName() string
func (*AirdropRewardHistoryTab) Marshal ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) Marshal() (dAtA []byte, err error)
func (*AirdropRewardHistoryTab) MarshalTo ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) MarshalTo(dAtA []byte) (int, error)
func (*AirdropRewardHistoryTab) MarshalToSizedBuffer ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AirdropRewardHistoryTab) ProtoMessage ¶ added in v0.7.15
func (*AirdropRewardHistoryTab) ProtoMessage()
func (*AirdropRewardHistoryTab) Reset ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) Reset()
func (*AirdropRewardHistoryTab) Size ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) Size() (n int)
func (*AirdropRewardHistoryTab) String ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) String() string
func (*AirdropRewardHistoryTab) Unmarshal ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) Unmarshal(dAtA []byte) error
func (*AirdropRewardHistoryTab) XXX_DiscardUnknown ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) XXX_DiscardUnknown()
func (*AirdropRewardHistoryTab) XXX_Marshal ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AirdropRewardHistoryTab) XXX_Merge ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) XXX_Merge(src proto.Message)
func (*AirdropRewardHistoryTab) XXX_MessageName ¶ added in v0.7.15
func (*AirdropRewardHistoryTab) XXX_MessageName() string
func (*AirdropRewardHistoryTab) XXX_Size ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) XXX_Size() int
func (*AirdropRewardHistoryTab) XXX_Unmarshal ¶ added in v0.7.15
func (m *AirdropRewardHistoryTab) XXX_Unmarshal(b []byte) error
type BtfsScanTab ¶ added in v0.7.5
type BtfsScanTab struct { StorageVolumeLeft float64 `` /* 141-byte string literal not displayed */ OnlineMinersNumber uint32 `` /* 144-byte string literal not displayed */ CountryDistribute map[string]int32 `` /* 225-byte string literal not displayed */ ScoreDistribute map[string]int32 `` /* 217-byte string literal not displayed */ TimeCreated time.Time `protobuf:"bytes,6,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` StorageAlreadyUsed float64 `` /* 145-byte string literal not displayed */ Price float64 `protobuf:"fixed64,8,opt,name=price,proto3" json:"price,omitempty" pg:"price"` DateCreated time.Time `protobuf:"bytes,9,opt,name=date_created,json=dateCreated,proto3,stdtime" json:"date_created" pg:"date_created"` NewRank string `protobuf:"bytes,10,opt,name=new_rank,json=newRank,proto3" json:"new_rank,omitempty" pg:"new_rank"` TotalRank string `protobuf:"bytes,11,opt,name=total_rank,json=totalRank,proto3" json:"total_rank,omitempty" pg:"total_rank"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedBtfsScanTab ¶ added in v0.7.5
func NewPopulatedBtfsScanTab(r randyNode, easy bool) *BtfsScanTab
func (*BtfsScanTab) Descriptor ¶ added in v0.7.5
func (*BtfsScanTab) Descriptor() ([]byte, []int)
func (*BtfsScanTab) GetCountryDistribute ¶ added in v0.7.5
func (m *BtfsScanTab) GetCountryDistribute() map[string]int32
func (*BtfsScanTab) GetDateCreated ¶ added in v0.7.11
func (m *BtfsScanTab) GetDateCreated() time.Time
func (*BtfsScanTab) GetNewRank ¶ added in v0.7.11
func (m *BtfsScanTab) GetNewRank() string
func (*BtfsScanTab) GetOnlineMinersNumber ¶ added in v0.7.5
func (m *BtfsScanTab) GetOnlineMinersNumber() uint32
func (*BtfsScanTab) GetPrice ¶ added in v0.7.11
func (m *BtfsScanTab) GetPrice() float64
func (*BtfsScanTab) GetScoreDistribute ¶ added in v0.7.5
func (m *BtfsScanTab) GetScoreDistribute() map[string]int32
func (*BtfsScanTab) GetStorageAlreadyUsed ¶ added in v0.7.11
func (m *BtfsScanTab) GetStorageAlreadyUsed() float64
func (*BtfsScanTab) GetStorageVolumeLeft ¶ added in v0.7.5
func (m *BtfsScanTab) GetStorageVolumeLeft() float64
func (*BtfsScanTab) GetTimeCreated ¶ added in v0.7.5
func (m *BtfsScanTab) GetTimeCreated() time.Time
func (*BtfsScanTab) GetTotalRank ¶ added in v0.7.11
func (m *BtfsScanTab) GetTotalRank() string
func (*BtfsScanTab) GettableName ¶ added in v0.7.5
func (m *BtfsScanTab) GettableName() string
func (*BtfsScanTab) Marshal ¶ added in v0.7.5
func (m *BtfsScanTab) Marshal() (dAtA []byte, err error)
func (*BtfsScanTab) MarshalTo ¶ added in v0.7.5
func (m *BtfsScanTab) MarshalTo(dAtA []byte) (int, error)
func (*BtfsScanTab) MarshalToSizedBuffer ¶ added in v0.7.5
func (m *BtfsScanTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BtfsScanTab) ProtoMessage ¶ added in v0.7.5
func (*BtfsScanTab) ProtoMessage()
func (*BtfsScanTab) Reset ¶ added in v0.7.5
func (m *BtfsScanTab) Reset()
func (*BtfsScanTab) Size ¶ added in v0.7.5
func (m *BtfsScanTab) Size() (n int)
func (*BtfsScanTab) String ¶ added in v0.7.5
func (m *BtfsScanTab) String() string
func (*BtfsScanTab) Unmarshal ¶ added in v0.7.5
func (m *BtfsScanTab) Unmarshal(dAtA []byte) error
func (*BtfsScanTab) XXX_DiscardUnknown ¶ added in v0.7.5
func (m *BtfsScanTab) XXX_DiscardUnknown()
func (*BtfsScanTab) XXX_Marshal ¶ added in v0.7.5
func (m *BtfsScanTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BtfsScanTab) XXX_Merge ¶ added in v0.7.5
func (m *BtfsScanTab) XXX_Merge(src proto.Message)
func (*BtfsScanTab) XXX_MessageName ¶ added in v0.7.5
func (*BtfsScanTab) XXX_MessageName() string
func (*BtfsScanTab) XXX_Size ¶ added in v0.7.5
func (m *BtfsScanTab) XXX_Size() int
func (*BtfsScanTab) XXX_Unmarshal ¶ added in v0.7.5
func (m *BtfsScanTab) XXX_Unmarshal(b []byte) error
type ContractStat ¶ added in v0.2.21
type ContractStat struct { ActiveContractNum int64 `` /* 130-byte string literal not displayed */ CompensationPaid int64 `protobuf:"varint,2,opt,name=compensation_paid,json=compensationPaid,proto3" json:"compensation_paid" pg:"compensation_paid"` CompensationOutstanding int64 `` /* 151-byte string literal not displayed */ FirstContractStart time.Time `` /* 141-byte string literal not displayed */ LastContractEnd time.Time `` /* 129-byte string literal not displayed */ Role ContractStat_Role `protobuf:"varint,6,opt,name=role,proto3,enum=node.ContractStat_Role" json:"role" pg:"role"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContractStat ¶ added in v0.2.21
func NewPopulatedContractStat(r randyNode, easy bool) *ContractStat
func (*ContractStat) Descriptor ¶ added in v0.2.21
func (*ContractStat) Descriptor() ([]byte, []int)
func (*ContractStat) GetActiveContractNum ¶ added in v0.2.21
func (m *ContractStat) GetActiveContractNum() int64
func (*ContractStat) GetCompensationOutstanding ¶ added in v0.2.21
func (m *ContractStat) GetCompensationOutstanding() int64
func (*ContractStat) GetCompensationPaid ¶ added in v0.2.21
func (m *ContractStat) GetCompensationPaid() int64
func (*ContractStat) GetFirstContractStart ¶ added in v0.2.21
func (m *ContractStat) GetFirstContractStart() time.Time
func (*ContractStat) GetLastContractEnd ¶ added in v0.2.21
func (m *ContractStat) GetLastContractEnd() time.Time
func (*ContractStat) GetRole ¶ added in v0.2.21
func (m *ContractStat) GetRole() ContractStat_Role
func (*ContractStat) Marshal ¶ added in v0.2.21
func (m *ContractStat) Marshal() (dAtA []byte, err error)
func (*ContractStat) MarshalTo ¶ added in v0.2.21
func (m *ContractStat) MarshalTo(dAtA []byte) (int, error)
func (*ContractStat) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *ContractStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractStat) ProtoMessage ¶ added in v0.2.21
func (*ContractStat) ProtoMessage()
func (*ContractStat) Reset ¶ added in v0.2.21
func (m *ContractStat) Reset()
func (*ContractStat) Size ¶ added in v0.2.21
func (m *ContractStat) Size() (n int)
func (*ContractStat) String ¶ added in v0.2.21
func (m *ContractStat) String() string
func (*ContractStat) Unmarshal ¶ added in v0.2.21
func (m *ContractStat) Unmarshal(dAtA []byte) error
func (*ContractStat) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *ContractStat) XXX_DiscardUnknown()
func (*ContractStat) XXX_Marshal ¶ added in v0.2.21
func (m *ContractStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStat) XXX_Merge ¶ added in v0.2.21
func (m *ContractStat) XXX_Merge(src proto.Message)
func (*ContractStat) XXX_MessageName ¶ added in v0.2.21
func (*ContractStat) XXX_MessageName() string
func (*ContractStat) XXX_Size ¶ added in v0.2.21
func (m *ContractStat) XXX_Size() int
func (*ContractStat) XXX_Unmarshal ¶ added in v0.2.21
func (m *ContractStat) XXX_Unmarshal(b []byte) error
type ContractStat_Role ¶ added in v0.2.21
type ContractStat_Role int32
const ( ContractStat_HOST ContractStat_Role = 0 ContractStat_RENTER ContractStat_Role = 1 ContractStat_RESERVED ContractStat_Role = 2 )
func (ContractStat_Role) EnumDescriptor ¶ added in v0.2.21
func (ContractStat_Role) EnumDescriptor() ([]byte, []int)
func (ContractStat_Role) String ¶ added in v0.2.21
func (x ContractStat_Role) String() string
type Contracts ¶ added in v0.2.21
type Contracts struct { Contracts []*Contracts_Contract `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts" pg:"contracts"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContracts ¶ added in v0.2.21
func (*Contracts) Descriptor ¶ added in v0.2.21
func (*Contracts) GetContracts ¶ added in v0.2.21
func (m *Contracts) GetContracts() []*Contracts_Contract
func (*Contracts) MarshalToSizedBuffer ¶ added in v0.2.21
func (*Contracts) ProtoMessage ¶ added in v0.2.21
func (*Contracts) ProtoMessage()
func (*Contracts) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *Contracts) XXX_DiscardUnknown()
func (*Contracts) XXX_Marshal ¶ added in v0.2.21
func (*Contracts) XXX_MessageName ¶ added in v0.2.21
func (*Contracts) XXX_Unmarshal ¶ added in v0.2.21
type Contracts_Contract ¶ added in v0.2.21
type Contracts_Contract struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id" pg:"contract_id"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id" pg:"host_id"` RenterId string `protobuf:"bytes,3,opt,name=renter_id,json=renterId,proto3" json:"renter_id" pg:"renter_id"` Status guard.Contract_ContractState `protobuf:"varint,4,opt,name=status,proto3,enum=guard.Contract_ContractState" json:"status" pg:"status"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" pg:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time" pg:"end_time"` NextEscrowTime time.Time `protobuf:"bytes,7,opt,name=next_escrow_time,json=nextEscrowTime,proto3,stdtime" json:"next_escrow_time" pg:"next_escrow_time"` CompensationPaid int64 `protobuf:"varint,8,opt,name=compensation_paid,json=compensationPaid,proto3" json:"compensation_paid" pg:"compensation_paid"` CompensationOutstanding int64 `` /* 151-byte string literal not displayed */ UnitPrice int64 `protobuf:"varint,10,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price" pg:"unit_price"` ShardSize int64 `protobuf:"varint,11,opt,name=shard_size,json=shardSize,proto3" json:"shard_size" pg:"shard_size"` ShardHash string `protobuf:"bytes,12,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash" pg:"shard_hash"` FileHash string `protobuf:"bytes,13,opt,name=file_hash,json=fileHash,proto3" json:"file_hash" pg:"file_hash"` LastModifyTime time.Time `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContracts_Contract ¶ added in v0.2.21
func NewPopulatedContracts_Contract(r randyNode, easy bool) *Contracts_Contract
func (*Contracts_Contract) Descriptor ¶ added in v0.2.21
func (*Contracts_Contract) Descriptor() ([]byte, []int)
func (*Contracts_Contract) GetCompensationOutstanding ¶ added in v0.2.21
func (m *Contracts_Contract) GetCompensationOutstanding() int64
func (*Contracts_Contract) GetCompensationPaid ¶ added in v0.2.21
func (m *Contracts_Contract) GetCompensationPaid() int64
func (*Contracts_Contract) GetContractId ¶ added in v0.2.21
func (m *Contracts_Contract) GetContractId() string
func (*Contracts_Contract) GetEndTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetEndTime() time.Time
func (*Contracts_Contract) GetFileHash ¶ added in v0.2.21
func (m *Contracts_Contract) GetFileHash() string
func (*Contracts_Contract) GetHostId ¶ added in v0.2.21
func (m *Contracts_Contract) GetHostId() string
func (*Contracts_Contract) GetLastModifyTime ¶ added in v0.5.16
func (m *Contracts_Contract) GetLastModifyTime() time.Time
func (*Contracts_Contract) GetNextEscrowTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetNextEscrowTime() time.Time
func (*Contracts_Contract) GetRenterId ¶ added in v0.2.21
func (m *Contracts_Contract) GetRenterId() string
func (*Contracts_Contract) GetShardHash ¶ added in v0.2.21
func (m *Contracts_Contract) GetShardHash() string
func (*Contracts_Contract) GetShardSize ¶ added in v0.2.21
func (m *Contracts_Contract) GetShardSize() int64
func (*Contracts_Contract) GetStartTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetStartTime() time.Time
func (*Contracts_Contract) GetStatus ¶ added in v0.2.21
func (m *Contracts_Contract) GetStatus() guard.Contract_ContractState
func (*Contracts_Contract) GetUnitPrice ¶ added in v0.2.21
func (m *Contracts_Contract) GetUnitPrice() int64
func (*Contracts_Contract) Marshal ¶ added in v0.2.21
func (m *Contracts_Contract) Marshal() (dAtA []byte, err error)
func (*Contracts_Contract) MarshalTo ¶ added in v0.2.21
func (m *Contracts_Contract) MarshalTo(dAtA []byte) (int, error)
func (*Contracts_Contract) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *Contracts_Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Contracts_Contract) ProtoMessage ¶ added in v0.2.21
func (*Contracts_Contract) ProtoMessage()
func (*Contracts_Contract) Reset ¶ added in v0.2.21
func (m *Contracts_Contract) Reset()
func (*Contracts_Contract) Size ¶ added in v0.2.21
func (m *Contracts_Contract) Size() (n int)
func (*Contracts_Contract) String ¶ added in v0.2.21
func (m *Contracts_Contract) String() string
func (*Contracts_Contract) Unmarshal ¶ added in v0.2.21
func (m *Contracts_Contract) Unmarshal(dAtA []byte) error
func (*Contracts_Contract) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_DiscardUnknown()
func (*Contracts_Contract) XXX_Marshal ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Contracts_Contract) XXX_Merge ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Merge(src proto.Message)
func (*Contracts_Contract) XXX_MessageName ¶ added in v0.2.21
func (*Contracts_Contract) XXX_MessageName() string
func (*Contracts_Contract) XXX_Size ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Size() int
func (*Contracts_Contract) XXX_Unmarshal ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Unmarshal(b []byte) error
type DiscoveryErrorCode ¶ added in v0.7.3
type DiscoveryErrorCode int32
const ( DiscoveryErrorCode_SUCCESS DiscoveryErrorCode = 0 DiscoveryErrorCode_UNCONNECTED DiscoveryErrorCode = 1 DiscoveryErrorCode_TIMEOUT DiscoveryErrorCode = 2 DiscoveryErrorCode_ABSOLUTELY_UNOPEN DiscoveryErrorCode = 3 DiscoveryErrorCode_OTHER_REASON DiscoveryErrorCode = 10 )
func (DiscoveryErrorCode) EnumDescriptor ¶ added in v0.7.3
func (DiscoveryErrorCode) EnumDescriptor() ([]byte, []int)
func (DiscoveryErrorCode) String ¶ added in v0.7.3
func (x DiscoveryErrorCode) String() string
type DiscoveryNode ¶ added in v0.7.3
type DiscoveryNode struct { ToNodeId string `protobuf:"bytes,1,opt,name=to_node_id,json=toNodeId,proto3" json:"to_node_id,omitempty" pg:"to_node_id"` NodeConnectLatency int32 `` /* 144-byte string literal not displayed */ ErrCode DiscoveryErrorCode `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedDiscoveryNode ¶ added in v0.7.3
func NewPopulatedDiscoveryNode(r randyNode, easy bool) *DiscoveryNode
func (*DiscoveryNode) Descriptor ¶ added in v0.7.3
func (*DiscoveryNode) Descriptor() ([]byte, []int)
func (*DiscoveryNode) GetErrCode ¶ added in v0.7.3
func (m *DiscoveryNode) GetErrCode() DiscoveryErrorCode
func (*DiscoveryNode) GetNodeConnectLatency ¶ added in v0.7.3
func (m *DiscoveryNode) GetNodeConnectLatency() int32
func (*DiscoveryNode) GetToNodeId ¶ added in v0.7.3
func (m *DiscoveryNode) GetToNodeId() string
func (*DiscoveryNode) Marshal ¶ added in v0.7.3
func (m *DiscoveryNode) Marshal() (dAtA []byte, err error)
func (*DiscoveryNode) MarshalTo ¶ added in v0.7.3
func (m *DiscoveryNode) MarshalTo(dAtA []byte) (int, error)
func (*DiscoveryNode) MarshalToSizedBuffer ¶ added in v0.7.3
func (m *DiscoveryNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DiscoveryNode) ProtoMessage ¶ added in v0.7.3
func (*DiscoveryNode) ProtoMessage()
func (*DiscoveryNode) Reset ¶ added in v0.7.3
func (m *DiscoveryNode) Reset()
func (*DiscoveryNode) Size ¶ added in v0.7.3
func (m *DiscoveryNode) Size() (n int)
func (*DiscoveryNode) String ¶ added in v0.7.3
func (m *DiscoveryNode) String() string
func (*DiscoveryNode) Unmarshal ¶ added in v0.7.3
func (m *DiscoveryNode) Unmarshal(dAtA []byte) error
func (*DiscoveryNode) XXX_DiscardUnknown ¶ added in v0.7.3
func (m *DiscoveryNode) XXX_DiscardUnknown()
func (*DiscoveryNode) XXX_Marshal ¶ added in v0.7.3
func (m *DiscoveryNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoveryNode) XXX_Merge ¶ added in v0.7.3
func (m *DiscoveryNode) XXX_Merge(src proto.Message)
func (*DiscoveryNode) XXX_MessageName ¶ added in v0.7.3
func (*DiscoveryNode) XXX_MessageName() string
func (*DiscoveryNode) XXX_Size ¶ added in v0.7.3
func (m *DiscoveryNode) XXX_Size() int
func (*DiscoveryNode) XXX_Unmarshal ¶ added in v0.7.3
func (m *DiscoveryNode) XXX_Unmarshal(b []byte) error
type DiscoveryTab ¶ added in v0.7.3
type DiscoveryTab struct { NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` ConnectCnt uint32 `protobuf:"varint,3,opt,name=connect_cnt,json=connectCnt,proto3" json:"connect_cnt,omitempty" pg:"connect_cnt"` AvgConnectLatency int32 `` /* 140-byte string literal not displayed */ ErrCode DiscoveryErrorCode `` /* 126-byte string literal not displayed */ DiscoveryLabel int32 `protobuf:"varint,6,opt,name=discovery_label,json=discoveryLabel,proto3" json:"discovery_label,omitempty" pg:"discovery_label"` TimeCreated time.Time `protobuf:"bytes,7,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedDiscoveryTab ¶ added in v0.7.3
func NewPopulatedDiscoveryTab(r randyNode, easy bool) *DiscoveryTab
func (*DiscoveryTab) Descriptor ¶ added in v0.7.3
func (*DiscoveryTab) Descriptor() ([]byte, []int)
func (*DiscoveryTab) GetAvgConnectLatency ¶ added in v0.7.3
func (m *DiscoveryTab) GetAvgConnectLatency() int32
func (*DiscoveryTab) GetConnectCnt ¶ added in v0.7.3
func (m *DiscoveryTab) GetConnectCnt() uint32
func (*DiscoveryTab) GetDiscoveryLabel ¶ added in v0.7.3
func (m *DiscoveryTab) GetDiscoveryLabel() int32
func (*DiscoveryTab) GetErrCode ¶ added in v0.7.3
func (m *DiscoveryTab) GetErrCode() DiscoveryErrorCode
func (*DiscoveryTab) GetNodeId ¶ added in v0.7.3
func (m *DiscoveryTab) GetNodeId() string
func (*DiscoveryTab) GetTimeCreated ¶ added in v0.7.3
func (m *DiscoveryTab) GetTimeCreated() time.Time
func (*DiscoveryTab) GettableName ¶ added in v0.7.3
func (m *DiscoveryTab) GettableName() string
func (*DiscoveryTab) Marshal ¶ added in v0.7.3
func (m *DiscoveryTab) Marshal() (dAtA []byte, err error)
func (*DiscoveryTab) MarshalTo ¶ added in v0.7.3
func (m *DiscoveryTab) MarshalTo(dAtA []byte) (int, error)
func (*DiscoveryTab) MarshalToSizedBuffer ¶ added in v0.7.3
func (m *DiscoveryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DiscoveryTab) ProtoMessage ¶ added in v0.7.3
func (*DiscoveryTab) ProtoMessage()
func (*DiscoveryTab) Reset ¶ added in v0.7.3
func (m *DiscoveryTab) Reset()
func (*DiscoveryTab) Size ¶ added in v0.7.3
func (m *DiscoveryTab) Size() (n int)
func (*DiscoveryTab) String ¶ added in v0.7.3
func (m *DiscoveryTab) String() string
func (*DiscoveryTab) Unmarshal ¶ added in v0.7.3
func (m *DiscoveryTab) Unmarshal(dAtA []byte) error
func (*DiscoveryTab) XXX_DiscardUnknown ¶ added in v0.7.3
func (m *DiscoveryTab) XXX_DiscardUnknown()
func (*DiscoveryTab) XXX_Marshal ¶ added in v0.7.3
func (m *DiscoveryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoveryTab) XXX_Merge ¶ added in v0.7.3
func (m *DiscoveryTab) XXX_Merge(src proto.Message)
func (*DiscoveryTab) XXX_MessageName ¶ added in v0.7.3
func (*DiscoveryTab) XXX_MessageName() string
func (*DiscoveryTab) XXX_Size ¶ added in v0.7.3
func (m *DiscoveryTab) XXX_Size() int
func (*DiscoveryTab) XXX_Unmarshal ¶ added in v0.7.3
func (m *DiscoveryTab) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` BtfsVersion string `protobuf:"bytes,3,opt,name=btfs_version,json=btfsVersion,proto3" json:"btfs_version,omitempty" pg:"btfs_version"` UpTime uint64 `protobuf:"varint,4,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty" pg:"up_time"` StorageUsed uint64 `protobuf:"varint,5,opt,name=storage_used,json=storageUsed,proto3" json:"storage_used,omitempty" pg:"storage_used"` StorageVolumeCap uint64 `` /* 136-byte string literal not displayed */ MemoryUsed uint64 `protobuf:"varint,7,opt,name=memory_used,json=memoryUsed,proto3" json:"memory_used,omitempty" pg:"memory_used"` CpuUsed float64 `protobuf:"fixed64,8,opt,name=cpu_used,json=cpuUsed,proto3" json:"cpu_used,omitempty" pg:"cpu_used"` Upload uint64 `protobuf:"varint,9,opt,name=upload,proto3" json:"upload,omitempty" pg:"upload"` Download uint64 `protobuf:"varint,10,opt,name=download,proto3" json:"download,omitempty" pg:"download"` TotalUpload uint64 `protobuf:"varint,11,opt,name=total_upload,json=totalUpload,proto3" json:"total_upload,omitempty" pg:"total_upload"` TotalDownload uint64 `protobuf:"varint,12,opt,name=total_download,json=totalDownload,proto3" json:"total_download,omitempty" pg:"total_download"` StoragePriceDeal uint64 `` /* 137-byte string literal not displayed */ BandwidthPriceDeal uint64 `` /* 145-byte string literal not displayed */ Node_Settings `protobuf:"bytes,15,opt,name=settings,proto3,embedded=settings" json:"settings" pg:"settings"` Reputation float64 `protobuf:"fixed64,16,opt,name=reputation,proto3" json:"reputation,omitempty" pg:"reputation"` BlocksUp uint64 `protobuf:"varint,17,opt,name=blocks_up,json=blocksUp,proto3" json:"blocks_up,omitempty" pg:"blocks_up"` BlocksDown uint64 `protobuf:"varint,18,opt,name=blocks_down,json=blocksDown,proto3" json:"blocks_down,omitempty" pg:"blocks_down"` OsType string `protobuf:"bytes,19,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty" pg:"os_type"` ArchType string `protobuf:"bytes,20,opt,name=arch_type,json=archType,proto3" json:"arch_type,omitempty" pg:"arch_type"` CpuInfo string `protobuf:"bytes,21,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty" pg:"cpu_info"` PeersConnected uint64 `` /* 126-byte string literal not displayed */ TimeCreated time.Time `protobuf:"bytes,24,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` HVal string `protobuf:"bytes,25,opt,name=h_val,json=hVal,proto3" json:"h_val,omitempty" pg:"h_val"` Node_Geo `protobuf:"bytes,26,opt,name=geo,proto3,embedded=geo" json:"geo" pg:"geo"` Node_ExperimentalFlags `protobuf:"bytes,27,opt,name=flg,proto3,embedded=flg" json:"flg" pg:"flg"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedNode ¶ added in v0.1.1
func (*Node) Descriptor ¶
func (*Node) GetArchType ¶
func (*Node) GetBandwidthPriceDeal ¶
func (*Node) GetBlocksDown ¶
func (*Node) GetBlocksUp ¶
func (*Node) GetBtfsVersion ¶
func (*Node) GetCpuInfo ¶
func (*Node) GetCpuUsed ¶
func (*Node) GetDownload ¶
func (*Node) GetMemoryUsed ¶
func (*Node) GetPeersConnected ¶
func (*Node) GetReputation ¶
func (*Node) GetStoragePriceDeal ¶
func (*Node) GetStorageUsed ¶
func (*Node) GetStorageVolumeCap ¶
func (*Node) GetTimeCreated ¶
func (*Node) GetTotalDownload ¶
func (*Node) GetTotalUpload ¶
func (*Node) GettableName ¶ added in v0.1.1
func (*Node) MarshalToSizedBuffer ¶ added in v0.0.13
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_MessageName ¶ added in v0.0.13
func (*Node) XXX_Unmarshal ¶
type NodeRole ¶ added in v0.5.9
type NodeRole int32
func (NodeRole) EnumDescriptor ¶ added in v0.5.9
type Node_ExperimentalFlags ¶ added in v0.2.5
type Node_ExperimentalFlags struct { Analytics bool `protobuf:"varint,1,opt,name=analytics,proto3" json:"analytics,omitempty" pg:"analytics"` FilestoreEnabled bool `` /* 133-byte string literal not displayed */ HostsSyncEnabled bool `` /* 136-byte string literal not displayed */ HostsSyncMode string `protobuf:"bytes,4,opt,name=hosts_sync_mode,json=hostsSyncMode,proto3" json:"hosts_sync_mode,omitempty" pg:"hosts_sync_mode"` Libp2PStreamMounting bool `` /* 152-byte string literal not displayed */ P2PHttpProxy bool `protobuf:"varint,6,opt,name=p2p_http_proxy,json=p2pHttpProxy,proto3" json:"p2p_http_proxy,omitempty" pg:"p2p_http_proxy"` PreferTls bool `protobuf:"varint,7,opt,name=prefer_tls,json=preferTls,proto3" json:"prefer_tls,omitempty" pg:"prefer_tls"` Quic bool `protobuf:"varint,8,opt,name=quic,proto3" json:"quic,omitempty" pg:"quic"` RemoveOnUnpin bool `protobuf:"varint,9,opt,name=remove_on_unpin,json=removeOnUnpin,proto3" json:"remove_on_unpin,omitempty" pg:"remove_on_unpin"` ShardingEnabled bool `` /* 130-byte string literal not displayed */ StorageClientEnabled bool `` /* 153-byte string literal not displayed */ StorageHostEnabled bool `` /* 145-byte string literal not displayed */ StrategicProviding bool `` /* 142-byte string literal not displayed */ UrlStoreEnabled bool `` /* 133-byte string literal not displayed */ DisableAutoUpdate bool `` /* 141-byte string literal not displayed */ GraphsyncEnabled bool `` /* 134-byte string literal not displayed */ RepairHostEnabled bool `` /* 141-byte string literal not displayed */ ChallengeHostEnabled bool `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_ExperimentalFlags ¶ added in v0.2.5
func NewPopulatedNode_ExperimentalFlags(r randyNode, easy bool) *Node_ExperimentalFlags
func (*Node_ExperimentalFlags) Descriptor ¶ added in v0.2.5
func (*Node_ExperimentalFlags) Descriptor() ([]byte, []int)
func (*Node_ExperimentalFlags) GetAnalytics ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetAnalytics() bool
func (*Node_ExperimentalFlags) GetChallengeHostEnabled ¶ added in v0.5.15
func (m *Node_ExperimentalFlags) GetChallengeHostEnabled() bool
func (*Node_ExperimentalFlags) GetDisableAutoUpdate ¶ added in v0.5.3
func (m *Node_ExperimentalFlags) GetDisableAutoUpdate() bool
func (*Node_ExperimentalFlags) GetFilestoreEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetFilestoreEnabled() bool
func (*Node_ExperimentalFlags) GetGraphsyncEnabled ¶ added in v0.5.3
func (m *Node_ExperimentalFlags) GetGraphsyncEnabled() bool
func (*Node_ExperimentalFlags) GetHostsSyncEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetHostsSyncEnabled() bool
func (*Node_ExperimentalFlags) GetHostsSyncMode ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetHostsSyncMode() string
func (*Node_ExperimentalFlags) GetLibp2PStreamMounting ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetLibp2PStreamMounting() bool
func (*Node_ExperimentalFlags) GetP2PHttpProxy ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetP2PHttpProxy() bool
func (*Node_ExperimentalFlags) GetPreferTls ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetPreferTls() bool
func (*Node_ExperimentalFlags) GetQuic ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetQuic() bool
func (*Node_ExperimentalFlags) GetRemoveOnUnpin ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetRemoveOnUnpin() bool
func (*Node_ExperimentalFlags) GetRepairHostEnabled ¶ added in v0.5.15
func (m *Node_ExperimentalFlags) GetRepairHostEnabled() bool
func (*Node_ExperimentalFlags) GetShardingEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetShardingEnabled() bool
func (*Node_ExperimentalFlags) GetStorageClientEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStorageClientEnabled() bool
func (*Node_ExperimentalFlags) GetStorageHostEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStorageHostEnabled() bool
func (*Node_ExperimentalFlags) GetStrategicProviding ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStrategicProviding() bool
func (*Node_ExperimentalFlags) GetUrlStoreEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetUrlStoreEnabled() bool
func (*Node_ExperimentalFlags) Marshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Marshal() (dAtA []byte, err error)
func (*Node_ExperimentalFlags) MarshalTo ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) MarshalTo(dAtA []byte) (int, error)
func (*Node_ExperimentalFlags) MarshalToSizedBuffer ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Node_ExperimentalFlags) ProtoMessage ¶ added in v0.2.5
func (*Node_ExperimentalFlags) ProtoMessage()
func (*Node_ExperimentalFlags) Reset ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Reset()
func (*Node_ExperimentalFlags) Size ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Size() (n int)
func (*Node_ExperimentalFlags) String ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) String() string
func (*Node_ExperimentalFlags) Unmarshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Unmarshal(dAtA []byte) error
func (*Node_ExperimentalFlags) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_DiscardUnknown()
func (*Node_ExperimentalFlags) XXX_Marshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Node_ExperimentalFlags) XXX_Merge ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Merge(src proto.Message)
func (*Node_ExperimentalFlags) XXX_MessageName ¶ added in v0.2.5
func (*Node_ExperimentalFlags) XXX_MessageName() string
func (*Node_ExperimentalFlags) XXX_Size ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Size() int
func (*Node_ExperimentalFlags) XXX_Unmarshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Unmarshal(b []byte) error
type Node_Geo ¶ added in v0.1.12
type Node_Geo struct { CountryShort string `protobuf:"bytes,1,opt,name=country_short,json=countryShort,proto3" json:"country_short,omitempty" pg:"country_short"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" pg:"region"` Latitude float32 `protobuf:"fixed32,3,opt,name=latitude,proto3" json:"latitude,omitempty" pg:"latitude"` Longitude float32 `protobuf:"fixed32,4,opt,name=longitude,proto3" json:"longitude,omitempty" pg:"longitude"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_Geo ¶ added in v0.1.12
func (*Node_Geo) Descriptor ¶ added in v0.1.12
func (*Node_Geo) GetCountryShort ¶ added in v0.1.12
func (*Node_Geo) GetLatitude ¶ added in v0.1.12
func (*Node_Geo) GetLongitude ¶ added in v0.1.12
func (*Node_Geo) MarshalToSizedBuffer ¶ added in v0.1.12
func (*Node_Geo) ProtoMessage ¶ added in v0.1.12
func (*Node_Geo) ProtoMessage()
func (*Node_Geo) XXX_DiscardUnknown ¶ added in v0.1.12
func (m *Node_Geo) XXX_DiscardUnknown()
func (*Node_Geo) XXX_Marshal ¶ added in v0.1.12
func (*Node_Geo) XXX_MessageName ¶ added in v0.1.12
func (*Node_Geo) XXX_Unmarshal ¶ added in v0.1.12
type Node_Settings ¶
type Node_Settings struct { StoragePriceAsk uint64 `` /* 132-byte string literal not displayed */ BandwidthPriceAsk uint64 `` /* 140-byte string literal not displayed */ StorageTimeMin uint64 `` /* 128-byte string literal not displayed */ BandwidthLimit float64 `` /* 126-byte string literal not displayed */ CollateralStake uint64 `` /* 129-byte string literal not displayed */ StoragePriceDefault uint64 `` /* 148-byte string literal not displayed */ CustomizedPricing bool `` /* 137-byte string literal not displayed */ Roles []NodeRole `protobuf:"varint,8,rep,packed,name=roles,proto3,enum=node.NodeRole" json:"roles,omitempty" pg:"roles,array"` RepairPriceDefault uint64 `` /* 144-byte string literal not displayed */ RepairPriceCustomized uint64 `` /* 157-byte string literal not displayed */ RepairCustomizedPricing bool `` /* 165-byte string literal not displayed */ ChallengePriceDefault uint64 `` /* 157-byte string literal not displayed */ ChallengePriceCustomized uint64 `` /* 169-byte string literal not displayed */ ChallengeCustomizedPricing bool `` /* 177-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_Settings ¶ added in v0.1.1
func NewPopulatedNode_Settings(r randyNode, easy bool) *Node_Settings
func (*Node_Settings) Descriptor ¶
func (*Node_Settings) Descriptor() ([]byte, []int)
func (*Node_Settings) GetBandwidthLimit ¶
func (m *Node_Settings) GetBandwidthLimit() float64
func (*Node_Settings) GetBandwidthPriceAsk ¶
func (m *Node_Settings) GetBandwidthPriceAsk() uint64
func (*Node_Settings) GetChallengeCustomizedPricing ¶ added in v0.5.15
func (m *Node_Settings) GetChallengeCustomizedPricing() bool
func (*Node_Settings) GetChallengePriceCustomized ¶ added in v0.5.15
func (m *Node_Settings) GetChallengePriceCustomized() uint64
func (*Node_Settings) GetChallengePriceDefault ¶ added in v0.5.15
func (m *Node_Settings) GetChallengePriceDefault() uint64
func (*Node_Settings) GetCollateralStake ¶
func (m *Node_Settings) GetCollateralStake() uint64
func (*Node_Settings) GetCustomizedPricing ¶ added in v0.5.9
func (m *Node_Settings) GetCustomizedPricing() bool
func (*Node_Settings) GetRepairCustomizedPricing ¶ added in v0.5.15
func (m *Node_Settings) GetRepairCustomizedPricing() bool
func (*Node_Settings) GetRepairPriceCustomized ¶ added in v0.5.15
func (m *Node_Settings) GetRepairPriceCustomized() uint64
func (*Node_Settings) GetRepairPriceDefault ¶ added in v0.5.15
func (m *Node_Settings) GetRepairPriceDefault() uint64
func (*Node_Settings) GetRoles ¶ added in v0.5.9
func (m *Node_Settings) GetRoles() []NodeRole
func (*Node_Settings) GetStoragePriceAsk ¶
func (m *Node_Settings) GetStoragePriceAsk() uint64
func (*Node_Settings) GetStoragePriceDefault ¶ added in v0.5.9
func (m *Node_Settings) GetStoragePriceDefault() uint64
func (*Node_Settings) GetStorageTimeMin ¶
func (m *Node_Settings) GetStorageTimeMin() uint64
func (*Node_Settings) Marshal ¶ added in v0.0.13
func (m *Node_Settings) Marshal() (dAtA []byte, err error)
func (*Node_Settings) MarshalTo ¶ added in v0.0.13
func (m *Node_Settings) MarshalTo(dAtA []byte) (int, error)
func (*Node_Settings) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *Node_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Node_Settings) ProtoMessage ¶
func (*Node_Settings) ProtoMessage()
func (*Node_Settings) Reset ¶
func (m *Node_Settings) Reset()
func (*Node_Settings) Size ¶ added in v0.0.13
func (m *Node_Settings) Size() (n int)
func (*Node_Settings) String ¶
func (m *Node_Settings) String() string
func (*Node_Settings) Unmarshal ¶ added in v0.0.13
func (m *Node_Settings) Unmarshal(dAtA []byte) error
func (*Node_Settings) XXX_DiscardUnknown ¶
func (m *Node_Settings) XXX_DiscardUnknown()
func (*Node_Settings) XXX_Marshal ¶
func (m *Node_Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Node_Settings) XXX_Merge ¶
func (m *Node_Settings) XXX_Merge(src proto.Message)
func (*Node_Settings) XXX_MessageName ¶ added in v0.0.13
func (*Node_Settings) XXX_MessageName() string
func (*Node_Settings) XXX_Size ¶
func (m *Node_Settings) XXX_Size() int
func (*Node_Settings) XXX_Unmarshal ¶
func (m *Node_Settings) XXX_Unmarshal(b []byte) error
type PayLoadInfo ¶ added in v0.7.3
type PayLoadInfo struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty" pg:"node"` DiscoveryNodes []*DiscoveryNode `protobuf:"bytes,3,rep,name=discovery_nodes,json=discoveryNodes,proto3" json:"discovery_nodes,omitempty" pg:"discovery_nodes"` LastTime time.Time `protobuf:"bytes,4,opt,name=last_time,json=lastTime,proto3,stdtime" json:"last_time" pg:"last_time"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedPayLoadInfo ¶ added in v0.7.3
func NewPopulatedPayLoadInfo(r randyNode, easy bool) *PayLoadInfo
func (*PayLoadInfo) Descriptor ¶ added in v0.7.3
func (*PayLoadInfo) Descriptor() ([]byte, []int)
func (*PayLoadInfo) GetDiscoveryNodes ¶ added in v0.7.3
func (m *PayLoadInfo) GetDiscoveryNodes() []*DiscoveryNode
func (*PayLoadInfo) GetLastTime ¶ added in v0.7.3
func (m *PayLoadInfo) GetLastTime() time.Time
func (*PayLoadInfo) GetNode ¶ added in v0.7.3
func (m *PayLoadInfo) GetNode() *Node
func (*PayLoadInfo) GetNodeId ¶ added in v0.7.3
func (m *PayLoadInfo) GetNodeId() string
func (*PayLoadInfo) Marshal ¶ added in v0.7.3
func (m *PayLoadInfo) Marshal() (dAtA []byte, err error)
func (*PayLoadInfo) MarshalTo ¶ added in v0.7.3
func (m *PayLoadInfo) MarshalTo(dAtA []byte) (int, error)
func (*PayLoadInfo) MarshalToSizedBuffer ¶ added in v0.7.3
func (m *PayLoadInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayLoadInfo) ProtoMessage ¶ added in v0.7.3
func (*PayLoadInfo) ProtoMessage()
func (*PayLoadInfo) Reset ¶ added in v0.7.3
func (m *PayLoadInfo) Reset()
func (*PayLoadInfo) Size ¶ added in v0.7.3
func (m *PayLoadInfo) Size() (n int)
func (*PayLoadInfo) String ¶ added in v0.7.3
func (m *PayLoadInfo) String() string
func (*PayLoadInfo) Unmarshal ¶ added in v0.7.3
func (m *PayLoadInfo) Unmarshal(dAtA []byte) error
func (*PayLoadInfo) XXX_DiscardUnknown ¶ added in v0.7.3
func (m *PayLoadInfo) XXX_DiscardUnknown()
func (*PayLoadInfo) XXX_Marshal ¶ added in v0.7.3
func (m *PayLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayLoadInfo) XXX_Merge ¶ added in v0.7.3
func (m *PayLoadInfo) XXX_Merge(src proto.Message)
func (*PayLoadInfo) XXX_MessageName ¶ added in v0.7.3
func (*PayLoadInfo) XXX_MessageName() string
func (*PayLoadInfo) XXX_Size ¶ added in v0.7.3
func (m *PayLoadInfo) XXX_Size() int
func (*PayLoadInfo) XXX_Unmarshal ¶ added in v0.7.3
func (m *PayLoadInfo) XXX_Unmarshal(b []byte) error
type ScoreHistoryTab ¶ added in v0.7.15
type ScoreHistoryTab struct { NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` StorageVolumeCap uint64 `` /* 136-byte string literal not displayed */ StorageVolumeLeft uint64 `` /* 140-byte string literal not displayed */ Score uint32 `protobuf:"varint,5,opt,name=score,proto3" json:"score,omitempty" pg:"score"` DateCreated time.Time `protobuf:"bytes,6,opt,name=date_created,json=dateCreated,proto3,stdtime" json:"date_created" pg:"date_created"` TimeCreated time.Time `protobuf:"bytes,7,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedScoreHistoryTab ¶ added in v0.7.15
func NewPopulatedScoreHistoryTab(r randyNode, easy bool) *ScoreHistoryTab
func (*ScoreHistoryTab) Descriptor ¶ added in v0.7.15
func (*ScoreHistoryTab) Descriptor() ([]byte, []int)
func (*ScoreHistoryTab) GetDateCreated ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetDateCreated() time.Time
func (*ScoreHistoryTab) GetNodeId ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetNodeId() string
func (*ScoreHistoryTab) GetScore ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetScore() uint32
func (*ScoreHistoryTab) GetStorageVolumeCap ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetStorageVolumeCap() uint64
func (*ScoreHistoryTab) GetStorageVolumeLeft ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetStorageVolumeLeft() uint64
func (*ScoreHistoryTab) GetTimeCreated ¶ added in v0.7.15
func (m *ScoreHistoryTab) GetTimeCreated() time.Time
func (*ScoreHistoryTab) GettableName ¶ added in v0.7.15
func (m *ScoreHistoryTab) GettableName() string
func (*ScoreHistoryTab) Marshal ¶ added in v0.7.15
func (m *ScoreHistoryTab) Marshal() (dAtA []byte, err error)
func (*ScoreHistoryTab) MarshalTo ¶ added in v0.7.15
func (m *ScoreHistoryTab) MarshalTo(dAtA []byte) (int, error)
func (*ScoreHistoryTab) MarshalToSizedBuffer ¶ added in v0.7.15
func (m *ScoreHistoryTab) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScoreHistoryTab) ProtoMessage ¶ added in v0.7.15
func (*ScoreHistoryTab) ProtoMessage()
func (*ScoreHistoryTab) Reset ¶ added in v0.7.15
func (m *ScoreHistoryTab) Reset()
func (*ScoreHistoryTab) Size ¶ added in v0.7.15
func (m *ScoreHistoryTab) Size() (n int)
func (*ScoreHistoryTab) String ¶ added in v0.7.15
func (m *ScoreHistoryTab) String() string
func (*ScoreHistoryTab) Unmarshal ¶ added in v0.7.15
func (m *ScoreHistoryTab) Unmarshal(dAtA []byte) error
func (*ScoreHistoryTab) XXX_DiscardUnknown ¶ added in v0.7.15
func (m *ScoreHistoryTab) XXX_DiscardUnknown()
func (*ScoreHistoryTab) XXX_Marshal ¶ added in v0.7.15
func (m *ScoreHistoryTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScoreHistoryTab) XXX_Merge ¶ added in v0.7.15
func (m *ScoreHistoryTab) XXX_Merge(src proto.Message)
func (*ScoreHistoryTab) XXX_MessageName ¶ added in v0.7.15
func (*ScoreHistoryTab) XXX_MessageName() string
func (*ScoreHistoryTab) XXX_Size ¶ added in v0.7.15
func (m *ScoreHistoryTab) XXX_Size() int
func (*ScoreHistoryTab) XXX_Unmarshal ¶ added in v0.7.15
func (m *ScoreHistoryTab) XXX_Unmarshal(b []byte) error
type StorageStat ¶ added in v0.2.21
type StorageStat struct { HostStats StorageStat_Host `protobuf:"bytes,1,opt,name=host_stats,json=hostStats,proto3" json:"host_stats" pg:"host_stats"` RenterStats StorageStat_Renter `protobuf:"bytes,2,opt,name=renter_stats,json=renterStats,proto3" json:"renter_stats" pg:"renter_stats"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat ¶ added in v0.2.21
func NewPopulatedStorageStat(r randyNode, easy bool) *StorageStat
func (*StorageStat) Descriptor ¶ added in v0.2.21
func (*StorageStat) Descriptor() ([]byte, []int)
func (*StorageStat) GetHostStats ¶ added in v0.2.21
func (m *StorageStat) GetHostStats() StorageStat_Host
func (*StorageStat) GetRenterStats ¶ added in v0.2.21
func (m *StorageStat) GetRenterStats() StorageStat_Renter
func (*StorageStat) Marshal ¶ added in v0.2.21
func (m *StorageStat) Marshal() (dAtA []byte, err error)
func (*StorageStat) MarshalTo ¶ added in v0.2.21
func (m *StorageStat) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat) ProtoMessage ¶ added in v0.2.21
func (*StorageStat) ProtoMessage()
func (*StorageStat) Reset ¶ added in v0.2.21
func (m *StorageStat) Reset()
func (*StorageStat) Size ¶ added in v0.2.21
func (m *StorageStat) Size() (n int)
func (*StorageStat) String ¶ added in v0.2.21
func (m *StorageStat) String() string
func (*StorageStat) Unmarshal ¶ added in v0.2.21
func (m *StorageStat) Unmarshal(dAtA []byte) error
func (*StorageStat) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat) XXX_DiscardUnknown()
func (*StorageStat) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat) XXX_Merge(src proto.Message)
func (*StorageStat) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat) XXX_MessageName() string
func (*StorageStat) XXX_Size ¶ added in v0.2.21
func (m *StorageStat) XXX_Size() int
func (*StorageStat) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat) XXX_Unmarshal(b []byte) error
type StorageStat_Host ¶ added in v0.2.21
type StorageStat_Host struct { Online bool `protobuf:"varint,1,opt,name=online,proto3" json:"online" pg:"online"` StorageUsed int64 `protobuf:"varint,2,opt,name=storage_used,json=storageUsed,proto3" json:"storage_used" pg:"storage_used"` StorageCap int64 `protobuf:"varint,3,opt,name=storage_cap,json=storageCap,proto3" json:"storage_cap" pg:"storage_cap"` StorageDiskTotal int64 `` /* 126-byte string literal not displayed */ StorageDiskAvailable int64 `` /* 142-byte string literal not displayed */ StorageStat_HostStats `protobuf:"bytes,6,opt,name=stats,proto3,embedded=stats" json:"" pg:""` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat_Host ¶ added in v0.2.21
func NewPopulatedStorageStat_Host(r randyNode, easy bool) *StorageStat_Host
func (*StorageStat_Host) Descriptor ¶ added in v0.2.21
func (*StorageStat_Host) Descriptor() ([]byte, []int)
func (*StorageStat_Host) GetOnline ¶ added in v0.2.21
func (m *StorageStat_Host) GetOnline() bool
func (*StorageStat_Host) GetStorageCap ¶ added in v0.2.21
func (m *StorageStat_Host) GetStorageCap() int64
func (*StorageStat_Host) GetStorageDiskAvailable ¶ added in v0.3.7
func (m *StorageStat_Host) GetStorageDiskAvailable() int64
func (*StorageStat_Host) GetStorageDiskTotal ¶ added in v0.3.6
func (m *StorageStat_Host) GetStorageDiskTotal() int64
func (*StorageStat_Host) GetStorageUsed ¶ added in v0.2.21
func (m *StorageStat_Host) GetStorageUsed() int64
func (*StorageStat_Host) Marshal ¶ added in v0.2.21
func (m *StorageStat_Host) Marshal() (dAtA []byte, err error)
func (*StorageStat_Host) MarshalTo ¶ added in v0.2.21
func (m *StorageStat_Host) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat_Host) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat_Host) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat_Host) ProtoMessage ¶ added in v0.2.21
func (*StorageStat_Host) ProtoMessage()
func (*StorageStat_Host) Reset ¶ added in v0.2.21
func (m *StorageStat_Host) Reset()
func (*StorageStat_Host) Size ¶ added in v0.2.21
func (m *StorageStat_Host) Size() (n int)
func (*StorageStat_Host) String ¶ added in v0.2.21
func (m *StorageStat_Host) String() string
func (*StorageStat_Host) Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Host) Unmarshal(dAtA []byte) error
func (*StorageStat_Host) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_DiscardUnknown()
func (*StorageStat_Host) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat_Host) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Merge(src proto.Message)
func (*StorageStat_Host) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat_Host) XXX_MessageName() string
func (*StorageStat_Host) XXX_Size ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Size() int
func (*StorageStat_Host) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Unmarshal(b []byte) error
type StorageStat_HostStats ¶ added in v0.6.0
type StorageStat_HostStats struct { Uptime float32 `protobuf:"fixed32,1,opt,name=uptime,proto3" json:"uptime" pg:"uptime"` Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score" pg:"score"` UptimeScore float32 `protobuf:"fixed32,3,opt,name=uptime_score,json=uptimeScore,proto3" json:"uptime_score" pg:"uptime_score"` AgeScore float32 `protobuf:"fixed32,4,opt,name=age_score,json=ageScore,proto3" json:"age_score" pg:"age_score"` VersionScore float32 `protobuf:"fixed32,5,opt,name=version_score,json=versionScore,proto3" json:"version_score" pg:"version_score"` SpeedScore float32 `protobuf:"fixed32,6,opt,name=speed_score,json=speedScore,proto3" json:"speed_score" pg:"speed_score"` UploadSpeedScore float32 `` /* 127-byte string literal not displayed */ DownloadSpeedScore float32 `` /* 135-byte string literal not displayed */ UptimeWeight float32 `protobuf:"fixed32,9,opt,name=uptime_weight,json=uptimeWeight,proto3" json:"uptime_weight" pg:"uptime_weight"` AgeWeight float32 `protobuf:"fixed32,10,opt,name=age_weight,json=ageWeight,proto3" json:"age_weight" pg:"age_weight"` VersionWeight float32 `protobuf:"fixed32,11,opt,name=version_weight,json=versionWeight,proto3" json:"version_weight" pg:"version_weight"` SpeedWeight float32 `protobuf:"fixed32,12,opt,name=speed_weight,json=speedWeight,proto3" json:"speed_weight" pg:"speed_weight"` UploadSpeedWeight float32 `` /* 132-byte string literal not displayed */ DownloadSpeedWeight float32 `` /* 140-byte string literal not displayed */ LastUpdated time.Time `protobuf:"bytes,15,opt,name=last_updated,json=lastUpdated,proto3,stdtime" json:"last_updated" pg:"last_updated"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat_HostStats ¶ added in v0.6.0
func NewPopulatedStorageStat_HostStats(r randyNode, easy bool) *StorageStat_HostStats
func (*StorageStat_HostStats) Descriptor ¶ added in v0.6.0
func (*StorageStat_HostStats) Descriptor() ([]byte, []int)
func (*StorageStat_HostStats) GetAgeScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetAgeScore() float32
func (*StorageStat_HostStats) GetAgeWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetAgeWeight() float32
func (*StorageStat_HostStats) GetDownloadSpeedScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetDownloadSpeedScore() float32
func (*StorageStat_HostStats) GetDownloadSpeedWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetDownloadSpeedWeight() float32
func (*StorageStat_HostStats) GetLastUpdated ¶ added in v0.6.2
func (m *StorageStat_HostStats) GetLastUpdated() time.Time
func (*StorageStat_HostStats) GetScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetScore() float32
func (*StorageStat_HostStats) GetSpeedScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetSpeedScore() float32
func (*StorageStat_HostStats) GetSpeedWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetSpeedWeight() float32
func (*StorageStat_HostStats) GetUploadSpeedScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetUploadSpeedScore() float32
func (*StorageStat_HostStats) GetUploadSpeedWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetUploadSpeedWeight() float32
func (*StorageStat_HostStats) GetUptime ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetUptime() float32
func (*StorageStat_HostStats) GetUptimeScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetUptimeScore() float32
func (*StorageStat_HostStats) GetUptimeWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetUptimeWeight() float32
func (*StorageStat_HostStats) GetVersionScore ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetVersionScore() float32
func (*StorageStat_HostStats) GetVersionWeight ¶ added in v0.6.0
func (m *StorageStat_HostStats) GetVersionWeight() float32
func (*StorageStat_HostStats) Marshal ¶ added in v0.6.0
func (m *StorageStat_HostStats) Marshal() (dAtA []byte, err error)
func (*StorageStat_HostStats) MarshalTo ¶ added in v0.6.0
func (m *StorageStat_HostStats) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat_HostStats) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *StorageStat_HostStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat_HostStats) ProtoMessage ¶ added in v0.6.0
func (*StorageStat_HostStats) ProtoMessage()
func (*StorageStat_HostStats) Reset ¶ added in v0.6.0
func (m *StorageStat_HostStats) Reset()
func (*StorageStat_HostStats) Size ¶ added in v0.6.0
func (m *StorageStat_HostStats) Size() (n int)
func (*StorageStat_HostStats) String ¶ added in v0.6.0
func (m *StorageStat_HostStats) String() string
func (*StorageStat_HostStats) Unmarshal ¶ added in v0.6.0
func (m *StorageStat_HostStats) Unmarshal(dAtA []byte) error
func (*StorageStat_HostStats) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *StorageStat_HostStats) XXX_DiscardUnknown()
func (*StorageStat_HostStats) XXX_Marshal ¶ added in v0.6.0
func (m *StorageStat_HostStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat_HostStats) XXX_Merge ¶ added in v0.6.0
func (m *StorageStat_HostStats) XXX_Merge(src proto.Message)
func (*StorageStat_HostStats) XXX_MessageName ¶ added in v0.6.0
func (*StorageStat_HostStats) XXX_MessageName() string
func (*StorageStat_HostStats) XXX_Size ¶ added in v0.6.0
func (m *StorageStat_HostStats) XXX_Size() int
func (*StorageStat_HostStats) XXX_Unmarshal ¶ added in v0.6.0
func (m *StorageStat_HostStats) XXX_Unmarshal(b []byte) error
type StorageStat_Renter ¶ added in v0.2.21
type StorageStat_Renter struct { Reserved string `protobuf:"bytes,1,opt,name=reserved,proto3" json:"reserved" pg:"reserved"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat_Renter ¶ added in v0.2.21
func NewPopulatedStorageStat_Renter(r randyNode, easy bool) *StorageStat_Renter
func (*StorageStat_Renter) Descriptor ¶ added in v0.2.21
func (*StorageStat_Renter) Descriptor() ([]byte, []int)
func (*StorageStat_Renter) GetReserved ¶ added in v0.2.21
func (m *StorageStat_Renter) GetReserved() string
func (*StorageStat_Renter) Marshal ¶ added in v0.2.21
func (m *StorageStat_Renter) Marshal() (dAtA []byte, err error)
func (*StorageStat_Renter) MarshalTo ¶ added in v0.2.21
func (m *StorageStat_Renter) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat_Renter) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat_Renter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat_Renter) ProtoMessage ¶ added in v0.2.21
func (*StorageStat_Renter) ProtoMessage()
func (*StorageStat_Renter) Reset ¶ added in v0.2.21
func (m *StorageStat_Renter) Reset()
func (*StorageStat_Renter) Size ¶ added in v0.2.21
func (m *StorageStat_Renter) Size() (n int)
func (*StorageStat_Renter) String ¶ added in v0.2.21
func (m *StorageStat_Renter) String() string
func (*StorageStat_Renter) Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Renter) Unmarshal(dAtA []byte) error
func (*StorageStat_Renter) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_DiscardUnknown()
func (*StorageStat_Renter) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat_Renter) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Merge(src proto.Message)
func (*StorageStat_Renter) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat_Renter) XXX_MessageName() string
func (*StorageStat_Renter) XXX_Size ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Size() int
func (*StorageStat_Renter) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.