You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe you cannot easily "plug" QMDB into reth or geth.
Both reth and geth use a "two-layer" architecture. The base layer is a normal kvdb (leveldb or MDBX) and all kinds of storages are built on this layer, such as:
A flat KV to fast read/write world state
An ADS (Merkle Patricia Trie) to calculated the world state root. Its leaves are hashes of the values in the flat KV
The historical block/transaction/events data for serving web3 rpc
QMDB is a single-layer architecture. It combines three functions (a kvdb, a flat world state and an ADS) into an integrated design. Only in this way it can reach very high performance.
Do you have an example of using this as a backend for geth or reth? How difficult would it be to make it compatible?
The text was updated successfully, but these errors were encountered: