codechain-indexer
codechain-indexer copied to clipboard
Use trace API
Currently, the indexer is re-calculating
- stakeholder reward and its related fee calculation
- signer address
- etc
Re-calculating causes a bug and makes the indexer unstable and slow. There is no need to calculate them if a node provides the calculations through RPC.
Related issue: https://github.com/CodeChain-io/codechain/issues/1676