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

Lag for dealID on mainnet #199

Open
plcgi1 opened this issue Mar 7, 2023 · 0 comments
Open

Lag for dealID on mainnet #199

plcgi1 opened this issue Mar 7, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request maintenance

Comments

@plcgi1
Copy link
Contributor

plcgi1 commented Mar 7, 2023

Example: lotus creates DealID from NextID - it means that if previous deal was with 222 - that next will be 223

For now on https://filecoin.tools/ - latest dealID is 27442975
But if we investigate last dealID - for example on https://filfox.info/en/deal
we will see last dealId is - 27455730

For now filecoin-CID-checker gets all deals from lotus RPC call - Filecoin.StateMarketDeals - which cant be filtered by height,dealID
The method responses about 9GB data - which we have to sync every time range(I think 30min), then cache them to our DB
As the result - some lag with syncing such huge data

Available solution

  1. Get available latest deals info from https://graph.glif.link/query
  2. Use the data to update deals info in CID-checker DB
@plcgi1 plcgi1 added bug Something isn't working enhancement New feature or request maintenance labels Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request maintenance
Projects
None yet
Development

No branches or pull requests

1 participant