mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-16 15:58:08 +00:00
document changing p2p network code for new networks
Some checks failed
CI / build (macos-13) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Codacy Coverage Reporter / Publish coverage (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
Some checks failed
CI / build (macos-13) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Codacy Coverage Reporter / Publish coverage (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
This commit is contained in:
parent
b3d3a936d5
commit
38b1ace4a4
2 changed files with 12 additions and 0 deletions
|
@ -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 a new issue