import/export accounts
- cli: add passwordfile flag - cli: change unlock flag only takes account - cli: with unlock you are prompted for password or use passfile with password flag - cli: unlockAccount used in normal client start (run) and accountExport - cli: getPassword used in accountCreate and accountImport - accounts: Manager.Import, Manager.Export - crypto: SaveECDSA (to complement LoadECDSA) to save to file - crypto: NewKeyFromECDSA added (used in accountImport and New = generated constructor)
Showing
- accounts/account_manager.go 20 additions, 0 deletionsaccounts/account_manager.go
- cmd/ethereum/main.go 145 additions, 29 deletionscmd/ethereum/main.go
- cmd/utils/flags.go 7 additions, 1 deletioncmd/utils/flags.go
- crypto/crypto.go 5 additions, 0 deletionscrypto/crypto.go
- crypto/key.go 11 additions, 7 deletionscrypto/key.go
Please register or sign in to comment