Skip to content

Implement State Persistence via RocksDB Backend #37

Description

@Steake

Part of Epic: #69 - RC1: Core Transaction & State Infrastructure


Goal: Persist blockchain state and account data across node restarts using RocksDB.

Requirements:

  • Replace in-memory HashMap backend with RocksDB in bitcell-state module
  • Store Account and BondState data serialized for persistence
  • Update StateManager to use RocksDB
  • Ensure transactions update and reflect real state even after restart

Files:

  • crates/bitcell-state/src/storage.rs

Acceptance Criteria:

  • State persists correctly across node shutdown/restarts
  • No data loss in normal operation

Refer to [todo_now.md](https://github.com/Steake/BitCell/blob/master/todo_now. md) for critical path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions