prysm-pulse/validator
ahadda5 99bd988375
Web Backend Recover Wallet (#8679)
* recover wallet rpc support - first attempt

* removed redundant check

* separate createwallet into imported and derived. Recover is derived

* added unit test for recover. Recover is the createWallet for derived

* so proto does CamelCase!

* fixed issues related to unit testing

* expose ValidateMnemonic from accounts to be used by the rpc module

* added Mnemonic25Support and test to ensure it is not et is not empty

* added skipMnemonic25thword support and unit test

* Update proto/validator/accounts/v2/web_api.proto

Proper naming convention

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* ran goimports,changed variable to SkipMnemonic_25ThWord

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* Update validator/rpc/wallet.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* fixed variable and text msgs naming convention as per the review

* added unit test for strong password on recover

* Update proto/validator/accounts/v2/web_api.proto

Co-authored-by: Nishant Das <nish1993@hotmail.com>

* Update validator/rpc/wallet.go

Co-authored-by: Nishant Das <nish1993@hotmail.com>

* goimports -w on root proto

* added comments after exposing ValidateMnemonic to by used by rpc.RecoverWallet

* language should be case insensitive

* need to goimports before update protobuf scripts

* Update validator/rpc/wallet.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* Update validator/rpc/wallet.go

comments need to be consistant

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* Update validator/rpc/wallet_test.go

consistent comments

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* fix comments

* remove the skipMnemonic from rpc, just check if passphrase is empyt

* defer call to set the writePassword flag on web boarding

* gofmt

* fixed the password write test after recovering a wallet. Needed to have two defers. One to set to true then one back to false

* restore powchain.pb.go and finalized_block_root_container.pb.go

* revert beacon messages.pb.go

* revert unrelated files

* revert unrelated files

* revert unrelated files

* unlreated files

* restored the imports

* Update validator/rpc/wallet_test.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Nishant Das <nish1993@hotmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-04-05 20:42:03 +00:00
..
accounts Web Backend Recover Wallet (#8679) 2021-04-05 20:42:03 +00:00
client Dynamic key reload for remote keymanager (#8611) 2021-03-16 10:00:05 -05:00
db Wrap long lines in validator package (#8691) 2021-03-31 14:32:35 +00:00
graffiti Graffiti ordered index (#8482) 2021-02-24 22:50:47 +00:00
keymanager Add a Tool to Split a Series of Mnemonic Keys into Distinct Wallets (#8651) 2021-03-30 20:38:40 +00:00
node Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
rpc Web Backend Recover Wallet (#8679) 2021-04-05 20:42:03 +00:00
slashing-protection Embed Config Pattern For Slasher, Slashing Protection (#8637) 2021-03-21 17:53:17 +00:00
testing A bit of cleanup based on goconst tool (#8529) 2021-03-02 11:39:54 +00:00
web Fix Secrets Failing Build (#8660) 2021-03-24 18:01:58 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00

Prysmatic Labs Validator Client Implementation

This is the main project folder for a validator client implementation of eth2 written in Go by Prysmatic Labs. A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities for eth.

You can also read our main README and join our active chat room on Discord.

Discord

To further understand the responsibilities of an eth2 validator, we recommend reading the official specification here