blinklabs-io/cardano-node-api

Raw block storage for rollback buffer

Offen

#120 geöffnet am 07.03.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (0 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (16 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The UTxO RPC spec handles rollbacks differently than Ouroboros and will return "undo" blocks on a rollback, so if a rollback rolls back 3 blocks, it will replay those blocks in reverse order as an undo block until it rewinds to the correct point. This allows downstream consumers to be stateless, but it requires us to maintain some kind of persistent buffer to service these requests.

Contributor Guide