Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.54 KB

File metadata and controls

43 lines (30 loc) · 1.54 KB

REChain PoC Phase 0 Implementation Steps

Detailed Steps to Complete All In Progress Items

1. Implement etcd snapshot tool (Go/Python script for snapshot, chunking, upload)

  • Update src/snapshot/snapshot.go: Add etcd client integration for snapshot creation
  • Integrate MinIO upload for chunks
  • Implement proper Merkle tree computation

2. Set up MinIO for CAS storage

  • Ensure MinIO integration in snapshot.go works with docker-compose

3. Compute Merkle tree for chunks

  • Enhance computeMerkleRoot function in snapshot.go for full Merkle tree

4. Mock GCL (single-node Tendermint or simple REST mock)

  • Enhance src/gcl/mock_gcl.go to run as REST server
  • Add to docker-compose.yml

5. Publish snapshot tx to GCL

  • Integrate GCL publishing in snapshot creation

6. Basic restore with Merkle verification

  • Add RestoreSnapshot function in snapshot.go

7. Simple CRDT catalog (in-memory OR-Set)

  • Create src/catalog/catalog.go with OR-Set implementation

8. REST API server for snapshot ops

  • Update src/api/server.go to integrate snapshot, catalog, GCL

9. CLI tool (rechainctl) for commands

  • Update cmd/rechainctl/main.go to call actual functions

10. Unit tests for Merkle, chunking

  • Enhance tests/snapshot_test.go
  • Add tests for catalog and Merkle

11. Integration test: snapshot -> upload -> restore

  • Create tests/integration_test.go

12. Docker Compose for local setup (etcd, MinIO, GCL mock)

  • Update config/docker-compose.yml with GCL mock service