[#Chainstate-PruneAndFlush] = xref:Chainstate.adoc[Chainstate]::PruneAndFlush :relfileprefix: ../ :mrdocs: Prune blockfiles from the disk if necessary and then flush chainstate changes if we pruned. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void PruneAndFlush(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#