Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-mempool
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-mempool
Commits
33ea97a2
Commit
33ea97a2
authored
6 years ago
by
Aleksandr Lysikov
Browse files
Options
Downloads
Patches
Plain Diff
fix small warning
parent
4a94dc64
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client_mempool.c
+3
-0
3 additions, 0 deletions
client_mempool.c
client_mempool.h
+1
-1
1 addition, 1 deletion
client_mempool.h
with
4 additions
and
1 deletion
client_mempool.c
+
3
−
0
View file @
33ea97a2
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#include
"dap_common.h"
#include
"dap_common.h"
#include
"dap_config.h"
#include
"dap_config.h"
#include
"dap_events.h"
#include
"dap_events.h"
#include
"dap_chain_node.h"
#include
"dap_client_pvt.h"
#include
"dap_client_pvt.h"
#include
"dap_http_client_simple.h"
#include
"dap_http_client_simple.h"
#include
"client_mempool.h"
#include
"client_mempool.h"
...
@@ -17,9 +18,11 @@
...
@@ -17,9 +18,11 @@
static
int
listen_port_tcp
=
8079
;
static
int
listen_port_tcp
=
8079
;
// send request to server
static
int
client_mempool_send_request
(
client_mempool_t
*
mempool
,
dap_datum_mempool_t
*
datum_mempool
,
static
int
client_mempool_send_request
(
client_mempool_t
*
mempool
,
dap_datum_mempool_t
*
datum_mempool
,
const
char
*
action
,
bool
is_last_req
);
const
char
*
action
,
bool
is_last_req
);
// callback for dap_client_new() in client_mempool_connect()
// callback for dap_client_new() in client_mempool_connect()
static
void
stage_status_callback
(
dap_client_t
*
a_client
,
void
*
a_arg
)
static
void
stage_status_callback
(
dap_client_t
*
a_client
,
void
*
a_arg
)
{
{
...
...
This diff is collapsed.
Click to expand it.
client_mempool.h
+
1
−
1
View file @
33ea97a2
...
@@ -17,7 +17,7 @@ enum {
...
@@ -17,7 +17,7 @@ enum {
};
};
// state for a client connection with mempool
// state for a client connection with mempool
typedef
struct
client_mempool
_t
{
typedef
struct
client_mempool
{
int
state
;
int
state
;
dap_events_t
*
a_events
;
dap_events_t
*
a_events
;
dap_client_t
*
a_client
;
dap_client_t
*
a_client
;
...
...
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