Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
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
cellframe-sdk
Commits
df12adf7
Commit
df12adf7
authored
3 months ago
by
Roman Khlopkov
🔜
Committed by
Constantin P.
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
hotfix-14240
parent
da559116
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1957
Develop port 02 12
,
!1936
hotfix-14240
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap-sdk
+1
-1
1 addition, 1 deletion
dap-sdk
modules/net/dap_chain_node.c
+4
-2
4 additions, 2 deletions
modules/net/dap_chain_node.c
with
5 additions
and
3 deletions
dap-sdk
@
09462f6e
Compare
1bd8738b
...
09462f6e
Subproject commit
1bd8738bd6b4a7ea3e8c9149cc46b76e0385256b
Subproject commit
09462f6ea2c421c663d6e946924b231b7c99f176
This diff is collapsed.
Click to expand it.
modules/net/dap_chain_node.c
+
4
−
2
View file @
df12adf7
...
...
@@ -375,10 +375,12 @@ void dap_chain_node_mempool_process_all(dap_chain_t *a_chain, bool a_force)
#ifdef DAP_TPS_TEST
log_it
(
L_TPS
,
"Get %zu datums from mempool"
,
l_objs_size
);
#endif
for
(
size_t
i
=
0
;
i
<
l_objs_size
;
i
++
)
{
if
(
!
l_objs
[
i
].
value_len
)
for
(
size_t
i
=
0
;
i
<
l_objs_size
;
i
++
)
{
if
(
l_objs
[
i
].
value_len
<
sizeof
(
dap_chain_datum_t
)
)
continue
;
dap_chain_datum_t
*
l_datum
=
(
dap_chain_datum_t
*
)
l_objs
[
i
].
value
;
if
(
dap_chain_datum_size
(
l_datum
)
!=
l_objs
[
i
].
value_len
)
continue
;
if
(
dap_chain_node_mempool_need_process
(
a_chain
,
l_datum
))
{
if
(
l_datum
->
header
.
type_id
==
DAP_CHAIN_DATUM_TX
&&
...
...
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