docs: Fix state sync documentation#1363
Conversation
✅ Deploy Preview for oasisprotocol-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
2fb4ca0 to
f77a601
Compare
f77a601 to
a341e18
Compare
Sorry just saw this. I have added fixup commit explaining how to set correct trust |
It is simpler as you use reindexed history (roothash service). In a way consensus is light client for the runtimes, so you don't have this issues with trust period and sufficiently old checkpoints as for every consensus checkpoint checkpointer also creates runtime checkpoint. The only think you can configure is disabling checkpoint sync and sync via diffs instead from the genesis I think. |
Instead of genesis doc a trusted block header is used, which implicitly defines trusted validator set used by the light client protocol (I omitted this detail). Finally, data is fetched from all nodes not just full nodes.
a341e18 to
e955ab6
Compare
e955ab6 to
2f48edd
Compare
2f48edd to
9f411ae
Compare
Document how to set correct trusted height and hash for the state sync so that they point to sufficiently old block header, to ensure there are available checkpoints.