backend

package
v1.3.9-rc Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

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

func Factory

func Factory(version string, logger *logrus.Logger) logical.Factory

Factory returns the backend factory

Types

type Config

type Config struct {
	Network core.Network `json:"network"`
}

Config contains the configuration for each mount

type SlashingHistory

type SlashingHistory struct {
	HighestAttestation *eth.AttestationData
	HighestProposal    *eth.BeaconBlock
}

SlashingHistory contains slashing history data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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