Skip to content

Commit

Permalink
chore: remove network from config (#5324)
Browse files Browse the repository at this point in the history
Description
---
Removes the network from the config options

Motivation and Context
---
The network field is not used anymore here and it should not be used
here, as the config file lies in `data_dit\{NETWORK}\config`
So each network will have its own config, this means as soon as you swap
the network, it should use a different config
  • Loading branch information
SWvheerden authored May 3, 2023
1 parent b9031bb commit 1e2f103
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions common/config/presets/c_base_node.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ identity_file = "config/base_node_id_stagenet.json"
identity_file = "config/base_node_id_nextnet.json"

[base_node]
# Selected network (Note: Not implemented properly, please specify on the command line) (default = "emseralda")
#network = "stagenet"

# Set to false to disable the base node GRPC server (default = true)
#grpc_enabled = true

Expand Down
11 changes: 0 additions & 11 deletions common/config/presets/d_console_wallet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
# #
########################################################################################################################

[dibbler.wallet]
# Selected network (Note: Not parsed at the moment, please specify on the command line) (default = "mainnet")
#network = "dibbler"

[igor.wallet]
# Selected network (Note: Not parsed at the moment, please specify on the command line) (default = "mainnet")
#network = "igor"

[wallet]
# The buffer size constants for the publish/subscribe connector channel, connecting comms messages to the domain layer:
# (min value = 300, default value = 50000).
Expand All @@ -22,9 +14,6 @@
# accept - any rate attempting to exceed this limit will be throttled (min value = 5, default value = 1000).
#buffer_rate_limit = 1000

# Selected network (Note: Not implemented properly, please specify on the command line) (default = "mainnet")
#network = "mainnet"

# The relative path to store persistent data (default = "data/wallet")
#data_dir = "data/wallet"

Expand Down

0 comments on commit 1e2f103

Please sign in to comment.