Documentation ¶
Index ¶
- Variables
- func RegisterManagerServiceServer(s *grpc.Server, srv ManagerServiceServer)
- type DashboardResponse
- func (*DashboardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DashboardResponse) GetAvgBlockProcessingTime() int64
- func (x *DashboardResponse) GetDuration() int64
- func (x *DashboardResponse) GetLatestHeight() int64
- func (x *DashboardResponse) GetMaxPeerHeight() int64
- func (x *DashboardResponse) GetMemoryUsage() uint64
- func (x *DashboardResponse) GetMissedBlocks() string
- func (x *DashboardResponse) GetPeersCount() int32
- func (x *DashboardResponse) GetStake() string
- func (x *DashboardResponse) GetTimePerBlock() int64
- func (x *DashboardResponse) GetTimestamp() *timestamp.Timestamp
- func (x *DashboardResponse) GetValidatorPubKey() string
- func (x *DashboardResponse) GetValidatorStatus() DashboardResponse_ValidatorStatus
- func (x *DashboardResponse) GetVotingPower() int64
- func (*DashboardResponse) ProtoMessage()
- func (x *DashboardResponse) ProtoReflect() protoreflect.Message
- func (x *DashboardResponse) Reset()
- func (x *DashboardResponse) String() string
- type DashboardResponse_ValidatorStatus
- func (DashboardResponse_ValidatorStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DashboardResponse_ValidatorStatus) Enum() *DashboardResponse_ValidatorStatus
- func (DashboardResponse_ValidatorStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DashboardResponse_ValidatorStatus) Number() protoreflect.EnumNumber
- func (x DashboardResponse_ValidatorStatus) String() string
- func (DashboardResponse_ValidatorStatus) Type() protoreflect.EnumType
- type DealPeerRequest
- func (*DealPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DealPeerRequest) GetAddress() string
- func (x *DealPeerRequest) GetPersistent() bool
- func (*DealPeerRequest) ProtoMessage()
- func (x *DealPeerRequest) ProtoReflect() protoreflect.Message
- func (x *DealPeerRequest) Reset()
- func (x *DealPeerRequest) String() string
- type ManagerServiceClient
- type ManagerServiceServer
- type ManagerService_DashboardClient
- type ManagerService_DashboardServer
- type ManagerService_PruneBlocksClient
- type ManagerService_PruneBlocksServer
- type NetInfoResponse
- func (*NetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse) GetListeners() []string
- func (x *NetInfoResponse) GetListening() bool
- func (x *NetInfoResponse) GetNPeers() int64
- func (x *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
- func (*NetInfoResponse) ProtoMessage()
- func (x *NetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse) Reset()
- func (x *NetInfoResponse) String() string
- type NetInfoResponse_Peer
- func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
- func (x *NetInfoResponse_Peer) GetIsOutbound() bool
- func (x *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
- func (x *NetInfoResponse_Peer) GetRemoteIp() string
- func (*NetInfoResponse_Peer) ProtoMessage()
- func (x *NetInfoResponse_Peer) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer) Reset()
- func (x *NetInfoResponse_Peer) String() string
- type NetInfoResponse_Peer_ConnectionStatus
- func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetDuration() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus) String() string
- type NetInfoResponse_Peer_ConnectionStatus_Channel
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetID() int32
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() int64
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
- type NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() uint32
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() int64
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() int64
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetChannels() string
- func (x *NodeInfo) GetId() string
- func (x *NodeInfo) GetListenAddr() string
- func (x *NodeInfo) GetMoniker() string
- func (x *NodeInfo) GetNetwork() string
- func (x *NodeInfo) GetOther() *NodeInfo_Other
- func (x *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
- func (x *NodeInfo) GetVersion() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfo_Other
- func (*NodeInfo_Other) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_Other) GetRpcAddress() string
- func (x *NodeInfo_Other) GetTxIndex() string
- func (*NodeInfo_Other) ProtoMessage()
- func (x *NodeInfo_Other) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_Other) Reset()
- func (x *NodeInfo_Other) String() string
- type NodeInfo_ProtocolVersion
- func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_ProtocolVersion) GetApp() uint64
- func (x *NodeInfo_ProtocolVersion) GetBlock() uint64
- func (x *NodeInfo_ProtocolVersion) GetP2P() uint64
- func (*NodeInfo_ProtocolVersion) ProtoMessage()
- func (x *NodeInfo_ProtocolVersion) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_ProtocolVersion) Reset()
- func (x *NodeInfo_ProtocolVersion) String() string
- type PruneBlocksRequest
- func (*PruneBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PruneBlocksRequest) GetFromHeight() int64
- func (x *PruneBlocksRequest) GetToHeight() int64
- func (*PruneBlocksRequest) ProtoMessage()
- func (x *PruneBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *PruneBlocksRequest) Reset()
- func (x *PruneBlocksRequest) String() string
- type PruneBlocksResponse
- func (*PruneBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PruneBlocksResponse) GetCurrent() int64
- func (x *PruneBlocksResponse) GetTotal() int64
- func (*PruneBlocksResponse) ProtoMessage()
- func (x *PruneBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *PruneBlocksResponse) Reset()
- func (x *PruneBlocksResponse) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetCatchingUp() bool
- func (x *StatusResponse) GetKeepLastStates() string
- func (x *StatusResponse) GetLatestAppHash() string
- func (x *StatusResponse) GetLatestBlockHash() string
- func (x *StatusResponse) GetLatestBlockHeight() string
- func (x *StatusResponse) GetLatestBlockTime() string
- func (x *StatusResponse) GetNodeId() string
- func (x *StatusResponse) GetPublicKey() string
- func (x *StatusResponse) GetVersion() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type UnimplementedManagerServiceServer
- func (*UnimplementedManagerServiceServer) Dashboard(*empty.Empty, ManagerService_DashboardServer) error
- func (*UnimplementedManagerServiceServer) DealPeer(context.Context, *DealPeerRequest) (*empty.Empty, error)
- func (*UnimplementedManagerServiceServer) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error)
- func (*UnimplementedManagerServiceServer) PruneBlocks(*PruneBlocksRequest, ManagerService_PruneBlocksServer) error
- func (*UnimplementedManagerServiceServer) Status(context.Context, *empty.Empty) (*StatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( DashboardResponse_ValidatorStatus_name = map[int32]string{ 0: "Validating", 1: "Challenger", 2: "Offline", 3: "NotDeclared", } DashboardResponse_ValidatorStatus_value = map[string]int32{ "Validating": 0, "Challenger": 1, "Offline": 2, "NotDeclared": 3, } )
Enum value maps for DashboardResponse_ValidatorStatus.
var File_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterManagerServiceServer ¶
func RegisterManagerServiceServer(s *grpc.Server, srv ManagerServiceServer)
Types ¶
type DashboardResponse ¶
type DashboardResponse struct { LatestHeight int64 `protobuf:"varint,1,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Duration int64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` MemoryUsage uint64 `protobuf:"varint,4,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` ValidatorPubKey string `protobuf:"bytes,5,opt,name=validator_pub_key,json=validatorPubKey,proto3" json:"validator_pub_key,omitempty"` MaxPeerHeight int64 `protobuf:"varint,6,opt,name=max_peer_height,json=maxPeerHeight,proto3" json:"max_peer_height,omitempty"` PeersCount int32 `protobuf:"varint,7,opt,name=peers_count,json=peersCount,proto3" json:"peers_count,omitempty"` AvgBlockProcessingTime int64 `` /* 132-byte string literal not displayed */ TimePerBlock int64 `protobuf:"varint,9,opt,name=time_per_block,json=timePerBlock,proto3" json:"time_per_block,omitempty"` MissedBlocks string `protobuf:"bytes,10,opt,name=missed_blocks,json=missedBlocks,proto3" json:"missed_blocks,omitempty"` VotingPower int64 `protobuf:"varint,11,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` Stake string `protobuf:"bytes,12,opt,name=stake,proto3" json:"stake,omitempty"` ValidatorStatus DashboardResponse_ValidatorStatus `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DashboardResponse) Descriptor
deprecated
func (*DashboardResponse) Descriptor() ([]byte, []int)
Deprecated: Use DashboardResponse.ProtoReflect.Descriptor instead.
func (*DashboardResponse) GetAvgBlockProcessingTime ¶
func (x *DashboardResponse) GetAvgBlockProcessingTime() int64
func (*DashboardResponse) GetDuration ¶
func (x *DashboardResponse) GetDuration() int64
func (*DashboardResponse) GetLatestHeight ¶
func (x *DashboardResponse) GetLatestHeight() int64
func (*DashboardResponse) GetMaxPeerHeight ¶
func (x *DashboardResponse) GetMaxPeerHeight() int64
func (*DashboardResponse) GetMemoryUsage ¶
func (x *DashboardResponse) GetMemoryUsage() uint64
func (*DashboardResponse) GetMissedBlocks ¶
func (x *DashboardResponse) GetMissedBlocks() string
func (*DashboardResponse) GetPeersCount ¶
func (x *DashboardResponse) GetPeersCount() int32
func (*DashboardResponse) GetStake ¶
func (x *DashboardResponse) GetStake() string
func (*DashboardResponse) GetTimePerBlock ¶
func (x *DashboardResponse) GetTimePerBlock() int64
func (*DashboardResponse) GetTimestamp ¶
func (x *DashboardResponse) GetTimestamp() *timestamp.Timestamp
func (*DashboardResponse) GetValidatorPubKey ¶
func (x *DashboardResponse) GetValidatorPubKey() string
func (*DashboardResponse) GetValidatorStatus ¶
func (x *DashboardResponse) GetValidatorStatus() DashboardResponse_ValidatorStatus
func (*DashboardResponse) GetVotingPower ¶
func (x *DashboardResponse) GetVotingPower() int64
func (*DashboardResponse) ProtoMessage ¶
func (*DashboardResponse) ProtoMessage()
func (*DashboardResponse) ProtoReflect ¶
func (x *DashboardResponse) ProtoReflect() protoreflect.Message
func (*DashboardResponse) Reset ¶
func (x *DashboardResponse) Reset()
func (*DashboardResponse) String ¶
func (x *DashboardResponse) String() string
type DashboardResponse_ValidatorStatus ¶
type DashboardResponse_ValidatorStatus int32
const ( DashboardResponse_Validating DashboardResponse_ValidatorStatus = 0 DashboardResponse_Challenger DashboardResponse_ValidatorStatus = 1 DashboardResponse_Offline DashboardResponse_ValidatorStatus = 2 DashboardResponse_NotDeclared DashboardResponse_ValidatorStatus = 3 )
func (DashboardResponse_ValidatorStatus) Descriptor ¶
func (DashboardResponse_ValidatorStatus) Descriptor() protoreflect.EnumDescriptor
func (DashboardResponse_ValidatorStatus) Enum ¶
func (x DashboardResponse_ValidatorStatus) Enum() *DashboardResponse_ValidatorStatus
func (DashboardResponse_ValidatorStatus) EnumDescriptor
deprecated
func (DashboardResponse_ValidatorStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DashboardResponse_ValidatorStatus.Descriptor instead.
func (DashboardResponse_ValidatorStatus) Number ¶
func (x DashboardResponse_ValidatorStatus) Number() protoreflect.EnumNumber
func (DashboardResponse_ValidatorStatus) String ¶
func (x DashboardResponse_ValidatorStatus) String() string
func (DashboardResponse_ValidatorStatus) Type ¶
func (DashboardResponse_ValidatorStatus) Type() protoreflect.EnumType
type DealPeerRequest ¶
type DealPeerRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Persistent bool `protobuf:"varint,2,opt,name=persistent,proto3" json:"persistent,omitempty"` // contains filtered or unexported fields }
func (*DealPeerRequest) Descriptor
deprecated
func (*DealPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DealPeerRequest.ProtoReflect.Descriptor instead.
func (*DealPeerRequest) GetAddress ¶
func (x *DealPeerRequest) GetAddress() string
func (*DealPeerRequest) GetPersistent ¶
func (x *DealPeerRequest) GetPersistent() bool
func (*DealPeerRequest) ProtoMessage ¶
func (*DealPeerRequest) ProtoMessage()
func (*DealPeerRequest) ProtoReflect ¶
func (x *DealPeerRequest) ProtoReflect() protoreflect.Message
func (*DealPeerRequest) Reset ¶
func (x *DealPeerRequest) Reset()
func (*DealPeerRequest) String ¶
func (x *DealPeerRequest) String() string
type ManagerServiceClient ¶
type ManagerServiceClient interface { Status(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatusResponse, error) NetInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NetInfoResponse, error) PruneBlocks(ctx context.Context, in *PruneBlocksRequest, opts ...grpc.CallOption) (ManagerService_PruneBlocksClient, error) DealPeer(ctx context.Context, in *DealPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) Dashboard(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ManagerService_DashboardClient, error) }
ManagerServiceClient is the client API for ManagerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManagerServiceClient ¶
func NewManagerServiceClient(cc grpc.ClientConnInterface) ManagerServiceClient
type ManagerServiceServer ¶
type ManagerServiceServer interface { Status(context.Context, *empty.Empty) (*StatusResponse, error) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error) PruneBlocks(*PruneBlocksRequest, ManagerService_PruneBlocksServer) error DealPeer(context.Context, *DealPeerRequest) (*empty.Empty, error) Dashboard(*empty.Empty, ManagerService_DashboardServer) error }
ManagerServiceServer is the server API for ManagerService service.
type ManagerService_DashboardClient ¶
type ManagerService_DashboardClient interface { Recv() (*DashboardResponse, error) grpc.ClientStream }
type ManagerService_DashboardServer ¶
type ManagerService_DashboardServer interface { Send(*DashboardResponse) error grpc.ServerStream }
type ManagerService_PruneBlocksClient ¶
type ManagerService_PruneBlocksClient interface { Recv() (*PruneBlocksResponse, error) grpc.ClientStream }
type ManagerService_PruneBlocksServer ¶
type ManagerService_PruneBlocksServer interface { Send(*PruneBlocksResponse) error grpc.ServerStream }
type NetInfoResponse ¶
type NetInfoResponse struct { Listening bool `protobuf:"varint,4,opt,name=listening,proto3" json:"listening,omitempty"` Listeners []string `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"` NPeers int64 `protobuf:"varint,2,opt,name=n_peers,json=nPeers,proto3" json:"n_peers,omitempty"` Peers []*NetInfoResponse_Peer `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse) Descriptor
deprecated
func (*NetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse.ProtoReflect.Descriptor instead.
func (*NetInfoResponse) GetListeners ¶
func (x *NetInfoResponse) GetListeners() []string
func (*NetInfoResponse) GetListening ¶
func (x *NetInfoResponse) GetListening() bool
func (*NetInfoResponse) GetNPeers ¶
func (x *NetInfoResponse) GetNPeers() int64
func (*NetInfoResponse) GetPeers ¶
func (x *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
func (*NetInfoResponse) ProtoMessage ¶
func (*NetInfoResponse) ProtoMessage()
func (*NetInfoResponse) ProtoReflect ¶
func (x *NetInfoResponse) ProtoReflect() protoreflect.Message
func (*NetInfoResponse) Reset ¶
func (x *NetInfoResponse) Reset()
func (*NetInfoResponse) String ¶
func (x *NetInfoResponse) String() string
type NetInfoResponse_Peer ¶
type NetInfoResponse_Peer struct { NodeInfo *NodeInfo `protobuf:"bytes,4,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` IsOutbound bool `protobuf:"varint,1,opt,name=is_outbound,json=isOutbound,proto3" json:"is_outbound,omitempty"` ConnectionStatus *NetInfoResponse_Peer_ConnectionStatus `protobuf:"bytes,2,opt,name=connection_status,json=connectionStatus,proto3" json:"connection_status,omitempty"` RemoteIp string `protobuf:"bytes,3,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer) Descriptor
deprecated
func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer) GetConnectionStatus ¶
func (x *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
func (*NetInfoResponse_Peer) GetIsOutbound ¶
func (x *NetInfoResponse_Peer) GetIsOutbound() bool
func (*NetInfoResponse_Peer) GetNodeInfo ¶
func (x *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
func (*NetInfoResponse_Peer) GetRemoteIp ¶
func (x *NetInfoResponse_Peer) GetRemoteIp() string
func (*NetInfoResponse_Peer) ProtoMessage ¶
func (*NetInfoResponse_Peer) ProtoMessage()
func (*NetInfoResponse_Peer) ProtoReflect ¶
func (x *NetInfoResponse_Peer) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer) Reset ¶
func (x *NetInfoResponse_Peer) Reset()
func (*NetInfoResponse_Peer) String ¶
func (x *NetInfoResponse_Peer) String() string
type NetInfoResponse_Peer_ConnectionStatus ¶
type NetInfoResponse_Peer_ConnectionStatus struct { Duration int64 `protobuf:"varint,4,opt,name=Duration,proto3" json:"Duration,omitempty"` SendMonitor *NetInfoResponse_Peer_ConnectionStatus_Monitor `protobuf:"bytes,1,opt,name=SendMonitor,proto3" json:"SendMonitor,omitempty"` RecvMonitor *NetInfoResponse_Peer_ConnectionStatus_Monitor `protobuf:"bytes,2,opt,name=RecvMonitor,proto3" json:"RecvMonitor,omitempty"` Channels []*NetInfoResponse_Peer_ConnectionStatus_Channel `protobuf:"bytes,3,rep,name=Channels,proto3" json:"Channels,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus) GetChannels ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
func (*NetInfoResponse_Peer_ConnectionStatus) GetDuration ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetDuration() int64
func (*NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) String() string
type NetInfoResponse_Peer_ConnectionStatus_Channel ¶
type NetInfoResponse_Peer_ConnectionStatus_Channel struct { ID int32 `protobuf:"varint,5,opt,name=ID,proto3" json:"ID,omitempty"` SendQueueCapacity int64 `protobuf:"varint,1,opt,name=SendQueueCapacity,proto3" json:"SendQueueCapacity,omitempty"` SendQueueSize int64 `protobuf:"varint,2,opt,name=SendQueueSize,proto3" json:"SendQueueSize,omitempty"` Priority int64 `protobuf:"varint,3,opt,name=Priority,proto3" json:"Priority,omitempty"` RecentlySent int64 `protobuf:"varint,4,opt,name=RecentlySent,proto3" json:"RecentlySent,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Channel.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetID ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetID() int32
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
type NetInfoResponse_Peer_ConnectionStatus_Monitor ¶
type NetInfoResponse_Peer_ConnectionStatus_Monitor struct { Active bool `protobuf:"varint,13,opt,name=Active,proto3" json:"Active,omitempty"` Start string `protobuf:"bytes,1,opt,name=Start,proto3" json:"Start,omitempty"` Duration int64 `protobuf:"varint,2,opt,name=Duration,proto3" json:"Duration,omitempty"` Idle int64 `protobuf:"varint,3,opt,name=Idle,proto3" json:"Idle,omitempty"` Bytes int64 `protobuf:"varint,4,opt,name=Bytes,proto3" json:"Bytes,omitempty"` Samples int64 `protobuf:"varint,5,opt,name=Samples,proto3" json:"Samples,omitempty"` InstRate int64 `protobuf:"varint,6,opt,name=InstRate,proto3" json:"InstRate,omitempty"` CurRate int64 `protobuf:"varint,7,opt,name=CurRate,proto3" json:"CurRate,omitempty"` AvgRate int64 `protobuf:"varint,8,opt,name=AvgRate,proto3" json:"AvgRate,omitempty"` PeakRate int64 `protobuf:"varint,9,opt,name=PeakRate,proto3" json:"PeakRate,omitempty"` BytesRem int64 `protobuf:"varint,10,opt,name=BytesRem,proto3" json:"BytesRem,omitempty"` TimeRem int64 `protobuf:"varint,11,opt,name=TimeRem,proto3" json:"TimeRem,omitempty"` Progress uint32 `protobuf:"varint,12,opt,name=Progress,proto3" json:"Progress,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Monitor.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() uint32
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
type NodeInfo ¶
type NodeInfo struct { ProtocolVersion *NodeInfo_ProtocolVersion `protobuf:"bytes,8,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ListenAddr string `protobuf:"bytes,2,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"` Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Channels string `protobuf:"bytes,5,opt,name=channels,proto3" json:"channels,omitempty"` Moniker string `protobuf:"bytes,6,opt,name=moniker,proto3" json:"moniker,omitempty"` Other *NodeInfo_Other `protobuf:"bytes,7,opt,name=other,proto3" json:"other,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetChannels ¶
func (*NodeInfo) GetListenAddr ¶
func (*NodeInfo) GetMoniker ¶
func (*NodeInfo) GetNetwork ¶
func (*NodeInfo) GetOther ¶
func (x *NodeInfo) GetOther() *NodeInfo_Other
func (*NodeInfo) GetProtocolVersion ¶
func (x *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
func (*NodeInfo) GetVersion ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfo_Other ¶
type NodeInfo_Other struct { TxIndex string `protobuf:"bytes,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` RpcAddress string `protobuf:"bytes,1,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_Other) Descriptor
deprecated
func (*NodeInfo_Other) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_Other.ProtoReflect.Descriptor instead.
func (*NodeInfo_Other) GetRpcAddress ¶
func (x *NodeInfo_Other) GetRpcAddress() string
func (*NodeInfo_Other) GetTxIndex ¶
func (x *NodeInfo_Other) GetTxIndex() string
func (*NodeInfo_Other) ProtoMessage ¶
func (*NodeInfo_Other) ProtoMessage()
func (*NodeInfo_Other) ProtoReflect ¶
func (x *NodeInfo_Other) ProtoReflect() protoreflect.Message
func (*NodeInfo_Other) Reset ¶
func (x *NodeInfo_Other) Reset()
func (*NodeInfo_Other) String ¶
func (x *NodeInfo_Other) String() string
type NodeInfo_ProtocolVersion ¶
type NodeInfo_ProtocolVersion struct { P2P uint64 `protobuf:"varint,3,opt,name=p2p,proto3" json:"p2p,omitempty"` Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"` App uint64 `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_ProtocolVersion) Descriptor
deprecated
func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_ProtocolVersion.ProtoReflect.Descriptor instead.
func (*NodeInfo_ProtocolVersion) GetApp ¶
func (x *NodeInfo_ProtocolVersion) GetApp() uint64
func (*NodeInfo_ProtocolVersion) GetBlock ¶
func (x *NodeInfo_ProtocolVersion) GetBlock() uint64
func (*NodeInfo_ProtocolVersion) GetP2P ¶
func (x *NodeInfo_ProtocolVersion) GetP2P() uint64
func (*NodeInfo_ProtocolVersion) ProtoMessage ¶
func (*NodeInfo_ProtocolVersion) ProtoMessage()
func (*NodeInfo_ProtocolVersion) ProtoReflect ¶
func (x *NodeInfo_ProtocolVersion) ProtoReflect() protoreflect.Message
func (*NodeInfo_ProtocolVersion) Reset ¶
func (x *NodeInfo_ProtocolVersion) Reset()
func (*NodeInfo_ProtocolVersion) String ¶
func (x *NodeInfo_ProtocolVersion) String() string
type PruneBlocksRequest ¶
type PruneBlocksRequest struct { FromHeight int64 `protobuf:"varint,1,opt,name=from_height,json=fromHeight,proto3" json:"from_height,omitempty"` ToHeight int64 `protobuf:"varint,2,opt,name=to_height,json=toHeight,proto3" json:"to_height,omitempty"` // contains filtered or unexported fields }
func (*PruneBlocksRequest) Descriptor
deprecated
func (*PruneBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use PruneBlocksRequest.ProtoReflect.Descriptor instead.
func (*PruneBlocksRequest) GetFromHeight ¶
func (x *PruneBlocksRequest) GetFromHeight() int64
func (*PruneBlocksRequest) GetToHeight ¶
func (x *PruneBlocksRequest) GetToHeight() int64
func (*PruneBlocksRequest) ProtoMessage ¶
func (*PruneBlocksRequest) ProtoMessage()
func (*PruneBlocksRequest) ProtoReflect ¶
func (x *PruneBlocksRequest) ProtoReflect() protoreflect.Message
func (*PruneBlocksRequest) Reset ¶
func (x *PruneBlocksRequest) Reset()
func (*PruneBlocksRequest) String ¶
func (x *PruneBlocksRequest) String() string
type PruneBlocksResponse ¶
type PruneBlocksResponse struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
func (*PruneBlocksResponse) Descriptor
deprecated
func (*PruneBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use PruneBlocksResponse.ProtoReflect.Descriptor instead.
func (*PruneBlocksResponse) GetCurrent ¶
func (x *PruneBlocksResponse) GetCurrent() int64
func (*PruneBlocksResponse) GetTotal ¶
func (x *PruneBlocksResponse) GetTotal() int64
func (*PruneBlocksResponse) ProtoMessage ¶
func (*PruneBlocksResponse) ProtoMessage()
func (*PruneBlocksResponse) ProtoReflect ¶
func (x *PruneBlocksResponse) ProtoReflect() protoreflect.Message
func (*PruneBlocksResponse) Reset ¶
func (x *PruneBlocksResponse) Reset()
func (*PruneBlocksResponse) String ¶
func (x *PruneBlocksResponse) String() string
type StatusResponse ¶
type StatusResponse struct { Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` LatestBlockHash string `protobuf:"bytes,1,opt,name=latest_block_hash,json=latestBlockHash,proto3" json:"latest_block_hash,omitempty"` LatestAppHash string `protobuf:"bytes,2,opt,name=latest_app_hash,json=latestAppHash,proto3" json:"latest_app_hash,omitempty"` LatestBlockHeight string `protobuf:"bytes,3,opt,name=latest_block_height,json=latestBlockHeight,proto3" json:"latest_block_height,omitempty"` LatestBlockTime string `protobuf:"bytes,4,opt,name=latest_block_time,json=latestBlockTime,proto3" json:"latest_block_time,omitempty"` KeepLastStates string `protobuf:"bytes,5,opt,name=keep_last_states,json=keepLastStates,proto3" json:"keep_last_states,omitempty"` CatchingUp bool `protobuf:"varint,6,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` NodeId string `protobuf:"bytes,9,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetCatchingUp ¶
func (x *StatusResponse) GetCatchingUp() bool
func (*StatusResponse) GetKeepLastStates ¶
func (x *StatusResponse) GetKeepLastStates() string
func (*StatusResponse) GetLatestAppHash ¶
func (x *StatusResponse) GetLatestAppHash() string
func (*StatusResponse) GetLatestBlockHash ¶
func (x *StatusResponse) GetLatestBlockHash() string
func (*StatusResponse) GetLatestBlockHeight ¶
func (x *StatusResponse) GetLatestBlockHeight() string
func (*StatusResponse) GetLatestBlockTime ¶
func (x *StatusResponse) GetLatestBlockTime() string
func (*StatusResponse) GetNodeId ¶
func (x *StatusResponse) GetNodeId() string
func (*StatusResponse) GetPublicKey ¶
func (x *StatusResponse) GetPublicKey() string
func (*StatusResponse) GetVersion ¶
func (x *StatusResponse) GetVersion() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type UnimplementedManagerServiceServer ¶
type UnimplementedManagerServiceServer struct { }
UnimplementedManagerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedManagerServiceServer) Dashboard ¶
func (*UnimplementedManagerServiceServer) Dashboard(*empty.Empty, ManagerService_DashboardServer) error
func (*UnimplementedManagerServiceServer) DealPeer ¶
func (*UnimplementedManagerServiceServer) DealPeer(context.Context, *DealPeerRequest) (*empty.Empty, error)
func (*UnimplementedManagerServiceServer) NetInfo ¶
func (*UnimplementedManagerServiceServer) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error)
func (*UnimplementedManagerServiceServer) PruneBlocks ¶
func (*UnimplementedManagerServiceServer) PruneBlocks(*PruneBlocksRequest, ManagerService_PruneBlocksServer) error
func (*UnimplementedManagerServiceServer) Status ¶
func (*UnimplementedManagerServiceServer) Status(context.Context, *empty.Empty) (*StatusResponse, error)