mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 16:08:26 -05:00
* migrating fee recipient endpoints to pure http implementation * fixing linting * fixing type name * fixing after merging develop * fixing linting and tests * Update validator/rpc/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update validator/rpc/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update validator/rpc/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
35 lines
884 B
Go
35 lines
884 B
Go
package apimiddleware
|
|
|
|
type ListKeystoresResponseJson struct {
|
|
Keystores []*KeystoreJson `json:"data"`
|
|
}
|
|
|
|
type KeystoreJson struct {
|
|
ValidatingPubkey string `json:"validating_pubkey" hex:"true"`
|
|
DerivationPath string `json:"derivation_path"`
|
|
}
|
|
|
|
type ImportKeystoresRequestJson struct {
|
|
Keystores []string `json:"keystores"`
|
|
Passwords []string `json:"passwords"`
|
|
SlashingProtection string `json:"slashing_protection"`
|
|
}
|
|
|
|
type ImportKeystoresResponseJson struct {
|
|
Statuses []*StatusJson `json:"data"`
|
|
}
|
|
|
|
type DeleteKeystoresRequestJson struct {
|
|
PublicKeys []string `json:"pubkeys" hex:"true"`
|
|
}
|
|
|
|
type StatusJson struct {
|
|
Status string `json:"status" enum:"true"`
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
type DeleteKeystoresResponseJson struct {
|
|
Statuses []*StatusJson `json:"data"`
|
|
SlashingProtection string `json:"slashing_protection"`
|
|
}
|