Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for Ancient database in turbo-geth #137

Closed
AlexeyAkhunov opened this issue Nov 1, 2019 · 4 comments
Closed

Fix support for Ancient database in turbo-geth #137

AlexeyAkhunov opened this issue Nov 1, 2019 · 4 comments

Comments

@AlexeyAkhunov
Copy link
Contributor

There is a support for Ancient database in go-ethereum that requires some refactoring of the database code.

@komachi
Copy link

komachi commented Jan 15, 2021

Closed as wontfix? Would be awesome to have --datadir.ancient flag like in geth.

@mandrigin
Copy link
Collaborator

Why would you need that?

@komachi
Copy link

komachi commented Jan 15, 2021

My usecase is to move ancient blocks to slower hdd and keep chainstate on faster ssd. Ancient block data accessed rarely, but takes a lot of storage. This is supported by bitcoin (-blocksdir), geth (--datadir.ancient), and other cryptocurrency fullnode implementations.

@mandrigin
Copy link
Collaborator

yeah, so far we are focusing on getting the basics right. Taking into account that the archive node in TurboGeth uses > 4 times less disk space (under 1TB) and the disk access for most things is way faster than geth (allowing you to just keep a node on HDD potentially), I don’t think that is the top priority for the next couple of months.

After we are sure about the he core functionality of the node, we will revisit the splitting the data storage. As of now, we don’t want to introduce additional complexity there too early. We get a lot of benefit and long term stability from the current data storage being transactional and avoiding inconsistent state even on unexpected shutdowns, etc.

battlmonstr pushed a commit that referenced this issue Sep 14, 2023
jyellick pushed a commit to bobanetwork/op-erigon that referenced this issue Feb 26, 2024
anshalshukla pushed a commit that referenced this issue Mar 5, 2024
Zero tracer is a specific type of transaction tracer that records states read and written by a transaction.
taratorio pushed a commit that referenced this issue Jul 23, 2024
Co-authored-by: Michele Modolo <nospam@nospam.nospam>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants