rooch-network / rooch

VApp Container with Move Language for Bitcoin ecosystem
https://rooch.network
Apache License 2.0
162 stars 85 forks source link

[State] Support state sync and provide RPC to sync state #2614

Closed baichuan3 closed 2 months ago

baichuan3 commented 2 months ago

Summary

  1. Support state sync and provide RPC to sync state
  2. Revert indexer based on state change set when rollback tx
  3. Replace tx and event indexer field sender from RoochAddress to AccountAddress, for reduce sender store size in SQLite by using short_str_lossless
  4. Refactor revert tx and rollback tx tool to reuse code

TODO RocksDB uses compaction to remove expired keys, setting TTL directly in RocksDB may not be a good choice. and it may also have a performance impact. Cleaning up state change set data regularly may be an option

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 10:19am
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 10:19am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/CokbERn7nFuU9Y83wcuNf3YhU8ZA)) | [Visit Preview](https://rooch-git-syncstate-rooch.vercel.app) | | Sep 13, 2024 10:19am |
github-actions[bot] commented 2 months ago

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files