go-ethereum/eth/gasprice
Guillaume Ballet ba215fd927
cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700)
This Pr implements some prerequisite changes for #34004 : split the
`CachingDB` into a `MerkleDB` and a `UBTDB`, so that very different
behaviors don't clash as much.

The transition isn't handled by this PR, but after talking to Gary we
agreed that `UBTDB` should receive another `triedb`, which will only be
loaded if the `Ended` flag is set to false in the conversion contract.
If this is too hard to achieve, it makes sense to load it regardless,
and then loading can be prevented at a later stage by adding a
`UBTTransitionFinalizationTime` in `ChainConfig`.

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2026-04-17 08:55:54 +08:00
..
feehistory.go eth/gasprice: fix eth_feeHistory blobGasUsedRatio divide zero (#31663) 2025-04-19 22:02:31 +08:00
feehistory_test.go eth/gasprice: sanity check ratio values (#31270) 2025-02-27 15:40:35 +08:00
gasprice.go eth/gasprice: reduce allocations (#33698) 2026-01-28 20:33:04 +01:00
gasprice_test.go cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700) 2026-04-17 08:55:54 +08:00