Skip to content

yhio/rbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rbot

retrieval bot

  • Monitor the deal-activated(id, client, provider) events of the specified SP on chain.
  • Get payloadCid(label) through lotus api: StateMarketStorageDeal.
  • Save Deal(deal_id, payload_cid, client, provider) to DB(sqlite3).
  • Random select the limit Deal from the DB regularly.
  • Lookup indexer(cid.contact) to find SP address of payloadCid.
  • Fetch RootCid(DagScopeBlock) from SP.
  • Update Deal(indexer_result, fetch_result, last_update) to DB.
  • A web to veiw data.
  • Support backfill Deal from StateMarketDeals.
  • Support manual trigger retrieve.

About

retrieval bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published