1

To build a blockscout database on requiers to have a lot of space (a full archive node). I want to continue building blockscout DB from some point in time (not from scratch) to shorten the amount of drive space my node has to offer. Is it possible - are there rebuild blockscout database images from where one can start from?

1 Answer 1

1

You can run archive node in a hybrid mode: fast sync first and then switch to the archive mode. Find a minimal block number where archive state exist on your archive node, and you can set it for the next environment varaibles supported by Blockscout:

  • FIRST_BLOCK

The block number, where import of blocks by catchup fetcher begins from.

  • TRACE_FIRST_BLOCK

The block number, where indexing of internal transactions begins from.

This will allow to start sync in Blockscout from the given block. But keep in mind, that if some address gained tokens before that given block and no more transactions with this token on the address after this block - the tokens will be invisible in Blockscout.

This is the reference to the list of all supported Blockscout environment variables.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.