CodeChain-io / CodeChain-io/codechain-indexer

Utilize from/lastTimestamp for indexing pending transactions

Aperta
#166 0 commenti 0 reazioni 1 assegnatario Rivendicata da @cubistplay Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.