synor/crates/synor-storage/src
Gulshan Yadav f5bdef2691 feat(storage): add Synor Storage L2 decentralized storage layer
Complete implementation of the Synor Storage Layer (L2) for decentralized
content storage. This enables permanent, censorship-resistant storage of
any file type including Next.js apps, Flutter apps, and arbitrary data.

Core modules:
- cid.rs: Content addressing with Blake3/SHA256 hashing (synor1... format)
- chunker.rs: File chunking for parallel upload/download (1MB chunks)
- erasure.rs: Reed-Solomon erasure coding (10+4 shards) for fault tolerance
- proof.rs: Storage proofs with Merkle trees for verification
- deal.rs: Storage deals and market economics (3 pricing tiers)

Infrastructure:
- node/: Storage node service with P2P networking and local storage
- gateway/: HTTP gateway for browser access with LRU caching
- Docker deployment with nginx load balancer

Architecture:
- Operates as L2 alongside Synor L1 blockchain
- Storage proofs verified on-chain for reward distribution
- Can lose 4 shards per chunk and still recover data
- Gateway URLs: /synor1<cid> for content access

All 28 unit tests passing.
2026-01-10 11:42:03 +05:30
..
bin feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
gateway feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
node feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
cache.rs Initial commit: Synor blockchain monorepo 2026-01-08 05:22:17 +05:30
chunker.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
cid.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
db.rs fix: resolve all clippy warnings for CI 2026-01-08 05:58:22 +05:30
deal.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
erasure.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
error.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
lib.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
proof.rs feat(storage): add Synor Storage L2 decentralized storage layer 2026-01-10 11:42:03 +05:30
stores.rs fix: resolve all clippy warnings for CI 2026-01-08 05:58:22 +05:30