Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Allow user to reset light client to a trusted block hash #7263

Closed
rphmeier opened this issue Dec 11, 2017 · 2 comments
Closed

Allow user to reset light client to a trusted block hash #7263

rphmeier opened this issue Dec 11, 2017 · 2 comments
Labels
F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.

Comments

@rphmeier
Copy link
Contributor

By default, the light client will attempt to download synchronize all headers from the genesis. This is a costly operation but necessary for bootstrapping trust.

If a user has some block hash that they've obtained from e.g. etherscan or some other trusted source, they should be able to bootstrap their light client from that block hash. The only downside is that data like historical logs, block bodies, etc. won't be available until the full header chain has finished downloading.

Bonus: allow this to be done over RPC

@rphmeier rphmeier added F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust. labels Dec 11, 2017
@5chdn 5chdn added this to the 1.9 milestone Dec 11, 2017
@5chdn 5chdn added the P5-sometimesoon 🌲 Issue is worth doing soon. label Dec 11, 2017
@5chdn 5chdn modified the milestones: 1.9, 1.10 Jan 5, 2018
@5chdn 5chdn modified the milestones: 1.10, 1.11 Jan 23, 2018
@5chdn 5chdn modified the milestones: 1.11, 1.12 Mar 1, 2018
@tomaka
Copy link
Contributor

tomaka commented Mar 22, 2018

cc #8075

@5chdn
Copy link
Contributor

5chdn commented Mar 23, 2018

While #8075 is the groundwork for this I would appreciate more control options for the end user here

@5chdn 5chdn modified the milestones: 1.12, 1.13 Apr 24, 2018
@5chdn 5chdn modified the milestones: 1.13, 1.11 May 14, 2018
@5chdn 5chdn closed this as completed May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

No branches or pull requests

3 participants