Description
v0.0.6-triedb-alpha supports reth-bsc-triedb as an alternative state storage backend for Reth, in addition to the default MDBX backend.
The integration allows users to choose between MDBX (default) and TrieDB backends via the --statedb.triedb CLI flag. When enabled, reth-bsc-triedb uses RocksDB as the underlying storage engine, which can significantly improve performance under high-traffic scenarios.
The detail see: reth: support triedb as the state storage backend
⚠️ Note
- Currently, reth-bsc-triedb only releases fullnode snapshot; the archive snapshot is coming soon.
- This version uses the newly released triedb snapshot format, which is not compatible with previous snapshot versions.
- Using the
--statedb.triedbflag with old snapshot data will cause irreversible data corruption. - TrieDB snapshot size is approximately ~300GB larger than the previous format; ensure adequate disk space is available.
- When TrieDB is active, the following RPC methods are not supported:
RPC Method Description eth_getProofMerkle proof generation eth_getAccountAccount state retrieval with storage root debug_state_root_with_updatesState root calculation with trie updates debug_execution_witness/debug_execution_witness_by_block_hashExecution witness generation validation_validateBuilderSubmissionV1 - V5Builder submission validation
What's Changed
- feat: add metrics by @constwz in #167
- perf: add pre state cache for speedup by @will-2012 in #168
- fix: to avoid hard forks built-in system contact being overwritten by @will-2012 in #173
- refactor: using ctx to share consensus data; by @galaio in #169
- refactor: submit built payload to engine tree directly; by @galaio in #174
- fix: fix bench mine workflow issues by @will-2012 in #178
- chore: upgrade reth dep by @constwz in #180
- feat(bsc/protocol): implement BEP-564 by @MatusKysel in #145
- fix debug_trace* by @zlacfzy in #179
- chore: fix calc blob fee check condition by @will-2012 in #182
- chore: update readme by @MatusKysel in #184
- chore: add miner gas limit config by @will-2012 in #183
- chore: update fermi HF time by @constwz in #196
- feat: support triedb as state date store backend by @joey0612 in #198
- feat: update mainnet archive snapshot by @zlacfzy in #195
Full Changelog: v0.0.5-beta...v0.0.6-triedb-alpha