Documentation ¶
Index ¶
- Variables
- func RegisterManagerServiceServer(s *grpc.Server, srv ManagerServiceServer)
- type DashboardResponse
- func (*DashboardResponse) Descriptor() ([]byte, []int)
- func (m *DashboardResponse) GetAvgBlockProcessingTime() int64
- func (m *DashboardResponse) GetDuration() int64
- func (m *DashboardResponse) GetLatestHeight() int64
- func (m *DashboardResponse) GetMaxPeerHeight() int64
- func (m *DashboardResponse) GetMemoryUsage() uint64
- func (m *DashboardResponse) GetMissedBlocks() string
- func (m *DashboardResponse) GetPeersCount() int32
- func (m *DashboardResponse) GetStake() string
- func (m *DashboardResponse) GetTimePerBlock() int64
- func (m *DashboardResponse) GetTimestamp() *timestamp.Timestamp
- func (m *DashboardResponse) GetValidatorPubKey() string
- func (m *DashboardResponse) GetValidatorStatus() DashboardResponse_ValidatorStatus
- func (m *DashboardResponse) GetVotingPower() int64
- func (*DashboardResponse) ProtoMessage()
- func (m *DashboardResponse) Reset()
- func (m *DashboardResponse) String() string
- func (m *DashboardResponse) XXX_DiscardUnknown()
- func (m *DashboardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DashboardResponse) XXX_Merge(src proto.Message)
- func (m *DashboardResponse) XXX_Size() int
- func (m *DashboardResponse) XXX_Unmarshal(b []byte) error
- type DashboardResponse_ValidatorStatus
- type DealPeerRequest
- func (*DealPeerRequest) Descriptor() ([]byte, []int)
- func (m *DealPeerRequest) GetAddress() string
- func (m *DealPeerRequest) GetPersistent() bool
- func (*DealPeerRequest) ProtoMessage()
- func (m *DealPeerRequest) Reset()
- func (m *DealPeerRequest) String() string
- func (m *DealPeerRequest) XXX_DiscardUnknown()
- func (m *DealPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DealPeerRequest) XXX_Merge(src proto.Message)
- func (m *DealPeerRequest) XXX_Size() int
- func (m *DealPeerRequest) XXX_Unmarshal(b []byte) error
- type ManagerServiceClient
- type ManagerServiceServer
- type ManagerService_DashboardClient
- type ManagerService_DashboardServer
- type NetInfoResponse
- func (*NetInfoResponse) Descriptor() ([]byte, []int)
- func (m *NetInfoResponse) GetListeners() []string
- func (m *NetInfoResponse) GetListening() bool
- func (m *NetInfoResponse) GetNPeers() int64
- func (m *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
- func (*NetInfoResponse) ProtoMessage()
- func (m *NetInfoResponse) Reset()
- func (m *NetInfoResponse) String() string
- func (m *NetInfoResponse) XXX_DiscardUnknown()
- func (m *NetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetInfoResponse) XXX_Merge(src proto.Message)
- func (m *NetInfoResponse) XXX_Size() int
- func (m *NetInfoResponse) XXX_Unmarshal(b []byte) error
- type NetInfoResponse_Peer
- func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)
- func (m *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
- func (m *NetInfoResponse_Peer) GetIsOutbound() bool
- func (m *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
- func (m *NetInfoResponse_Peer) GetRemoteIp() string
- func (*NetInfoResponse_Peer) ProtoMessage()
- func (m *NetInfoResponse_Peer) Reset()
- func (m *NetInfoResponse_Peer) String() string
- func (m *NetInfoResponse_Peer) XXX_DiscardUnknown()
- func (m *NetInfoResponse_Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetInfoResponse_Peer) XXX_Merge(src proto.Message)
- func (m *NetInfoResponse_Peer) XXX_Size() int
- func (m *NetInfoResponse_Peer) XXX_Unmarshal(b []byte) error
- type NetInfoResponse_Peer_ConnectionStatus
- func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)
- func (m *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
- func (m *NetInfoResponse_Peer_ConnectionStatus) GetDuration() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (m *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
- func (m *NetInfoResponse_Peer_ConnectionStatus) Reset()
- func (m *NetInfoResponse_Peer_ConnectionStatus) String() string
- func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_DiscardUnknown()
- func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Merge(src proto.Message)
- func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Size() int
- func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Unmarshal(b []byte) error
- type NetInfoResponse_Peer_ConnectionStatus_Channel
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetID() int32
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() int64
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_DiscardUnknown()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Merge(src proto.Message)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Size() int
- func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Unmarshal(b []byte) error
- type NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() uint32
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() int64
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() int64
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_DiscardUnknown()
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Merge(src proto.Message)
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Size() int
- func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Unmarshal(b []byte) error
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)
- func (m *NodeInfo) GetChannels() string
- func (m *NodeInfo) GetId() string
- func (m *NodeInfo) GetListenAddr() string
- func (m *NodeInfo) GetMoniker() string
- func (m *NodeInfo) GetNetwork() string
- func (m *NodeInfo) GetOther() *NodeInfo_Other
- func (m *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
- func (m *NodeInfo) GetVersion() string
- func (*NodeInfo) ProtoMessage()
- func (m *NodeInfo) Reset()
- func (m *NodeInfo) String() string
- func (m *NodeInfo) XXX_DiscardUnknown()
- func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeInfo) XXX_Merge(src proto.Message)
- func (m *NodeInfo) XXX_Size() int
- func (m *NodeInfo) XXX_Unmarshal(b []byte) error
- type NodeInfo_Other
- func (*NodeInfo_Other) Descriptor() ([]byte, []int)
- func (m *NodeInfo_Other) GetRpcAddress() string
- func (m *NodeInfo_Other) GetTxIndex() string
- func (*NodeInfo_Other) ProtoMessage()
- func (m *NodeInfo_Other) Reset()
- func (m *NodeInfo_Other) String() string
- func (m *NodeInfo_Other) XXX_DiscardUnknown()
- func (m *NodeInfo_Other) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeInfo_Other) XXX_Merge(src proto.Message)
- func (m *NodeInfo_Other) XXX_Size() int
- func (m *NodeInfo_Other) XXX_Unmarshal(b []byte) error
- type NodeInfo_ProtocolVersion
- func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)
- func (m *NodeInfo_ProtocolVersion) GetApp() uint64
- func (m *NodeInfo_ProtocolVersion) GetBlock() uint64
- func (m *NodeInfo_ProtocolVersion) GetP2P() uint64
- func (*NodeInfo_ProtocolVersion) ProtoMessage()
- func (m *NodeInfo_ProtocolVersion) Reset()
- func (m *NodeInfo_ProtocolVersion) String() string
- func (m *NodeInfo_ProtocolVersion) XXX_DiscardUnknown()
- func (m *NodeInfo_ProtocolVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeInfo_ProtocolVersion) XXX_Merge(src proto.Message)
- func (m *NodeInfo_ProtocolVersion) XXX_Size() int
- func (m *NodeInfo_ProtocolVersion) XXX_Unmarshal(b []byte) error
- type PruneBlocksRequest
- func (*PruneBlocksRequest) Descriptor() ([]byte, []int)
- func (m *PruneBlocksRequest) GetFromHeight() int64
- func (m *PruneBlocksRequest) GetToHeight() int64
- func (*PruneBlocksRequest) ProtoMessage()
- func (m *PruneBlocksRequest) Reset()
- func (m *PruneBlocksRequest) String() string
- func (m *PruneBlocksRequest) XXX_DiscardUnknown()
- func (m *PruneBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PruneBlocksRequest) XXX_Merge(src proto.Message)
- func (m *PruneBlocksRequest) XXX_Size() int
- func (m *PruneBlocksRequest) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetKeepLastStates() int64
- func (m *StatusResponse) GetLatestAppHash() string
- func (m *StatusResponse) GetLatestBlockHash() string
- func (m *StatusResponse) GetLatestBlockHeight() int64
- func (m *StatusResponse) GetLatestBlockTime() string
- func (m *StatusResponse) GetTmStatus() *StatusResponse_TmStatus
- func (m *StatusResponse) GetVersion() string
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) String() string
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type StatusResponse_TmStatus
- func (*StatusResponse_TmStatus) Descriptor() ([]byte, []int)
- func (m *StatusResponse_TmStatus) GetNodeInfo() *NodeInfo
- func (m *StatusResponse_TmStatus) GetSyncInfo() *StatusResponse_TmStatus_SyncInfo
- func (m *StatusResponse_TmStatus) GetValidatorInfo() *StatusResponse_TmStatus_ValidatorInfo
- func (*StatusResponse_TmStatus) ProtoMessage()
- func (m *StatusResponse_TmStatus) Reset()
- func (m *StatusResponse_TmStatus) String() string
- func (m *StatusResponse_TmStatus) XXX_DiscardUnknown()
- func (m *StatusResponse_TmStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse_TmStatus) XXX_Merge(src proto.Message)
- func (m *StatusResponse_TmStatus) XXX_Size() int
- func (m *StatusResponse_TmStatus) XXX_Unmarshal(b []byte) error
- type StatusResponse_TmStatus_SyncInfo
- func (*StatusResponse_TmStatus_SyncInfo) Descriptor() ([]byte, []int)
- func (m *StatusResponse_TmStatus_SyncInfo) GetCatchingUp() bool
- func (m *StatusResponse_TmStatus_SyncInfo) GetLatestAppHash() string
- func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockHash() string
- func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockHeight() int64
- func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockTime() string
- func (*StatusResponse_TmStatus_SyncInfo) ProtoMessage()
- func (m *StatusResponse_TmStatus_SyncInfo) Reset()
- func (m *StatusResponse_TmStatus_SyncInfo) String() string
- func (m *StatusResponse_TmStatus_SyncInfo) XXX_DiscardUnknown()
- func (m *StatusResponse_TmStatus_SyncInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse_TmStatus_SyncInfo) XXX_Merge(src proto.Message)
- func (m *StatusResponse_TmStatus_SyncInfo) XXX_Size() int
- func (m *StatusResponse_TmStatus_SyncInfo) XXX_Unmarshal(b []byte) error
- type StatusResponse_TmStatus_ValidatorInfo
- func (*StatusResponse_TmStatus_ValidatorInfo) Descriptor() ([]byte, []int)
- func (m *StatusResponse_TmStatus_ValidatorInfo) GetAddress() string
- func (m *StatusResponse_TmStatus_ValidatorInfo) GetPubKey() *StatusResponse_TmStatus_ValidatorInfo_PubKey
- func (m *StatusResponse_TmStatus_ValidatorInfo) GetVotingPower() int64
- func (*StatusResponse_TmStatus_ValidatorInfo) ProtoMessage()
- func (m *StatusResponse_TmStatus_ValidatorInfo) Reset()
- func (m *StatusResponse_TmStatus_ValidatorInfo) String() string
- func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_DiscardUnknown()
- func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Merge(src proto.Message)
- func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Size() int
- func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Unmarshal(b []byte) error
- type StatusResponse_TmStatus_ValidatorInfo_PubKey
- func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) Descriptor() ([]byte, []int)
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) GetType() string
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) GetValue() string
- func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) ProtoMessage()
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) Reset()
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) String() string
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_DiscardUnknown()
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Merge(src proto.Message)
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Size() int
- func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Unmarshal(b []byte) error
- type UnimplementedManagerServiceServer
- func (*UnimplementedManagerServiceServer) Dashboard(req *empty.Empty, srv ManagerService_DashboardServer) error
- func (*UnimplementedManagerServiceServer) DealPeer(ctx context.Context, req *DealPeerRequest) (*empty.Empty, error)
- func (*UnimplementedManagerServiceServer) NetInfo(ctx context.Context, req *empty.Empty) (*NetInfoResponse, error)
- func (*UnimplementedManagerServiceServer) PruneBlocks(ctx context.Context, req *PruneBlocksRequest) (*empty.Empty, error)
- func (*UnimplementedManagerServiceServer) Status(ctx context.Context, req *empty.Empty) (*StatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DashboardResponse_ValidatorStatus_name = map[int32]string{
0: "Validating",
1: "Challenger",
2: "Offline",
3: "NotDeclared",
}
View Source
var DashboardResponse_ValidatorStatus_value = map[string]int32{
"Validating": 0,
"Challenger": 1,
"Offline": 2,
"NotDeclared": 3,
}
Functions ¶
func RegisterManagerServiceServer ¶
func RegisterManagerServiceServer(s *grpc.Server, srv ManagerServiceServer)
Types ¶
type DashboardResponse ¶ added in v1.1.6
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 `` /* 150-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DashboardResponse) Descriptor ¶ added in v1.1.6
func (*DashboardResponse) Descriptor() ([]byte, []int)
func (*DashboardResponse) GetAvgBlockProcessingTime ¶ added in v1.1.6
func (m *DashboardResponse) GetAvgBlockProcessingTime() int64
func (*DashboardResponse) GetDuration ¶ added in v1.1.6
func (m *DashboardResponse) GetDuration() int64
func (*DashboardResponse) GetLatestHeight ¶ added in v1.1.6
func (m *DashboardResponse) GetLatestHeight() int64
func (*DashboardResponse) GetMaxPeerHeight ¶ added in v1.1.6
func (m *DashboardResponse) GetMaxPeerHeight() int64
func (*DashboardResponse) GetMemoryUsage ¶ added in v1.1.6
func (m *DashboardResponse) GetMemoryUsage() uint64
func (*DashboardResponse) GetMissedBlocks ¶ added in v1.1.6
func (m *DashboardResponse) GetMissedBlocks() string
func (*DashboardResponse) GetPeersCount ¶ added in v1.1.6
func (m *DashboardResponse) GetPeersCount() int32
func (*DashboardResponse) GetStake ¶ added in v1.1.6
func (m *DashboardResponse) GetStake() string
func (*DashboardResponse) GetTimePerBlock ¶ added in v1.1.6
func (m *DashboardResponse) GetTimePerBlock() int64
func (*DashboardResponse) GetTimestamp ¶ added in v1.1.6
func (m *DashboardResponse) GetTimestamp() *timestamp.Timestamp
func (*DashboardResponse) GetValidatorPubKey ¶ added in v1.1.6
func (m *DashboardResponse) GetValidatorPubKey() string
func (*DashboardResponse) GetValidatorStatus ¶ added in v1.1.6
func (m *DashboardResponse) GetValidatorStatus() DashboardResponse_ValidatorStatus
func (*DashboardResponse) GetVotingPower ¶ added in v1.1.6
func (m *DashboardResponse) GetVotingPower() int64
func (*DashboardResponse) ProtoMessage ¶ added in v1.1.6
func (*DashboardResponse) ProtoMessage()
func (*DashboardResponse) Reset ¶ added in v1.1.6
func (m *DashboardResponse) Reset()
func (*DashboardResponse) String ¶ added in v1.1.6
func (m *DashboardResponse) String() string
func (*DashboardResponse) XXX_DiscardUnknown ¶ added in v1.1.6
func (m *DashboardResponse) XXX_DiscardUnknown()
func (*DashboardResponse) XXX_Marshal ¶ added in v1.1.6
func (m *DashboardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DashboardResponse) XXX_Merge ¶ added in v1.1.6
func (m *DashboardResponse) XXX_Merge(src proto.Message)
func (*DashboardResponse) XXX_Size ¶ added in v1.1.6
func (m *DashboardResponse) XXX_Size() int
func (*DashboardResponse) XXX_Unmarshal ¶ added in v1.1.6
func (m *DashboardResponse) XXX_Unmarshal(b []byte) error
type DashboardResponse_ValidatorStatus ¶ added in v1.1.6
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) EnumDescriptor ¶ added in v1.1.6
func (DashboardResponse_ValidatorStatus) EnumDescriptor() ([]byte, []int)
func (DashboardResponse_ValidatorStatus) String ¶ added in v1.1.6
func (x DashboardResponse_ValidatorStatus) String() string
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DealPeerRequest) Descriptor ¶
func (*DealPeerRequest) Descriptor() ([]byte, []int)
func (*DealPeerRequest) GetAddress ¶
func (m *DealPeerRequest) GetAddress() string
func (*DealPeerRequest) GetPersistent ¶
func (m *DealPeerRequest) GetPersistent() bool
func (*DealPeerRequest) ProtoMessage ¶
func (*DealPeerRequest) ProtoMessage()
func (*DealPeerRequest) Reset ¶
func (m *DealPeerRequest) Reset()
func (*DealPeerRequest) String ¶
func (m *DealPeerRequest) String() string
func (*DealPeerRequest) XXX_DiscardUnknown ¶
func (m *DealPeerRequest) XXX_DiscardUnknown()
func (*DealPeerRequest) XXX_Marshal ¶
func (m *DealPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DealPeerRequest) XXX_Merge ¶
func (m *DealPeerRequest) XXX_Merge(src proto.Message)
func (*DealPeerRequest) XXX_Size ¶
func (m *DealPeerRequest) XXX_Size() int
func (*DealPeerRequest) XXX_Unmarshal ¶
func (m *DealPeerRequest) XXX_Unmarshal(b []byte) error
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) (*empty.Empty, 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.ClientConn) ManagerServiceClient
type ManagerServiceServer ¶
type ManagerServiceServer interface { Status(context.Context, *empty.Empty) (*StatusResponse, error) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error) PruneBlocks(context.Context, *PruneBlocksRequest) (*empty.Empty, 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 ¶ added in v1.1.6
type ManagerService_DashboardClient interface { Recv() (*DashboardResponse, error) grpc.ClientStream }
type ManagerService_DashboardServer ¶ added in v1.1.6
type ManagerService_DashboardServer interface { Send(*DashboardResponse) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetInfoResponse) Descriptor ¶
func (*NetInfoResponse) Descriptor() ([]byte, []int)
func (*NetInfoResponse) GetListeners ¶
func (m *NetInfoResponse) GetListeners() []string
func (*NetInfoResponse) GetListening ¶
func (m *NetInfoResponse) GetListening() bool
func (*NetInfoResponse) GetNPeers ¶
func (m *NetInfoResponse) GetNPeers() int64
func (*NetInfoResponse) GetPeers ¶
func (m *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
func (*NetInfoResponse) ProtoMessage ¶
func (*NetInfoResponse) ProtoMessage()
func (*NetInfoResponse) Reset ¶
func (m *NetInfoResponse) Reset()
func (*NetInfoResponse) String ¶
func (m *NetInfoResponse) String() string
func (*NetInfoResponse) XXX_DiscardUnknown ¶
func (m *NetInfoResponse) XXX_DiscardUnknown()
func (*NetInfoResponse) XXX_Marshal ¶
func (m *NetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetInfoResponse) XXX_Merge ¶
func (m *NetInfoResponse) XXX_Merge(src proto.Message)
func (*NetInfoResponse) XXX_Size ¶
func (m *NetInfoResponse) XXX_Size() int
func (*NetInfoResponse) XXX_Unmarshal ¶
func (m *NetInfoResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetInfoResponse_Peer) Descriptor ¶
func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)
func (*NetInfoResponse_Peer) GetConnectionStatus ¶
func (m *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
func (*NetInfoResponse_Peer) GetIsOutbound ¶
func (m *NetInfoResponse_Peer) GetIsOutbound() bool
func (*NetInfoResponse_Peer) GetNodeInfo ¶
func (m *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
func (*NetInfoResponse_Peer) GetRemoteIp ¶
func (m *NetInfoResponse_Peer) GetRemoteIp() string
func (*NetInfoResponse_Peer) ProtoMessage ¶
func (*NetInfoResponse_Peer) ProtoMessage()
func (*NetInfoResponse_Peer) Reset ¶
func (m *NetInfoResponse_Peer) Reset()
func (*NetInfoResponse_Peer) String ¶
func (m *NetInfoResponse_Peer) String() string
func (*NetInfoResponse_Peer) XXX_DiscardUnknown ¶
func (m *NetInfoResponse_Peer) XXX_DiscardUnknown()
func (*NetInfoResponse_Peer) XXX_Marshal ¶
func (m *NetInfoResponse_Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetInfoResponse_Peer) XXX_Merge ¶
func (m *NetInfoResponse_Peer) XXX_Merge(src proto.Message)
func (*NetInfoResponse_Peer) XXX_Size ¶
func (m *NetInfoResponse_Peer) XXX_Size() int
func (*NetInfoResponse_Peer) XXX_Unmarshal ¶
func (m *NetInfoResponse_Peer) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor ¶
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)
func (*NetInfoResponse_Peer_ConnectionStatus) GetChannels ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
func (*NetInfoResponse_Peer_ConnectionStatus) GetDuration ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) GetDuration() int64
func (*NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus) Reset ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus) String ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) String() string
func (*NetInfoResponse_Peer_ConnectionStatus) XXX_DiscardUnknown ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_DiscardUnknown()
func (*NetInfoResponse_Peer_ConnectionStatus) XXX_Marshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetInfoResponse_Peer_ConnectionStatus) XXX_Merge ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Merge(src proto.Message)
func (*NetInfoResponse_Peer_ConnectionStatus) XXX_Size ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Size() int
func (*NetInfoResponse_Peer_ConnectionStatus) XXX_Unmarshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetID ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetID() int32
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Reset ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) String ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_DiscardUnknown ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_DiscardUnknown()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Marshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Merge ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Merge(src proto.Message)
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Size ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Size() int
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Unmarshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() uint32
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() int64
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) String ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_DiscardUnknown ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_DiscardUnknown()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Marshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Merge ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Merge(src proto.Message)
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Size ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Size() int
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Unmarshal ¶
func (m *NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeInfo) Descriptor ¶
func (*NodeInfo) GetChannels ¶
func (*NodeInfo) GetListenAddr ¶
func (*NodeInfo) GetMoniker ¶
func (*NodeInfo) GetNetwork ¶
func (*NodeInfo) GetOther ¶
func (m *NodeInfo) GetOther() *NodeInfo_Other
func (*NodeInfo) GetProtocolVersion ¶
func (m *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
func (*NodeInfo) GetVersion ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) XXX_DiscardUnknown ¶
func (m *NodeInfo) XXX_DiscardUnknown()
func (*NodeInfo) XXX_Marshal ¶
func (*NodeInfo) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeInfo_Other) Descriptor ¶
func (*NodeInfo_Other) Descriptor() ([]byte, []int)
func (*NodeInfo_Other) GetRpcAddress ¶
func (m *NodeInfo_Other) GetRpcAddress() string
func (*NodeInfo_Other) GetTxIndex ¶
func (m *NodeInfo_Other) GetTxIndex() string
func (*NodeInfo_Other) ProtoMessage ¶
func (*NodeInfo_Other) ProtoMessage()
func (*NodeInfo_Other) Reset ¶
func (m *NodeInfo_Other) Reset()
func (*NodeInfo_Other) String ¶
func (m *NodeInfo_Other) String() string
func (*NodeInfo_Other) XXX_DiscardUnknown ¶
func (m *NodeInfo_Other) XXX_DiscardUnknown()
func (*NodeInfo_Other) XXX_Marshal ¶
func (m *NodeInfo_Other) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeInfo_Other) XXX_Merge ¶
func (m *NodeInfo_Other) XXX_Merge(src proto.Message)
func (*NodeInfo_Other) XXX_Size ¶
func (m *NodeInfo_Other) XXX_Size() int
func (*NodeInfo_Other) XXX_Unmarshal ¶
func (m *NodeInfo_Other) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeInfo_ProtocolVersion) Descriptor ¶
func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)
func (*NodeInfo_ProtocolVersion) GetApp ¶
func (m *NodeInfo_ProtocolVersion) GetApp() uint64
func (*NodeInfo_ProtocolVersion) GetBlock ¶
func (m *NodeInfo_ProtocolVersion) GetBlock() uint64
func (*NodeInfo_ProtocolVersion) GetP2P ¶
func (m *NodeInfo_ProtocolVersion) GetP2P() uint64
func (*NodeInfo_ProtocolVersion) ProtoMessage ¶
func (*NodeInfo_ProtocolVersion) ProtoMessage()
func (*NodeInfo_ProtocolVersion) Reset ¶
func (m *NodeInfo_ProtocolVersion) Reset()
func (*NodeInfo_ProtocolVersion) String ¶
func (m *NodeInfo_ProtocolVersion) String() string
func (*NodeInfo_ProtocolVersion) XXX_DiscardUnknown ¶
func (m *NodeInfo_ProtocolVersion) XXX_DiscardUnknown()
func (*NodeInfo_ProtocolVersion) XXX_Marshal ¶
func (m *NodeInfo_ProtocolVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeInfo_ProtocolVersion) XXX_Merge ¶
func (m *NodeInfo_ProtocolVersion) XXX_Merge(src proto.Message)
func (*NodeInfo_ProtocolVersion) XXX_Size ¶
func (m *NodeInfo_ProtocolVersion) XXX_Size() int
func (*NodeInfo_ProtocolVersion) XXX_Unmarshal ¶
func (m *NodeInfo_ProtocolVersion) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PruneBlocksRequest) Descriptor ¶
func (*PruneBlocksRequest) Descriptor() ([]byte, []int)
func (*PruneBlocksRequest) GetFromHeight ¶
func (m *PruneBlocksRequest) GetFromHeight() int64
func (*PruneBlocksRequest) GetToHeight ¶
func (m *PruneBlocksRequest) GetToHeight() int64
func (*PruneBlocksRequest) ProtoMessage ¶
func (*PruneBlocksRequest) ProtoMessage()
func (*PruneBlocksRequest) Reset ¶
func (m *PruneBlocksRequest) Reset()
func (*PruneBlocksRequest) String ¶
func (m *PruneBlocksRequest) String() string
func (*PruneBlocksRequest) XXX_DiscardUnknown ¶
func (m *PruneBlocksRequest) XXX_DiscardUnknown()
func (*PruneBlocksRequest) XXX_Marshal ¶
func (m *PruneBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PruneBlocksRequest) XXX_Merge ¶
func (m *PruneBlocksRequest) XXX_Merge(src proto.Message)
func (*PruneBlocksRequest) XXX_Size ¶
func (m *PruneBlocksRequest) XXX_Size() int
func (*PruneBlocksRequest) XXX_Unmarshal ¶
func (m *PruneBlocksRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { Version string `protobuf:"bytes,7,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 int64 `protobuf:"varint,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 int64 `protobuf:"varint,5,opt,name=keep_last_states,json=keepLastStates,proto3" json:"keep_last_states,omitempty"` TmStatus *StatusResponse_TmStatus `protobuf:"bytes,6,opt,name=tm_status,json=tmStatus,proto3" json:"tm_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetKeepLastStates ¶
func (m *StatusResponse) GetKeepLastStates() int64
func (*StatusResponse) GetLatestAppHash ¶
func (m *StatusResponse) GetLatestAppHash() string
func (*StatusResponse) GetLatestBlockHash ¶
func (m *StatusResponse) GetLatestBlockHash() string
func (*StatusResponse) GetLatestBlockHeight ¶
func (m *StatusResponse) GetLatestBlockHeight() int64
func (*StatusResponse) GetLatestBlockTime ¶
func (m *StatusResponse) GetLatestBlockTime() string
func (*StatusResponse) GetTmStatus ¶
func (m *StatusResponse) GetTmStatus() *StatusResponse_TmStatus
func (*StatusResponse) GetVersion ¶
func (m *StatusResponse) GetVersion() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) XXX_DiscardUnknown ¶
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶
func (m *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type StatusResponse_TmStatus ¶
type StatusResponse_TmStatus struct { NodeInfo *NodeInfo `protobuf:"bytes,3,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` SyncInfo *StatusResponse_TmStatus_SyncInfo `protobuf:"bytes,1,opt,name=sync_info,json=syncInfo,proto3" json:"sync_info,omitempty"` ValidatorInfo *StatusResponse_TmStatus_ValidatorInfo `protobuf:"bytes,2,opt,name=validator_info,json=validatorInfo,proto3" json:"validator_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse_TmStatus) Descriptor ¶
func (*StatusResponse_TmStatus) Descriptor() ([]byte, []int)
func (*StatusResponse_TmStatus) GetNodeInfo ¶
func (m *StatusResponse_TmStatus) GetNodeInfo() *NodeInfo
func (*StatusResponse_TmStatus) GetSyncInfo ¶
func (m *StatusResponse_TmStatus) GetSyncInfo() *StatusResponse_TmStatus_SyncInfo
func (*StatusResponse_TmStatus) GetValidatorInfo ¶
func (m *StatusResponse_TmStatus) GetValidatorInfo() *StatusResponse_TmStatus_ValidatorInfo
func (*StatusResponse_TmStatus) ProtoMessage ¶
func (*StatusResponse_TmStatus) ProtoMessage()
func (*StatusResponse_TmStatus) Reset ¶
func (m *StatusResponse_TmStatus) Reset()
func (*StatusResponse_TmStatus) String ¶
func (m *StatusResponse_TmStatus) String() string
func (*StatusResponse_TmStatus) XXX_DiscardUnknown ¶
func (m *StatusResponse_TmStatus) XXX_DiscardUnknown()
func (*StatusResponse_TmStatus) XXX_Marshal ¶
func (m *StatusResponse_TmStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse_TmStatus) XXX_Merge ¶
func (m *StatusResponse_TmStatus) XXX_Merge(src proto.Message)
func (*StatusResponse_TmStatus) XXX_Size ¶
func (m *StatusResponse_TmStatus) XXX_Size() int
func (*StatusResponse_TmStatus) XXX_Unmarshal ¶
func (m *StatusResponse_TmStatus) XXX_Unmarshal(b []byte) error
type StatusResponse_TmStatus_SyncInfo ¶
type StatusResponse_TmStatus_SyncInfo struct { LatestBlockHash string `protobuf:"bytes,5,opt,name=latest_block_hash,json=latestBlockHash,proto3" json:"latest_block_hash,omitempty"` LatestAppHash string `protobuf:"bytes,1,opt,name=latest_app_hash,json=latestAppHash,proto3" json:"latest_app_hash,omitempty"` LatestBlockHeight int64 `protobuf:"varint,2,opt,name=latest_block_height,json=latestBlockHeight,proto3" json:"latest_block_height,omitempty"` LatestBlockTime string `protobuf:"bytes,3,opt,name=latest_block_time,json=latestBlockTime,proto3" json:"latest_block_time,omitempty"` CatchingUp bool `protobuf:"varint,4,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse_TmStatus_SyncInfo) Descriptor ¶
func (*StatusResponse_TmStatus_SyncInfo) Descriptor() ([]byte, []int)
func (*StatusResponse_TmStatus_SyncInfo) GetCatchingUp ¶
func (m *StatusResponse_TmStatus_SyncInfo) GetCatchingUp() bool
func (*StatusResponse_TmStatus_SyncInfo) GetLatestAppHash ¶
func (m *StatusResponse_TmStatus_SyncInfo) GetLatestAppHash() string
func (*StatusResponse_TmStatus_SyncInfo) GetLatestBlockHash ¶
func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockHash() string
func (*StatusResponse_TmStatus_SyncInfo) GetLatestBlockHeight ¶
func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockHeight() int64
func (*StatusResponse_TmStatus_SyncInfo) GetLatestBlockTime ¶
func (m *StatusResponse_TmStatus_SyncInfo) GetLatestBlockTime() string
func (*StatusResponse_TmStatus_SyncInfo) ProtoMessage ¶
func (*StatusResponse_TmStatus_SyncInfo) ProtoMessage()
func (*StatusResponse_TmStatus_SyncInfo) Reset ¶
func (m *StatusResponse_TmStatus_SyncInfo) Reset()
func (*StatusResponse_TmStatus_SyncInfo) String ¶
func (m *StatusResponse_TmStatus_SyncInfo) String() string
func (*StatusResponse_TmStatus_SyncInfo) XXX_DiscardUnknown ¶
func (m *StatusResponse_TmStatus_SyncInfo) XXX_DiscardUnknown()
func (*StatusResponse_TmStatus_SyncInfo) XXX_Marshal ¶
func (m *StatusResponse_TmStatus_SyncInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse_TmStatus_SyncInfo) XXX_Merge ¶
func (m *StatusResponse_TmStatus_SyncInfo) XXX_Merge(src proto.Message)
func (*StatusResponse_TmStatus_SyncInfo) XXX_Size ¶
func (m *StatusResponse_TmStatus_SyncInfo) XXX_Size() int
func (*StatusResponse_TmStatus_SyncInfo) XXX_Unmarshal ¶
func (m *StatusResponse_TmStatus_SyncInfo) XXX_Unmarshal(b []byte) error
type StatusResponse_TmStatus_ValidatorInfo ¶
type StatusResponse_TmStatus_ValidatorInfo struct { Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` PubKey *StatusResponse_TmStatus_ValidatorInfo_PubKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` VotingPower int64 `protobuf:"varint,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse_TmStatus_ValidatorInfo) Descriptor ¶
func (*StatusResponse_TmStatus_ValidatorInfo) Descriptor() ([]byte, []int)
func (*StatusResponse_TmStatus_ValidatorInfo) GetAddress ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) GetAddress() string
func (*StatusResponse_TmStatus_ValidatorInfo) GetPubKey ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) GetPubKey() *StatusResponse_TmStatus_ValidatorInfo_PubKey
func (*StatusResponse_TmStatus_ValidatorInfo) GetVotingPower ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) GetVotingPower() int64
func (*StatusResponse_TmStatus_ValidatorInfo) ProtoMessage ¶
func (*StatusResponse_TmStatus_ValidatorInfo) ProtoMessage()
func (*StatusResponse_TmStatus_ValidatorInfo) Reset ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) Reset()
func (*StatusResponse_TmStatus_ValidatorInfo) String ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) String() string
func (*StatusResponse_TmStatus_ValidatorInfo) XXX_DiscardUnknown ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_DiscardUnknown()
func (*StatusResponse_TmStatus_ValidatorInfo) XXX_Marshal ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse_TmStatus_ValidatorInfo) XXX_Merge ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Merge(src proto.Message)
func (*StatusResponse_TmStatus_ValidatorInfo) XXX_Size ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Size() int
func (*StatusResponse_TmStatus_ValidatorInfo) XXX_Unmarshal ¶
func (m *StatusResponse_TmStatus_ValidatorInfo) XXX_Unmarshal(b []byte) error
type StatusResponse_TmStatus_ValidatorInfo_PubKey ¶
type StatusResponse_TmStatus_ValidatorInfo_PubKey struct { Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) Descriptor ¶
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) Descriptor() ([]byte, []int)
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) GetType ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) GetType() string
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) GetValue ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) GetValue() string
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) ProtoMessage ¶
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) ProtoMessage()
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) Reset ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) Reset()
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) String ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) String() string
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_DiscardUnknown ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_DiscardUnknown()
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Marshal ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Merge ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Merge(src proto.Message)
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Size ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Size() int
func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Unmarshal ¶
func (m *StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Unmarshal(b []byte) error
type UnimplementedManagerServiceServer ¶
type UnimplementedManagerServiceServer struct { }
UnimplementedManagerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedManagerServiceServer) Dashboard ¶ added in v1.1.6
func (*UnimplementedManagerServiceServer) Dashboard(req *empty.Empty, srv ManagerService_DashboardServer) error
func (*UnimplementedManagerServiceServer) DealPeer ¶
func (*UnimplementedManagerServiceServer) DealPeer(ctx context.Context, req *DealPeerRequest) (*empty.Empty, error)
func (*UnimplementedManagerServiceServer) NetInfo ¶
func (*UnimplementedManagerServiceServer) NetInfo(ctx context.Context, req *empty.Empty) (*NetInfoResponse, error)
func (*UnimplementedManagerServiceServer) PruneBlocks ¶
func (*UnimplementedManagerServiceServer) PruneBlocks(ctx context.Context, req *PruneBlocksRequest) (*empty.Empty, error)
func (*UnimplementedManagerServiceServer) Status ¶
func (*UnimplementedManagerServiceServer) Status(ctx context.Context, req *empty.Empty) (*StatusResponse, error)
Click to show internal directories.
Click to hide internal directories.