-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Add the ability to read directly from rusty-kaspa RocksDB database using a read-only or secondary RocksDB connection.
This is feasible and has been done in various POCs in the past.
The following are rough notes.
Will have to figure out what level to do this at:
- Wrapper around
ConsensusStorage - Wrapper around individual stores
- Raw RocksDB level
Each has it's own pros/cons/challenges and may or may not be feasible. Including but not limited to:
- Visibility of rusty-kaspa source to external crates
- Deserialization of stored data using bincode
- UTXO index store is not part of ConsensusStorage
We'll need to bear in mind the mechanics of read-only and secondary RocksDB connections:
- Read-only provides point in time data (as of when connection was opened)
- Secondary provides functionality to catch up with primary
- Need to ensure this does not corrupt or interfere with node data/performance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels