Replies: 3 comments
-
As mentioned in this issue, geth's snapshots are not used to serve historical data: ava-labs/avalanchego#1715 We have some ideas for how this will look and it will likely be an "add on" for the MerkleDB. We'll use a trie-node less structure where you iterate over a key's changes to determine what value it had at a given height (somewhat similar to reth/erigon model). |
Beta Was this translation helpful? Give feedback.
-
@nytzuga took a first pass at this: ava-labs/avalanchego#1911 |
Beta Was this translation helpful? Give feedback.
-
This was completed and is now ready for use: https://github.com/ava-labs/avalanchego/tree/master/x/archivedb |
Beta Was this translation helpful? Give feedback.
-
Hey I would love to help contribute to the archive database for hypersdk chains. I was thinking of doing snapshot's similar to geth because they both us pebbledb but I wanted to ask what people thought before I started working on it.
Beta Was this translation helpful? Give feedback.
All reactions