Closed levonpetrosyan93 closed 8 months ago
The recent modifications streamline cover set management and optimize transaction processing in the Spark project. A new cover_sets
data structure enhances efficiency, while changes in SpendTransaction
and related tests ensure smoother operation. Optimizations in state management, including memory usage and logic adjustments, further refine the system's performance.
Files | Change Summary |
---|---|
src/libspark/spend_transaction.cpp , src/spark/sparkwallet.cpp |
Introduce cover_sets to replace cover_set_data for cover set management. |
src/libspark/spend_transaction.h |
Update CoverSetData and SpendTransaction to utilize cover_sets and cover_set_size . |
src/libspark/test/spend_transaction_test.cpp , src/spark/state.cpp |
Add cover_sets , optimize tests and state management for efficiency. |
src/spark/state.cpp |
Implement various optimizations and logic changes for improved performance and memory usage. |
src/libspark/bpplus.cpp |
Serialize Gi and Hi vectors in BPPlus::verify for proper data handling in the transcript. |
src/libspark/transcript.cpp , src/libspark/transcript.h |
Introduce Transcript::add function to include arbitrary data in the transcript efficiently. |
🐇✨
Changes abound, the code does leap,
In Spark's heart, where secrets keep.
New structures rise, old flaws we mend,
Towards efficiency, our efforts bend.
Let's celebrate, for progress made,
In code's swift dance, our mark is laid.
🌟🐾
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?
Reindex test results
Testnet
Branch | Time |
---|---|
Master | 47m |
spark-sync | 29m |
Mainnet
Branch | Time |
---|---|
Master | 5h 23m |
spark-sync | 5h 11m |
Summary by CodeRabbit