sigp / lighthouse

Ethereum consensus client in Rust
https://lighthouse.sigmaprime.io/
Apache License 2.0
2.82k stars 698 forks source link

Add peers to lookup ancestors #5708

Open dapplion opened 2 months ago

dapplion commented 2 months ago

Description

If a peer claims to have imported block A, and we have a parent chain of blocks with block A as tip, then the peer must know about all those ancestor blocks.

We should insert the peer into all those lookups, not just the lookup of block A.

Version

unstable

1010adigupta commented 1 month ago

would like to work on this

dapplion commented 1 month ago

We are currently debugging the logic that this issue depends on. If you don't mind @1010adigupta I'll take this one

1010adigupta commented 1 month ago

okay , I will try to learn from your pr