Categories
Cryptocurrency Ethereum Mastering Development

Save stack traces while syncing

I have been working on a project, where I would like to trace all transactions from a block and for this reason I have been using a fast-syncing node. It works well, the only issue is that querying the node using the debug_traceBlockByHash endpoint is very slow. Slower than the speed of new blocks being mined. For this reason after a few blocks, I get behind and eventually due to pruning of the data, I don’t have access to trace information anymore. So, my question is if it’s possible to save the trace information during syncing or when receiving a new block. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *