besu
besu copied to clipboard
Implement EIP-4444
The full enchilada https://eips.ethereum.org/EIPS/eip-4444
Latest discussions favour rolling window of ~5 months to keep in line with the CL spec https://hackmd.io/@nixorokish/berlinterop-history-expiry
Headers should still be retained, similar to our implementation of --Xsnapsync-synchronizer-pre-merge-headers-only-enabled and --Xhistory-expiry-prune
This can be achieved by adding the ability to retain headers to ChainDataPruner (--Xchain-pruning-enabled, --Xchain-pruning-blocks-retained, etc).
Private networks also use ChainDataPruner and will likely not want to retain headers so will need the option.