Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s1nus/fastsync-server
prototype for fast sync for lighter light clients
https://github.com/s1nus/fastsync-server
Last synced: 5 days ago
JSON representation
prototype for fast sync for lighter light clients
- Host: GitHub
- URL: https://github.com/s1nus/fastsync-server
- Owner: S1nus
- Created: 2024-07-08T18:56:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T14:32:43.000Z (4 months ago)
- Last Synced: 2024-07-27T15:51:11.745Z (4 months ago)
- Language: Rust
- Size: 46.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastSync Server
The backend for a sampling light client for Celestia. Syncs headers, strips them, and saves their EDS.
Light nodes will be able to request the last 2 weeks of stripped headers + 16 samples and merkle proofs for each block, as a single gzip'd payload.
Light nodes will then be able to download, extract, and verify without any back-and-forth on the p2p network.
This is made possible by [recursive-sync](https://github.com/S1nus/celestia-recursive-sync)## Todo list:
- [X] RocksDB
- datastore for headers and EDS
- [X] Catchup worker
- catches up from the last two weeks to the head
- [X] Sync worker
- follows the head of the chain
- [ ] Serve compressed sync payloads