2020-11-13 16:06:24 +00:00
|
|
|
package accounts
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/prysmaticlabs/prysm/validator/accounts/wallet"
|
|
|
|
"github.com/prysmaticlabs/prysm/validator/keymanager"
|
|
|
|
)
|
|
|
|
|
2021-01-12 16:52:01 +00:00
|
|
|
var (
|
2021-01-22 20:21:34 +00:00
|
|
|
errKeymanagerNotSupported = "keymanager kind not supported: %s"
|
|
|
|
// MsgCouldNotInitializeKeymanager informs about failed keymanager initialization
|
2021-01-12 16:52:01 +00:00
|
|
|
ErrCouldNotInitializeKeymanager = "could not initialize keymanager"
|
|
|
|
)
|
|
|
|
|
2020-11-13 16:06:24 +00:00
|
|
|
// 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
|
|
|
|
}
|