accounts, crypto: move keystore to package accounts
The account management API was originally implemented as a thin layer around crypto.KeyStore, on the grounds that several kinds of key stores would be implemented later on. It turns out that this won't happen so KeyStore is a superflous abstraction. In this commit crypto.KeyStore and everything related to it moves to package accounts and is unexported.
Showing
- accounts/abi/bind/auth.go 10 additions, 7 deletionsaccounts/abi/bind/auth.go
- accounts/abi/bind/bind_test.go 13 additions, 21 deletionsaccounts/abi/bind/bind_test.go
- accounts/account_manager.go 21 additions, 13 deletionsaccounts/account_manager.go
- accounts/accounts_test.go 9 additions, 11 deletionsaccounts/accounts_test.go
- accounts/key.go 18 additions, 7 deletionsaccounts/key.go
- accounts/key_store_passphrase.go 11 additions, 10 deletionsaccounts/key_store_passphrase.go
- accounts/key_store_passphrase_test.go 1 addition, 1 deletionaccounts/key_store_passphrase_test.go
- accounts/key_store_plain.go 4 additions, 14 deletionsaccounts/key_store_plain.go
- accounts/key_store_test.go 13 additions, 12 deletionsaccounts/key_store_test.go
- accounts/presale.go 132 additions, 0 deletionsaccounts/presale.go
- accounts/testdata/v1/cb61d5a9c4896fb9658090b597ef0e7be6f7b67e/cb61d5a9c4896fb9658090b597ef0e7be6f7b67e 0 additions, 0 deletions...97ef0e7be6f7b67e/cb61d5a9c4896fb9658090b597ef0e7be6f7b67e
- accounts/testdata/v1_test_vector.json 0 additions, 0 deletionsaccounts/testdata/v1_test_vector.json
- accounts/testdata/v3_test_vector.json 0 additions, 0 deletionsaccounts/testdata/v3_test_vector.json
- cmd/geth/js_test.go 9 additions, 17 deletionscmd/geth/js_test.go
- cmd/gethrpctest/main.go 4 additions, 5 deletionscmd/gethrpctest/main.go
- cmd/utils/flags.go 7 additions, 12 deletionscmd/utils/flags.go
- crypto/crypto.go 0 additions, 106 deletionscrypto/crypto.go
- eth/helper_test.go 3 additions, 3 deletionseth/helper_test.go
- eth/protocol_test.go 1 addition, 2 deletionseth/protocol_test.go
Loading
Please register or sign in to comment