Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
26127161
Unverified
Commit
26127161
authored
Mar 27, 2021
by
Andronik Ordian
Committed by
GitHub
Mar 27, 2021
Browse files
approval-distribution: moar logs (#2732)
parent
58105558
Pipeline
#130991
failed with stages
in 28 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/network/approval-distribution/src/lib.rs
View file @
26127161
...
...
@@ -526,7 +526,18 @@ impl State {
}
else
{
if
!
entry
.knowledge.known_messages
.insert
(
fingerprint
.clone
())
{
// if we already imported an assignment, there is no need to distribute it again
tracing
::
warn!
(
target
:
LOG_TARGET
,
?
fingerprint
,
"Importing locally an already known assignment"
,
);
return
;
}
else
{
tracing
::
debug!
(
target
:
LOG_TARGET
,
?
fingerprint
,
"Importing locally a new assignment"
,
);
}
}
...
...
@@ -575,7 +586,7 @@ impl State {
if
!
peers
.is_empty
()
{
tracing
::
trace!
(
target
:
LOG_TARGET
,
"Sending assignment (block={}, index={})to {} peers"
,
"Sending assignment (block={}, index={})
to {} peers"
,
block_hash
,
claimed_candidate_index
,
peers
.len
(),
...
...
@@ -724,7 +735,18 @@ impl State {
}
else
{
if
!
entry
.knowledge.known_messages
.insert
(
fingerprint
.clone
())
{
// if we already imported an approval, there is no need to distribute it again
tracing
::
warn!
(
target
:
LOG_TARGET
,
?
fingerprint
,
"Importing locally an already known approval"
,
);
return
;
}
else
{
tracing
::
debug!
(
target
:
LOG_TARGET
,
?
fingerprint
,
"Importing locally a new approval"
,
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment