Closed vataops closed 4 months ago
In your .env file you have TON_WORKER_FROM=3
meaning that indexer will try to index the whole blockchain from the very beginning. It will work only in case you have an archival node.
If you have a regular node you should set this variable to the block that exists in your node db (regular node has 2 weeks retention period).
In your .env file you have
TON_WORKER_FROM=3
meaning that indexer will try to index the whole blockchain from the very beginning. It will work only in case you have an archival node. If you have a regular node you should set this variable to the block that exists in your node db (regular node has 2 weeks retention period).
I'm currently running a full node and I want to connect an indexer to it. Does that mean I just need to input the block number where the value TON_WORKER_FROM
has been stored for 2 weeks?
Does that mean I just need to input the block number where the value TON_WORKER_FROM has been stored for 2 weeks?
Yes, it will help.
Does that mean I just need to input the block number where the value TON_WORKER_FROM has been stored for 2 weeks?
Yes, it will help.
Is it okay for multiple index-workers to connect to a single PostgreSQL database? For example, I want to know if workers have a feature like Upsert
I'm running a TON full node and trying to set up the TON indexer, but I'm encountering errors at the worker. With the following directory structure, I've configured the DB and other settings in the .env file like this. Where could the problem be?