iotex-analytics
iotex-analytics copied to clipboard
The independent service that analyzes data from IoTeX blockchain
[error.log](https://github.com/iotexproject/iotex-analytics/files/4983682/error.log)
Currently a remote database is used in the project when testing. It is best to create a mock sql database so that the test process no longer depends on the...
indexprotocol/accounts/protocol_test.go
There was an election service before fairbank. shall we create a snapshot?
For now, each epoch takes ~5min to process which can be improved via query optimization
For example, if RDS timeout or cannot be reached in the past 3min, analytics should be considered as unhealthy; graphana or other monitoring tools should report to us.
The address to query the total # of token holder address. 
1、need to add topics index for xrc_history related api: ``` query { xrc20{ byAddress(address:"io163l2vyqhmvwfa70lfjucenrp8ctac0sfevg59y", numPerPage:10,page:0) { exist count xrc20{ contract hash timestamp from to quantity } } } } query...
Since we have system log that records all the balance changes from EVM, we should let analytics write the corresponding changes to the balance_history table.