feature: holder scanner refactoring #98
Labels
enhancement
New feature or request
frozen
This issue is currently being held up by external motivations and so on.
Actually census3 scans token holders in a single step. It queries to the web3 endpoint for a batches of logs, filtering it by some contract events associated to the token type, and then calculates the resulting holders balances, adding and subtracting the logs amounts. When it completes a batch of logs, updates the database and continues to the next batch.
This design has some advantages about performance over other proposals, reducing the number of requests to the chain (through the web3 endpoint) and keeping the last holder list and balance updated.
But also has some disadvantages:
For these reasons, here is a proposal to redesign the holder scanner, making it simpler, more flexible and modular:
Advantages of this design:
Disadvantages:
The text was updated successfully, but these errors were encountered: