diff --git a/conftool/commands/ConfigCommand.cpp b/conftool/commands/ConfigCommand.cpp index 29d59a8a5a36109aacdbddbd7d90015b347e9af1..a7db2f321c4a6ee473b743bca4b2256907d153e7 100644 --- a/conftool/commands/ConfigCommand.cpp +++ b/conftool/commands/ConfigCommand.cpp @@ -132,11 +132,11 @@ bool CConfigCommand::execute(bool non_intercative, int flags) std::string cfg_val; bool param_exists = cfg.exists(this->group, this->param, &cfg_val); std::cout << this->cfg_name << ": ["<<this->group<<"] " << this->param+"="+cfg_val<<std::endl; - return true; + return false; }; //actions return true if config was altered and need to be saved bool res = actions[this->action](); if (res) cfg.save(); - return res; + return true; } diff --git a/dist/share/configs/cellframe-node.cfg b/dist/share/configs/cellframe-node.cfg index 5f75bb960a227ed63af7a0165348020e2ddb09b7..c1f66cb450692c483e122630c72553655ffd1978 100644 --- a/dist/share/configs/cellframe-node.cfg +++ b/dist/share/configs/cellframe-node.cfg @@ -8,6 +8,7 @@ debug_dump_stream_headers=false #debug_reactor=false # Debug HTTP protocol, false by default #debug_http=false +# debug-config=false # seed mode. WARNING. Used true only when you start the new network #seed_mode=false @@ -22,6 +23,7 @@ enabled= news_url_enabled=false bugreport_url_enabled=false listen_address= +# listen-port-tcp= # External IPv4 address #ext_address=8.9.10.11 # External IPv6 address @@ -30,6 +32,10 @@ listen_address= # If not set - used listen_port_tcp for node table auto fill #ext_port_tcp=8089 +[server_options] +# proxy_enable=false +# proxy_enable2=false + [notify_server] # Listening path have priority above listening address examples to use # listen_path=[listen_path1:listen_path_mode,listen_path2:listen_path_mode,...] @@ -41,10 +47,17 @@ listen_address= # For now its IAES but thats depricated #preferred_encryption=SALSA2012 # Debug stream protocol +# debug_channels=false +# debug_dump_stream_headers=false #debug=true # Build in DNS client (need for bootstraping) [dns_client] +# debug_more=false +# max_tries=5 +# timeout=10 +# timeout_read_after_connect=5 +# ssl_cert_path= #request_timeout=10 # Bootstrap balancer server @@ -54,6 +67,7 @@ http_server=true # Ledger defaults [ledger] +# cache_enabled=false # More debug output # debug_more=true @@ -67,6 +81,7 @@ http_server=true [link_manager] #timer_update_states=5000 #max_attempts_num=2 +# reconnect_delay= #debug_more=true [srv] @@ -80,9 +95,18 @@ pricelist=[] # Mempool [mempool] +# gdb_group= # Automatically false, for enabling need role master or higher auto_proc=false +[chain] +# debug_more=true +# sync_timeout= +# sync_ack_window_size= +# debug_legacy=false +# pack_size= +# sync_idle_time= + # Chain network settings [chain_net] # debug_more=true @@ -96,6 +120,13 @@ auto_proc=false [stake] # debug_more=true +[crypto] +# debug_more=true + +[gossip] +# debug_more=true + + [stream_ch_chain] # Uncomment to have more debug information in stream channel Chain # False by default @@ -122,10 +153,17 @@ network_mask=255.255.255.0 #wallet_addr= # The name of the certificate for signing receipts. Must match the master node certificate. #receipt_sign_cert= +# allow_free_srv=false + +[srv_xchange] +# debug_more=false + # Console interface server [cli-server] enabled=true +# debug_more=false +# debug-cli=false #listen_port_tcp=12345 #listen_unix_socket_path=../var/run/node_cli # Default permissions 770 @@ -145,11 +183,14 @@ pid_path=../var/run/cellframe-node.pid log_file=../var/log/cellframe-node.log wallets_path=../var/lib/wallet ca_folders=[../var/lib/ca,../share/ca] +# geoip_db_path= +# datum_folder= [global_db] path=../var/lib/global_db driver= #debug_more=true +# mdbx_upper_limit_of_db_size=1024 # Plugins [plugins]