blinklabs-io/cardano-node-api

Raw block storage for rollback buffer

Aperta

#120 aperta il 7 mar 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Go (0 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (16 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor