pb

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

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 9 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",
}
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

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

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 (*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 (*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) Reset

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

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

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity

func (m *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() int64

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Reset

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

func (*NetInfoResponse_Peer_ConnectionStatus_Channel) XXX_Unmarshal

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

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

func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) XXX_Unmarshal

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

func (*NodeInfo) GetChannels

func (m *NodeInfo) GetChannels() string

func (*NodeInfo) GetId

func (m *NodeInfo) GetId() string

func (*NodeInfo) GetListenAddr

func (m *NodeInfo) GetListenAddr() string

func (*NodeInfo) GetMoniker

func (m *NodeInfo) GetMoniker() string

func (*NodeInfo) GetNetwork

func (m *NodeInfo) GetNetwork() string

func (*NodeInfo) GetOther

func (m *NodeInfo) GetOther() *NodeInfo_Other

func (*NodeInfo) GetProtocolVersion

func (m *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion

func (*NodeInfo) GetVersion

func (m *NodeInfo) GetVersion() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

func (*NodeInfo) XXX_DiscardUnknown

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal

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

func (*NodeInfo) XXX_Merge

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

func (*NodeInfo) XXX_Size

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal

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

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 (*StatusResponse_TmStatus) GetValidatorInfo

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 (*StatusResponse_TmStatus_SyncInfo) 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 (*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 (*StatusResponse_TmStatus_ValidatorInfo) GetPubKey

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 (*StatusResponse_TmStatus_ValidatorInfo) 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 (*StatusResponse_TmStatus_ValidatorInfo) XXX_Size

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

func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) GetValue

func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) ProtoMessage

func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) Reset

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

func (*StatusResponse_TmStatus_ValidatorInfo_PubKey) XXX_Unmarshal

type UnimplementedManagerServiceServer

type UnimplementedManagerServiceServer struct {
}

UnimplementedManagerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedManagerServiceServer) Dashboard added in v1.1.6

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