mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
document changing p2p network code for new networks
This commit is contained in:
parent
b3d3a936d5
commit
38b1ace4a4
@ -57,6 +57,12 @@ For example, change "Haveno" to "HavenoX", which will use this application folde
|
|||||||
- macOS: ~/Library/Application Support/HavenoX/
|
- macOS: ~/Library/Application Support/HavenoX/
|
||||||
- Windows: ~\AppData\Roaming\HavenoX\
|
- Windows: ~\AppData\Roaming\HavenoX\
|
||||||
|
|
||||||
|
## Change the P2P network version
|
||||||
|
|
||||||
|
To avoid interference with other networks, change `P2P_NETWORK_VERSION` in [Version.java](https://github.com/haveno-dex/haveno/blob/a7e90395d24ec3d33262dd5d09c5faec61651a51/common/src/main/java/haveno/common/app/Version.java#L83).
|
||||||
|
|
||||||
|
For example, change it to `"B"`.
|
||||||
|
|
||||||
## 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`.
|
||||||
|
@ -219,6 +219,12 @@ For example, change "Haveno" to "HavenoX", which will use this application folde
|
|||||||
- macOS: ~/Library/Application Support/HavenoX/
|
- macOS: ~/Library/Application Support/HavenoX/
|
||||||
- Windows: ~\AppData\Roaming\HavenoX\
|
- Windows: ~\AppData\Roaming\HavenoX\
|
||||||
|
|
||||||
|
## Change the P2P network version
|
||||||
|
|
||||||
|
To avoid interference with other networks, change `P2P_NETWORK_VERSION` in [Version.java](https://github.com/haveno-dex/haveno/blob/a7e90395d24ec3d33262dd5d09c5faec61651a51/common/src/main/java/haveno/common/app/Version.java#L83).
|
||||||
|
|
||||||
|
For example, change it to `"B"`.
|
||||||
|
|
||||||
## 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