Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AccountsPattern is the path pattern for list accounts endpoint
AccountsPattern = "accounts/"
)
Endpoints patterns
View Source
const (
// ConfigPattern is the path pattern for config endpoint
ConfigPattern = "config"
)
Endpoints patterns
View Source
const (
// SignAttestationPattern is the path pattern for sign attestation endpoint
SignPattern = "accounts/sign"
)
Endpoints patterns
View Source
const (
// SlashingStoragePattern is the path pattern for slashing storage endpoint
SlashingStoragePattern = "storage/slashing"
)
Endpoints patterns
View Source
const (
// StoragePattern is the path pattern for storage endpoint
StoragePattern = "storage"
)
Endpoints patterns
View Source
const (
// VersionPattern is the path pattern for version endpoint
VersionPattern = "version"
)
Endpoints patterns
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Network core.Network `json:"network"` FeeRecipients map[string]string `json:"fee_recipients"` }
Config contains the configuration for each mount
type FeeRecipients ¶ added in v1.5.0
FeeRecipients is a map of validator public keys and their associated fee recipient addresses. Both the public key and the address are 0x-prefixed hex strings.
func ParseFeeRecipients ¶ added in v1.5.0
func ParseFeeRecipients(input map[string]interface{}) (FeeRecipients, error)
ParseFeeRecipients parses & validates the fee recipients from a given map[string]interface{}
func (*FeeRecipients) UnmarshalJSON ¶ added in v1.5.0
func (f *FeeRecipients) UnmarshalJSON(data []byte) error
UnmarshalJSON decodes JSON-encoded FeeRecipients with validation.
type SlashingHistory ¶
type SlashingHistory struct { HighestAttestation *eth.AttestationData HighestProposal *eth.BeaconBlock }
SlashingHistory contains slashing history data.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.