mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
document changing default application folder
This commit is contained in:
parent
1aa62863f4
commit
8462ff1019
@ -44,6 +44,16 @@ Hardcode the public key(s) in these files:
|
|||||||
- [FilterManager.java](https://github.com/haveno-dex/haveno/blob/1bf83ecb8baa06b6bfcc30720f165f20b8f77025/core/src/main/java/haveno/core/filter/FilterManager.java#L117)
|
- [FilterManager.java](https://github.com/haveno-dex/haveno/blob/1bf83ecb8baa06b6bfcc30720f165f20b8f77025/core/src/main/java/haveno/core/filter/FilterManager.java#L117)
|
||||||
- [PrivateNotificationManager.java](https://github.com/haveno-dex/haveno/blob/mainnet_placeholders/core/src/main/java/haveno/core/alert/PrivateNotificationManager.java#L110)
|
- [PrivateNotificationManager.java](https://github.com/haveno-dex/haveno/blob/mainnet_placeholders/core/src/main/java/haveno/core/alert/PrivateNotificationManager.java#L110)
|
||||||
|
|
||||||
|
## Change the default folder name for Haveno application data
|
||||||
|
|
||||||
|
To avoid data corruption by using Haveno with other networks, change the default folder name for Haveno's application data with your network, by setting [DEFAULT_APP_NAME](https://github.com/haveno-dex/haveno/blob/1aa62863f49a15e8322a8d96e58dc0ed37dec4eb/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85) in HavenoExecutable.java.
|
||||||
|
|
||||||
|
For example, change "Haveno" to "HavenoX", which will use the application folder:
|
||||||
|
|
||||||
|
- Linux: ~/.local/share/HavenoX/
|
||||||
|
- macOS: ~/Library/Application Support/HavenoX/
|
||||||
|
- Windows: ~\AppData\Roaming\HavenoX\
|
||||||
|
|
||||||
## Start the seed nodes
|
## Start the seed nodes
|
||||||
|
|
||||||
Rebuild for the previous changes to the source code to take effect: `make skip-tests`.
|
Rebuild for the previous changes to the source code to take effect: `make skip-tests`.
|
||||||
|
@ -132,6 +132,16 @@ To set the network's filter object:
|
|||||||
> **Note**
|
> **Note**
|
||||||
> If all seed nodes are restarted at the same time, arbitrators and the filter object will become unregistered and will need to be re-registered.
|
> If all seed nodes are restarted at the same time, arbitrators and the filter object will become unregistered and will need to be re-registered.
|
||||||
|
|
||||||
|
## Change the default folder name for Haveno application data
|
||||||
|
|
||||||
|
To avoid data corruption by using Haveno with other networks, change the default folder name for Haveno's application data with your network, by setting [DEFAULT_APP_NAME](https://github.com/haveno-dex/haveno/blob/1aa62863f49a15e8322a8d96e58dc0ed37dec4eb/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85) in HavenoExecutable.java.
|
||||||
|
|
||||||
|
For example, change "Haveno" to "HavenoX", which will use the application folder:
|
||||||
|
|
||||||
|
- Linux: ~/.local/share/HavenoX/
|
||||||
|
- macOS: ~/Library/Application Support/HavenoX/
|
||||||
|
- Windows: ~\AppData\Roaming\HavenoX\
|
||||||
|
|
||||||
## Set the network's release date
|
## Set the network's release date
|
||||||
|
|
||||||
Optionally set the network's approximate release date by setting `RELEASE_DATE` in HavenoUtils.java.
|
Optionally set the network's approximate release date by setting `RELEASE_DATE` in HavenoUtils.java.
|
||||||
|
Loading…
Reference in New Issue
Block a user