fn comments() -> HashMap<String, String> {
	let mut retval = HashMap::new();

	retval.insert(
		"[wallet]".to_string(),
		"
#########################################
### WALLET CONFIGURATION              ###
#########################################
"
		.to_string(),
	);

	retval.insert(
		"api_listen_interface".to_string(),
		"
#host IP for wallet listener, change to \"0.0.0.0\" to receive grins
"
		.to_string(),
	);

	retval.insert(
		"api_listen_port".to_string(),
		"
#path of TLS certificate file, self-signed certificates are not supported
#tls_certificate_file = \"\"
#private key for the TLS certificate
#tls_certificate_key = \"\"

#port for wallet listener
"
		.to_string(),
	);

	retval.insert(
		"owner_api_listen_port".to_string(),
		"
#port for wallet owner api
"
		.to_string(),
	);

	retval.insert(
		"api_secret_path".to_string(),
		"
#path of the secret token used by the API to authenticate the calls
#comment it to disable basic auth
"
		.to_string(),
	);
	retval.insert(
		"check_node_api_http_addr".to_string(),
		"
#where the wallet should find a running node
"
		.to_string(),
	);
	retval.insert(
		"node_api_secret_path".to_string(),
		"
#location of the node api secret for basic auth on the Grin API
"
		.to_string(),
	);
	retval.insert(
		"owner_api_include_foreign".to_string(),
		"
#include the foreign API endpoints on the same port as the owner
#API. Useful for networking environments like AWS ECS that make
#it difficult to access multiple ports on a single service.
"
		.to_string(),
	);
	retval.insert(
		"data_file_dir".to_string(),
		"
#where to find wallet files (seed, data, etc)
"
		.to_string(),
	);
	retval.insert(
		"no_commit_cache".to_string(),
		"
#If true, don't store calculated commits in the database
#better privacy, but at a performance cost of having to
#re-calculate commits every time they're used
"
		.to_string(),
	);
	retval.insert(
		"dark_background_color_scheme".to_string(),
		"
#Whether to use the black background color scheme for command line
"
		.to_string(),
	);
	retval.insert(
		"keybase_notify_ttl".to_string(),
		"
#The exploding lifetime for keybase notification on coins received.
#Unit: Minute. Default value 1440 minutes for one day.
#Refer to https://keybase.io/blog/keybase-exploding-messages for detail.
#To disable this notification, set it as 0.
"
		.to_string(),
	);
	retval.insert(
		"grinbox_address_index".to_string(),
		"
# Address derive index. Every new index will give you a new address that will be used for
# communication with message queue server.
"
		.to_string(),
	);

	retval.insert(
		"electrum_node_addr".to_string(),
		"
# ElectrumX BTC Node URI needed for atomic swap that include with BTC.
"
		.to_string(),
	);

	retval.insert(
		"[logging]".to_string(),
		"
#########################################
### LOGGING CONFIGURATION             ###
#########################################
"
		.to_string(),
	);

	retval.insert(
		"log_to_stdout".to_string(),
		"
#whether to log to stdout
"
		.to_string(),
	);

	retval.insert(
		"stdout_log_level".to_string(),
		"
#log level for stdout: Error, Warning, Info, Debug, Trace
"
		.to_string(),
	);

	retval.insert(
		"log_to_file".to_string(),
		"
#whether to log to a file
"
		.to_string(),
	);

	retval.insert(
		"file_log_level".to_string(),
		"
#log level for file: Error, Warning, Info, Debug, Trace
"
		.to_string(),
	);

	retval.insert(
		"log_file_path".to_string(),
		"
#log file path
"
		.to_string(),
	);

	retval.insert(
		"log_file_append".to_string(),
		"
#whether to append to the log file (true), or replace it on every run (false)
"
		.to_string(),
	);

	retval.insert(
		"log_max_size".to_string(),
		"
#maximum log file size in bytes before performing log rotation
#comment it to disable log rotation
"
		.to_string(),
	);

	retval.insert(
		"[tor]".to_string(),
		"
#########################################
### TOR CONFIGURATION (Experimental) ###
#########################################
"
		.to_string(),
	);

	retval.insert(
		"use_tor_listener".to_string(),
		"
#Whether to start tor listener on listener startup (default true)
"
		.to_string(),
	);

	retval.insert(
		"socks_proxy_addr".to_string(),
		"
# TOR (SOCKS) proxy server address
"
		.to_string(),
	);

	retval.insert(
		"send_config_dir".to_string(),
		"
#Directory to output TOR configuration to when sending
"
		.to_string(),
	);

	retval.insert(
		"[mqs]".to_string(),
		"
#########################################
### MWCMQS CONFIGURATION              ###
#########################################
"
		.to_string(),
	);

	retval.insert(
		"mwcmqs_domain".to_string(),
		"
#mqs server domain
"
		.to_string(),
	);

	retval.insert(
		"mwcmqs_port".to_string(),
		"
#mqs server port
"
		.to_string(),
	);

	retval
}
/// maps entries to Comments that should precede them
maps entries to Comments that should precede them
maps entries to Comments that should precede them
fn comments() -> HashMap<String, String> {
	let mut retval = HashMap::new();
	retval.insert(
		"[wallet]".to_string(),
		"
#########################################
### WALLET CONFIGURATION              ###
#########################################
"
		.to_string(),
	);
	retval.insert(
		"api_listen_interface".to_string(),
		"
#host IP for wallet listener, change to \"0.0.0.0\" to receive grins
"
		.to_string(),
	);
	retval.insert(
		"api_listen_port".to_string(),
		"
#path of TLS certificate file, self-signed certificates are not supported
#tls_certificate_file = \"\"
#private key for the TLS certificate
#tls_certificate_key = \"\"
#port for wallet listener
"
		.to_string(),
	);
	retval.insert(
		"owner_api_listen_port".to_string(),
		"
#port for wallet owner api
"
		.to_string(),
	);
	retval.insert(
		"api_secret_path".to_string(),
		"
#path of the secret token used by the API to authenticate the calls
#comment it to disable basic auth
"
		.to_string(),
	);
	retval.insert(
		"check_node_api_http_addr".to_string(),
		"
#where the wallet should find a running node
"
		.to_string(),
	);
	retval.insert(
		"node_api_secret_path".to_string(),
		"
#location of the node api secret for basic auth on the Grin API
"
		.to_string(),
	);
	retval.insert(
		"owner_api_include_foreign".to_string(),
		"
#include the foreign API endpoints on the same port as the owner
#API. Useful for networking environments like AWS ECS that make
#it difficult to access multiple ports on a single service.
"
		.to_string(),
	);
	retval.insert(
		"data_file_dir".to_string(),
		"
#where to find wallet files (seed, data, etc)
"
		.to_string(),
	);
	retval.insert(
		"no_commit_cache".to_string(),
		"
#If true, don't store calculated commits in the database
#better privacy, but at a performance cost of having to
#re-calculate commits every time they're used
"
		.to_string(),
	);
	retval.insert(
		"dark_background_color_scheme".to_string(),
		"
#Whether to use the black background color scheme for command line
"
		.to_string(),
	);
	retval.insert(
		"keybase_notify_ttl".to_string(),
		"
#The exploding lifetime for keybase notification on coins received.
#Unit: Minute. Default value 1440 minutes for one day.
#Refer to https://keybase.io/blog/keybase-exploding-messages for detail.
#To disable this notification, set it as 0.
"
		.to_string(),
	);
	retval.insert(
		"grinbox_address_index".to_string(),
		"
# Address derive index. Every new index will give you a new address that will be used for
# communication with message queue server.
"
		.to_string(),
	);
	retval.insert(
		"electrum_node_addr".to_string(),
		"
# ElectrumX BTC Node URI needed for atomic swap that include with BTC.
"
		.to_string(),
	);
	retval.insert(
		"[logging]".to_string(),
		"
#########################################
### LOGGING CONFIGURATION             ###
#########################################
"
		.to_string(),
	);
	retval.insert(
		"log_to_stdout".to_string(),
		"
#whether to log to stdout
"
		.to_string(),
	);
	retval.insert(
		"stdout_log_level".to_string(),
		"
#log level for stdout: Error, Warning, Info, Debug, Trace
"
		.to_string(),
	);
	retval.insert(
		"log_to_file".to_string(),
		"
#whether to log to a file
"
		.to_string(),
	);
	retval.insert(
		"file_log_level".to_string(),
		"
#log level for file: Error, Warning, Info, Debug, Trace
"
		.to_string(),
	);
	retval.insert(
		"log_file_path".to_string(),
		"
#log file path
"
		.to_string(),
	);
	retval.insert(
		"log_file_append".to_string(),
		"
#whether to append to the log file (true), or replace it on every run (false)
"
		.to_string(),
	);
	retval.insert(
		"log_max_size".to_string(),
		"
#maximum log file size in bytes before performing log rotation
#comment it to disable log rotation
"
		.to_string(),
	);
	retval.insert(
		"[tor]".to_string(),
		"
#########################################
### TOR CONFIGURATION (Experimental) ###
#########################################
"
		.to_string(),
	);
	retval.insert(
		"use_tor_listener".to_string(),
		"
#Whether to start tor listener on listener startup (default true)
"
		.to_string(),
	);
	retval.insert(
		"socks_proxy_addr".to_string(),
		"
# TOR (SOCKS) proxy server address
"
		.to_string(),
	);
	retval.insert(
		"send_config_dir".to_string(),
		"
#Directory to output TOR configuration to when sending
"
		.to_string(),
	);
	retval.insert(
		"[mqs]".to_string(),
		"
#########################################
### MWCMQS CONFIGURATION              ###
#########################################
"
		.to_string(),
	);
	retval.insert(
		"mwcmqs_domain".to_string(),
		"
#mqs server domain
"
		.to_string(),
	);
	retval.insert(
		"mwcmqs_port".to_string(),
		"
#mqs server port
"
		.to_string(),
	);
	retval
}
fn comments ( ) -> HashMap < String , String > { let mut retval = HashMap :: new ( ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " \" \" " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " \" \" \" \" " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval . insert ( " " . to_string ( ) , " " . to_string ( ) , ) ; retval }
maps entries to Comments that should precede them
maps entries to Comments that should precede them