CodeChain-io / CodeChain-io/codechain-indexer

Utilize from/lastTimestamp for indexing pending transactions

Ouverte
#166 0 commentaires 0 réactions 1 personne assignée Réclamée par @cubistplay Voir sur GitHub
optimization
Langage dominant
TypeScript
Étoiles
21
Forks
15
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.