CodeChain-io / CodeChain-io/codechain-indexer
Utilize from/lastTimestamp for indexing pending transactions
Aperta
optimization
- Lingua principale
- TypeScript
- Stelle
- 21
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The current implementation does:
- Retrieve all pending transactions through an RPC call
- Compare it to the already indexed pending transactions
- Delete the indexed pending transactions if they aren't found on the current ones.
- Insert the newly found pending transactions
It makes the indexer slow when the number of pending transactions is big.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.