Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Compare revisions
997c0da23ab7b48d341ba1d8a5dba5189f90c299 to ee75845110aac38fa52bd6c22c4417f7c73f599e
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
cellframe/cellframe-node
Select target project
No results found
ee75845110aac38fa52bd6c22c4417f7c73f599e
Select Git revision
Swap
Target
cellframe/cellframe-node
Select target project
cellframe/cellframe-node
evseev/cellframe-node
dmitry.puzyrkov/cellframe-node
MIKA83/cellframe-node
4 results
997c0da23ab7b48d341ba1d8a5dba5189f90c299
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
features-4835
· 26c7d0b3
Roman Khlopkov
authored
3 years ago
and
dmitriy.gerasimov
committed
3 years ago
26c7d0b3
Merge branch 'features-4835' into 'release-4.4'
· 7196dfc1
dmitriy.gerasimov
authored
3 years ago
features-4835 See merge request
!224
7196dfc1
[!] Massive fixes pack
· b41e6989
dmitriy.gerasimov
authored
3 years ago
b41e6989
[*] Fixed builds for MacOS, FreeBSD and Windows
· ee758451
dmitriy.gerasimov
authored
3 years ago
ee758451
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
sources/main.c
+9
-8
9 additions, 8 deletions
sources/main.c
sources/sig_unix_handler.c
+6
-0
6 additions, 0 deletions
sources/sig_unix_handler.c
with
20 additions
and
13 deletions
CMakeLists.txt
View file @
ee758451
...
...
@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET
(
CPACK_PACKAGE_NAME
"
${
PROJECT_NAME
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR 4
)
SET
(
CPACK_PACKAGE_VERSION_MINOR 4
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
28
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
31
)
# init CellFrame SDK
add_definitions
(
"-DDAP_VERSION=
\"
${
CPACK_PACKAGE_VERSION_MAJOR
}
-
${
CPACK_PACKAGE_VERSION_MINOR
}
.
${
CPACK_PACKAGE_VERSION_PATCH
}
\"
"
)
...
...
@@ -25,11 +25,11 @@ endif()
if
(
WIN32
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange
modules-dynamic
"
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
BSD
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange
modules-dynamic
"
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
DARWIN
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange
modules-dynamic
"
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
ANDROID
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
LINUX
)
...
...
This diff is collapsed.
Click to expand it.
cellframe-sdk
@
a27db464
Compare
e36fc955
...
a27db464
Subproject commit
e36fc955be3cf2f5a05148720868c057df13faa8
Subproject commit
a27db464f08e151be031ff805d030bbf969fc26d
This diff is collapsed.
Click to expand it.
sources/main.c
View file @
ee758451
...
...
@@ -61,8 +61,10 @@
#include
"dap_http_folder.h"
#include
"dap_chain_node_dns_client.h"
#include
"dap_chain_node_dns_server.h"
#include
"dap_modules_dynamic_cdb.h"
#ifdef DAP_MODULES_DYNAMIC
#include
"dap_modules_dynamic_cdb.h"
#endif
#include
"dap_events.h"
#include
"dap_enc.h"
...
...
@@ -86,8 +88,6 @@
#ifdef DAP_OS_LINUX
#include
"dap_chain_net_srv_vpn.h"
#include
"dap_chain_net_srv_vpn_cdb.h"
#include
"dap_chain_net_srv_vpn_cdb_server_list.h"
#include
"dap_chain_net_vpn_client.h"
#endif
...
...
@@ -439,6 +439,7 @@ int main( int argc, const char **argv )
// Init HTTP-specific values
dap_http_new
(
l_server
,
dap_get_appname
()
);
#ifdef DAP_MODULES_DYNAMIC
if
(
dap_config_get_item_bool_default
(
g_config
,
"cdb"
,
"enabled"
,
false
)
)
{
if
(
dap_modules_dynamic_load_cdb
(
DAP_HTTP
(
l_server
))){
log_it
(
L_CRITICAL
,
"Can't init CDB module"
);
...
...
@@ -447,6 +448,7 @@ int main( int argc, const char **argv )
log_it
(
L_NOTICE
,
"Central DataBase (CDB) is initialized"
);
}
}
#endif
// Handshake URL
enc_http_add_proc
(
DAP_HTTP
(
l_server
),
ENC_HTTP_URL
);
...
...
@@ -483,13 +485,8 @@ int main( int argc, const char **argv )
}
}
//dap_chain_net_load_all();
//Init python plugins
#ifdef DAP_SUPPORT_PYTHON_PLUGINS
log_it
(
L_NOTICE
,
"Loading python plugins"
);
...
...
@@ -517,6 +514,10 @@ int main( int argc, const char **argv )
dap_chain_net_srv_xchange_deinit
();
dap_chain_net_srv_stake_deinit
();
dap_chain_net_deinit
();
#ifdef DAP_MODULES_DYNAMIC
dap_modules_dynamic_close_cdb
();
#endif
dap_chain_global_db_deinit
();
dap_chain_deinit
();
dap_config_close
(
g_config
);
...
...
This diff is collapsed.
Click to expand it.
sources/sig_unix_handler.c
View file @
ee758451
...
...
@@ -17,6 +17,9 @@
#include
"dap_http.h"
#include
"dap_chain_node_dns_server.h"
#include
"sig_unix_handler.h"
#ifdef DAP_MODULES_DYNAMIC
#include
"dap_modules_dynamic_cdb.h"
#endif
#define LOG_TAG "sig_unix_handler"
...
...
@@ -49,6 +52,9 @@ static void sig_exit_handler(int sig_code) {
dap_enc_ks_deinit
();
enc_http_deinit
();
dap_http_deinit
();
#ifdef DAP_MODULES_DYNAMIC
dap_modules_dynamic_close_cdb
();
#endif
dap_dns_server_stop
();
dap_server_deinit
();
dap_events_stop_all
();
...
...
This diff is collapsed.
Click to expand it.