feat: add RocksDB variant to EitherReader and EitherWriter
Add RocksDB variants and constructors to EitherReader, EitherWriter, and EitherWriterDestination enums.
**Changes**
- Add `EitherWriterDestination::RocksDB` variant
- Add `EitherWriter::RocksDB` variant (cfg-gated)
- Add `EitherReader::RocksDB` variant (cfg-gated)
- Add `new_storages_history()` constructor for EitherWriter/EitherReader
- Add `new_transaction_hash_numbers()` constructor for EitherWriter/EitherReader
Closes #20278, #20279, #20280
bb2b4dc
4 days ago
by yongkangc
0%
feat(storage): switch RocksDB to TransactionDB for MDBX-like semantics
Replace DB with TransactionDB to enable native transaction support with
read-your-writes, commit/rollback, and iterators seeing uncommitted data.
Add RocksTx wrapper that provides MDBX-compatible transaction API.
d703c66
3 days ago
by yongkangc
0%
refactor: remove cfg gates from EitherWriter/EitherReader constructors
Use type aliases (RocksTxArg, RocksTxRefArg) to make constructors
available regardless of feature flags. This allows callers to use
these functions without conditional compilation.