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
18
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
8facdf17
Commit
8facdf17
authored
2 years ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Build fix
parent
20d1c331
No related branches found
No related tags found
1 merge request
!897
hotfix-6925
Pipeline
#17039
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/consensus/dag-poa/dap_chain_cs_dag_poa.c
+0
-9
0 additions, 9 deletions
modules/consensus/dag-poa/dap_chain_cs_dag_poa.c
with
0 additions
and
9 deletions
modules/consensus/dag-poa/dap_chain_cs_dag_poa.c
+
0
−
9
View file @
8facdf17
...
@@ -411,14 +411,6 @@ static bool s_poa_round_check_callback_round_clean(dap_global_db_context_t * a_g
...
@@ -411,14 +411,6 @@ static bool s_poa_round_check_callback_round_clean(dap_global_db_context_t * a_g
if
(
a_values_count
)
{
if
(
a_values_count
)
{
for
(
size_t
i
=
0
;
i
<
a_values_count
;
i
++
)
{
for
(
size_t
i
=
0
;
i
<
a_values_count
;
i
++
)
{
dap_chain_cs_dag_event_round_item_t
*
l_event_round_item
=
(
dap_chain_cs_dag_event_round_item_t
*
)
a_values
[
i
].
value
;
dap_chain_cs_dag_event_round_item_t
*
l_event_round_item
=
(
dap_chain_cs_dag_event_round_item_t
*
)
a_values
[
i
].
value
;
<<<<<<<
HEAD
if
(
(
dap_time_now
()
-
l_event_round_item
->
round_info
.
ts_update
)
>
(
l_poa_pvt
->
confirmations_timeout
+
l_poa_pvt
->
wait_sync_before_complete
+
10
)
)
{
dap_global_db_del_unsafe
(
a_global_db_context
,
l_gdb_group_round_new
,
a_values
[
i
].
key
);
log_it
(
L_MSG
,
"DAG-PoA: Remove event %s from round by timer."
,
a_values
[
i
].
key
);
}
else
{
l_events_count
++
;
=======
uint64_t
l_time_diff
=
dap_nanotime_now
()
-
l_event_round_item
->
round_info
.
ts_update
;
uint64_t
l_time_diff
=
dap_nanotime_now
()
-
l_event_round_item
->
round_info
.
ts_update
;
uint64_t
l_timeuot
=
dap_nanotime_from_sec
(
l_poa_pvt
->
confirmations_timeout
+
l_poa_pvt
->
wait_sync_before_complete
+
10
);
uint64_t
l_timeuot
=
dap_nanotime_from_sec
(
l_poa_pvt
->
confirmations_timeout
+
l_poa_pvt
->
wait_sync_before_complete
+
10
);
uint64_t
l_round_id
=
((
dap_chain_cs_dag_event_t
*
)
l_event_round_item
->
event_n_signs
)
->
header
.
round_id
;
uint64_t
l_round_id
=
((
dap_chain_cs_dag_event_t
*
)
l_event_round_item
->
event_n_signs
)
->
header
.
round_id
;
...
@@ -426,7 +418,6 @@ static bool s_poa_round_check_callback_round_clean(dap_global_db_context_t * a_g
...
@@ -426,7 +418,6 @@ static bool s_poa_round_check_callback_round_clean(dap_global_db_context_t * a_g
dap_global_db_del_unsafe
(
a_global_db_context
,
a_group
,
a_values
[
i
].
key
);
dap_global_db_del_unsafe
(
a_global_db_context
,
a_group
,
a_values
[
i
].
key
);
log_it
(
L_DEBUG
,
"DAG-PoA: Remove event %s from round %"
DAP_UINT64_FORMAT_U
" by timer."
,
log_it
(
L_DEBUG
,
"DAG-PoA: Remove event %s from round %"
DAP_UINT64_FORMAT_U
" by timer."
,
a_values
[
i
].
key
,
l_round_id
);
a_values
[
i
].
key
,
l_round_id
);
>>>>>>>
features
-
6091
}
}
}
}
}
}
...
...
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