From 4db5aeb8bdb2132d2e27ecb51aab6f0244c0d037 Mon Sep 17 00:00:00 2001 From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net> Date: Thu, 7 Jan 2021 00:32:40 +0700 Subject: [PATCH] ... --- cellframe-sdk | 2 +- dist/share/configs/dapcash-node.cfg.tpl | 5 +++++ sources/main.c | 1 + sources/main_node_cli.c | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index 07430ae..9186c4c 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 aa2a8b3..9b70a58 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 f2c9a41..865d9cd 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 2f2c601..a171323 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()); -- GitLab