CodeChain-io / CodeChain-io/codechain-indexer

Utilize from/lastTimestamp for indexing pending transactions

Offen
#166 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @cubistplay Auf GitHub ansehen
optimization
Vorherrschende Sprache
TypeScript
Sterne
21
Forks
15
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.