Skip to content

Commit 636e7aa

Browse files
authored
config/config.toml: Move stray options to common optional section (#59)
1 parent 0987dd8 commit 636e7aa

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

config/config.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@
33
# The address on which the websocket API server will listen on.
44
listen_address = "127.0.0.1:8910"
55

6-
# Optional top-level settings
7-
# [metrics_server]
8-
# Where to serve the quick-access dashboard and metrics. Metrics live under "/metrics"
9-
# bind_address = "127.0.0.1:8888"
10-
11-
# [remote_keypair_loader}
12-
# Where to serve the remote keypair loading endpoint, under "/primary/load_keypair" and "/secondary/load_keypair"
13-
#
14-
# NOTE: non-loopback addresses must be used carefully, making sure the
15-
# connection is not exposed for unauthorized access.
16-
# bind_address = "127.0.0.1:9001"
17-
18-
# How much whole SOL must a keypair hold to be considered valid for use on a given network. Disabled with 0
19-
# primary_min_keypair_balance_sol = 1
20-
# secondary_min_keypair_balance_sol = 1
21-
226
# Configuration for the primary network this agent will publish data to. In most cases this should be a Pythnet endpoint.
237
[primary_network]
248
### Required fields ###
@@ -37,6 +21,23 @@ key_store.root_path = "/path/to/keystore"
3721

3822
### Optional fields ###
3923

24+
# [metrics_server]
25+
#
26+
# Where to serve the quick-access dashboard and metrics. Metrics live under "/metrics"
27+
# bind_address = "127.0.0.1:8888"
28+
29+
# [remote_keypair_loader}
30+
# Where to serve the remote keypair loading endpoint, under "/primary/load_keypair" and "/secondary/load_keypair"
31+
#
32+
# NOTE: non-loopback addresses must be used carefully, making sure the
33+
# connection is not exposed for unauthorized access.
34+
# bind_address = "127.0.0.1:9001"
35+
36+
# How much whole SOL must a keypair hold to be considered valid for use on a given network. Disabled with 0
37+
# primary_min_keypair_balance_sol = 1
38+
# secondary_min_keypair_balance_sol = 1
39+
40+
4041
# Channel capacities. These refer to async messaging channels
4142
# internally used by the agent's subroutines
4243

0 commit comments

Comments
 (0)