-
Notifications
You must be signed in to change notification settings - Fork 245
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
Devise how to update CHT automatically #320
Comments
Current balance: 0.000000 ETH |
Please note: per status team request, revised PR against upstream go-ethereum now addresses this issue instead: ethereum/go-ethereum#15673 |
Closing here as @pacamara has been rewarded out of band and will be working with Divan and Zsolt on LES2 for the rest of what is required. |
Problem Overview
CHT stands for Canonical Hash Trie - a concept of go-ethereum allowing to start synchronisation from the last trusted state which we use to avoid overheating phones, long synchronisation time and battery drain.
Currently, CHT is embedded into status-go source code and it brings a number of problems:
Implementation
The first step is to investigate how it can be achieved and there're some options:
Acceptance Criteria
CHT is updated automatically before block synchronisation starts.
Notes
I may be wrong but, as I remember, go-ethereum were going to make automatic CHT updates for les protocol.
There's a relevant issue about growing chaindata just to keep in mind: #277
The text was updated successfully, but these errors were encountered: