Closed cool-develope closed 2 months ago
The updates introduce enhanced control over committing operations across various store components in a blockchain context. A significant addition is the asynchronous pruning option for IAVL trees, aimed at improving performance. Methods for marking the store's committing status have been uniformly added across different store types, ensuring a consistent approach to handling the committing phase. This includes preparatory and concluding actions surrounding the commit operations, with test adjustments to accommodate the changes.
Files | Change Summary |
---|---|
store/iavl/store.go , store/iavl/tree.go |
Introduced async pruning in IAVL trees and added methods for committing state management. |
store/mem/store.go , store/transient/store.go |
Added methods to manage committing status in stores. |
store/rootmulti/... |
Updated Commit method to manage committing status and modified tests for pruning with delays. |
store/types/store.go , server/mock/store.go |
Added committing status methods to the Committer interface and multiStore struct respectively. |
🐰✨
In the realm of code where trees grow tall,
A rabbit hopped, enhancing them all.
With a flip and a skip, it wove its spell,
Committing and pruning, it did quite well.
"To improve, to enhance," it sang with glee,
Leaving the forest as lively as can be.
🌳🚀✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
SetCommitting
andUnsetCommitting
to block the pruning on the iavl sideAuthor Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking changeSummary by CodeRabbit
New Features
Tests