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
Commits
27e561da
Commit
27e561da
authored
3 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Plain Diff
Merge branch 'features-5169' into 'develop'
features-5169 See merge request
!262
parents
dd7b7538
ab6591ed
No related branches found
No related tags found
2 merge requests
!272
Feature 5173
,
!262
features-5169
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
CMakeLists.txt
+0
-4
0 additions, 4 deletions
CMakeLists.txt
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
prod_build
+1
-1
1 addition, 1 deletion
prod_build
python-cellframe
+1
-1
1 addition, 1 deletion
python-cellframe
sources/main.c
+4
-2
4 additions, 2 deletions
sources/main.c
with
7 additions
and
9 deletions
CMakeLists.txt
+
0
−
4
View file @
27e561da
...
...
@@ -39,10 +39,6 @@ elseif(LINUX)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange modules-dynamic srv-vpn"
)
endif
()
if
(
CELLFRAME_MODULES MATCHES
"modules-dynamic"
)
add_definitions
(
"-DDAP_MODULES_DYNAMIC"
)
endif
()
add_subdirectory
(
cellframe-sdk
)
if
(
UNIX
)
...
...
This diff is collapsed.
Click to expand it.
cellframe-sdk
@
27ba90d6
Compare
11ac274c
...
27ba90d6
Subproject commit
11ac274c5c80f0b4c5a282e1d481bf8fb5a72076
Subproject commit
27ba90d6a4641f59894f0a072bbf88a21b12971c
This diff is collapsed.
Click to expand it.
prod_build
@
765ecc3a
Compare
b7bd3927
...
765ecc3a
Subproject commit
b7bd392710dab71c34129d1dbd72442a676d2da3
Subproject commit
765ecc3ab4425e9ce0b9a3e3bd4accecd4ebdde4
This diff is collapsed.
Click to expand it.
python-cellframe
@
11c06291
Compare
a5898577
...
11c06291
Subproject commit
a5898577446f2a1043646cdac84e23a517a5de42
Subproject commit
11c06291c76108c76d77cff01e69e87b143c5926
This diff is collapsed.
Click to expand it.
sources/main.c
+
4
−
2
View file @
27e561da
...
...
@@ -144,7 +144,8 @@ void exit_if_server_already_running( void );
static
const
char
*
s_pid_file_path
=
NULL
;
bool
dap_chain_net_srv_pay_verificator
(
dap_chain_tx_out_cond_t
*
a_cond
,
dap_chain_datum_tx_t
*
a_tx
)
{
UNUSED
(
a_cond
);
UNUSED
(
a_tx
);
return
true
;
}
bool
dap_chain_net_srv_pay_verificator
(
dap_chain_tx_out_cond_t
*
a_cond
,
dap_chain_datum_tx_t
*
a_tx
,
bool
a_owner
)
{
UNUSED
(
a_cond
);
UNUSED
(
a_tx
);
UNUSED
(
a_owner
);
return
true
;
}
#ifdef __ANDROID__
int
cellframe_node_Main
(
int
argc
,
const
char
**
argv
)
...
...
@@ -290,7 +291,7 @@ int main( int argc, const char **argv )
size_t
l_notify_path_default_size
=
dap_snprintf
(
NULL
,
0
,
"/tmp/%s-notify"
,
dap_get_appname
()
)
+
1
;
char
*
l_notify_path_default
=
DAP_NEW_SIZE
(
char
,
l_notify_path_default_size
);
dap_snprintf
(
l_notify_path_default
,
l_notify_path_default_size
,
"/tmp/%s-notify"
,
dap_get_appname
()
);
if
(
dap_notify_server_init
(
dap_config_get_item_str_default
(
g_config
,
"resourses"
,
"notify_path"
,
l_notify_path_default
)
)
!=
0
){
if
(
dap_notify_server_init
()
!=
0
){
log_it
(
L_ERROR
,
"Can't init notify server module"
);
}
...
...
@@ -357,6 +358,7 @@ int main( int argc, const char **argv )
dap_chain_ledger_verificator_add
(
DAP_CHAIN_TX_OUT_COND_SUBTYPE_SRV_XCHANGE
,
dap_chain_net_srv_xchange_verificator
);
dap_chain_ledger_verificator_add
(
DAP_CHAIN_TX_OUT_COND_SUBTYPE_SRV_PAY
,
dap_chain_net_srv_pay_verificator
);
dap_chain_ledger_verificator_add
(
DAP_CHAIN_TX_OUT_COND_SUBTYPE_SRV_STAKE
,
dap_chain_net_srv_stake_verificator
);
dap_chain_ledger_verificator_add
(
DAP_CHAIN_TX_OUT_COND_SUBTYPE_SRV_STAKE_UPDATE
,
dap_chain_net_srv_stake_updater
);
if
(
dap_chain_net_init
()
!=
0
){
log_it
(
L_CRITICAL
,
"Can't init dap chain network module"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment