You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mm2src/adex_cli/src/scenarios/init_mm2_cfg.rs
+4-4
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ impl Mm2Cfg {
107
107
108
108
self.dbdir = CustomType::<InquireOption<String>>::new("What is dbdir")
109
109
.with_placeholder(DEFAULT_OPTION_PLACEHOLDER)
110
-
.with_help_message("AtomicDEX API database path. Optional, defaults to a subfolder named DB in the path of your mm2 binary")
110
+
.with_help_message("Komodo DeFi Framework database path. Optional, defaults to a subfolder named DB in the path of your mm2 binary")
111
111
.with_validator(is_reachable_dir)
112
112
.prompt()
113
113
.map_err(|error|
@@ -128,7 +128,7 @@ impl Mm2Cfg {
128
128
fninquire_net_id(&mutself) -> Result<()>{
129
129
self.netid = CustomType::<u16>::new("What is the network `mm2` is going to be a part, netid:")
130
130
.with_default(DEFAULT_NET_ID)
131
-
.with_help_message(r#"Network ID number, telling the AtomicDEX API which network to join. 8762 is the current main network, though alternative netids can be used for testing or "private" trades"#)
131
+
.with_help_message(r#"Network ID number, telling the Komodo DeFi Framework which network to join. 8762 is the current main network, though alternative netids can be used for testing or "private" trades"#)
.with_help_message("If false the AtomicDEX API will allow rpc methods sent from external IP addresses. Optional, defaults to true. Warning: Only use this if you know what you are doing, and have put the appropriate security measures in place.")
271
+
.with_help_message("If false the Komodo DeFi Framework will allow rpc methods sent from external IP addresses. Optional, defaults to true. Warning: Only use this if you know what you are doing, and have put the appropriate security measures in place.")
272
272
.prompt()
273
273
.map_err(|error|
274
274
error_anyhow!("Failed to get rpc_local_only: {error}")
.with_help_message("Runs AtomicDEX API as a seed node mode (acting as a relay for AtomicDEX API clients). Optional, defaults to false. Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. on alternative testing or private networks, at least one seed node is required to relay information to other AtomicDEX API clients using the same netID.")
286
+
.with_help_message("Runs Komodo DeFi Framework as a seed node mode (acting as a relay for Komodo DeFi Framework clients). Optional, defaults to false. Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. on alternative testing or private networks, at least one seed node is required to relay information to other Komodo DeFi Framework clients using the same netID.")
287
287
.prompt()
288
288
.map_err(|error|
289
289
error_anyhow!("Failed to get i_am_a_seed: {error}")
0 commit comments