cli_pb

package
v1.1.8-pre-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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) Enum

func (DashboardResponse_ValidatorStatus) EnumDescriptor deprecated

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

Deprecated: Use DashboardResponse_ValidatorStatus.Descriptor instead.

func (DashboardResponse_ValidatorStatus) Number

func (DashboardResponse_ValidatorStatus) String

func (DashboardResponse_ValidatorStatus) Type

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.

type ManagerServiceServer

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 (*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 (*NetInfoResponse_Peer_ConnectionStatus) GetDuration

func (*NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor

func (*NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor

func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage

func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()

func (*NetInfoResponse_Peer_ConnectionStatus) ProtoReflect

func (*NetInfoResponse_Peer_ConnectionStatus) Reset

func (*NetInfoResponse_Peer_ConnectionStatus) 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

Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Channel.ProtoReflect.Descriptor instead.

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetID

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity

func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Reset

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) 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

Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Monitor.ProtoReflect.Descriptor instead.

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) 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) Descriptor() ([]byte, []int)

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetChannels

func (x *NodeInfo) GetChannels() string

func (*NodeInfo) GetId

func (x *NodeInfo) GetId() string

func (*NodeInfo) GetListenAddr

func (x *NodeInfo) GetListenAddr() string

func (*NodeInfo) GetMoniker

func (x *NodeInfo) GetMoniker() string

func (*NodeInfo) GetNetwork

func (x *NodeInfo) GetNetwork() string

func (*NodeInfo) GetOther

func (x *NodeInfo) GetOther() *NodeInfo_Other

func (*NodeInfo) GetProtocolVersion

func (x *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion

func (*NodeInfo) GetVersion

func (x *NodeInfo) GetVersion() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

func (x *NodeInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

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) DealPeer

func (*UnimplementedManagerServiceServer) NetInfo

func (*UnimplementedManagerServiceServer) PruneBlocks

func (*UnimplementedManagerServiceServer) Status

Jump to

Keyboard shortcuts

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