ethereum_beacon_rpc_v1

package
v1.3.8-geth Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDebug        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDebug          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDebug = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHealth        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHealth          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHealth = fmt.Errorf("proto: unexpected end of group")
)
View Source
var LoggingLevelRequest_Level_name = map[int32]string{
	0: "INFO",
	1: "DEBUG",
	2: "TRACE",
}
View Source
var LoggingLevelRequest_Level_value = map[string]int32{
	"INFO":  0,
	"DEBUG": 1,
	"TRACE": 2,
}

Functions

func RegisterDebugServer

func RegisterDebugServer(s *grpc.Server, srv DebugServer)

func RegisterHealthServer

func RegisterHealthServer(s *grpc.Server, srv HealthServer)

Types

type BeaconStateRequest

type BeaconStateRequest struct {
	// Types that are valid to be assigned to QueryFilter:
	//	*BeaconStateRequest_Slot
	//	*BeaconStateRequest_BlockRoot
	QueryFilter          isBeaconStateRequest_QueryFilter `protobuf_oneof:"query_filter"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*BeaconStateRequest) Descriptor

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

func (*BeaconStateRequest) GetBlockRoot

func (m *BeaconStateRequest) GetBlockRoot() []byte

func (*BeaconStateRequest) GetQueryFilter

func (m *BeaconStateRequest) GetQueryFilter() isBeaconStateRequest_QueryFilter

func (*BeaconStateRequest) GetSlot

func (*BeaconStateRequest) Marshal

func (m *BeaconStateRequest) Marshal() (dAtA []byte, err error)

func (*BeaconStateRequest) MarshalTo

func (m *BeaconStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BeaconStateRequest) MarshalToSizedBuffer

func (m *BeaconStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BeaconStateRequest) ProtoMessage

func (*BeaconStateRequest) ProtoMessage()

func (*BeaconStateRequest) Reset

func (m *BeaconStateRequest) Reset()

func (*BeaconStateRequest) Size

func (m *BeaconStateRequest) Size() (n int)

func (*BeaconStateRequest) String

func (m *BeaconStateRequest) String() string

func (*BeaconStateRequest) Unmarshal

func (m *BeaconStateRequest) Unmarshal(dAtA []byte) error

func (*BeaconStateRequest) XXX_DiscardUnknown

func (m *BeaconStateRequest) XXX_DiscardUnknown()

func (*BeaconStateRequest) XXX_Marshal

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

func (*BeaconStateRequest) XXX_Merge

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

func (*BeaconStateRequest) XXX_OneofWrappers

func (*BeaconStateRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BeaconStateRequest) XXX_Size

func (m *BeaconStateRequest) XXX_Size() int

func (*BeaconStateRequest) XXX_Unmarshal

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

type BeaconStateRequest_BlockRoot

type BeaconStateRequest_BlockRoot struct {
	BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3,oneof" json:"block_root,omitempty"`
}

func (*BeaconStateRequest_BlockRoot) MarshalTo

func (m *BeaconStateRequest_BlockRoot) MarshalTo(dAtA []byte) (int, error)

func (*BeaconStateRequest_BlockRoot) MarshalToSizedBuffer

func (m *BeaconStateRequest_BlockRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BeaconStateRequest_BlockRoot) Size

func (m *BeaconStateRequest_BlockRoot) Size() (n int)

type BeaconStateRequest_Slot

type BeaconStateRequest_Slot struct {
	Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"`
}

func (*BeaconStateRequest_Slot) MarshalTo

func (m *BeaconStateRequest_Slot) MarshalTo(dAtA []byte) (int, error)

func (*BeaconStateRequest_Slot) MarshalToSizedBuffer

func (m *BeaconStateRequest_Slot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BeaconStateRequest_Slot) Size

func (m *BeaconStateRequest_Slot) Size() (n int)

type BlockRequest

type BlockRequest struct {
	BlockRoot            []byte   `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockRequest) Descriptor

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

func (*BlockRequest) GetBlockRoot

func (m *BlockRequest) GetBlockRoot() []byte

func (*BlockRequest) Marshal

func (m *BlockRequest) Marshal() (dAtA []byte, err error)

func (*BlockRequest) MarshalTo

func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*BlockRequest) MarshalToSizedBuffer

func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) Size

func (m *BlockRequest) Size() (n int)

func (*BlockRequest) String

func (m *BlockRequest) String() string

func (*BlockRequest) Unmarshal

func (m *BlockRequest) Unmarshal(dAtA []byte) error

func (*BlockRequest) XXX_DiscardUnknown

func (m *BlockRequest) XXX_DiscardUnknown()

func (*BlockRequest) XXX_Marshal

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

func (*BlockRequest) XXX_Merge

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

func (*BlockRequest) XXX_Size

func (m *BlockRequest) XXX_Size() int

func (*BlockRequest) XXX_Unmarshal

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

type DebugClient

type DebugClient interface {
	GetBeaconState(ctx context.Context, in *BeaconStateRequest, opts ...grpc.CallOption) (*SSZResponse, error)
	GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*SSZResponse, error)
	SetLoggingLevel(ctx context.Context, in *LoggingLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	GetProtoArrayForkChoice(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProtoArrayForkChoiceResponse, error)
	ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DebugPeerResponses, error)
	GetPeer(ctx context.Context, in *v1alpha1.PeerRequest, opts ...grpc.CallOption) (*DebugPeerResponse, error)
	GetInclusionSlot(ctx context.Context, in *InclusionSlotRequest, opts ...grpc.CallOption) (*InclusionSlotResponse, error)
}

DebugClient is the client API for Debug service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDebugClient

func NewDebugClient(cc *grpc.ClientConn) DebugClient

type DebugPeerResponse

type DebugPeerResponse struct {
	ListeningAddresses   []string                    `protobuf:"bytes,1,rep,name=listening_addresses,json=listeningAddresses,proto3" json:"listening_addresses,omitempty"`
	Direction            v1alpha1.PeerDirection      `protobuf:"varint,2,opt,name=direction,proto3,enum=ethereum.eth.v1alpha1.PeerDirection" json:"direction,omitempty"`
	ConnectionState      v1alpha1.ConnectionState    `` /* 150-byte string literal not displayed */
	PeerId               string                      `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	Enr                  string                      `protobuf:"bytes,5,opt,name=enr,proto3" json:"enr,omitempty"`
	PeerInfo             *DebugPeerResponse_PeerInfo `protobuf:"bytes,6,opt,name=peer_info,json=peerInfo,proto3" json:"peer_info,omitempty"`
	PeerStatus           *v1.Status                  `protobuf:"bytes,7,opt,name=peer_status,json=peerStatus,proto3" json:"peer_status,omitempty"`
	LastUpdated          uint64                      `protobuf:"varint,8,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	ScoreInfo            *ScoreInfo                  `protobuf:"bytes,9,opt,name=score_info,json=scoreInfo,proto3" json:"score_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*DebugPeerResponse) Descriptor

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

func (*DebugPeerResponse) GetConnectionState

func (m *DebugPeerResponse) GetConnectionState() v1alpha1.ConnectionState

func (*DebugPeerResponse) GetDirection

func (m *DebugPeerResponse) GetDirection() v1alpha1.PeerDirection

func (*DebugPeerResponse) GetEnr

func (m *DebugPeerResponse) GetEnr() string

func (*DebugPeerResponse) GetLastUpdated

func (m *DebugPeerResponse) GetLastUpdated() uint64

func (*DebugPeerResponse) GetListeningAddresses

func (m *DebugPeerResponse) GetListeningAddresses() []string

func (*DebugPeerResponse) GetPeerId

func (m *DebugPeerResponse) GetPeerId() string

func (*DebugPeerResponse) GetPeerInfo

func (*DebugPeerResponse) GetPeerStatus

func (m *DebugPeerResponse) GetPeerStatus() *v1.Status

func (*DebugPeerResponse) GetScoreInfo

func (m *DebugPeerResponse) GetScoreInfo() *ScoreInfo

func (*DebugPeerResponse) Marshal

func (m *DebugPeerResponse) Marshal() (dAtA []byte, err error)

func (*DebugPeerResponse) MarshalTo

func (m *DebugPeerResponse) MarshalTo(dAtA []byte) (int, error)

func (*DebugPeerResponse) MarshalToSizedBuffer

func (m *DebugPeerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DebugPeerResponse) ProtoMessage

func (*DebugPeerResponse) ProtoMessage()

func (*DebugPeerResponse) Reset

func (m *DebugPeerResponse) Reset()

func (*DebugPeerResponse) Size

func (m *DebugPeerResponse) Size() (n int)

func (*DebugPeerResponse) String

func (m *DebugPeerResponse) String() string

func (*DebugPeerResponse) Unmarshal

func (m *DebugPeerResponse) Unmarshal(dAtA []byte) error

func (*DebugPeerResponse) XXX_DiscardUnknown

func (m *DebugPeerResponse) XXX_DiscardUnknown()

func (*DebugPeerResponse) XXX_Marshal

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

func (*DebugPeerResponse) XXX_Merge

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

func (*DebugPeerResponse) XXX_Size

func (m *DebugPeerResponse) XXX_Size() int

func (*DebugPeerResponse) XXX_Unmarshal

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

type DebugPeerResponse_PeerInfo

type DebugPeerResponse_PeerInfo struct {
	Metadata             *v1.MetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Protocols            []string     `protobuf:"bytes,2,rep,name=protocols,proto3" json:"protocols,omitempty"`
	FaultCount           uint64       `protobuf:"varint,3,opt,name=fault_count,json=faultCount,proto3" json:"fault_count,omitempty"`
	ProtocolVersion      string       `protobuf:"bytes,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	AgentVersion         string       `protobuf:"bytes,5,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	PeerLatency          uint64       `protobuf:"varint,6,opt,name=peer_latency,json=peerLatency,proto3" json:"peer_latency,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DebugPeerResponse_PeerInfo) Descriptor

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

func (*DebugPeerResponse_PeerInfo) GetAgentVersion

func (m *DebugPeerResponse_PeerInfo) GetAgentVersion() string

func (*DebugPeerResponse_PeerInfo) GetFaultCount

func (m *DebugPeerResponse_PeerInfo) GetFaultCount() uint64

func (*DebugPeerResponse_PeerInfo) GetMetadata

func (m *DebugPeerResponse_PeerInfo) GetMetadata() *v1.MetaData

func (*DebugPeerResponse_PeerInfo) GetPeerLatency

func (m *DebugPeerResponse_PeerInfo) GetPeerLatency() uint64

func (*DebugPeerResponse_PeerInfo) GetProtocolVersion

func (m *DebugPeerResponse_PeerInfo) GetProtocolVersion() string

func (*DebugPeerResponse_PeerInfo) GetProtocols

func (m *DebugPeerResponse_PeerInfo) GetProtocols() []string

func (*DebugPeerResponse_PeerInfo) Marshal

func (m *DebugPeerResponse_PeerInfo) Marshal() (dAtA []byte, err error)

func (*DebugPeerResponse_PeerInfo) MarshalTo

func (m *DebugPeerResponse_PeerInfo) MarshalTo(dAtA []byte) (int, error)

func (*DebugPeerResponse_PeerInfo) MarshalToSizedBuffer

func (m *DebugPeerResponse_PeerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DebugPeerResponse_PeerInfo) ProtoMessage

func (*DebugPeerResponse_PeerInfo) ProtoMessage()

func (*DebugPeerResponse_PeerInfo) Reset

func (m *DebugPeerResponse_PeerInfo) Reset()

func (*DebugPeerResponse_PeerInfo) Size

func (m *DebugPeerResponse_PeerInfo) Size() (n int)

func (*DebugPeerResponse_PeerInfo) String

func (m *DebugPeerResponse_PeerInfo) String() string

func (*DebugPeerResponse_PeerInfo) Unmarshal

func (m *DebugPeerResponse_PeerInfo) Unmarshal(dAtA []byte) error

func (*DebugPeerResponse_PeerInfo) XXX_DiscardUnknown

func (m *DebugPeerResponse_PeerInfo) XXX_DiscardUnknown()

func (*DebugPeerResponse_PeerInfo) XXX_Marshal

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

func (*DebugPeerResponse_PeerInfo) XXX_Merge

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

func (*DebugPeerResponse_PeerInfo) XXX_Size

func (m *DebugPeerResponse_PeerInfo) XXX_Size() int

func (*DebugPeerResponse_PeerInfo) XXX_Unmarshal

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

type DebugPeerResponses

type DebugPeerResponses struct {
	Responses            []*DebugPeerResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*DebugPeerResponses) Descriptor

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

func (*DebugPeerResponses) GetResponses

func (m *DebugPeerResponses) GetResponses() []*DebugPeerResponse

func (*DebugPeerResponses) Marshal

func (m *DebugPeerResponses) Marshal() (dAtA []byte, err error)

func (*DebugPeerResponses) MarshalTo

func (m *DebugPeerResponses) MarshalTo(dAtA []byte) (int, error)

func (*DebugPeerResponses) MarshalToSizedBuffer

func (m *DebugPeerResponses) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DebugPeerResponses) ProtoMessage

func (*DebugPeerResponses) ProtoMessage()

func (*DebugPeerResponses) Reset

func (m *DebugPeerResponses) Reset()

func (*DebugPeerResponses) Size

func (m *DebugPeerResponses) Size() (n int)

func (*DebugPeerResponses) String

func (m *DebugPeerResponses) String() string

func (*DebugPeerResponses) Unmarshal

func (m *DebugPeerResponses) Unmarshal(dAtA []byte) error

func (*DebugPeerResponses) XXX_DiscardUnknown

func (m *DebugPeerResponses) XXX_DiscardUnknown()

func (*DebugPeerResponses) XXX_Marshal

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

func (*DebugPeerResponses) XXX_Merge

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

func (*DebugPeerResponses) XXX_Size

func (m *DebugPeerResponses) XXX_Size() int

func (*DebugPeerResponses) XXX_Unmarshal

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

type DebugServer

DebugServer is the server API for Debug service.

type HealthClient

type HealthClient interface {
	StreamBeaconLogs(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (Health_StreamBeaconLogsClient, error)
}

HealthClient is the client API for Health service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHealthClient

func NewHealthClient(cc *grpc.ClientConn) HealthClient

type HealthServer

type HealthServer interface {
	StreamBeaconLogs(*empty.Empty, Health_StreamBeaconLogsServer) error
}

HealthServer is the server API for Health service.

type Health_StreamBeaconLogsClient

type Health_StreamBeaconLogsClient interface {
	Recv() (*LogsResponse, error)
	grpc.ClientStream
}

type Health_StreamBeaconLogsServer

type Health_StreamBeaconLogsServer interface {
	Send(*LogsResponse) error
	grpc.ServerStream
}

type InclusionSlotRequest

type InclusionSlotRequest struct {
	Id                   uint64                                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Slot                 github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (*InclusionSlotRequest) Descriptor

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

func (*InclusionSlotRequest) GetId

func (m *InclusionSlotRequest) GetId() uint64

func (*InclusionSlotRequest) GetSlot

func (*InclusionSlotRequest) Marshal

func (m *InclusionSlotRequest) Marshal() (dAtA []byte, err error)

func (*InclusionSlotRequest) MarshalTo

func (m *InclusionSlotRequest) MarshalTo(dAtA []byte) (int, error)

func (*InclusionSlotRequest) MarshalToSizedBuffer

func (m *InclusionSlotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InclusionSlotRequest) ProtoMessage

func (*InclusionSlotRequest) ProtoMessage()

func (*InclusionSlotRequest) Reset

func (m *InclusionSlotRequest) Reset()

func (*InclusionSlotRequest) Size

func (m *InclusionSlotRequest) Size() (n int)

func (*InclusionSlotRequest) String

func (m *InclusionSlotRequest) String() string

func (*InclusionSlotRequest) Unmarshal

func (m *InclusionSlotRequest) Unmarshal(dAtA []byte) error

func (*InclusionSlotRequest) XXX_DiscardUnknown

func (m *InclusionSlotRequest) XXX_DiscardUnknown()

func (*InclusionSlotRequest) XXX_Marshal

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

func (*InclusionSlotRequest) XXX_Merge

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

func (*InclusionSlotRequest) XXX_Size

func (m *InclusionSlotRequest) XXX_Size() int

func (*InclusionSlotRequest) XXX_Unmarshal

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

type InclusionSlotResponse

type InclusionSlotResponse struct {
	Slot                 github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (*InclusionSlotResponse) Descriptor

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

func (*InclusionSlotResponse) GetSlot

func (*InclusionSlotResponse) Marshal

func (m *InclusionSlotResponse) Marshal() (dAtA []byte, err error)

func (*InclusionSlotResponse) MarshalTo

func (m *InclusionSlotResponse) MarshalTo(dAtA []byte) (int, error)

func (*InclusionSlotResponse) MarshalToSizedBuffer

func (m *InclusionSlotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InclusionSlotResponse) ProtoMessage

func (*InclusionSlotResponse) ProtoMessage()

func (*InclusionSlotResponse) Reset

func (m *InclusionSlotResponse) Reset()

func (*InclusionSlotResponse) Size

func (m *InclusionSlotResponse) Size() (n int)

func (*InclusionSlotResponse) String

func (m *InclusionSlotResponse) String() string

func (*InclusionSlotResponse) Unmarshal

func (m *InclusionSlotResponse) Unmarshal(dAtA []byte) error

func (*InclusionSlotResponse) XXX_DiscardUnknown

func (m *InclusionSlotResponse) XXX_DiscardUnknown()

func (*InclusionSlotResponse) XXX_Marshal

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

func (*InclusionSlotResponse) XXX_Merge

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

func (*InclusionSlotResponse) XXX_Size

func (m *InclusionSlotResponse) XXX_Size() int

func (*InclusionSlotResponse) XXX_Unmarshal

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

type LoggingLevelRequest

type LoggingLevelRequest struct {
	Level                LoggingLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=ethereum.beacon.rpc.v1.LoggingLevelRequest_Level" json:"level,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*LoggingLevelRequest) Descriptor

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

func (*LoggingLevelRequest) GetLevel

func (*LoggingLevelRequest) Marshal

func (m *LoggingLevelRequest) Marshal() (dAtA []byte, err error)

func (*LoggingLevelRequest) MarshalTo

func (m *LoggingLevelRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoggingLevelRequest) MarshalToSizedBuffer

func (m *LoggingLevelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoggingLevelRequest) ProtoMessage

func (*LoggingLevelRequest) ProtoMessage()

func (*LoggingLevelRequest) Reset

func (m *LoggingLevelRequest) Reset()

func (*LoggingLevelRequest) Size

func (m *LoggingLevelRequest) Size() (n int)

func (*LoggingLevelRequest) String

func (m *LoggingLevelRequest) String() string

func (*LoggingLevelRequest) Unmarshal

func (m *LoggingLevelRequest) Unmarshal(dAtA []byte) error

func (*LoggingLevelRequest) XXX_DiscardUnknown

func (m *LoggingLevelRequest) XXX_DiscardUnknown()

func (*LoggingLevelRequest) XXX_Marshal

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

func (*LoggingLevelRequest) XXX_Merge

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

func (*LoggingLevelRequest) XXX_Size

func (m *LoggingLevelRequest) XXX_Size() int

func (*LoggingLevelRequest) XXX_Unmarshal

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

type LoggingLevelRequest_Level

type LoggingLevelRequest_Level int32
const (
	LoggingLevelRequest_INFO  LoggingLevelRequest_Level = 0
	LoggingLevelRequest_DEBUG LoggingLevelRequest_Level = 1
	LoggingLevelRequest_TRACE LoggingLevelRequest_Level = 2
)

func (LoggingLevelRequest_Level) EnumDescriptor

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

func (LoggingLevelRequest_Level) String

func (x LoggingLevelRequest_Level) String() string

type LogsResponse

type LogsResponse struct {
	Logs                 []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogsResponse) Descriptor

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

func (*LogsResponse) GetLogs

func (m *LogsResponse) GetLogs() []string

func (*LogsResponse) Marshal

func (m *LogsResponse) Marshal() (dAtA []byte, err error)

func (*LogsResponse) MarshalTo

func (m *LogsResponse) MarshalTo(dAtA []byte) (int, error)

func (*LogsResponse) MarshalToSizedBuffer

func (m *LogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogsResponse) ProtoMessage

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) Reset

func (m *LogsResponse) Reset()

func (*LogsResponse) Size

func (m *LogsResponse) Size() (n int)

func (*LogsResponse) String

func (m *LogsResponse) String() string

func (*LogsResponse) Unmarshal

func (m *LogsResponse) Unmarshal(dAtA []byte) error

func (*LogsResponse) XXX_DiscardUnknown

func (m *LogsResponse) XXX_DiscardUnknown()

func (*LogsResponse) XXX_Marshal

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

func (*LogsResponse) XXX_Merge

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

func (*LogsResponse) XXX_Size

func (m *LogsResponse) XXX_Size() int

func (*LogsResponse) XXX_Unmarshal

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

type ProtoArrayForkChoiceResponse

type ProtoArrayForkChoiceResponse struct {
	PruneThreshold       uint64                                    `protobuf:"varint,1,opt,name=prune_threshold,json=pruneThreshold,proto3" json:"prune_threshold,omitempty"`
	JustifiedEpoch       github_com_prysmaticlabs_eth2_types.Epoch `` /* 155-byte string literal not displayed */
	FinalizedEpoch       github_com_prysmaticlabs_eth2_types.Epoch `` /* 155-byte string literal not displayed */
	ProtoArrayNodes      []*ProtoArrayNode                         `protobuf:"bytes,4,rep,name=proto_array_nodes,json=protoArrayNodes,proto3" json:"proto_array_nodes,omitempty"`
	Indices              map[string]uint64                         `` /* 156-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*ProtoArrayForkChoiceResponse) Descriptor

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

func (*ProtoArrayForkChoiceResponse) GetFinalizedEpoch

func (*ProtoArrayForkChoiceResponse) GetIndices

func (m *ProtoArrayForkChoiceResponse) GetIndices() map[string]uint64

func (*ProtoArrayForkChoiceResponse) GetJustifiedEpoch

func (*ProtoArrayForkChoiceResponse) GetProtoArrayNodes

func (m *ProtoArrayForkChoiceResponse) GetProtoArrayNodes() []*ProtoArrayNode

func (*ProtoArrayForkChoiceResponse) GetPruneThreshold

func (m *ProtoArrayForkChoiceResponse) GetPruneThreshold() uint64

func (*ProtoArrayForkChoiceResponse) Marshal

func (m *ProtoArrayForkChoiceResponse) Marshal() (dAtA []byte, err error)

func (*ProtoArrayForkChoiceResponse) MarshalTo

func (m *ProtoArrayForkChoiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*ProtoArrayForkChoiceResponse) MarshalToSizedBuffer

func (m *ProtoArrayForkChoiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoArrayForkChoiceResponse) ProtoMessage

func (*ProtoArrayForkChoiceResponse) ProtoMessage()

func (*ProtoArrayForkChoiceResponse) Reset

func (m *ProtoArrayForkChoiceResponse) Reset()

func (*ProtoArrayForkChoiceResponse) Size

func (m *ProtoArrayForkChoiceResponse) Size() (n int)

func (*ProtoArrayForkChoiceResponse) String

func (*ProtoArrayForkChoiceResponse) Unmarshal

func (m *ProtoArrayForkChoiceResponse) Unmarshal(dAtA []byte) error

func (*ProtoArrayForkChoiceResponse) XXX_DiscardUnknown

func (m *ProtoArrayForkChoiceResponse) XXX_DiscardUnknown()

func (*ProtoArrayForkChoiceResponse) XXX_Marshal

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

func (*ProtoArrayForkChoiceResponse) XXX_Merge

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

func (*ProtoArrayForkChoiceResponse) XXX_Size

func (m *ProtoArrayForkChoiceResponse) XXX_Size() int

func (*ProtoArrayForkChoiceResponse) XXX_Unmarshal

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

type ProtoArrayNode

type ProtoArrayNode struct {
	Slot                 github_com_prysmaticlabs_eth2_types.Slot  `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"`
	Root                 []byte                                    `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	Parent               uint64                                    `protobuf:"varint,3,opt,name=parent,proto3" json:"parent,omitempty"`
	JustifiedEpoch       github_com_prysmaticlabs_eth2_types.Epoch `` /* 155-byte string literal not displayed */
	FinalizedEpoch       github_com_prysmaticlabs_eth2_types.Epoch `` /* 155-byte string literal not displayed */
	Weight               uint64                                    `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
	BestChild            uint64                                    `protobuf:"varint,7,opt,name=best_child,json=bestChild,proto3" json:"best_child,omitempty"`
	BestDescendant       uint64                                    `protobuf:"varint,8,opt,name=best_descendant,json=bestDescendant,proto3" json:"best_descendant,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*ProtoArrayNode) Descriptor

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

func (*ProtoArrayNode) GetBestChild

func (m *ProtoArrayNode) GetBestChild() uint64

func (*ProtoArrayNode) GetBestDescendant

func (m *ProtoArrayNode) GetBestDescendant() uint64

func (*ProtoArrayNode) GetFinalizedEpoch

func (*ProtoArrayNode) GetJustifiedEpoch

func (*ProtoArrayNode) GetParent

func (m *ProtoArrayNode) GetParent() uint64

func (*ProtoArrayNode) GetRoot

func (m *ProtoArrayNode) GetRoot() []byte

func (*ProtoArrayNode) GetSlot

func (*ProtoArrayNode) GetWeight

func (m *ProtoArrayNode) GetWeight() uint64

func (*ProtoArrayNode) Marshal

func (m *ProtoArrayNode) Marshal() (dAtA []byte, err error)

func (*ProtoArrayNode) MarshalTo

func (m *ProtoArrayNode) MarshalTo(dAtA []byte) (int, error)

func (*ProtoArrayNode) MarshalToSizedBuffer

func (m *ProtoArrayNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoArrayNode) ProtoMessage

func (*ProtoArrayNode) ProtoMessage()

func (*ProtoArrayNode) Reset

func (m *ProtoArrayNode) Reset()

func (*ProtoArrayNode) Size

func (m *ProtoArrayNode) Size() (n int)

func (*ProtoArrayNode) String

func (m *ProtoArrayNode) String() string

func (*ProtoArrayNode) Unmarshal

func (m *ProtoArrayNode) Unmarshal(dAtA []byte) error

func (*ProtoArrayNode) XXX_DiscardUnknown

func (m *ProtoArrayNode) XXX_DiscardUnknown()

func (*ProtoArrayNode) XXX_Marshal

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

func (*ProtoArrayNode) XXX_Merge

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

func (*ProtoArrayNode) XXX_Size

func (m *ProtoArrayNode) XXX_Size() int

func (*ProtoArrayNode) XXX_Unmarshal

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

type SSZResponse

type SSZResponse struct {
	Encoded              []byte   `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SSZResponse) Descriptor

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

func (*SSZResponse) GetEncoded

func (m *SSZResponse) GetEncoded() []byte

func (*SSZResponse) Marshal

func (m *SSZResponse) Marshal() (dAtA []byte, err error)

func (*SSZResponse) MarshalTo

func (m *SSZResponse) MarshalTo(dAtA []byte) (int, error)

func (*SSZResponse) MarshalToSizedBuffer

func (m *SSZResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SSZResponse) ProtoMessage

func (*SSZResponse) ProtoMessage()

func (*SSZResponse) Reset

func (m *SSZResponse) Reset()

func (*SSZResponse) Size

func (m *SSZResponse) Size() (n int)

func (*SSZResponse) String

func (m *SSZResponse) String() string

func (*SSZResponse) Unmarshal

func (m *SSZResponse) Unmarshal(dAtA []byte) error

func (*SSZResponse) XXX_DiscardUnknown

func (m *SSZResponse) XXX_DiscardUnknown()

func (*SSZResponse) XXX_Marshal

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

func (*SSZResponse) XXX_Merge

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

func (*SSZResponse) XXX_Size

func (m *SSZResponse) XXX_Size() int

func (*SSZResponse) XXX_Unmarshal

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

type ScoreInfo

type ScoreInfo struct {
	OverallScore         float32                        `protobuf:"fixed32,1,opt,name=overall_score,json=overallScore,proto3" json:"overall_score,omitempty"`
	ProcessedBlocks      uint64                         `protobuf:"varint,2,opt,name=processed_blocks,json=processedBlocks,proto3" json:"processed_blocks,omitempty"`
	BlockProviderScore   float32                        `protobuf:"fixed32,3,opt,name=block_provider_score,json=blockProviderScore,proto3" json:"block_provider_score,omitempty"`
	TopicScores          map[string]*TopicScoreSnapshot `` /* 182-byte string literal not displayed */
	GossipScore          float32                        `protobuf:"fixed32,5,opt,name=gossip_score,json=gossipScore,proto3" json:"gossip_score,omitempty"`
	BehaviourPenalty     float32                        `protobuf:"fixed32,6,opt,name=behaviour_penalty,json=behaviourPenalty,proto3" json:"behaviour_penalty,omitempty"`
	ValidationError      string                         `protobuf:"bytes,7,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*ScoreInfo) Descriptor

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

func (*ScoreInfo) GetBehaviourPenalty

func (m *ScoreInfo) GetBehaviourPenalty() float32

func (*ScoreInfo) GetBlockProviderScore

func (m *ScoreInfo) GetBlockProviderScore() float32

func (*ScoreInfo) GetGossipScore

func (m *ScoreInfo) GetGossipScore() float32

func (*ScoreInfo) GetOverallScore

func (m *ScoreInfo) GetOverallScore() float32

func (*ScoreInfo) GetProcessedBlocks

func (m *ScoreInfo) GetProcessedBlocks() uint64

func (*ScoreInfo) GetTopicScores

func (m *ScoreInfo) GetTopicScores() map[string]*TopicScoreSnapshot

func (*ScoreInfo) GetValidationError

func (m *ScoreInfo) GetValidationError() string

func (*ScoreInfo) Marshal

func (m *ScoreInfo) Marshal() (dAtA []byte, err error)

func (*ScoreInfo) MarshalTo

func (m *ScoreInfo) MarshalTo(dAtA []byte) (int, error)

func (*ScoreInfo) MarshalToSizedBuffer

func (m *ScoreInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScoreInfo) ProtoMessage

func (*ScoreInfo) ProtoMessage()

func (*ScoreInfo) Reset

func (m *ScoreInfo) Reset()

func (*ScoreInfo) Size

func (m *ScoreInfo) Size() (n int)

func (*ScoreInfo) String

func (m *ScoreInfo) String() string

func (*ScoreInfo) Unmarshal

func (m *ScoreInfo) Unmarshal(dAtA []byte) error

func (*ScoreInfo) XXX_DiscardUnknown

func (m *ScoreInfo) XXX_DiscardUnknown()

func (*ScoreInfo) XXX_Marshal

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

func (*ScoreInfo) XXX_Merge

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

func (*ScoreInfo) XXX_Size

func (m *ScoreInfo) XXX_Size() int

func (*ScoreInfo) XXX_Unmarshal

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

type TopicScoreSnapshot

type TopicScoreSnapshot struct {
	TimeInMesh               uint64   `protobuf:"varint,1,opt,name=time_in_mesh,json=timeInMesh,proto3" json:"time_in_mesh,omitempty"`
	FirstMessageDeliveries   float32  `` /* 131-byte string literal not displayed */
	MeshMessageDeliveries    float32  `` /* 128-byte string literal not displayed */
	InvalidMessageDeliveries float32  `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

func (*TopicScoreSnapshot) Descriptor

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

func (*TopicScoreSnapshot) GetFirstMessageDeliveries

func (m *TopicScoreSnapshot) GetFirstMessageDeliveries() float32

func (*TopicScoreSnapshot) GetInvalidMessageDeliveries

func (m *TopicScoreSnapshot) GetInvalidMessageDeliveries() float32

func (*TopicScoreSnapshot) GetMeshMessageDeliveries

func (m *TopicScoreSnapshot) GetMeshMessageDeliveries() float32

func (*TopicScoreSnapshot) GetTimeInMesh

func (m *TopicScoreSnapshot) GetTimeInMesh() uint64

func (*TopicScoreSnapshot) Marshal

func (m *TopicScoreSnapshot) Marshal() (dAtA []byte, err error)

func (*TopicScoreSnapshot) MarshalTo

func (m *TopicScoreSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*TopicScoreSnapshot) MarshalToSizedBuffer

func (m *TopicScoreSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopicScoreSnapshot) ProtoMessage

func (*TopicScoreSnapshot) ProtoMessage()

func (*TopicScoreSnapshot) Reset

func (m *TopicScoreSnapshot) Reset()

func (*TopicScoreSnapshot) Size

func (m *TopicScoreSnapshot) Size() (n int)

func (*TopicScoreSnapshot) String

func (m *TopicScoreSnapshot) String() string

func (*TopicScoreSnapshot) Unmarshal

func (m *TopicScoreSnapshot) Unmarshal(dAtA []byte) error

func (*TopicScoreSnapshot) XXX_DiscardUnknown

func (m *TopicScoreSnapshot) XXX_DiscardUnknown()

func (*TopicScoreSnapshot) XXX_Marshal

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

func (*TopicScoreSnapshot) XXX_Merge

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

func (*TopicScoreSnapshot) XXX_Size

func (m *TopicScoreSnapshot) XXX_Size() int

func (*TopicScoreSnapshot) XXX_Unmarshal

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

type UnimplementedDebugServer

type UnimplementedDebugServer struct {
}

UnimplementedDebugServer can be embedded to have forward compatible implementations.

func (*UnimplementedDebugServer) GetBeaconState

func (*UnimplementedDebugServer) GetBlock

func (*UnimplementedDebugServer) GetInclusionSlot

func (*UnimplementedDebugServer) GetPeer

func (*UnimplementedDebugServer) GetProtoArrayForkChoice

func (*UnimplementedDebugServer) GetProtoArrayForkChoice(ctx context.Context, req *empty.Empty) (*ProtoArrayForkChoiceResponse, error)

func (*UnimplementedDebugServer) ListPeers

func (*UnimplementedDebugServer) SetLoggingLevel

type UnimplementedHealthServer

type UnimplementedHealthServer struct {
}

UnimplementedHealthServer can be embedded to have forward compatible implementations.

func (*UnimplementedHealthServer) StreamBeaconLogs

Jump to

Keyboard shortcuts

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