Replies: 4 comments 2 replies
-
Is the idea to release a new hardcoded header every 3 weeks (unbonding period)? Otherwise, won't make this long range attacks cheaper? |
Beta Was this translation helpful? Give feedback.
-
I find requesting trusted peers a.k.a bootstrappers managed by us similar as us hardcoding the hash. But, relying on bootstrappers is less error prone and more secure:
|
Beta Was this translation helpful? Give feedback.
-
Please turn this into a discussion @adlerjohn |
Beta Was this translation helpful? Give feedback.
-
On Long Range Attacks @liamsi : Reliance on Bootstrappers @Wondertan : Historical Headers Accessibility: Reducing Storage for Light Nodes: |
Beta Was this translation helpful? Give feedback.
-
Implementation ideas
Idea from @walldiss
Problem
Currently, the trusted hash is optionally provided by the user with
--headers.trusted-hash
. There are two problem with this:Proposal
Based on the notion of checkpoints from Bitcoin Core, hard-code one checkpoint (block header hash) from which syncing starts from, rather than the genesis block hash. This checkpoint should be updated periodically in
celestia-node
releases.The existing flag can remain for users that explicitly want more control.
Example checkpoints in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/9d1a286f20b8a602ffe72928bcd79be09fdbf9d0/src/kernel/chainparams.cpp#L157-L173
Beta Was this translation helpful? Give feedback.
All reactions