stader_backend

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkPreSignCheckApiRequestType

type BulkPreSignCheckApiRequestType struct {
	ValidatorPubKeys []types.ValidatorPubkey `json:"pubkeys"`
}

type BulkPreSignCheckApiResponseType

type BulkPreSignCheckApiResponseType = map[string]bool

type BulkPreSignSendApiRequestType

type BulkPreSignSendApiRequestType = []PreSignSendApiRequestType

type BulkPreSignSendApiResponseType

type BulkPreSignSendApiResponseType = map[string]PreSignSendApiResponseType

type CycleMerkleProofs

type CycleMerkleProofs struct {
	Root  string   `json:"root"`
	Eth   string   `json:"eth"`
	Sd    string   `json:"sd"`
	Proof []string `json:"proof"`
	Cycle int64    `json:"cycle"`
}

type NodeDiversity added in v1.4.9

type NodeDiversity struct {
	ExecutionClient      string `json:"executionClient"`
	ConsensusClient      string `json:"consensusClient"`
	ValidatorClient      string `json:"validatorClient"`
	TotalNonTerminalKeys uint64 `json:"totalNonTerminalKeys"`
	NodeAddress          string `json:"nodeAddress"`
	NodePublicKey        string `json:"nodePublicKey"`
	Relays               string `json:"relays"`
}

type NodeDiversityRequest added in v1.4.9

type NodeDiversityRequest struct {
	Signature string         `json:"signature"`
	Message   *NodeDiversity `json:"message"`
}

type NodeDiversityResponseType added in v1.4.9

type NodeDiversityResponseType struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
}

type PreSignCheckApiRequestType

type PreSignCheckApiRequestType struct {
	ValidatorPublicKey string `json:"validatorPublicKey"`
}

type PreSignCheckApiResponseType

type PreSignCheckApiResponseType struct {
	Value bool `json:"value"`
}

type PreSignSendApiRequestType

type PreSignSendApiRequestType struct {
	Message struct {
		Epoch          string `json:"epoch"`
		ValidatorIndex string `json:"validator_index"`
	} `json:"message"`
	Signature          string `json:"signature"`
	ValidatorPublicKey string `json:"validatorPublicKey"`
}

type PreSignSendApiResponseType

type PreSignSendApiResponseType struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
}

type PublicKeyApiResponse

type PublicKeyApiResponse struct {
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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