Documentation ¶
Index ¶
- Variables
- type AuthenticatedCredential
- func (*AuthenticatedCredential) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatedCredential) GetCredential() *Credential
- func (x *AuthenticatedCredential) GetMac() []byte
- func (*AuthenticatedCredential) ProtoMessage()
- func (x *AuthenticatedCredential) ProtoReflect() protoreflect.Message
- func (x *AuthenticatedCredential) Reset()
- func (x *AuthenticatedCredential) String() string
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetNodeId() []byte
- func (x *Credential) GetOperatorType() OperatorType
- func (x *Credential) GetTimestamp() int64
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type OperatorType
- func (OperatorType) Descriptor() protoreflect.EnumDescriptor
- func (x OperatorType) Enum() *OperatorType
- func (OperatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperatorType) Number() protoreflect.EnumNumber
- func (x OperatorType) String() string
- func (OperatorType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OperatorType_name = map[int32]string{ 0: "OT_ROCKETPOOL", 1: "OT_SOLO", } OperatorType_value = map[string]int32{ "OT_ROCKETPOOL": 0, "OT_SOLO": 1, } )
Enum value maps for OperatorType.
View Source
var File_credential_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthenticatedCredential ¶
type AuthenticatedCredential struct { Credential *Credential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // The credential itself Mac []byte `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"` // The (H)MAC // contains filtered or unexported fields }
func (*AuthenticatedCredential) Descriptor
deprecated
func (*AuthenticatedCredential) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatedCredential.ProtoReflect.Descriptor instead.
func (*AuthenticatedCredential) GetCredential ¶
func (x *AuthenticatedCredential) GetCredential() *Credential
func (*AuthenticatedCredential) GetMac ¶
func (x *AuthenticatedCredential) GetMac() []byte
func (*AuthenticatedCredential) ProtoMessage ¶
func (*AuthenticatedCredential) ProtoMessage()
func (*AuthenticatedCredential) ProtoReflect ¶
func (x *AuthenticatedCredential) ProtoReflect() protoreflect.Message
func (*AuthenticatedCredential) Reset ¶
func (x *AuthenticatedCredential) Reset()
func (*AuthenticatedCredential) String ¶
func (x *AuthenticatedCredential) String() string
type Credential ¶
type Credential struct { NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // 20 bytes representing the Node address, or if a solo validator, the withdrawal address. Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // UTC epoch time the credential was issued OperatorType OperatorType `` // The type of Node Operator for whom the credential was issued. /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetNodeId ¶
func (x *Credential) GetNodeId() []byte
func (*Credential) GetOperatorType ¶
func (x *Credential) GetOperatorType() OperatorType
func (*Credential) GetTimestamp ¶
func (x *Credential) GetTimestamp() int64
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type OperatorType ¶
type OperatorType int32
const ( OperatorType_OT_ROCKETPOOL OperatorType = 0 // Issued to a RP NO via a signature from their node wallet. OperatorType_OT_SOLO OperatorType = 1 // Issued to a solo validator via a signature from their 0x01 withdrawal address. )
func (OperatorType) Descriptor ¶
func (OperatorType) Descriptor() protoreflect.EnumDescriptor
func (OperatorType) Enum ¶
func (x OperatorType) Enum() *OperatorType
func (OperatorType) EnumDescriptor
deprecated
func (OperatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperatorType.Descriptor instead.
func (OperatorType) Number ¶
func (x OperatorType) Number() protoreflect.EnumNumber
func (OperatorType) String ¶
func (x OperatorType) String() string
func (OperatorType) Type ¶
func (OperatorType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.