prysm-pulse/validator
Fabrice Cheng 16bccf05cf
[Feature] enable/disable validator accounts (#7746)
* add --enable --disable flags for validator accounts

* refactor DeleteAccountConfig into AccountConfig to be used for enable and disable feature

* add `disable` flag for validator accounts

* [wip] add method to disable account

* refactor account delete

* add disable & enable with proper filters

* fix keymanager unit tests

* update DisabledPublicKeys to be a string instead of [][]byte

* fix FetchValidatingPrivateKeys to only fetch active keys with new string format

* fix FetchValidationPrivateKeys with new DisabledPublicKeys format (as a string)

* rename file + update AccountsConfig to include Disable, Enable and Delete distinct attributes

* rename accounts_activation -> accounts_enable_disable

* revert changes from using string to [][]byte for DisabledPublicKeys

* add FetchAllValidatingPublicKeys to preserve the functionality for accounts list, backup and delete

* fix unit tests

* convert publickeys from [][]byte to str before passing it to pb message

* add unit tests for disable keys

* add unit tests for EnableAccounts

* revert WORKSPACE LLM for now

* ran gazelle

* move function to convert KeymanagerOpts to Config inside rpc and run gazelle

* add unit tests for FetchAllValidatingPublicKeys

* fix keymanageropts for InteropKey

* Fix mistake for enable accounts

* add docstring to DisableAccountsCli and EnableAccountsCli

* remove previous testnet and add toledo & pyrmont
2020-11-13 10:06:24 -06:00
..
accounts [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
client [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
db Immediate Slashing Protection Data Storage (#7789) 2020-11-12 22:07:32 +00:00
flags [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
keymanager [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
node Warn missing protection db (#7792) 2020-11-12 19:22:11 +00:00
rpc [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
slashing-protection Better naming for constructor funcs (#7316) 2020-09-23 08:59:49 +00:00
testing Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
web Fix Web UI Integration With Prysm Beta (#7591) 2020-10-21 17:32:00 -05:00
BUILD.bazel Update rules_go (#7202) 2020-11-10 03:01:56 +00:00
main.go Revert "Use validator protection datadir" (#7627) 2020-10-23 17:19:38 +00:00
README.md Updated why-combining-sharding-and-casper link in validator/README.md (#3810) 2019-10-20 19:43:30 -07:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Revert "Use validator protection datadir" (#7627) 2020-10-23 17:19:38 +00:00

Prysmatic Labs Validator Client Implementation

This is the main project folder for a validator client implementation of Ethereum Serenity in Golang by Prysmatic Labs. A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities and manage the lifecycle of a particular shard upon being assigned to one.

Before you begin, check out our main README and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest sharding + casper design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.