Commit graph

2 commits

Author SHA1 Message Date
Csaba Kiraly
6cb31eaa20
triedb/pathdb: fix max buffer size
We use different default on mainnet, bumping it to 1GB.
Make sure we allow this here. Previously we had a warning
and buffer was reset to 256MB.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2025-10-13 23:20:28 +02:00
rjl493456442
902ec5baae
cmd, core, eth, triedb/pathdb: track node origins in the path database (#32418)
This PR is the first step in the trienode history series.

It introduces the `nodeWithOrigin` struct in the path database, which tracks
the original values of dirty nodes to support trienode history construction.

Note, the original value is always empty in this PR, so it won't break the 
existing journal for encoding and decoding. The compatibility of journal 
should be handled in the following PR.
2025-09-05 10:37:05 +08:00