-
Notifications
You must be signed in to change notification settings - Fork 47
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
Data not in database #129
Comments
After a bit of configuration I got it working but now I wonder, does it automatically parse all the transactions data and populate the transactions table? If so, when? |
Yes, it should be. Indexer inserts the transaction data while it receives the new head event. |
I left it running for days, got to about 4m blocks but I am not having any data in the transactions table, nor in block_headers (I managed to start indexer later in the sync). All I got is data in transactions_dificulty, any idea on this? Thank you for your answer! |
How much space do I need to run this program of yours on my PC? I noticed I have a syncmode property on full which means over 1 TB of storage is needed. Is this true? |
Do you sync on mainnet or testnet? If you use fast sync, you cannot get new head events until the chain is synced.
It depends on the number blocks, transactions and subscriptions. However, the 1TB is for the blockchain data, not for the db data. |
Thank you for your reply. I sync on the mainnet and I figured that if I delete those addreses from the erc20.yaml config file it would start adding entries to my database. Also, I've deleted the gcmode=archive parameter in order to reduce the blockchain data as I care only about having all the transactions in a database. So far so good, I think it is saving everything as intended in the database. I'm at 4.8m blocks with the chain data and 3.5m blocks + 25m transactions saved in the DB. Are there any troubles with saving the blockchain data without the gcmode? I've read and basically I'm syncing in "full" mode but with that pruning feature so I will have about 200 GB of blockchain data in the end. It should still have all the blocks and transactions, right? |
We must use
Yes, the data should be in DB. |
Is it possible for me to use syncmode="full" until the sync is complete and then restart with the gcmode="archieve" ? If not then I will stick to the actual way I am using now. Thank you for your time and help. |
It's great , I have the same problem, How did you confige it and it work? |
Hey guys, I am having the following problem. I got all the setup right and ran through
docker-compose up
Now, I connected to my database via remote connection but I don't have any entries in any of the tables and I keep getting errors in cmd line:
Any ideas on why this is happening?
The text was updated successfully, but these errors were encountered: