status-go/api
Roman Volosovskyi 9cf640842b
[status-im/status-react#9942] Upgradable paths in configs
Storing absolute path for different configs breaks compatibility on iOS
as app's dir is changed after upgrade. The solution is to store relative
paths and to concatenate it with `backend.rootDataDir`. The only
exception is `LogFile` as it is stored outside `backend.rootDataDir` on
Android. `LogDir` config was added to allow adding of custom dir for log
file.
Configs concerned:
`DataDir`
`LogDir`
`LogFile`
`KeystoreDir`
`BackupDisabledDataDir`
2020-02-03 20:02:01 +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 Put settings in a table with schema (#1746) 2019-12-27 10:58:25 +01:00
backend_subs_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
backend_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01: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 [status-im/status-react#9942] Upgradable paths in configs 2020-02-03 20:02:01 +02:00
nimbus_backend.go [status-im/status-react#9942] Upgradable paths in configs 2020-02-03 20:02:01 +02:00
utils.go Migrate more files to eth-node/crypto 2019-12-20 11:24:26 +01:00
utils_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00