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"
|
2021-04-23 12:06:05 +00:00
|
|
|
// ErrCouldNotInitializeKeymanager informs about failed keymanager initialization
|
2021-01-12 16:52:01 +00:00
|
|
|
ErrCouldNotInitializeKeymanager = "could not initialize keymanager"
|
|
|
|
)
|
|
|
|
|
2021-03-09 15:46:50 +00:00
|
|
|
// Config specifies parameters for accounts commands.
|
2021-02-03 16:59:17 +00:00
|
|
|
type Config struct {
|
2021-03-09 15:46:50 +00:00
|
|
|
Wallet *wallet.Wallet
|
|
|
|
Keymanager keymanager.IKeymanager
|
|
|
|
DeletePublicKeys [][]byte
|
2020-11-13 16:06:24 +00:00
|
|
|
}
|