Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document --receipt-compaction-enabled #1533

Closed
joaniefromtheblock opened this issue Mar 7, 2024 · 1 comment · Fixed by #1555
Closed

Document --receipt-compaction-enabled #1533

joaniefromtheblock opened this issue Mar 7, 2024 · 1 comment · Fixed by #1555
Assignees

Comments

@joaniefromtheblock
Copy link
Contributor

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:

@joaniefromtheblock
Copy link
Contributor Author

Hold for release - The engineering PR related to this issue is currently in review. Publish docs once this has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant