mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
424c8f6b46
* begin the middleware approach * attempt middleware * middleware works in tandem with web ui * handle delete as well * delete request * DELETE working * tool to perform imports * functioning * commentary * build * gaz * smol test * enable keymanager api use protonames * edit * one rule * rem gw * Fix custom compiler (cherry picked from commit 3b1f65919e04ddf7e07c8f60cba1be883a736476) * gen proto * imports * Update validator/node/node.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * remaining comments * update item * rpc * add * run gateway * simplify * rem flag * deep source Co-authored-by: prestonvanloon <preston@prysmaticlabs.com> Co-authored-by: Radosław Kapka <rkapka@wp.pl> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
35 lines
889 B
Go
35 lines
889 B
Go
package apimiddleware
|
|
|
|
type listKeystoresResponseJson struct {
|
|
Keystores []*keystoreJson `json:"keystores"`
|
|
}
|
|
|
|
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:"statuses"`
|
|
}
|
|
|
|
type deleteKeystoresRequestJson struct {
|
|
PublicKeys []string `json:"public_keys" hex:"true"`
|
|
}
|
|
|
|
type statusJson struct {
|
|
Status string `json:"status"`
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
type deleteKeystoresResponseJson struct {
|
|
Statuses []*statusJson `json:"statuses"`
|
|
SlashingProtection string `json:"slashing_protection"`
|
|
}
|