Network specific cache filename + more sanity checks
This commit is contained in:
@@ -82,6 +82,20 @@ only does this inform the client of the network for which the client should
|
||||
mine, but it also changes what URL the client will use to find the hive
|
||||
server. (For `"testnet"` this will be `"test.gajumining.com"`.)
|
||||
|
||||
### Caching of connection data
|
||||
|
||||
The client retrieves the Hive Server connection info from gajumining.com.
|
||||
This information is account-specific, and may change over time.
|
||||
|
||||
To speed up the reconnecting process, should the Hive Server restart,
|
||||
this connection information is cached locally for up to 24 hours.
|
||||
The normal place for the cached data would be
|
||||
`$ZOMP_DIR//var/uwiger/gmhive_client/Vsn/setup.data/mainnet/gmhc_eureka.XXXXXXXX.cache`,
|
||||
where `Vsn` is the current version of `gmhive_client`, and `XXXXXXXX` is a fragment
|
||||
of the current account ID. The data location can be changed with the command-line
|
||||
option `-setup data_dir Dir`.
|
||||
|
||||
|
||||
## JSON Schema
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user