status-go/api
Roman Volosovskyi 4c0d8dedea
Replace address with keyUid in accounts db
Account's address was used as a primary key in accounts db and as a
deterministic id of an account in some API calls. Also it was used as a
part of the name of the account specific database. This revealed some
extra information about the account and wasn't necessary.
At first the hash of the address was planned to be used as a
deterministic id, but we already have a keyUid which is calculated as
sha256 hash of account's public key and has similar properties:
- it is deterministic
- doesn't reveal accounts public key or address in plain
2019-12-09 11:20:12 +02:00
..
app_state.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
app_state_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
backend.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
backend_subs_test.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
backend_test.go Replace address with keyUid in accounts db 2019-12-09 11:20:12 +02:00
connection.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
connection_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
geth_backend.go Replace address with keyUid in accounts db 2019-12-09 11:20:12 +02:00
utils.go fix HashMessage to decode hex only if needed (#1450) 2019-04-30 01:26:41 +02:00
utils_test.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00