I am aware of the option --validation-mode=light
when starting nodeos
to have the node skip the verification of the transaction in each block, making the sync faster, and the CPU requirements for the node lower.
However, I would like to have the blocks pruned, keeping only the latest irreversible block on disk so I could run a validation node in a lower specs machine.
How can I delete the blocks of the chain keeping only the most recent blocks?
Is there an option to start nodeos
for that? (--help
does not say anything about that).
Should I delete the blocks.bin and leave the forkdb file only?