proto

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PprofRequest_Type_name = map[int32]string{
		0: "LOOKUP",
		1: "CPU",
		2: "TRACE",
	}
	PprofRequest_Type_value = map[string]int32{
		"LOOKUP": 0,
		"CPU":    1,
		"TRACE":  2,
	}
)

Enum value maps for PprofRequest_Type.

View Source
var Bor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Bor",
	HandlerType: (*BorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PeersAdd",
			Handler:    _Bor_PeersAdd_Handler,
		},
		{
			MethodName: "PeersRemove",
			Handler:    _Bor_PeersRemove_Handler,
		},
		{
			MethodName: "PeersList",
			Handler:    _Bor_PeersList_Handler,
		},
		{
			MethodName: "PeersStatus",
			Handler:    _Bor_PeersStatus_Handler,
		},
		{
			MethodName: "ChainSetHead",
			Handler:    _Bor_ChainSetHead_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _Bor_Status_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Pprof",
			Handler:       _Bor_Pprof_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ChainWatch",
			Handler:       _Bor_ChainWatch_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "command/server/proto/server.proto",
}

Bor_ServiceDesc is the grpc.ServiceDesc for Bor service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_command_server_proto_server_proto protoreflect.FileDescriptor

Functions

func RegisterBorServer

func RegisterBorServer(s grpc.ServiceRegistrar, srv BorServer)

Types

type BlockStub

type BlockStub struct {
	Hash   string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockStub) Descriptor deprecated

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

Deprecated: Use BlockStub.ProtoReflect.Descriptor instead.

func (*BlockStub) GetHash

func (x *BlockStub) GetHash() string

func (*BlockStub) GetNumber

func (x *BlockStub) GetNumber() uint64

func (*BlockStub) ProtoMessage

func (*BlockStub) ProtoMessage()

func (*BlockStub) ProtoReflect

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

func (*BlockStub) Reset

func (x *BlockStub) Reset()

func (*BlockStub) String

func (x *BlockStub) String() string

type BorClient

BorClient is the client API for Bor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBorClient

func NewBorClient(cc grpc.ClientConnInterface) BorClient

type BorServer

BorServer is the server API for Bor service. All implementations must embed UnimplementedBorServer for forward compatibility

type Bor_ChainWatchClient

type Bor_ChainWatchClient interface {
	Recv() (*ChainWatchResponse, error)
	grpc.ClientStream
}

type Bor_ChainWatchServer

type Bor_ChainWatchServer interface {
	Send(*ChainWatchResponse) error
	grpc.ServerStream
}

type Bor_PprofClient

type Bor_PprofClient interface {
	Recv() (*PprofResponse, error)
	grpc.ClientStream
}

type Bor_PprofServer

type Bor_PprofServer interface {
	Send(*PprofResponse) error
	grpc.ServerStream
}

type ChainSetHeadRequest

type ChainSetHeadRequest struct {
	Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainSetHeadRequest) Descriptor deprecated

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

Deprecated: Use ChainSetHeadRequest.ProtoReflect.Descriptor instead.

func (*ChainSetHeadRequest) GetNumber

func (x *ChainSetHeadRequest) GetNumber() uint64

func (*ChainSetHeadRequest) ProtoMessage

func (*ChainSetHeadRequest) ProtoMessage()

func (*ChainSetHeadRequest) ProtoReflect

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

func (*ChainSetHeadRequest) Reset

func (x *ChainSetHeadRequest) Reset()

func (*ChainSetHeadRequest) String

func (x *ChainSetHeadRequest) String() string

type ChainSetHeadResponse

type ChainSetHeadResponse struct {
	// contains filtered or unexported fields
}

func (*ChainSetHeadResponse) Descriptor deprecated

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

Deprecated: Use ChainSetHeadResponse.ProtoReflect.Descriptor instead.

func (*ChainSetHeadResponse) ProtoMessage

func (*ChainSetHeadResponse) ProtoMessage()

func (*ChainSetHeadResponse) ProtoReflect

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

func (*ChainSetHeadResponse) Reset

func (x *ChainSetHeadResponse) Reset()

func (*ChainSetHeadResponse) String

func (x *ChainSetHeadResponse) String() string

type ChainWatchRequest

type ChainWatchRequest struct {
	// contains filtered or unexported fields
}

func (*ChainWatchRequest) Descriptor deprecated

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

Deprecated: Use ChainWatchRequest.ProtoReflect.Descriptor instead.

func (*ChainWatchRequest) ProtoMessage

func (*ChainWatchRequest) ProtoMessage()

func (*ChainWatchRequest) ProtoReflect

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

func (*ChainWatchRequest) Reset

func (x *ChainWatchRequest) Reset()

func (*ChainWatchRequest) String

func (x *ChainWatchRequest) String() string

type ChainWatchResponse

type ChainWatchResponse struct {
	Oldchain []*BlockStub `protobuf:"bytes,1,rep,name=oldchain,proto3" json:"oldchain,omitempty"`
	Newchain []*BlockStub `protobuf:"bytes,2,rep,name=newchain,proto3" json:"newchain,omitempty"`
	Type     string       `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainWatchResponse) Descriptor deprecated

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

Deprecated: Use ChainWatchResponse.ProtoReflect.Descriptor instead.

func (*ChainWatchResponse) GetNewchain

func (x *ChainWatchResponse) GetNewchain() []*BlockStub

func (*ChainWatchResponse) GetOldchain

func (x *ChainWatchResponse) GetOldchain() []*BlockStub

func (*ChainWatchResponse) GetType

func (x *ChainWatchResponse) GetType() string

func (*ChainWatchResponse) ProtoMessage

func (*ChainWatchResponse) ProtoMessage()

func (*ChainWatchResponse) ProtoReflect

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

func (*ChainWatchResponse) Reset

func (x *ChainWatchResponse) Reset()

func (*ChainWatchResponse) String

func (x *ChainWatchResponse) String() string
type Header struct {
	Hash   string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetHash

func (x *Header) GetHash() string

func (*Header) GetNumber

func (x *Header) GetNumber() uint64

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type Peer

type Peer struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enode   string   `protobuf:"bytes,2,opt,name=enode,proto3" json:"enode,omitempty"`
	Enr     string   `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"`
	Caps    []string `protobuf:"bytes,4,rep,name=caps,proto3" json:"caps,omitempty"`
	Name    string   `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Trusted bool     `protobuf:"varint,6,opt,name=trusted,proto3" json:"trusted,omitempty"`
	Static  bool     `protobuf:"varint,7,opt,name=static,proto3" json:"static,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetCaps

func (x *Peer) GetCaps() []string

func (*Peer) GetEnode

func (x *Peer) GetEnode() string

func (*Peer) GetEnr

func (x *Peer) GetEnr() string

func (*Peer) GetId

func (x *Peer) GetId() string

func (*Peer) GetName

func (x *Peer) GetName() string

func (*Peer) GetStatic

func (x *Peer) GetStatic() bool

func (*Peer) GetTrusted

func (x *Peer) GetTrusted() bool

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type PeersAddRequest

type PeersAddRequest struct {
	Enode   string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"`
	Trusted bool   `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"`
	// contains filtered or unexported fields
}

func (*PeersAddRequest) Descriptor deprecated

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

Deprecated: Use PeersAddRequest.ProtoReflect.Descriptor instead.

func (*PeersAddRequest) GetEnode

func (x *PeersAddRequest) GetEnode() string

func (*PeersAddRequest) GetTrusted

func (x *PeersAddRequest) GetTrusted() bool

func (*PeersAddRequest) ProtoMessage

func (*PeersAddRequest) ProtoMessage()

func (*PeersAddRequest) ProtoReflect

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

func (*PeersAddRequest) Reset

func (x *PeersAddRequest) Reset()

func (*PeersAddRequest) String

func (x *PeersAddRequest) String() string

type PeersAddResponse

type PeersAddResponse struct {
	// contains filtered or unexported fields
}

func (*PeersAddResponse) Descriptor deprecated

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

Deprecated: Use PeersAddResponse.ProtoReflect.Descriptor instead.

func (*PeersAddResponse) ProtoMessage

func (*PeersAddResponse) ProtoMessage()

func (*PeersAddResponse) ProtoReflect

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

func (*PeersAddResponse) Reset

func (x *PeersAddResponse) Reset()

func (*PeersAddResponse) String

func (x *PeersAddResponse) String() string

type PeersListRequest

type PeersListRequest struct {
	// contains filtered or unexported fields
}

func (*PeersListRequest) Descriptor deprecated

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

Deprecated: Use PeersListRequest.ProtoReflect.Descriptor instead.

func (*PeersListRequest) ProtoMessage

func (*PeersListRequest) ProtoMessage()

func (*PeersListRequest) ProtoReflect

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

func (*PeersListRequest) Reset

func (x *PeersListRequest) Reset()

func (*PeersListRequest) String

func (x *PeersListRequest) String() string

type PeersListResponse

type PeersListResponse struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*PeersListResponse) Descriptor deprecated

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

Deprecated: Use PeersListResponse.ProtoReflect.Descriptor instead.

func (*PeersListResponse) GetPeers

func (x *PeersListResponse) GetPeers() []*Peer

func (*PeersListResponse) ProtoMessage

func (*PeersListResponse) ProtoMessage()

func (*PeersListResponse) ProtoReflect

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

func (*PeersListResponse) Reset

func (x *PeersListResponse) Reset()

func (*PeersListResponse) String

func (x *PeersListResponse) String() string

type PeersRemoveRequest

type PeersRemoveRequest struct {
	Enode   string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"`
	Trusted bool   `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"`
	// contains filtered or unexported fields
}

func (*PeersRemoveRequest) Descriptor deprecated

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

Deprecated: Use PeersRemoveRequest.ProtoReflect.Descriptor instead.

func (*PeersRemoveRequest) GetEnode

func (x *PeersRemoveRequest) GetEnode() string

func (*PeersRemoveRequest) GetTrusted

func (x *PeersRemoveRequest) GetTrusted() bool

func (*PeersRemoveRequest) ProtoMessage

func (*PeersRemoveRequest) ProtoMessage()

func (*PeersRemoveRequest) ProtoReflect

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

func (*PeersRemoveRequest) Reset

func (x *PeersRemoveRequest) Reset()

func (*PeersRemoveRequest) String

func (x *PeersRemoveRequest) String() string

type PeersRemoveResponse

type PeersRemoveResponse struct {
	// contains filtered or unexported fields
}

func (*PeersRemoveResponse) Descriptor deprecated

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

Deprecated: Use PeersRemoveResponse.ProtoReflect.Descriptor instead.

func (*PeersRemoveResponse) ProtoMessage

func (*PeersRemoveResponse) ProtoMessage()

func (*PeersRemoveResponse) ProtoReflect

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

func (*PeersRemoveResponse) Reset

func (x *PeersRemoveResponse) Reset()

func (*PeersRemoveResponse) String

func (x *PeersRemoveResponse) String() string

type PeersStatusRequest

type PeersStatusRequest struct {
	Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"`
	// contains filtered or unexported fields
}

func (*PeersStatusRequest) Descriptor deprecated

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

Deprecated: Use PeersStatusRequest.ProtoReflect.Descriptor instead.

func (*PeersStatusRequest) GetEnode

func (x *PeersStatusRequest) GetEnode() string

func (*PeersStatusRequest) ProtoMessage

func (*PeersStatusRequest) ProtoMessage()

func (*PeersStatusRequest) ProtoReflect

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

func (*PeersStatusRequest) Reset

func (x *PeersStatusRequest) Reset()

func (*PeersStatusRequest) String

func (x *PeersStatusRequest) String() string

type PeersStatusResponse

type PeersStatusResponse struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	// contains filtered or unexported fields
}

func (*PeersStatusResponse) Descriptor deprecated

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

Deprecated: Use PeersStatusResponse.ProtoReflect.Descriptor instead.

func (*PeersStatusResponse) GetPeer

func (x *PeersStatusResponse) GetPeer() *Peer

func (*PeersStatusResponse) ProtoMessage

func (*PeersStatusResponse) ProtoMessage()

func (*PeersStatusResponse) ProtoReflect

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

func (*PeersStatusResponse) Reset

func (x *PeersStatusResponse) Reset()

func (*PeersStatusResponse) String

func (x *PeersStatusResponse) String() string

type PprofRequest

type PprofRequest struct {
	Type    PprofRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=proto.PprofRequest_Type" json:"type,omitempty"`
	Profile string            `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	Seconds int64             `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*PprofRequest) Descriptor deprecated

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

Deprecated: Use PprofRequest.ProtoReflect.Descriptor instead.

func (*PprofRequest) GetProfile

func (x *PprofRequest) GetProfile() string

func (*PprofRequest) GetSeconds

func (x *PprofRequest) GetSeconds() int64

func (*PprofRequest) GetType

func (x *PprofRequest) GetType() PprofRequest_Type

func (*PprofRequest) ProtoMessage

func (*PprofRequest) ProtoMessage()

func (*PprofRequest) ProtoReflect

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

func (*PprofRequest) Reset

func (x *PprofRequest) Reset()

func (*PprofRequest) String

func (x *PprofRequest) String() string

type PprofRequest_Type

type PprofRequest_Type int32
const (
	PprofRequest_LOOKUP PprofRequest_Type = 0
	PprofRequest_CPU    PprofRequest_Type = 1
	PprofRequest_TRACE  PprofRequest_Type = 2
)

func (PprofRequest_Type) Descriptor

func (PprofRequest_Type) Enum

func (PprofRequest_Type) EnumDescriptor deprecated

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

Deprecated: Use PprofRequest_Type.Descriptor instead.

func (PprofRequest_Type) Number

func (PprofRequest_Type) String

func (x PprofRequest_Type) String() string

func (PprofRequest_Type) Type

type PprofResponse

type PprofResponse struct {

	// Types that are assignable to Event:
	//	*PprofResponse_Open_
	//	*PprofResponse_Input_
	//	*PprofResponse_Eof
	Event isPprofResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*PprofResponse) Descriptor deprecated

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

Deprecated: Use PprofResponse.ProtoReflect.Descriptor instead.

func (*PprofResponse) GetEof

func (x *PprofResponse) GetEof() *emptypb.Empty

func (*PprofResponse) GetEvent

func (m *PprofResponse) GetEvent() isPprofResponse_Event

func (*PprofResponse) GetInput

func (x *PprofResponse) GetInput() *PprofResponse_Input

func (*PprofResponse) GetOpen

func (x *PprofResponse) GetOpen() *PprofResponse_Open

func (*PprofResponse) ProtoMessage

func (*PprofResponse) ProtoMessage()

func (*PprofResponse) ProtoReflect

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

func (*PprofResponse) Reset

func (x *PprofResponse) Reset()

func (*PprofResponse) String

func (x *PprofResponse) String() string

type PprofResponse_Eof

type PprofResponse_Eof struct {
	Eof *emptypb.Empty `protobuf:"bytes,3,opt,name=eof,proto3,oneof"`
}

type PprofResponse_Input

type PprofResponse_Input struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PprofResponse_Input) Descriptor deprecated

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

Deprecated: Use PprofResponse_Input.ProtoReflect.Descriptor instead.

func (*PprofResponse_Input) GetData

func (x *PprofResponse_Input) GetData() []byte

func (*PprofResponse_Input) ProtoMessage

func (*PprofResponse_Input) ProtoMessage()

func (*PprofResponse_Input) ProtoReflect

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

func (*PprofResponse_Input) Reset

func (x *PprofResponse_Input) Reset()

func (*PprofResponse_Input) String

func (x *PprofResponse_Input) String() string

type PprofResponse_Input_

type PprofResponse_Input_ struct {
	Input *PprofResponse_Input `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}

type PprofResponse_Open

type PprofResponse_Open struct {
	Headers map[string]string `` /* 155-byte string literal not displayed */
	Size    int64             `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*PprofResponse_Open) Descriptor deprecated

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

Deprecated: Use PprofResponse_Open.ProtoReflect.Descriptor instead.

func (*PprofResponse_Open) GetHeaders

func (x *PprofResponse_Open) GetHeaders() map[string]string

func (*PprofResponse_Open) GetSize

func (x *PprofResponse_Open) GetSize() int64

func (*PprofResponse_Open) ProtoMessage

func (*PprofResponse_Open) ProtoMessage()

func (*PprofResponse_Open) ProtoReflect

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

func (*PprofResponse_Open) Reset

func (x *PprofResponse_Open) Reset()

func (*PprofResponse_Open) String

func (x *PprofResponse_Open) String() string

type PprofResponse_Open_

type PprofResponse_Open_ struct {
	Open *PprofResponse_Open `protobuf:"bytes,1,opt,name=open,proto3,oneof"`
}

type StatusResponse

type StatusResponse struct {
	CurrentBlock  *Header                 `protobuf:"bytes,1,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"`
	CurrentHeader *Header                 `protobuf:"bytes,2,opt,name=currentHeader,proto3" json:"currentHeader,omitempty"`
	NumPeers      int64                   `protobuf:"varint,3,opt,name=numPeers,proto3" json:"numPeers,omitempty"`
	SyncMode      string                  `protobuf:"bytes,4,opt,name=syncMode,proto3" json:"syncMode,omitempty"`
	Syncing       *StatusResponse_Syncing `protobuf:"bytes,5,opt,name=syncing,proto3" json:"syncing,omitempty"`
	Forks         []*StatusResponse_Fork  `protobuf:"bytes,6,rep,name=forks,proto3" json:"forks,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetCurrentBlock

func (x *StatusResponse) GetCurrentBlock() *Header

func (*StatusResponse) GetCurrentHeader

func (x *StatusResponse) GetCurrentHeader() *Header

func (*StatusResponse) GetForks

func (x *StatusResponse) GetForks() []*StatusResponse_Fork

func (*StatusResponse) GetNumPeers

func (x *StatusResponse) GetNumPeers() int64

func (*StatusResponse) GetSyncMode

func (x *StatusResponse) GetSyncMode() string

func (*StatusResponse) GetSyncing

func (x *StatusResponse) GetSyncing() *StatusResponse_Syncing

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 StatusResponse_Fork

type StatusResponse_Fork struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Block    int64  `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"`
	Disabled bool   `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse_Fork) Descriptor deprecated

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

Deprecated: Use StatusResponse_Fork.ProtoReflect.Descriptor instead.

func (*StatusResponse_Fork) GetBlock

func (x *StatusResponse_Fork) GetBlock() int64

func (*StatusResponse_Fork) GetDisabled

func (x *StatusResponse_Fork) GetDisabled() bool

func (*StatusResponse_Fork) GetName

func (x *StatusResponse_Fork) GetName() string

func (*StatusResponse_Fork) ProtoMessage

func (*StatusResponse_Fork) ProtoMessage()

func (*StatusResponse_Fork) ProtoReflect

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

func (*StatusResponse_Fork) Reset

func (x *StatusResponse_Fork) Reset()

func (*StatusResponse_Fork) String

func (x *StatusResponse_Fork) String() string

type StatusResponse_Syncing

type StatusResponse_Syncing struct {
	StartingBlock int64 `protobuf:"varint,1,opt,name=startingBlock,proto3" json:"startingBlock,omitempty"`
	HighestBlock  int64 `protobuf:"varint,2,opt,name=highestBlock,proto3" json:"highestBlock,omitempty"`
	CurrentBlock  int64 `protobuf:"varint,3,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse_Syncing) Descriptor deprecated

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

Deprecated: Use StatusResponse_Syncing.ProtoReflect.Descriptor instead.

func (*StatusResponse_Syncing) GetCurrentBlock

func (x *StatusResponse_Syncing) GetCurrentBlock() int64

func (*StatusResponse_Syncing) GetHighestBlock

func (x *StatusResponse_Syncing) GetHighestBlock() int64

func (*StatusResponse_Syncing) GetStartingBlock

func (x *StatusResponse_Syncing) GetStartingBlock() int64

func (*StatusResponse_Syncing) ProtoMessage

func (*StatusResponse_Syncing) ProtoMessage()

func (*StatusResponse_Syncing) ProtoReflect

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

func (*StatusResponse_Syncing) Reset

func (x *StatusResponse_Syncing) Reset()

func (*StatusResponse_Syncing) String

func (x *StatusResponse_Syncing) String() string

type UnimplementedBorServer

type UnimplementedBorServer struct {
}

UnimplementedBorServer must be embedded to have forward compatible implementations.

func (UnimplementedBorServer) ChainSetHead

func (UnimplementedBorServer) ChainWatch

func (UnimplementedBorServer) PeersAdd

func (UnimplementedBorServer) PeersList

func (UnimplementedBorServer) PeersRemove

func (UnimplementedBorServer) PeersStatus

func (UnimplementedBorServer) Pprof

func (UnimplementedBorServer) Status

type UnsafeBorServer

type UnsafeBorServer interface {
	// contains filtered or unexported methods
}

UnsafeBorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BorServer will result in compilation errors.

Jump to

Keyboard shortcuts

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