-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: try traverse all unknown parent hash #2906
Conversation
f2b03ec
to
dbcb989
Compare
c38b40d
to
03b5690
Compare
deafee3
to
41b575a
Compare
a66a9a0
to
29bcfc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll review it tomorrow.
29bcfc1
to
0fff8aa
Compare
I change |
0fff8aa
to
66b524d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor suggestions which should not block the merge.
66b524d
to
4fc08b0
Compare
@zhangsoledad @quake please review |
bors r=doitian,quake |
2906: fix: try traverse all unknown parent hash r=doitian,quake a=driftluo Try traverse all unknown parent hash Co-authored-by: keroro <[email protected]> Co-authored-by: driftluo <[email protected]>
Build failed: |
self.len() == 0 | ||
} | ||
|
||
pub fn clone_leaders(&self) -> Vec<ParentHash> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use impl trait return an Iterator here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but #2906 (comment), so I deleted it
Blocked by #2913 |
bors r=doitian,quake |
Build succeeded: |
Try traverse all unknown parent hash