jarry-xiao / candyland

Proof of concept program for compressing NFTs
GNU Affero General Public License v3.0
111 stars 13 forks source link

[WIP] Better Backfiller #122

Closed ngundotra closed 2 years ago

ngundotra commented 2 years ago

Backfilling logic:

  1. Repair existing db table
  1. Check if on-chain tree is ahead of db
    • Request txIds for address up to on-chain seq #
    • [New] Deduplicate the txId list by their slot
    • [New] Query slots in batches of 20
    • Parse query slots asynchronously