2020-11-13 16:06:24 +00:00
|
|
|
package accounts
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/prysmaticlabs/prysm/validator/accounts/wallet"
|
|
|
|
"github.com/prysmaticlabs/prysm/validator/keymanager"
|
2020-11-16 22:26:04 +00:00
|
|
|
"github.com/sirupsen/logrus"
|
2020-11-13 16:06:24 +00:00
|
|
|
)
|
|
|
|
|
2020-11-16 22:26:04 +00:00
|
|
|
var log = logrus.WithField("prefix", "accounts")
|
|
|
|
|
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
|
|
|
|
}
|