diff --git a/cellframe-sdk b/cellframe-sdk index 07430ae3d01f86406883d035c63f0718d5f13ed1..9186c4c6ce484000841422c2666498e1803f3c2a 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 07430ae3d01f86406883d035c63f0718d5f13ed1 +Subproject commit 9186c4c6ce484000841422c2666498e1803f3c2a diff --git a/dist/share/configs/dapcash-node.cfg.tpl b/dist/share/configs/dapcash-node.cfg.tpl index aa2a8b3e06ea69c4a2310bfeea174d5d0cbed606..9b70a5880a62ed2bfdef8794e9d72a9e67c9df09 100644 --- a/dist/share/configs/dapcash-node.cfg.tpl +++ b/dist/share/configs/dapcash-node.cfg.tpl @@ -43,6 +43,11 @@ pricelist=[] # Automaticaly should be true for master ad root node role # auto_proc=false +# Chain network settings +[chain_net] +# How often rerun network state check sequence, in seconds. 180 by default +net_check_timeout=10 +net_sync_timeout=180 # Central Dataase [cdb] diff --git a/sources/main.c b/sources/main.c index f2c9a41e128a0cb7814ea71ade46d1e049c0cb94..865d9cd20f5982257326b591173033dcefe8fbc5 100755 --- a/sources/main.c +++ b/sources/main.c @@ -116,6 +116,7 @@ #ifdef DAP_SUPPORT_PYTHON_PLUGINS #include "dap_chain_plugins.h" + #include "dap_plugins_python_app_context.h" #endif diff --git a/sources/main_node_cli.c b/sources/main_node_cli.c index 2f2c60154e57050180ec38235d4e3595fe23c1e0..a171323a17aa5d9787d6420f803416ea99529da2 100644 --- a/sources/main_node_cli.c +++ b/sources/main_node_cli.c @@ -196,6 +196,8 @@ int main(int argc, const char *argv[]) dap_set_appname("dapcash-node"); #ifdef _WIN32 + SetConsoleCP(1252); + SetConsoleOutputCP(1252); g_sys_dir_path = dap_strdup_printf("%s/%s", regGetUsrPath(), dap_get_appname()); #elif DAP_OS_MAC g_sys_dir_path = dap_strdup_printf("/Applications/%s.app/Contents/Resources", dap_get_appname());