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
ec7c35c0
Commit
ec7c35c0
authored
6 years ago
by
Aleksandr Lysikov
Browse files
Options
Downloads
Patches
Plain Diff
add libdap-chain-mempool
parent
e4215ad4
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
libdap-chain-mempool
+1
-0
1 addition, 0 deletions
libdap-chain-mempool
sources/main.c
+4
-1
4 additions, 1 deletion
sources/main.c
with
13 additions
and
2 deletions
.gitignore
+
3
−
0
View file @
ec7c35c0
...
@@ -53,3 +53,6 @@ modules.order
...
@@ -53,3 +53,6 @@ modules.order
Module.symvers
Module.symvers
Mkfile.old
Mkfile.old
dkms.conf
dkms.conf
/.project
/.cproject
/kelvin-node_logs.txt
This diff is collapsed.
Click to expand it.
.gitmodules
+
3
−
0
View file @
ec7c35c0
...
@@ -150,3 +150,6 @@
...
@@ -150,3 +150,6 @@
path = libdap-chain-global-db
path = libdap-chain-global-db
url = https://github.com/kelvinblockchain/libdap-chain-global-db
url = https://github.com/kelvinblockchain/libdap-chain-global-db
branch = master
branch = master
[submodule "libdap-chain-mempool"]
path = libdap-chain-mempool
url = https://github.com/kelvinblockchain/libdap-chain-mempool
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
2
−
1
View file @
ec7c35c0
...
@@ -53,6 +53,7 @@ add_subdirectory(libdap-chain-net-srv-app-db)
...
@@ -53,6 +53,7 @@ add_subdirectory(libdap-chain-net-srv-app-db)
add_subdirectory
(
libdap-chain-net-srv-datum
)
add_subdirectory
(
libdap-chain-net-srv-datum
)
add_subdirectory
(
libdap-chain-net-srv-datum-pool
)
add_subdirectory
(
libdap-chain-net-srv-datum-pool
)
add_subdirectory
(
libdap-chain-net-srv-vpn
)
add_subdirectory
(
libdap-chain-net-srv-vpn
)
add_subdirectory
(
libdap-chain-mempool
)
add_subdirectory
(
libdap-stream
)
add_subdirectory
(
libdap-stream
)
add_subdirectory
(
libdap-stream-ch
)
add_subdirectory
(
libdap-stream-ch
)
...
@@ -114,7 +115,7 @@ target_link_libraries(${PROJECT_NAME} dap_core_server dap_http_server dap_udp_s
...
@@ -114,7 +115,7 @@ target_link_libraries(${PROJECT_NAME} dap_core_server dap_http_server dap_udp_s
dap_chain_dag dap_chain_dag_cs dap_chain_dag_cs_poa dap_chain_dag_cs_hashgraph dap_chain_dag_cs_poh
dap_chain_dag dap_chain_dag_cs dap_chain_dag_cs_poa dap_chain_dag_cs_hashgraph dap_chain_dag_cs_poh
dap_chain_net dap_chain_net_srv dap_chain_net_srv_app dap_chain_net_srv_app_db
dap_chain_net dap_chain_net_srv dap_chain_net_srv_app dap_chain_net_srv_app_db
dap_chain_net_srv_datum dap_chain_net_srv_datum_pool dap_chain_net_srv_vpn
dap_chain_net_srv_datum dap_chain_net_srv_datum_pool dap_chain_net_srv_vpn
dap_chain_wallet dap_chain_global_db
dap_chain_wallet dap_chain_global_db
dap_chain_mempool
m pthread magic
)
m pthread magic
)
target_include_directories
(
${
PROJECT_NAME
}
INTERFACE .
)
target_include_directories
(
${
PROJECT_NAME
}
INTERFACE .
)
...
...
This diff is collapsed.
Click to expand it.
libdap-chain-mempool
@
1d935f75
Subproject commit 1d935f75de8896ad165c9b4c4707e6171fd29f29
This diff is collapsed.
Click to expand it.
sources/main.c
+
4
−
1
View file @
ec7c35c0
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include
"dap_chain_net_srv_datum.h"
#include
"dap_chain_net_srv_datum.h"
#include
"dap_chain_net_srv_datum_pool.h"
#include
"dap_chain_net_srv_datum_pool.h"
#include
"dap_chain_net_srv_vpn.h"
#include
"dap_chain_net_srv_vpn.h"
#include
"dap_chain_mempool.h"
#include
"dap_stream_session.h"
#include
"dap_stream_session.h"
#include
"dap_stream.h"
#include
"dap_stream.h"
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
#define STREAM_CTL_URL "/stream_ctl"
#define STREAM_CTL_URL "/stream_ctl"
#define STREAM_URL "/stream"
#define STREAM_URL "/stream"
#define SLIST_URL "/nodelist"
#define SLIST_URL "/nodelist"
#define MEMPOOL_URL "/mempool"
#define MAIN_URL "/"
#define MAIN_URL "/"
void
parse_args
(
int
argc
,
const
char
*
argv
[]);
void
parse_args
(
int
argc
,
const
char
*
argv
[]);
...
@@ -286,6 +287,8 @@ int main(int argc, const char * argv[])
...
@@ -286,6 +287,8 @@ int main(int argc, const char * argv[])
dap_stream_add_proc_http
(
DAP_HTTP
(
l_server
),
STREAM_URL
);
dap_stream_add_proc_http
(
DAP_HTTP
(
l_server
),
STREAM_URL
);
dap_stream_ctl_add_proc
(
DAP_HTTP
(
l_server
),
STREAM_CTL_URL
);
dap_stream_ctl_add_proc
(
DAP_HTTP
(
l_server
),
STREAM_CTL_URL
);
dap_chain_mempool_add_proc
(
DAP_HTTP
(
l_server
),
STREAM_CTL_URL
);
// Built in WWW server
// Built in WWW server
/*if ( dap_config_get_item_bool_default(g_config,"www","enabled",false) ){
/*if ( dap_config_get_item_bool_default(g_config,"www","enabled",false) ){
...
...
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