Document `--receipt-compaction-enabled`
Document the feature flag --receipt-compaction-enabled. It allows users to disable receipt compaction if needed, for instance in situations where performance of RPCs is really important and the compacted format might introduce overhead.
Context: A new compact receipt encoding has been introduced to reduce the storage requirements for receipts in a synced mainnet snap sync node. This reduction is achieved by omitting the bloom filter from receipts and trimming leading zeros from log topics and log data. Versioning for the database format has been added for backwards compatibility. Once a user upgrades to this version, they cannot downgrade to a previous version without losing data. Besu will support both the existing and the new compacted receipt formats. The new format is enabled by default, optimizing storage without requiring manual intervention. A new database metadata format, version 3, is introduced for both the forest and bonsai database models.
See the following for more context:
- https://github.com/hyperledger/besu/pull/6602
Hold for release - The engineering PR related to this issue is currently in review. Publish docs once this has been released.