Gulshan Yadav
|
7e3bbe569c
|
fix: implement incomplete features and apply linter fixes
- Fixed TransferDirection import error in ethereum.rs tests
- Implemented math.tanh function for Flutter tensor operations
- Added DocumentStore CRUD methods (find_by_id, update_by_id, delete_by_id)
- Implemented database gateway handlers (get/update/delete document)
- Applied cargo fix across all crates to resolve unused imports/variables
- Reduced warnings from 320+ to 68 (remaining are architectural)
Affected crates: synor-database, synor-bridge, synor-compute,
synor-privacy, synor-verifier, synor-hosting, synor-economics
|
2026-01-26 21:43:51 +05:30 |
|
Gulshan Yadav
|
8da34bc73d
|
feat(database): add SQL, Graph, and Raft Replication modules
- SQL store with SQLite-compatible subset (sqlparser 0.43)
- CREATE TABLE, INSERT, SELECT, UPDATE, DELETE
- WHERE clauses, ORDER BY, LIMIT
- Aggregates (COUNT, SUM, AVG, MIN, MAX)
- UNIQUE and NOT NULL constraints
- BTreeMap-based indexes
- Graph store for relationship-based queries
- Nodes with labels and properties
- Edges with types and weights
- BFS/DFS traversal
- Dijkstra shortest path
- Cypher-like query parser (MATCH, CREATE, DELETE, SET)
- Raft consensus replication for high availability
- Leader election with randomized timeouts
- Log replication with AppendEntries RPC
- Snapshot management for log compaction
- Cluster configuration and joint consensus
- Full RPC message serialization
All 159 tests pass.
|
2026-01-10 19:32:14 +05:30 |
|