mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 04:00:05 +00:00
aa69e5edcc
* reload keys into empty wallet # Conflicts: # validator/accounts/accounts.go * removed warning on wallet creation * export AccountsKeystoreRepresentation type * rename error message variable Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
23 lines
649 B
Go
23 lines
649 B
Go
package accounts
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/validator/accounts/wallet"
|
|
"github.com/prysmaticlabs/prysm/validator/keymanager"
|
|
)
|
|
|
|
var msgKeymanagerNotSupported = "keymanager kind not supported: %s"
|
|
|
|
var (
|
|
// ErrCouldNotInitializeKeymanager informs about failed keymanager initialization
|
|
ErrCouldNotInitializeKeymanager = "could not initialize keymanager"
|
|
)
|
|
|
|
// AccountsConfig specifies parameters to run to delete, enable, disable accounts.
|
|
type AccountsConfig struct {
|
|
Wallet *wallet.Wallet
|
|
Keymanager keymanager.IKeymanager
|
|
DisablePublicKeys [][]byte
|
|
EnablePublicKeys [][]byte
|
|
DeletePublicKeys [][]byte
|
|
}
|