mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
8ffb95bd9d
* restart waiting for activation on key change * test fixes * wiat for activation comments * regression test * log fatal when validator cast fails * derived keymanager * review comments * add buffer to channel * simplify key refetch logic * reload keys into empty wallet * removed warning on wallet creation * add empty line * export AccountsKeystoreRepresentation type * unit test for handleAccountsChanged * test ctx cancellation * add missing mockRemoteKeymanager interface function * gazelle * gzl * fix panic inside goroutine during runner tests * rename error message variables * Update validator/accounts/accounts_list_test.go * reorder imports Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
22 lines
645 B
Go
22 lines
645 B
Go
package accounts
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/validator/accounts/wallet"
|
|
"github.com/prysmaticlabs/prysm/validator/keymanager"
|
|
)
|
|
|
|
var (
|
|
errKeymanagerNotSupported = "keymanager kind not supported: %s"
|
|
// MsgCouldNotInitializeKeymanager 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
|
|
}
|