Skip to content
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

[Mega Tracking] - Fork Choice Optimization #1951

Closed
terencechain opened this issue Mar 9, 2019 · 2 comments
Closed

[Mega Tracking] - Fork Choice Optimization #1951

terencechain opened this issue Mar 9, 2019 · 2 comments

Comments

@terencechain
Copy link
Member

This issue tracks overall improvements for our current fork choice implementation. See #1950 as a starter. Some high level ideas:

  • Cache blocks and avoid reading blocks from DB to find head
  • Look into different LMD-GHOST implementations

Helpful resources:
https://github.com/protolambda/lmd-ghost/

@terencechain
Copy link
Member Author

terencechain commented Apr 9, 2019

The optimized version we should be implementing is outlined here:
https://github.com/protolambda/lmd-ghost/#optimized-lmd-ghost-by-vitalik-buterin-vitalik

The reference implementation in python:
https://github.com/ethereum/research/blob/master/ghost/ghost.py

@rauljordan
Copy link
Contributor

Duplicate of #3162

@rauljordan rauljordan marked this as a duplicate of #3162 Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants