prysm-pulse/validator/accounts
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
..
iface Listen for account changes only when required (#8503) 2021-02-24 18:05:46 +00:00
prompt Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
testing Listen for account changes only when required (#8503) 2021-02-24 18:05:46 +00:00
wallet Add a Tool to Split a Series of Mnemonic Keys into Distinct Wallets (#8651) 2021-03-30 20:38:40 +00:00
accounts_backup_test.go Fix validator activation monitoring with inactive keys (#8558) 2021-03-05 18:33:39 +00:00
accounts_backup.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
accounts_delete_test.go Listen for account changes only when required (#8503) 2021-02-24 18:05:46 +00:00
accounts_delete.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
accounts_exit_test.go Add Ability to Specify All Public Keys When Exiting Validators (#8399) 2021-02-11 16:50:16 +00:00
accounts_exit.go Add prater exit info (#8656) 2021-03-24 13:50:06 +00:00
accounts_helper.go Rename Accounts-V2 to Accounts (#7545) 2020-10-15 22:31:52 +00:00
accounts_import_test.go Listen for account changes only when required (#8503) 2021-02-24 18:05:46 +00:00
accounts_import.go Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
accounts_list_test.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
accounts_list.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
accounts.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
BUILD.bazel Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
doc.go Rename Direct Keymanager to Imported (#7549) 2020-10-16 13:45:14 -05:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
wallet_create_test.go Remove Accounts Enable/Disable Code (#8576) 2021-03-09 15:46:50 +00:00
wallet_create.go Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
wallet_edit_test.go Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
wallet_edit.go Allow dynamic key reloading when having inactive keys (imported & derived) (#8119) 2021-01-22 20:21:34 +00:00
wallet_recover_test.go Add Goland Standard "cmd" Pattern for Validator Binaries (#8541) 2021-03-02 12:58:40 -06:00
wallet_recover.go Web Backend Recover Wallet (#8679) 2021-04-05 20:42:03 +00:00