Skip to content

Commit 0ba3fb0

Browse files
authored
update documentation to set public keys (#1884)
1 parent 2ff149b commit 0ba3fb0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/create-mainnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ For demonstration, we can use the first generated public/private keypair for all
3939

4040
Hardcode the public key(s) in these files:
4141

42-
- [AlertManager.java](https://github.com/haveno-dex/haveno/blob/1bf83ecb8baa06b6bfcc30720f165f20b8f77025/core/src/main/java/haveno/core/alert/AlertManager.java#L111)
43-
- [ArbitratorManager.java](https://github.com/haveno-dex/haveno/blob/1bf83ecb8baa06b6bfcc30720f165f20b8f77025/core/src/main/java/haveno/core/support/dispute/arbitration/arbitrator/ArbitratorManager.java#L81)
44-
- [FilterManager.java](https://github.com/haveno-dex/haveno/blob/1bf83ecb8baa06b6bfcc30720f165f20b8f77025/core/src/main/java/haveno/core/filter/FilterManager.java#L117)
45-
- [PrivateNotificationManager.java](https://github.com/haveno-dex/haveno/blob/mainnet_placeholders/core/src/main/java/haveno/core/alert/PrivateNotificationManager.java#L110)
42+
- [AlertManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/alert/AlertManager.java#L112)
43+
- [ArbitratorManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/support/dispute/arbitration/arbitrator/ArbitratorManager.java#L81)
44+
- [FilterManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/filter/FilterManager.java#L135)
45+
- [PrivateNotificationManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/alert/PrivateNotificationManager.java#L111)
4646

4747
## Change the default folder name for Haveno application data
4848

docs/deployment-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,21 @@ Rebuild all seed nodes any time the list of registered seed nodes changes.
142142

143143
1. [Build the Haveno repository](#fork-and-build-haveno).
144144
2. Generate public/private keypairs for developers: `./gradlew generateKeypairs`
145-
3. Add the developer public keys in the constructor of FilterManager.java.
145+
3. Add the public key to `getPubKeyList()` in [FilterManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/filter/FilterManager.java#L135).
146146
4. Update all seed nodes, arbitrators, and user applications for the change to take effect.
147147

148148
### Register keypair(s) with alert privileges
149149

150150
1. [Build the Haveno repository](#fork-and-build-haveno).
151151
2. Generate public/private keypairs for alerts: `./gradlew generateKeypairs`
152-
2. Add the public keys in the constructor of AlertManager.java.
152+
3. Add the public key to `getPubKeyList()` in [AlertManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/alert/AlertManager.java#L112).
153153
4. Update all seed nodes, arbitrators, and user applications for the change to take effect.
154154

155155
### Register keypair(s) with private notification privileges
156156

157157
1. [Build the Haveno repository](#fork-and-build-haveno).
158158
2. Generate public/private keypairs for private notifications: `./gradlew generateKeypairs`
159-
2. Add the public keys in the constructor of PrivateNotificationManager.java.
159+
3. Add the public key to `getPubKeyList()` in [PrivateNotificationManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/alert/PrivateNotificationManager.java#L111).
160160
4. Update all seed nodes, arbitrators, and user applications for the change to take effect.
161161

162162
## Add arbitrators
@@ -165,7 +165,7 @@ For each arbitrator:
165165

166166
1. [Build the Haveno repository](#fork-and-build-haveno).
167167
2. Generate a public/private keypair for the arbitrator: `./gradlew generateKeypairs`
168-
3. Add the public key to `getPubKeyList()` in [ArbitratorManager.java](https://github.com/haveno-dex/haveno/blob/3cdd88b56915c7f8afd4f1a39e6c1197c2665d63/core/src/main/java/haveno/core/support/dispute/arbitration/arbitrator/ArbitratorManager.java#L62).
168+
3. Add the public key to `getPubKeyList()` in [ArbitratorManager.java](https://github.com/haveno-dex/haveno/blob/2ff149b1ebcfd1a4c40d77d05d4ee9981353a8a6/core/src/main/java/haveno/core/support/dispute/arbitration/arbitrator/ArbitratorManager.java#L81).
169169
4. Update all seed nodes, arbitrators, and user applications for the change to take effect.
170170
5. [Start a local Monero node](#start-a-local-monero-node).
171171
6. Start the Haveno desktop application using the application launcher or e.g. `make arbitrator-desktop-mainnet`

0 commit comments

Comments
 (0)