Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 717b8285302710dfbb2c063c2d5d11dd773517355a3e102ea44e58f3e7a2dfe1
Index ¶
- Variables
- func RegisterE2EServiceServer(s grpc.ServiceRegistrar, srv E2EServiceServer)
- type Account
- type DeployNodeRequest
- func (*DeployNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployNodeRequest) GetNodeClient() NodeClient
- func (*DeployNodeRequest) ProtoMessage()
- func (x *DeployNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DeployNodeRequest) Reset()
- func (x *DeployNodeRequest) String() string
- type DeployNodeResponse
- type DeployValidatorRequest
- func (*DeployValidatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployValidatorRequest) GetNodeClient() NodeClient
- func (x *DeployValidatorRequest) GetNumValidators() uint64
- func (*DeployValidatorRequest) ProtoMessage()
- func (x *DeployValidatorRequest) ProtoReflect() protoreflect.Message
- func (x *DeployValidatorRequest) Reset()
- func (x *DeployValidatorRequest) String() string
- type DeployValidatorResponse
- type DepositData
- func (d *DepositData) HashTreeRoot() ([32]byte, error)
- func (d *DepositData) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (d *DepositData) MarshalSSZ() ([]byte, error)
- func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *DepositData) SizeSSZ() (size int)
- func (d *DepositData) UnmarshalSSZ(buf []byte) error
- type DepositMessage
- func (d *DepositMessage) HashTreeRoot() ([32]byte, error)
- func (d *DepositMessage) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (d *DepositMessage) MarshalSSZ() ([]byte, error)
- func (d *DepositMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *DepositMessage) SizeSSZ() (size int)
- func (d *DepositMessage) UnmarshalSSZ(buf []byte) error
- type E2EServiceClient
- type E2EServiceServer
- type ForkData
- func (f *ForkData) HashTreeRoot() ([32]byte, error)
- func (f *ForkData) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (f *ForkData) MarshalSSZ() ([]byte, error)
- func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (f *ForkData) SizeSSZ() (size int)
- func (f *ForkData) UnmarshalSSZ(buf []byte) error
- type NodeClient
- type NodeType
- type SigningData
- func (s *SigningData) HashTreeRoot() ([32]byte, error)
- func (s *SigningData) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SigningData) MarshalSSZ() ([]byte, error)
- func (s *SigningData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SigningData) SizeSSZ() (size int)
- func (s *SigningData) UnmarshalSSZ(buf []byte) error
- type UnimplementedE2EServiceServer
- type UnsafeE2EServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( NodeType_name = map[int32]string{ 0: "Other", 1: "Beacon", 2: "Validator", 3: "Bootnode", } NodeType_value = map[string]int32{ "Other": 0, "Beacon": 1, "Validator": 2, "Bootnode": 3, } )
Enum value maps for NodeType.
var ( NodeClient_name = map[int32]string{ 0: "Prysm", 1: "Teku", 2: "Lighthouse", } NodeClient_value = map[string]int32{ "Prysm": 0, "Teku": 1, "Lighthouse": 2, } )
Enum value maps for NodeClient.
var E2EService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.E2EService", HandlerType: (*E2EServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeployNode", Handler: _E2EService_DeployNode_Handler, }, { MethodName: "DeployValidator", Handler: _E2EService_DeployValidator_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "internal/testutil/proto/service.proto", }
E2EService_ServiceDesc is the grpc.ServiceDesc for E2EService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_internal_testutil_proto_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterE2EServiceServer ¶
func RegisterE2EServiceServer(s grpc.ServiceRegistrar, srv E2EServiceServer)
Types ¶
type DeployNodeRequest ¶
type DeployNodeRequest struct { NodeClient NodeClient `protobuf:"varint,1,opt,name=nodeClient,proto3,enum=proto.NodeClient" json:"nodeClient,omitempty"` // contains filtered or unexported fields }
func (*DeployNodeRequest) Descriptor
deprecated
func (*DeployNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployNodeRequest.ProtoReflect.Descriptor instead.
func (*DeployNodeRequest) GetNodeClient ¶
func (x *DeployNodeRequest) GetNodeClient() NodeClient
func (*DeployNodeRequest) ProtoMessage ¶
func (*DeployNodeRequest) ProtoMessage()
func (*DeployNodeRequest) ProtoReflect ¶
func (x *DeployNodeRequest) ProtoReflect() protoreflect.Message
func (*DeployNodeRequest) Reset ¶
func (x *DeployNodeRequest) Reset()
func (*DeployNodeRequest) String ¶
func (x *DeployNodeRequest) String() string
type DeployNodeResponse ¶
type DeployNodeResponse struct {
// contains filtered or unexported fields
}
func (*DeployNodeResponse) Descriptor
deprecated
func (*DeployNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployNodeResponse.ProtoReflect.Descriptor instead.
func (*DeployNodeResponse) ProtoMessage ¶
func (*DeployNodeResponse) ProtoMessage()
func (*DeployNodeResponse) ProtoReflect ¶
func (x *DeployNodeResponse) ProtoReflect() protoreflect.Message
func (*DeployNodeResponse) Reset ¶
func (x *DeployNodeResponse) Reset()
func (*DeployNodeResponse) String ¶
func (x *DeployNodeResponse) String() string
type DeployValidatorRequest ¶
type DeployValidatorRequest struct { NumValidators uint64 `protobuf:"varint,1,opt,name=numValidators,proto3" json:"numValidators,omitempty"` NodeClient NodeClient `protobuf:"varint,2,opt,name=nodeClient,proto3,enum=proto.NodeClient" json:"nodeClient,omitempty"` // contains filtered or unexported fields }
func (*DeployValidatorRequest) Descriptor
deprecated
func (*DeployValidatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployValidatorRequest.ProtoReflect.Descriptor instead.
func (*DeployValidatorRequest) GetNodeClient ¶
func (x *DeployValidatorRequest) GetNodeClient() NodeClient
func (*DeployValidatorRequest) GetNumValidators ¶
func (x *DeployValidatorRequest) GetNumValidators() uint64
func (*DeployValidatorRequest) ProtoMessage ¶
func (*DeployValidatorRequest) ProtoMessage()
func (*DeployValidatorRequest) ProtoReflect ¶
func (x *DeployValidatorRequest) ProtoReflect() protoreflect.Message
func (*DeployValidatorRequest) Reset ¶
func (x *DeployValidatorRequest) Reset()
func (*DeployValidatorRequest) String ¶
func (x *DeployValidatorRequest) String() string
type DeployValidatorResponse ¶
type DeployValidatorResponse struct {
// contains filtered or unexported fields
}
func (*DeployValidatorResponse) Descriptor
deprecated
func (*DeployValidatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployValidatorResponse.ProtoReflect.Descriptor instead.
func (*DeployValidatorResponse) ProtoMessage ¶
func (*DeployValidatorResponse) ProtoMessage()
func (*DeployValidatorResponse) ProtoReflect ¶
func (x *DeployValidatorResponse) ProtoReflect() protoreflect.Message
func (*DeployValidatorResponse) Reset ¶
func (x *DeployValidatorResponse) Reset()
func (*DeployValidatorResponse) String ¶
func (x *DeployValidatorResponse) String() string
type DepositData ¶
type DepositData struct { Pubkey []byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `json:"withdrawal_credentials" ssz-size:"32"` Amount uint64 `json:"amount"` Signature []byte `json:"signature" ssz-size:"96"` Root [32]byte `ssz:"-"` }
func (*DepositData) HashTreeRoot ¶
func (d *DepositData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the DepositData object
func (*DepositData) HashTreeRootWith ¶
func (d *DepositData) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the DepositData object with a hasher
func (*DepositData) MarshalSSZ ¶
func (d *DepositData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the DepositData object
func (*DepositData) MarshalSSZTo ¶
func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the DepositData object to a target array
func (*DepositData) SizeSSZ ¶
func (d *DepositData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the DepositData object
func (*DepositData) UnmarshalSSZ ¶
func (d *DepositData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the DepositData object
type DepositMessage ¶
type DepositMessage struct { Pubkey []byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `json:"withdrawal_credentials" ssz-size:"32"` Amount uint64 `json:"amount"` }
func (*DepositMessage) HashTreeRoot ¶
func (d *DepositMessage) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the DepositMessage object
func (*DepositMessage) HashTreeRootWith ¶
func (d *DepositMessage) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the DepositMessage object with a hasher
func (*DepositMessage) MarshalSSZ ¶
func (d *DepositMessage) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the DepositMessage object
func (*DepositMessage) MarshalSSZTo ¶
func (d *DepositMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the DepositMessage object to a target array
func (*DepositMessage) SizeSSZ ¶
func (d *DepositMessage) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the DepositMessage object
func (*DepositMessage) UnmarshalSSZ ¶
func (d *DepositMessage) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the DepositMessage object
type E2EServiceClient ¶
type E2EServiceClient interface { DeployNode(ctx context.Context, in *DeployNodeRequest, opts ...grpc.CallOption) (*DeployNodeResponse, error) DeployValidator(ctx context.Context, in *DeployValidatorRequest, opts ...grpc.CallOption) (*DeployValidatorResponse, error) }
E2EServiceClient is the client API for E2EService 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 NewE2EServiceClient ¶
func NewE2EServiceClient(cc grpc.ClientConnInterface) E2EServiceClient
type E2EServiceServer ¶
type E2EServiceServer interface { DeployNode(context.Context, *DeployNodeRequest) (*DeployNodeResponse, error) DeployValidator(context.Context, *DeployValidatorRequest) (*DeployValidatorResponse, error) // contains filtered or unexported methods }
E2EServiceServer is the server API for E2EService service. All implementations must embed UnimplementedE2EServiceServer for forward compatibility
type ForkData ¶
type ForkData struct { CurrentVersion []byte `ssz-size:"4"` GenesisValidatorsRoot []byte `ssz-size:"32"` }
func (*ForkData) HashTreeRoot ¶
HashTreeRoot ssz hashes the ForkData object
func (*ForkData) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the ForkData object with a hasher
func (*ForkData) MarshalSSZ ¶
MarshalSSZ ssz marshals the ForkData object
func (*ForkData) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the ForkData object to a target array
func (*ForkData) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the ForkData object
type NodeClient ¶
type NodeClient int32
const ( NodeClient_Prysm NodeClient = 0 NodeClient_Teku NodeClient = 1 NodeClient_Lighthouse NodeClient = 2 )
func StringToNodeClient ¶
func StringToNodeClient(str string) (NodeClient, bool)
func (NodeClient) Descriptor ¶
func (NodeClient) Descriptor() protoreflect.EnumDescriptor
func (NodeClient) Enum ¶
func (x NodeClient) Enum() *NodeClient
func (NodeClient) EnumDescriptor
deprecated
func (NodeClient) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeClient.Descriptor instead.
func (NodeClient) Number ¶
func (x NodeClient) Number() protoreflect.EnumNumber
func (NodeClient) String ¶
func (x NodeClient) String() string
func (NodeClient) Type ¶
func (NodeClient) Type() protoreflect.EnumType
type NodeType ¶
type NodeType int32
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type SigningData ¶
func (*SigningData) HashTreeRoot ¶
func (s *SigningData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SigningData object
func (*SigningData) HashTreeRootWith ¶
func (s *SigningData) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SigningData object with a hasher
func (*SigningData) MarshalSSZ ¶
func (s *SigningData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SigningData object
func (*SigningData) MarshalSSZTo ¶
func (s *SigningData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SigningData object to a target array
func (*SigningData) SizeSSZ ¶
func (s *SigningData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SigningData object
func (*SigningData) UnmarshalSSZ ¶
func (s *SigningData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SigningData object
type UnimplementedE2EServiceServer ¶
type UnimplementedE2EServiceServer struct { }
UnimplementedE2EServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedE2EServiceServer) DeployNode ¶
func (UnimplementedE2EServiceServer) DeployNode(context.Context, *DeployNodeRequest) (*DeployNodeResponse, error)
func (UnimplementedE2EServiceServer) DeployValidator ¶
func (UnimplementedE2EServiceServer) DeployValidator(context.Context, *DeployValidatorRequest) (*DeployValidatorResponse, error)
type UnsafeE2EServiceServer ¶
type UnsafeE2EServiceServer interface {
// contains filtered or unexported methods
}
UnsafeE2EServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to E2EServiceServer will result in compilation errors.