Documentation ¶
Overview ¶
Package service defines the service used to retrieve slashings proofs and feed attestations and block headers into the slasher db.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int CertFlag string KeyFlag string SlasherDb *kv.Store BeaconProvider string BeaconCert string }
Config options for the slasher server.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service defining an RPC server for the slasher service.
func NewRPCService ¶
NewRPCService creates a new instance of a struct implementing the SlasherService interface.
Click to show internal directories.
Click to hide internal directories.