models

package
v0.0.0-...-e66ef0e Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatedCredential

type AuthenticatedCredential = credentials.AuthenticatedCredential

type CredentialEvent

type CredentialEvent struct {
	NodeID       NodeID
	Timestamp    int64
	Type         CredentialEventType
	OperatorType credentials.OperatorType
}

type CredentialEventType

type CredentialEventType int
const (
	CredentialIssued CredentialEventType = iota
	CredentialRevoked
)

type NodeID

type NodeID = common.Address

type NodeRegistry

type NodeRegistry struct {
	LastUpdated time.Time
	// contains filtered or unexported fields
}

NodeRegistry contains the currently known Rocket Pool nodes. It is periodically updated by UpdateNodesTask.

func NewNodeRegistry

func NewNodeRegistry() *NodeRegistry

func (*NodeRegistry) Add

func (c *NodeRegistry) Add(ids []NodeID)

func (*NodeRegistry) Has

func (c *NodeRegistry) Has(id NodeID) bool

func (*NodeRegistry) Reset

func (c *NodeRegistry) Reset()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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