Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-cellframe
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
python-cellframe
Commits
dc9ef85c
Commit
dc9ef85c
authored
4 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature-3423' into 'master'
Feature 3423 See merge request
!21
parents
3d8f93ce
4851c456
No related branches found
Branches containing commit
No related tags found
1 merge request
!21
Feature 3423
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/python-cellframe.h
+1
-1
1 addition, 1 deletion
include/python-cellframe.h
src/python-cellframe.c
+3
-2
3 additions, 2 deletions
src/python-cellframe.c
with
4 additions
and
3 deletions
include/python-cellframe.h
+
1
−
1
View file @
dc9ef85c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include
"wrapping_dap_mempool.h"
#include
"wrapping_dap_mempool.h"
#include
"wrapping_dap_http_folder.h"
#include
"wrapping_dap_http_folder.h"
#include
"dap_http_client_simple.h"
//
#include "dap_http_client_simple.h"
#include
"dap_chain_wallet.h"
#include
"dap_chain_wallet.h"
#include
"dap_chain_cs.h"
#include
"dap_chain_cs.h"
#include
"dap_chain_cs_dag.h"
#include
"dap_chain_cs_dag.h"
...
...
This diff is collapsed.
Click to expand it.
src/python-cellframe.c
+
3
−
2
View file @
dc9ef85c
...
@@ -13,7 +13,7 @@ static bool s_init_http_enc = false;
...
@@ -13,7 +13,7 @@ static bool s_init_http_enc = false;
static
bool
s_init_server_core
=
false
;
static
bool
s_init_server_core
=
false
;
static
bool
s_init_mempool
=
false
;
static
bool
s_init_mempool
=
false
;
static
bool
s_init_http_client_simple
=
false
;
//
static bool s_init_http_client_simple = false;
static
bool
s_init_wallet
=
false
;
static
bool
s_init_wallet
=
false
;
static
bool
s_init_cs_dag
=
false
;
static
bool
s_init_cs_dag
=
false
;
static
bool
s_init_cs_dag_poa
=
false
;
static
bool
s_init_cs_dag_poa
=
false
;
...
@@ -233,12 +233,13 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){
...
@@ -233,12 +233,13 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){
return
NULL
;
return
NULL
;
}
}
s_init_mempool
=
true
;
s_init_mempool
=
true
;
/*
} else if (strcmp(c_value, "HttpClientSimple") == 0){
} else if (strcmp(c_value, "HttpClientSimple") == 0){
if (dap_http_client_simple_init() != 0){
if (dap_http_client_simple_init() != 0){
PyErr_SetString(CellFrame_error, "Failed to initialize HttpClientSimple module. ");
PyErr_SetString(CellFrame_error, "Failed to initialize HttpClientSimple module. ");
return NULL;
return NULL;
}
}
s_init_http_client_simple
=
true
;
s_init_http_client_simple = true;
*/
}
else
if
(
strcmp
(
c_value
,
"Wallet"
)
==
0
){
}
else
if
(
strcmp
(
c_value
,
"Wallet"
)
==
0
){
if
(
dap_chain_wallet_init
()
!=
0
){
if
(
dap_chain_wallet_init
()
!=
0
){
PyErr_SetString
(
CellFrame_error
,
"Failed to initialize Wallet module. "
);
PyErr_SetString
(
CellFrame_error
,
"Failed to initialize Wallet 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