IntersectMBO / plutus-apps

The Plutus application platform
Apache License 2.0
306 stars 214 forks source link

Raduom/datum ticks #930

Closed raduom closed 1 year ago

raduom commented 1 year ago

This function is used to add a checkpoint to the in-memory part of event indexers. You can use checkpoints to add synthetic events to the memory buffer. Filling the memory buffer will flush the real events to disk faster than not using checkpoints.

This is useful if the number of events is small and you run the risk of never storing them on-disk. When that happens, if the indexer is restarted it will resume from the Genesis block, which is something that is not an expected behaviour.

Possible future uses of checkpoints:

Pre-submit checklist: