Skip to content
Snippets Groups Projects
Commit a9fa0ed2 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Rised log level from INFO to NOTICE for debug=false mode

[+] Confirmations param for PoS consensus
parent 81dc8564
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ SET( CPACK_GENERATOR "DEB")
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 2)
SET( CPACK_PACKAGE_VERSION_MINOR 8)
SET( CPACK_PACKAGE_VERSION_PATCH 0)
SET( CPACK_PACKAGE_VERSION_PATCH 1)
SET( CPACK_SYSTEM_NAME "debian-9.9-amd64")
SET( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}")
......
......@@ -18,7 +18,9 @@ datum_add_hashes_count=3
# KELT - test token, KEL - main tokem
tokens_hold=[KELT,KEL]
# 1000 coins for both
tokens_hold_value=[1000000000000000,1000000000000000]
tokens_hold_value=[1000000000,1000000000]
# Confirmations minimum
confirmations_minimum=3
[files]
storage_dir=/opt/cellframe-node/var/lib/network/kelvin-testnet/plasma
......
Subproject commit 54a41ae6f3eb85a5221d35a5376efa5cff02a5d3
Subproject commit 25a1256e47a85854e143c540fbabc8dc3fe1f7ae
......@@ -142,21 +142,21 @@ int main( int argc, const char **argv )
#endif
{
char l_log_file_path[MAX_PATH];
char l_log_file_path [ MAX_PATH ];
#ifdef _WIN32
dap_sprintf(s_sys_dir_path, "%s/%s", regGetUsrPath(), DAP_APP_NAME);
l_sys_dir_path_len = strlen(s_sys_dir_path);
memcpy(l_log_file_path, s_sys_dir_path, l_sys_dir_path_len);
memcpy(s_pid_file_path, s_sys_dir_path, l_sys_dir_path_len);
#endif
dap_snprintf(l_log_file_path + l_sys_dir_path_len, sizeof (l_log_file_path), "%s/%s.log", SYSTEM_LOGS_DIR, DAP_APP_NAME);
dap_mkdir_with_parents(SYSTEM_LOGS_DIR);
dap_snprintf( l_log_file_path + l_sys_dir_path_len , sizeof ( l_log_file_path ), "%s/%s.log", SYSTEM_LOGS_DIR , DAP_APP_NAME );
dap_mkdir_with_parents( SYSTEM_LOGS_DIR );
if ( dap_common_init( DAP_APP_NAME, l_log_file_path ) != 0 ) {
printf( "Fatal Error: Can't init common functions module" );
return -2;
}
dap_snprintf(s_sys_dir_path + l_sys_dir_path_len, sizeof(s_sys_dir_path), "%s", SYSTEM_CONFIGS_DIR);
dap_snprintf(s_sys_dir_path + l_sys_dir_path_len, sizeof( s_sys_dir_path ), "%s", SYSTEM_CONFIGS_DIR);
dap_config_init( s_sys_dir_path );
memset(s_sys_dir_path + l_sys_dir_path_len, '\0', MAX_PATH - l_sys_dir_path_len);
if ( (g_config = dap_config_open(DAP_APP_NAME)) == NULL ) {
......@@ -181,7 +181,7 @@ int main( int argc, const char **argv )
else
log_it( L_ATT, "*** NORMAL MODE ***" );
dap_log_level_set( bDebugMode ? L_DEBUG: L_INFO );
dap_log_level_set( bDebugMode ? L_DEBUG : L_NOTICE );
log_it( L_DAP, "*** CellFrame Node version: %s ***", DAP_VERSION );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment