node

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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"`
	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"`
	FileCount            uint32    `protobuf:"varint,10,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty" pg:"file_count"`
	FileSize             uint64    `protobuf:"varint,11,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty" pg:"file_size"`
	ShouldReward         uint64    `protobuf:"varint,12,opt,name=should_reward,json=shouldReward,proto3" json:"should_reward,omitempty" pg:"should_reward"`
	ActualReward         uint64    `protobuf:"varint,13,opt,name=actual_reward,json=actualReward,proto3" json:"actual_reward,omitempty" pg:"actual_reward"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
	// contains filtered or unexported fields
}

func NewPopulatedAirdropRewardHistoryTab

func NewPopulatedAirdropRewardHistoryTab(r randyNode, easy bool) *AirdropRewardHistoryTab

func (*AirdropRewardHistoryTab) Descriptor

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

func (*AirdropRewardHistoryTab) GetActualReward

func (m *AirdropRewardHistoryTab) GetActualReward() uint64

func (*AirdropRewardHistoryTab) GetDateCreated

func (m *AirdropRewardHistoryTab) GetDateCreated() time.Time

func (*AirdropRewardHistoryTab) GetFileCount

func (m *AirdropRewardHistoryTab) GetFileCount() uint32

func (*AirdropRewardHistoryTab) GetFileSize

func (m *AirdropRewardHistoryTab) GetFileSize() uint64

func (*AirdropRewardHistoryTab) GetIsSuspect

func (m *AirdropRewardHistoryTab) GetIsSuspect() bool

func (*AirdropRewardHistoryTab) GetNodeId

func (m *AirdropRewardHistoryTab) GetNodeId() string

func (*AirdropRewardHistoryTab) GetShouldReward

func (m *AirdropRewardHistoryTab) GetShouldReward() uint64

func (*AirdropRewardHistoryTab) GetStake

func (m *AirdropRewardHistoryTab) GetStake() uint32

func (*AirdropRewardHistoryTab) GetTimeCreated

func (m *AirdropRewardHistoryTab) GetTimeCreated() time.Time

func (*AirdropRewardHistoryTab) GetType

func (m *AirdropRewardHistoryTab) GetType() uint32

func (*AirdropRewardHistoryTab) GetWeight

func (m *AirdropRewardHistoryTab) GetWeight() uint32

func (*AirdropRewardHistoryTab) GettableName

func (m *AirdropRewardHistoryTab) GettableName() string

func (*AirdropRewardHistoryTab) Marshal

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

func (*AirdropRewardHistoryTab) MarshalTo

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

func (*AirdropRewardHistoryTab) MarshalToSizedBuffer

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

func (*AirdropRewardHistoryTab) ProtoMessage

func (*AirdropRewardHistoryTab) ProtoMessage()

func (*AirdropRewardHistoryTab) Reset

func (m *AirdropRewardHistoryTab) Reset()

func (*AirdropRewardHistoryTab) Size

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

func (*AirdropRewardHistoryTab) String

func (m *AirdropRewardHistoryTab) String() string

func (*AirdropRewardHistoryTab) Unmarshal

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

func (*AirdropRewardHistoryTab) XXX_DiscardUnknown

func (m *AirdropRewardHistoryTab) XXX_DiscardUnknown()

func (*AirdropRewardHistoryTab) XXX_Marshal

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

func (*AirdropRewardHistoryTab) XXX_Merge

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

func (*AirdropRewardHistoryTab) XXX_MessageName

func (*AirdropRewardHistoryTab) XXX_MessageName() string

func (*AirdropRewardHistoryTab) XXX_Size

func (m *AirdropRewardHistoryTab) XXX_Size() int

func (*AirdropRewardHistoryTab) XXX_Unmarshal

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

type BtfsScanTab

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"`
	ContractAllCount        uint32           `` /* 137-byte string literal not displayed */
	ContractFailCount       uint32           `` /* 141-byte string literal not displayed */
	ContractAllStorage      float64          `` /* 146-byte string literal not displayed */
	ContractFailStorage     float64          `` /* 150-byte string literal not displayed */
	StorageLeftWhenContract float64          `` /* 169-byte string literal not displayed */
	SuperOnlineMinersCount  uint32           `` /* 164-byte string literal not displayed */
	NewOnlineMinersCount    uint32           `` /* 156-byte string literal not displayed */
	MinersAllAmount         int64            `` /* 133-byte string literal not displayed */
	TotalMiners             int64            `protobuf:"varint,20,opt,name=total_miners,json=totalMiners,proto3" json:"total_miners,omitempty" pg:"total_miners"`
	BigMiners               int64            `protobuf:"varint,21,opt,name=big_miners,json=bigMiners,proto3" json:"big_miners,omitempty" pg:"big_miners"`
	VersionDistribute       map[string]int32 `` /* 226-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}         `json:"-" pg:"-"`
	XXX_unrecognized        []byte           `json:"-" pg:"-"`
	XXX_sizecache           int32            `json:"-" pg:"-"`
	// contains filtered or unexported fields
}

func NewPopulatedBtfsScanTab

func NewPopulatedBtfsScanTab(r randyNode, easy bool) *BtfsScanTab

func (*BtfsScanTab) Descriptor

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

func (*BtfsScanTab) GetBigMiners

func (m *BtfsScanTab) GetBigMiners() int64

func (*BtfsScanTab) GetContractAllCount

func (m *BtfsScanTab) GetContractAllCount() uint32

func (*BtfsScanTab) GetContractAllStorage

func (m *BtfsScanTab) GetContractAllStorage() float64

func (*BtfsScanTab) GetContractFailCount

func (m *BtfsScanTab) GetContractFailCount() uint32

func (*BtfsScanTab) GetContractFailStorage

func (m *BtfsScanTab) GetContractFailStorage() float64

func (*BtfsScanTab) GetCountryDistribute

func (m *BtfsScanTab) GetCountryDistribute() map[string]int32

func (*BtfsScanTab) GetDateCreated

func (m *BtfsScanTab) GetDateCreated() time.Time

func (*BtfsScanTab) GetMinersAllAmount

func (m *BtfsScanTab) GetMinersAllAmount() int64

func (*BtfsScanTab) GetNewOnlineMinersCount

func (m *BtfsScanTab) GetNewOnlineMinersCount() uint32

func (*BtfsScanTab) GetNewRank

func (m *BtfsScanTab) GetNewRank() string

func (*BtfsScanTab) GetOnlineMinersNumber

func (m *BtfsScanTab) GetOnlineMinersNumber() uint32

func (*BtfsScanTab) GetPrice

func (m *BtfsScanTab) GetPrice() float64

func (*BtfsScanTab) GetScoreDistribute

func (m *BtfsScanTab) GetScoreDistribute() map[string]int32

func (*BtfsScanTab) GetStorageAlreadyUsed

func (m *BtfsScanTab) GetStorageAlreadyUsed() float64

func (*BtfsScanTab) GetStorageLeftWhenContract

func (m *BtfsScanTab) GetStorageLeftWhenContract() float64

func (*BtfsScanTab) GetStorageVolumeLeft

func (m *BtfsScanTab) GetStorageVolumeLeft() float64

func (*BtfsScanTab) GetSuperOnlineMinersCount

func (m *BtfsScanTab) GetSuperOnlineMinersCount() uint32

func (*BtfsScanTab) GetTimeCreated

func (m *BtfsScanTab) GetTimeCreated() time.Time

func (*BtfsScanTab) GetTotalMiners

func (m *BtfsScanTab) GetTotalMiners() int64

func (*BtfsScanTab) GetTotalRank

func (m *BtfsScanTab) GetTotalRank() string

func (*BtfsScanTab) GetVersionDistribute

func (m *BtfsScanTab) GetVersionDistribute() map[string]int32

func (*BtfsScanTab) GettableName

func (m *BtfsScanTab) GettableName() string

func (*BtfsScanTab) Marshal

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

func (*BtfsScanTab) MarshalTo

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

func (*BtfsScanTab) MarshalToSizedBuffer

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

func (*BtfsScanTab) ProtoMessage

func (*BtfsScanTab) ProtoMessage()

func (*BtfsScanTab) Reset

func (m *BtfsScanTab) Reset()

func (*BtfsScanTab) Size

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

func (*BtfsScanTab) String

func (m *BtfsScanTab) String() string

func (*BtfsScanTab) Unmarshal

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

func (*BtfsScanTab) XXX_DiscardUnknown

func (m *BtfsScanTab) XXX_DiscardUnknown()

func (*BtfsScanTab) XXX_Marshal

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

func (*BtfsScanTab) XXX_Merge

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

func (*BtfsScanTab) XXX_MessageName

func (*BtfsScanTab) XXX_MessageName() string

func (*BtfsScanTab) XXX_Size

func (m *BtfsScanTab) XXX_Size() int

func (*BtfsScanTab) XXX_Unmarshal

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

type ContractStat

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

func NewPopulatedContractStat(r randyNode, easy bool) *ContractStat

func (*ContractStat) Descriptor

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

func (*ContractStat) GetActiveContractNum

func (m *ContractStat) GetActiveContractNum() int64

func (*ContractStat) GetCompensationOutstanding

func (m *ContractStat) GetCompensationOutstanding() int64

func (*ContractStat) GetCompensationPaid

func (m *ContractStat) GetCompensationPaid() int64

func (*ContractStat) GetFirstContractStart

func (m *ContractStat) GetFirstContractStart() time.Time

func (*ContractStat) GetLastContractEnd

func (m *ContractStat) GetLastContractEnd() time.Time

func (*ContractStat) GetRole

func (m *ContractStat) GetRole() ContractStat_Role

func (*ContractStat) Marshal

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

func (*ContractStat) MarshalTo

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

func (*ContractStat) MarshalToSizedBuffer

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

func (*ContractStat) ProtoMessage

func (*ContractStat) ProtoMessage()

func (*ContractStat) Reset

func (m *ContractStat) Reset()

func (*ContractStat) Size

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

func (*ContractStat) String

func (m *ContractStat) String() string

func (*ContractStat) Unmarshal

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

func (*ContractStat) XXX_DiscardUnknown

func (m *ContractStat) XXX_DiscardUnknown()

func (*ContractStat) XXX_Marshal

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

func (*ContractStat) XXX_Merge

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

func (*ContractStat) XXX_MessageName

func (*ContractStat) XXX_MessageName() string

func (*ContractStat) XXX_Size

func (m *ContractStat) XXX_Size() int

func (*ContractStat) XXX_Unmarshal

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

type ContractStat_Role

type ContractStat_Role int32
const (
	ContractStat_HOST     ContractStat_Role = 0
	ContractStat_RENTER   ContractStat_Role = 1
	ContractStat_RESERVED ContractStat_Role = 2
)

func (ContractStat_Role) EnumDescriptor

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

func (ContractStat_Role) String

func (x ContractStat_Role) String() string

type Contracts

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

func NewPopulatedContracts(r randyNode, easy bool) *Contracts

func (*Contracts) Descriptor

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

func (*Contracts) GetContracts

func (m *Contracts) GetContracts() []*Contracts_Contract

func (*Contracts) Marshal

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

func (*Contracts) MarshalTo

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

func (*Contracts) MarshalToSizedBuffer

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

func (*Contracts) ProtoMessage

func (*Contracts) ProtoMessage()

func (*Contracts) Reset

func (m *Contracts) Reset()

func (*Contracts) Size

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

func (*Contracts) String

func (m *Contracts) String() string

func (*Contracts) Unmarshal

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

func (*Contracts) XXX_DiscardUnknown

func (m *Contracts) XXX_DiscardUnknown()

func (*Contracts) XXX_Marshal

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

func (*Contracts) XXX_Merge

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

func (*Contracts) XXX_MessageName

func (*Contracts) XXX_MessageName() string

func (*Contracts) XXX_Size

func (m *Contracts) XXX_Size() int

func (*Contracts) XXX_Unmarshal

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

type Contracts_Contract

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

func NewPopulatedContracts_Contract(r randyNode, easy bool) *Contracts_Contract

func (*Contracts_Contract) Descriptor

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

func (*Contracts_Contract) GetCompensationOutstanding

func (m *Contracts_Contract) GetCompensationOutstanding() int64

func (*Contracts_Contract) GetCompensationPaid

func (m *Contracts_Contract) GetCompensationPaid() int64

func (*Contracts_Contract) GetContractId

func (m *Contracts_Contract) GetContractId() string

func (*Contracts_Contract) GetEndTime

func (m *Contracts_Contract) GetEndTime() time.Time

func (*Contracts_Contract) GetFileHash

func (m *Contracts_Contract) GetFileHash() string

func (*Contracts_Contract) GetHostId

func (m *Contracts_Contract) GetHostId() string

func (*Contracts_Contract) GetLastModifyTime

func (m *Contracts_Contract) GetLastModifyTime() time.Time

func (*Contracts_Contract) GetNextEscrowTime

func (m *Contracts_Contract) GetNextEscrowTime() time.Time

func (*Contracts_Contract) GetRenterId

func (m *Contracts_Contract) GetRenterId() string

func (*Contracts_Contract) GetShardHash

func (m *Contracts_Contract) GetShardHash() string

func (*Contracts_Contract) GetShardSize

func (m *Contracts_Contract) GetShardSize() int64

func (*Contracts_Contract) GetStartTime

func (m *Contracts_Contract) GetStartTime() time.Time

func (*Contracts_Contract) GetStatus

func (*Contracts_Contract) GetUnitPrice

func (m *Contracts_Contract) GetUnitPrice() int64

func (*Contracts_Contract) Marshal

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

func (*Contracts_Contract) MarshalTo

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

func (*Contracts_Contract) MarshalToSizedBuffer

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

func (*Contracts_Contract) ProtoMessage

func (*Contracts_Contract) ProtoMessage()

func (*Contracts_Contract) Reset

func (m *Contracts_Contract) Reset()

func (*Contracts_Contract) Size

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

func (*Contracts_Contract) String

func (m *Contracts_Contract) String() string

func (*Contracts_Contract) Unmarshal

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

func (*Contracts_Contract) XXX_DiscardUnknown

func (m *Contracts_Contract) XXX_DiscardUnknown()

func (*Contracts_Contract) XXX_Marshal

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

func (*Contracts_Contract) XXX_Merge

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

func (*Contracts_Contract) XXX_MessageName

func (*Contracts_Contract) XXX_MessageName() string

func (*Contracts_Contract) XXX_Size

func (m *Contracts_Contract) XXX_Size() int

func (*Contracts_Contract) XXX_Unmarshal

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

type DiscoveryErrorCode

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

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

func (DiscoveryErrorCode) String

func (x DiscoveryErrorCode) String() string

type DiscoveryNode

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

func NewPopulatedDiscoveryNode(r randyNode, easy bool) *DiscoveryNode

func (*DiscoveryNode) Descriptor

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

func (*DiscoveryNode) GetErrCode

func (m *DiscoveryNode) GetErrCode() DiscoveryErrorCode

func (*DiscoveryNode) GetNodeConnectLatency

func (m *DiscoveryNode) GetNodeConnectLatency() int32

func (*DiscoveryNode) GetToNodeId

func (m *DiscoveryNode) GetToNodeId() string

func (*DiscoveryNode) Marshal

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

func (*DiscoveryNode) MarshalTo

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

func (*DiscoveryNode) MarshalToSizedBuffer

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

func (*DiscoveryNode) ProtoMessage

func (*DiscoveryNode) ProtoMessage()

func (*DiscoveryNode) Reset

func (m *DiscoveryNode) Reset()

func (*DiscoveryNode) Size

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

func (*DiscoveryNode) String

func (m *DiscoveryNode) String() string

func (*DiscoveryNode) Unmarshal

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

func (*DiscoveryNode) XXX_DiscardUnknown

func (m *DiscoveryNode) XXX_DiscardUnknown()

func (*DiscoveryNode) XXX_Marshal

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

func (*DiscoveryNode) XXX_Merge

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

func (*DiscoveryNode) XXX_MessageName

func (*DiscoveryNode) XXX_MessageName() string

func (*DiscoveryNode) XXX_Size

func (m *DiscoveryNode) XXX_Size() int

func (*DiscoveryNode) XXX_Unmarshal

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

type DiscoveryTab

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

func NewPopulatedDiscoveryTab(r randyNode, easy bool) *DiscoveryTab

func (*DiscoveryTab) Descriptor

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

func (*DiscoveryTab) GetAvgConnectLatency

func (m *DiscoveryTab) GetAvgConnectLatency() int32

func (*DiscoveryTab) GetConnectCnt

func (m *DiscoveryTab) GetConnectCnt() uint32

func (*DiscoveryTab) GetDiscoveryLabel

func (m *DiscoveryTab) GetDiscoveryLabel() int32

func (*DiscoveryTab) GetErrCode

func (m *DiscoveryTab) GetErrCode() DiscoveryErrorCode

func (*DiscoveryTab) GetNodeId

func (m *DiscoveryTab) GetNodeId() string

func (*DiscoveryTab) GetTimeCreated

func (m *DiscoveryTab) GetTimeCreated() time.Time

func (*DiscoveryTab) GettableName

func (m *DiscoveryTab) GettableName() string

func (*DiscoveryTab) Marshal

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

func (*DiscoveryTab) MarshalTo

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

func (*DiscoveryTab) MarshalToSizedBuffer

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

func (*DiscoveryTab) ProtoMessage

func (*DiscoveryTab) ProtoMessage()

func (*DiscoveryTab) Reset

func (m *DiscoveryTab) Reset()

func (*DiscoveryTab) Size

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

func (*DiscoveryTab) String

func (m *DiscoveryTab) String() string

func (*DiscoveryTab) Unmarshal

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

func (*DiscoveryTab) XXX_DiscardUnknown

func (m *DiscoveryTab) XXX_DiscardUnknown()

func (*DiscoveryTab) XXX_Marshal

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

func (*DiscoveryTab) XXX_Merge

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

func (*DiscoveryTab) XXX_MessageName

func (*DiscoveryTab) XXX_MessageName() string

func (*DiscoveryTab) XXX_Size

func (m *DiscoveryTab) XXX_Size() int

func (*DiscoveryTab) XXX_Unmarshal

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"`
	FirstCreatedTime       time.Time `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}  `json:"-" pg:"-"`
	XXX_unrecognized       []byte    `json:"-" pg:"-"`
	XXX_sizecache          int32     `json:"-" pg:"-"`
	// contains filtered or unexported fields
}

func NewPopulatedNode

func NewPopulatedNode(r randyNode, easy bool) *Node

func (*Node) Descriptor

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

func (*Node) GetArchType

func (m *Node) GetArchType() string

func (*Node) GetBandwidthPriceDeal

func (m *Node) GetBandwidthPriceDeal() uint64

func (*Node) GetBlocksDown

func (m *Node) GetBlocksDown() uint64

func (*Node) GetBlocksUp

func (m *Node) GetBlocksUp() uint64

func (*Node) GetBtfsVersion

func (m *Node) GetBtfsVersion() string

func (*Node) GetCpuInfo

func (m *Node) GetCpuInfo() string

func (*Node) GetCpuUsed

func (m *Node) GetCpuUsed() float64

func (*Node) GetDownload

func (m *Node) GetDownload() uint64

func (*Node) GetFirstCreatedTime

func (m *Node) GetFirstCreatedTime() time.Time

func (*Node) GetHVal

func (m *Node) GetHVal() string

func (*Node) GetMemoryUsed

func (m *Node) GetMemoryUsed() uint64

func (*Node) GetNodeId

func (m *Node) GetNodeId() string

func (*Node) GetOsType

func (m *Node) GetOsType() string

func (*Node) GetPeersConnected

func (m *Node) GetPeersConnected() uint64

func (*Node) GetReputation

func (m *Node) GetReputation() float64

func (*Node) GetStoragePriceDeal

func (m *Node) GetStoragePriceDeal() uint64

func (*Node) GetStorageUsed

func (m *Node) GetStorageUsed() uint64

func (*Node) GetStorageVolumeCap

func (m *Node) GetStorageVolumeCap() uint64

func (*Node) GetTimeCreated

func (m *Node) GetTimeCreated() time.Time

func (*Node) GetTotalDownload

func (m *Node) GetTotalDownload() uint64

func (*Node) GetTotalUpload

func (m *Node) GetTotalUpload() uint64

func (*Node) GetUpTime

func (m *Node) GetUpTime() uint64

func (*Node) GetUpload

func (m *Node) GetUpload() uint64

func (*Node) GettableName

func (m *Node) GettableName() string

func (*Node) Marshal

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

func (*Node) MarshalTo

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

func (*Node) MarshalToSizedBuffer

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

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

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

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

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

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_MessageName

func (*Node) XXX_MessageName() string

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type NodeContractStat

type NodeContractStat struct {
	NodeId               string    `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"`
	BigMiner             bool      `protobuf:"varint,3,opt,name=big_miner,json=bigMiner,proto3" json:"big_miner,omitempty" pg:"big_miner"`
	LastModifyTime       time.Time `protobuf:"bytes,4,opt,name=last_modify_time,json=lastModifyTime,proto3,stdtime" json:"last_modify_time" pg:"last_modify_time"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
	// contains filtered or unexported fields
}

func NewPopulatedNodeContractStat

func NewPopulatedNodeContractStat(r randyNode, easy bool) *NodeContractStat

func (*NodeContractStat) Descriptor

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

func (*NodeContractStat) GetBigMiner

func (m *NodeContractStat) GetBigMiner() bool

func (*NodeContractStat) GetLastModifyTime

func (m *NodeContractStat) GetLastModifyTime() time.Time

func (*NodeContractStat) GetNodeId

func (m *NodeContractStat) GetNodeId() string

func (*NodeContractStat) GettableName

func (m *NodeContractStat) GettableName() string

func (*NodeContractStat) Marshal

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

func (*NodeContractStat) MarshalTo

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

func (*NodeContractStat) MarshalToSizedBuffer

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

func (*NodeContractStat) ProtoMessage

func (*NodeContractStat) ProtoMessage()

func (*NodeContractStat) Reset

func (m *NodeContractStat) Reset()

func (*NodeContractStat) Size

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

func (*NodeContractStat) String

func (m *NodeContractStat) String() string

func (*NodeContractStat) Unmarshal

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

func (*NodeContractStat) XXX_DiscardUnknown

func (m *NodeContractStat) XXX_DiscardUnknown()

func (*NodeContractStat) XXX_Marshal

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

func (*NodeContractStat) XXX_Merge

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

func (*NodeContractStat) XXX_MessageName

func (*NodeContractStat) XXX_MessageName() string

func (*NodeContractStat) XXX_Size

func (m *NodeContractStat) XXX_Size() int

func (*NodeContractStat) XXX_Unmarshal

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

type NodeRole

type NodeRole int32
const (
	NodeRole_RENTER             NodeRole = 0
	NodeRole_HOST               NodeRole = 1
	NodeRole_REPAIRER           NodeRole = 2
	NodeRole_CHALLENGER         NodeRole = 3
	NodeRole_NETWORK_CHECKER    NodeRole = 4
	NodeRole_REPUTATION_CHECKER NodeRole = 5
	NodeRole_CDN_PROVIDER       NodeRole = 6
	NodeRole_OTHER              NodeRole = 20
)

func (NodeRole) EnumDescriptor

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

func (NodeRole) String

func (x NodeRole) String() string

type Node_ExperimentalFlags

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

func NewPopulatedNode_ExperimentalFlags(r randyNode, easy bool) *Node_ExperimentalFlags

func (*Node_ExperimentalFlags) Descriptor

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

func (*Node_ExperimentalFlags) GetAnalytics

func (m *Node_ExperimentalFlags) GetAnalytics() bool

func (*Node_ExperimentalFlags) GetChallengeHostEnabled

func (m *Node_ExperimentalFlags) GetChallengeHostEnabled() bool

func (*Node_ExperimentalFlags) GetDisableAutoUpdate

func (m *Node_ExperimentalFlags) GetDisableAutoUpdate() bool

func (*Node_ExperimentalFlags) GetFilestoreEnabled

func (m *Node_ExperimentalFlags) GetFilestoreEnabled() bool

func (*Node_ExperimentalFlags) GetGraphsyncEnabled

func (m *Node_ExperimentalFlags) GetGraphsyncEnabled() bool

func (*Node_ExperimentalFlags) GetHostsSyncEnabled

func (m *Node_ExperimentalFlags) GetHostsSyncEnabled() bool

func (*Node_ExperimentalFlags) GetHostsSyncMode

func (m *Node_ExperimentalFlags) GetHostsSyncMode() string

func (*Node_ExperimentalFlags) GetLibp2PStreamMounting

func (m *Node_ExperimentalFlags) GetLibp2PStreamMounting() bool

func (*Node_ExperimentalFlags) GetP2PHttpProxy

func (m *Node_ExperimentalFlags) GetP2PHttpProxy() bool

func (*Node_ExperimentalFlags) GetPreferTls

func (m *Node_ExperimentalFlags) GetPreferTls() bool

func (*Node_ExperimentalFlags) GetQuic

func (m *Node_ExperimentalFlags) GetQuic() bool

func (*Node_ExperimentalFlags) GetRemoveOnUnpin

func (m *Node_ExperimentalFlags) GetRemoveOnUnpin() bool

func (*Node_ExperimentalFlags) GetRepairHostEnabled

func (m *Node_ExperimentalFlags) GetRepairHostEnabled() bool

func (*Node_ExperimentalFlags) GetShardingEnabled

func (m *Node_ExperimentalFlags) GetShardingEnabled() bool

func (*Node_ExperimentalFlags) GetStorageClientEnabled

func (m *Node_ExperimentalFlags) GetStorageClientEnabled() bool

func (*Node_ExperimentalFlags) GetStorageHostEnabled

func (m *Node_ExperimentalFlags) GetStorageHostEnabled() bool

func (*Node_ExperimentalFlags) GetStrategicProviding

func (m *Node_ExperimentalFlags) GetStrategicProviding() bool

func (*Node_ExperimentalFlags) GetUrlStoreEnabled

func (m *Node_ExperimentalFlags) GetUrlStoreEnabled() bool

func (*Node_ExperimentalFlags) Marshal

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

func (*Node_ExperimentalFlags) MarshalTo

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

func (*Node_ExperimentalFlags) MarshalToSizedBuffer

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

func (*Node_ExperimentalFlags) ProtoMessage

func (*Node_ExperimentalFlags) ProtoMessage()

func (*Node_ExperimentalFlags) Reset

func (m *Node_ExperimentalFlags) Reset()

func (*Node_ExperimentalFlags) Size

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

func (*Node_ExperimentalFlags) String

func (m *Node_ExperimentalFlags) String() string

func (*Node_ExperimentalFlags) Unmarshal

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

func (*Node_ExperimentalFlags) XXX_DiscardUnknown

func (m *Node_ExperimentalFlags) XXX_DiscardUnknown()

func (*Node_ExperimentalFlags) XXX_Marshal

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

func (*Node_ExperimentalFlags) XXX_Merge

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

func (*Node_ExperimentalFlags) XXX_MessageName

func (*Node_ExperimentalFlags) XXX_MessageName() string

func (*Node_ExperimentalFlags) XXX_Size

func (m *Node_ExperimentalFlags) XXX_Size() int

func (*Node_ExperimentalFlags) XXX_Unmarshal

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

type Node_Geo

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

func NewPopulatedNode_Geo(r randyNode, easy bool) *Node_Geo

func (*Node_Geo) Descriptor

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

func (*Node_Geo) GetCountryShort

func (m *Node_Geo) GetCountryShort() string

func (*Node_Geo) GetLatitude

func (m *Node_Geo) GetLatitude() float32

func (*Node_Geo) GetLongitude

func (m *Node_Geo) GetLongitude() float32

func (*Node_Geo) GetRegion

func (m *Node_Geo) GetRegion() string

func (*Node_Geo) Marshal

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

func (*Node_Geo) MarshalTo

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

func (*Node_Geo) MarshalToSizedBuffer

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

func (*Node_Geo) ProtoMessage

func (*Node_Geo) ProtoMessage()

func (*Node_Geo) Reset

func (m *Node_Geo) Reset()

func (*Node_Geo) Size

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

func (*Node_Geo) String

func (m *Node_Geo) String() string

func (*Node_Geo) Unmarshal

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

func (*Node_Geo) XXX_DiscardUnknown

func (m *Node_Geo) XXX_DiscardUnknown()

func (*Node_Geo) XXX_Marshal

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

func (*Node_Geo) XXX_Merge

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

func (*Node_Geo) XXX_MessageName

func (*Node_Geo) XXX_MessageName() string

func (*Node_Geo) XXX_Size

func (m *Node_Geo) XXX_Size() int

func (*Node_Geo) XXX_Unmarshal

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

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

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

func (m *Node_Settings) GetChallengeCustomizedPricing() bool

func (*Node_Settings) GetChallengePriceCustomized

func (m *Node_Settings) GetChallengePriceCustomized() uint64

func (*Node_Settings) GetChallengePriceDefault

func (m *Node_Settings) GetChallengePriceDefault() uint64

func (*Node_Settings) GetCollateralStake

func (m *Node_Settings) GetCollateralStake() uint64

func (*Node_Settings) GetCustomizedPricing

func (m *Node_Settings) GetCustomizedPricing() bool

func (*Node_Settings) GetRepairCustomizedPricing

func (m *Node_Settings) GetRepairCustomizedPricing() bool

func (*Node_Settings) GetRepairPriceCustomized

func (m *Node_Settings) GetRepairPriceCustomized() uint64

func (*Node_Settings) GetRepairPriceDefault

func (m *Node_Settings) GetRepairPriceDefault() uint64

func (*Node_Settings) GetRoles

func (m *Node_Settings) GetRoles() []NodeRole

func (*Node_Settings) GetStoragePriceAsk

func (m *Node_Settings) GetStoragePriceAsk() uint64

func (*Node_Settings) GetStoragePriceDefault

func (m *Node_Settings) GetStoragePriceDefault() uint64

func (*Node_Settings) GetStorageTimeMin

func (m *Node_Settings) GetStorageTimeMin() uint64

func (*Node_Settings) Marshal

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

func (*Node_Settings) MarshalTo

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

func (*Node_Settings) MarshalToSizedBuffer

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

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

func (*Node_Settings) String

func (m *Node_Settings) String() string

func (*Node_Settings) Unmarshal

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

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

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

func NewPopulatedPayLoadInfo(r randyNode, easy bool) *PayLoadInfo

func (*PayLoadInfo) Descriptor

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

func (*PayLoadInfo) GetDiscoveryNodes

func (m *PayLoadInfo) GetDiscoveryNodes() []*DiscoveryNode

func (*PayLoadInfo) GetLastTime

func (m *PayLoadInfo) GetLastTime() time.Time

func (*PayLoadInfo) GetNode

func (m *PayLoadInfo) GetNode() *Node

func (*PayLoadInfo) GetNodeId

func (m *PayLoadInfo) GetNodeId() string

func (*PayLoadInfo) Marshal

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

func (*PayLoadInfo) MarshalTo

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

func (*PayLoadInfo) MarshalToSizedBuffer

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

func (*PayLoadInfo) ProtoMessage

func (*PayLoadInfo) ProtoMessage()

func (*PayLoadInfo) Reset

func (m *PayLoadInfo) Reset()

func (*PayLoadInfo) Size

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

func (*PayLoadInfo) String

func (m *PayLoadInfo) String() string

func (*PayLoadInfo) Unmarshal

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

func (*PayLoadInfo) XXX_DiscardUnknown

func (m *PayLoadInfo) XXX_DiscardUnknown()

func (*PayLoadInfo) XXX_Marshal

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

func (*PayLoadInfo) XXX_Merge

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

func (*PayLoadInfo) XXX_MessageName

func (*PayLoadInfo) XXX_MessageName() string

func (*PayLoadInfo) XXX_Size

func (m *PayLoadInfo) XXX_Size() int

func (*PayLoadInfo) XXX_Unmarshal

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

type ScoreHistoryTab

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

func NewPopulatedScoreHistoryTab(r randyNode, easy bool) *ScoreHistoryTab

func (*ScoreHistoryTab) Descriptor

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

func (*ScoreHistoryTab) GetDateCreated

func (m *ScoreHistoryTab) GetDateCreated() time.Time

func (*ScoreHistoryTab) GetNodeId

func (m *ScoreHistoryTab) GetNodeId() string

func (*ScoreHistoryTab) GetScore

func (m *ScoreHistoryTab) GetScore() uint32

func (*ScoreHistoryTab) GetStorageVolumeCap

func (m *ScoreHistoryTab) GetStorageVolumeCap() uint64

func (*ScoreHistoryTab) GetStorageVolumeLeft

func (m *ScoreHistoryTab) GetStorageVolumeLeft() uint64

func (*ScoreHistoryTab) GetTimeCreated

func (m *ScoreHistoryTab) GetTimeCreated() time.Time

func (*ScoreHistoryTab) GettableName

func (m *ScoreHistoryTab) GettableName() string

func (*ScoreHistoryTab) Marshal

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

func (*ScoreHistoryTab) MarshalTo

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

func (*ScoreHistoryTab) MarshalToSizedBuffer

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

func (*ScoreHistoryTab) ProtoMessage

func (*ScoreHistoryTab) ProtoMessage()

func (*ScoreHistoryTab) Reset

func (m *ScoreHistoryTab) Reset()

func (*ScoreHistoryTab) Size

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

func (*ScoreHistoryTab) String

func (m *ScoreHistoryTab) String() string

func (*ScoreHistoryTab) Unmarshal

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

func (*ScoreHistoryTab) XXX_DiscardUnknown

func (m *ScoreHistoryTab) XXX_DiscardUnknown()

func (*ScoreHistoryTab) XXX_Marshal

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

func (*ScoreHistoryTab) XXX_Merge

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

func (*ScoreHistoryTab) XXX_MessageName

func (*ScoreHistoryTab) XXX_MessageName() string

func (*ScoreHistoryTab) XXX_Size

func (m *ScoreHistoryTab) XXX_Size() int

func (*ScoreHistoryTab) XXX_Unmarshal

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

type StorageStat

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

func NewPopulatedStorageStat(r randyNode, easy bool) *StorageStat

func (*StorageStat) Descriptor

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

func (*StorageStat) GetHostStats

func (m *StorageStat) GetHostStats() StorageStat_Host

func (*StorageStat) GetRenterStats

func (m *StorageStat) GetRenterStats() StorageStat_Renter

func (*StorageStat) Marshal

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

func (*StorageStat) MarshalTo

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

func (*StorageStat) MarshalToSizedBuffer

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

func (*StorageStat) ProtoMessage

func (*StorageStat) ProtoMessage()

func (*StorageStat) Reset

func (m *StorageStat) Reset()

func (*StorageStat) Size

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

func (*StorageStat) String

func (m *StorageStat) String() string

func (*StorageStat) Unmarshal

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

func (*StorageStat) XXX_DiscardUnknown

func (m *StorageStat) XXX_DiscardUnknown()

func (*StorageStat) XXX_Marshal

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

func (*StorageStat) XXX_Merge

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

func (*StorageStat) XXX_MessageName

func (*StorageStat) XXX_MessageName() string

func (*StorageStat) XXX_Size

func (m *StorageStat) XXX_Size() int

func (*StorageStat) XXX_Unmarshal

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

type StorageStat_Host

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

func NewPopulatedStorageStat_Host(r randyNode, easy bool) *StorageStat_Host

func (*StorageStat_Host) Descriptor

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

func (*StorageStat_Host) GetOnline

func (m *StorageStat_Host) GetOnline() bool

func (*StorageStat_Host) GetStorageCap

func (m *StorageStat_Host) GetStorageCap() int64

func (*StorageStat_Host) GetStorageDiskAvailable

func (m *StorageStat_Host) GetStorageDiskAvailable() int64

func (*StorageStat_Host) GetStorageDiskTotal

func (m *StorageStat_Host) GetStorageDiskTotal() int64

func (*StorageStat_Host) GetStorageUsed

func (m *StorageStat_Host) GetStorageUsed() int64

func (*StorageStat_Host) Marshal

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

func (*StorageStat_Host) MarshalTo

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

func (*StorageStat_Host) MarshalToSizedBuffer

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

func (*StorageStat_Host) ProtoMessage

func (*StorageStat_Host) ProtoMessage()

func (*StorageStat_Host) Reset

func (m *StorageStat_Host) Reset()

func (*StorageStat_Host) Size

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

func (*StorageStat_Host) String

func (m *StorageStat_Host) String() string

func (*StorageStat_Host) Unmarshal

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

func (*StorageStat_Host) XXX_DiscardUnknown

func (m *StorageStat_Host) XXX_DiscardUnknown()

func (*StorageStat_Host) XXX_Marshal

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

func (*StorageStat_Host) XXX_Merge

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

func (*StorageStat_Host) XXX_MessageName

func (*StorageStat_Host) XXX_MessageName() string

func (*StorageStat_Host) XXX_Size

func (m *StorageStat_Host) XXX_Size() int

func (*StorageStat_Host) XXX_Unmarshal

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

type StorageStat_HostStats

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"`
	ActiveScore          float32   `protobuf:"fixed32,16,opt,name=active_score,json=activeScore,proto3" json:"active_score" pg:"active_score"`
	ActiveWeight         float32   `protobuf:"fixed32,17,opt,name=active_weight,json=activeWeight,proto3" json:"active_weight" pg:"active_weight"`
	UptimeLevel          int32     `protobuf:"varint,18,opt,name=uptime_level,json=uptimeLevel,proto3" json:"uptime_level" pg:"uptime_level"`
	AgeLevel             int32     `protobuf:"varint,19,opt,name=age_level,json=ageLevel,proto3" json:"age_level" pg:"age_level"`
	VersionLevel         int32     `protobuf:"varint,20,opt,name=version_level,json=versionLevel,proto3" json:"version_level" pg:"version_level"`
	ActiveLevel          int32     `protobuf:"varint,21,opt,name=active_level,json=activeLevel,proto3" json:"active_level" pg:"active_level"`
	Level                int32     `protobuf:"varint,22,opt,name=level,proto3" json:"level" pg:"level"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func NewPopulatedStorageStat_HostStats

func NewPopulatedStorageStat_HostStats(r randyNode, easy bool) *StorageStat_HostStats

func (*StorageStat_HostStats) Descriptor

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

func (*StorageStat_HostStats) GetActiveLevel

func (m *StorageStat_HostStats) GetActiveLevel() int32

func (*StorageStat_HostStats) GetActiveScore

func (m *StorageStat_HostStats) GetActiveScore() float32

func (*StorageStat_HostStats) GetActiveWeight

func (m *StorageStat_HostStats) GetActiveWeight() float32

func (*StorageStat_HostStats) GetAgeLevel

func (m *StorageStat_HostStats) GetAgeLevel() int32

func (*StorageStat_HostStats) GetAgeScore

func (m *StorageStat_HostStats) GetAgeScore() float32

func (*StorageStat_HostStats) GetAgeWeight

func (m *StorageStat_HostStats) GetAgeWeight() float32

func (*StorageStat_HostStats) GetDownloadSpeedScore

func (m *StorageStat_HostStats) GetDownloadSpeedScore() float32

func (*StorageStat_HostStats) GetDownloadSpeedWeight

func (m *StorageStat_HostStats) GetDownloadSpeedWeight() float32

func (*StorageStat_HostStats) GetLastUpdated

func (m *StorageStat_HostStats) GetLastUpdated() time.Time

func (*StorageStat_HostStats) GetLevel

func (m *StorageStat_HostStats) GetLevel() int32

func (*StorageStat_HostStats) GetScore

func (m *StorageStat_HostStats) GetScore() float32

func (*StorageStat_HostStats) GetSpeedScore

func (m *StorageStat_HostStats) GetSpeedScore() float32

func (*StorageStat_HostStats) GetSpeedWeight

func (m *StorageStat_HostStats) GetSpeedWeight() float32

func (*StorageStat_HostStats) GetUploadSpeedScore

func (m *StorageStat_HostStats) GetUploadSpeedScore() float32

func (*StorageStat_HostStats) GetUploadSpeedWeight

func (m *StorageStat_HostStats) GetUploadSpeedWeight() float32

func (*StorageStat_HostStats) GetUptime

func (m *StorageStat_HostStats) GetUptime() float32

func (*StorageStat_HostStats) GetUptimeLevel

func (m *StorageStat_HostStats) GetUptimeLevel() int32

func (*StorageStat_HostStats) GetUptimeScore

func (m *StorageStat_HostStats) GetUptimeScore() float32

func (*StorageStat_HostStats) GetUptimeWeight

func (m *StorageStat_HostStats) GetUptimeWeight() float32

func (*StorageStat_HostStats) GetVersionLevel

func (m *StorageStat_HostStats) GetVersionLevel() int32

func (*StorageStat_HostStats) GetVersionScore

func (m *StorageStat_HostStats) GetVersionScore() float32

func (*StorageStat_HostStats) GetVersionWeight

func (m *StorageStat_HostStats) GetVersionWeight() float32

func (*StorageStat_HostStats) Marshal

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

func (*StorageStat_HostStats) MarshalTo

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

func (*StorageStat_HostStats) MarshalToSizedBuffer

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

func (*StorageStat_HostStats) ProtoMessage

func (*StorageStat_HostStats) ProtoMessage()

func (*StorageStat_HostStats) Reset

func (m *StorageStat_HostStats) Reset()

func (*StorageStat_HostStats) Size

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

func (*StorageStat_HostStats) String

func (m *StorageStat_HostStats) String() string

func (*StorageStat_HostStats) Unmarshal

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

func (*StorageStat_HostStats) XXX_DiscardUnknown

func (m *StorageStat_HostStats) XXX_DiscardUnknown()

func (*StorageStat_HostStats) XXX_Marshal

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

func (*StorageStat_HostStats) XXX_Merge

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

func (*StorageStat_HostStats) XXX_MessageName

func (*StorageStat_HostStats) XXX_MessageName() string

func (*StorageStat_HostStats) XXX_Size

func (m *StorageStat_HostStats) XXX_Size() int

func (*StorageStat_HostStats) XXX_Unmarshal

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

type StorageStat_Renter

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

func NewPopulatedStorageStat_Renter(r randyNode, easy bool) *StorageStat_Renter

func (*StorageStat_Renter) Descriptor

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

func (*StorageStat_Renter) GetReserved

func (m *StorageStat_Renter) GetReserved() string

func (*StorageStat_Renter) Marshal

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

func (*StorageStat_Renter) MarshalTo

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

func (*StorageStat_Renter) MarshalToSizedBuffer

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

func (*StorageStat_Renter) ProtoMessage

func (*StorageStat_Renter) ProtoMessage()

func (*StorageStat_Renter) Reset

func (m *StorageStat_Renter) Reset()

func (*StorageStat_Renter) Size

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

func (*StorageStat_Renter) String

func (m *StorageStat_Renter) String() string

func (*StorageStat_Renter) Unmarshal

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

func (*StorageStat_Renter) XXX_DiscardUnknown

func (m *StorageStat_Renter) XXX_DiscardUnknown()

func (*StorageStat_Renter) XXX_Marshal

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

func (*StorageStat_Renter) XXX_Merge

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

func (*StorageStat_Renter) XXX_MessageName

func (*StorageStat_Renter) XXX_MessageName() string

func (*StorageStat_Renter) XXX_Size

func (m *StorageStat_Renter) XXX_Size() int

func (*StorageStat_Renter) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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