Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver maps validator indices to client names using configured ranges.
func NewResolver ¶
func NewResolver(cfg *config.ValidatorRangesConfig, log logrus.FieldLogger) *Resolver
func (*Resolver) GetClientName ¶
func (r *Resolver) GetClientName(index phase0.ValidatorIndex) string
GetClientName returns the client name for the given validator index, or "" if not found.
Click to show internal directories.
Click to hide internal directories.