Skip to main content

Module validator

Module validator 

Source
Expand description

Validator RPC method catalogue.

Smaller than the fullnode surface — validators serve operator-facing status / duty / slashing-db inspection and a handful of admin methods.

ClassMethods
Statusget_status, get_duty_history, healthz, get_version
Slashing DBget_slashing_db, export_slashing_db, reset_slashing_db
Adminstop_node, reload_config

Structs§

DutyEntry
A single duty-loop event.
ExportSlashingDbRequest
export_slashing_db — write the slashing DB to a server-side path (EIP-3076 interchange format).
ExportSlashingDbResponse
Response for ExportSlashingDbRequest.
GetDutyHistoryRequest
get_duty_history — recent duty-loop entries.
GetDutyHistoryResponse
Response for GetDutyHistoryRequest.
GetSlashingDbRequest
get_slashing_db — return the current slashing-protection watermarks.
GetSlashingDbResponse
Response for GetSlashingDbRequest.
GetStatusRequest
get_status — current validator status.
GetStatusResponse
Response for GetStatusRequest.
GetVersionRequest
get_version — binary identification.
GetVersionResponse
Response for GetVersionRequest.
HealthzRequest
healthz — liveness probe. Identical shape to the fullnode method.
HealthzResponse
Response for HealthzRequest.
ReloadConfigRequest
reload_config — re-read config.toml and apply non-destructive changes.
ReloadConfigResponse
Response for ReloadConfigRequest.
ResetSlashingDbRequest
reset_slashing_db — destructively reset the slashing-protection DB.
ResetSlashingDbResponse
Response for ResetSlashingDbRequest.
StopNodeRequest
stop_node — request validator shutdown. Mirror of the fullnode method but with a different server surface.
StopNodeResponse
Response for StopNodeRequest.

Enums§

DutyKind
Duty kinds a validator performs.

Functions§

now_unix_seconds
Convenience helper — compute now() in Unix-epoch seconds for callers who want to provide since.