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

allow adding spend bundles in batches, for BlockBuilder #929

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Feb 14, 2025

Creating the undo-state is expensive, so the larger batches we can add at a time, the more efficient it will be.
This patch adds multiple spend bundles at a time, and allows chia-blockchain from building blocks faster.

@arvidn arvidn requested a review from matt-o-how February 14, 2025 11:37
@arvidn arvidn force-pushed the add-spend-bundle-batch branch from 9930664 to 47d091d Compare February 14, 2025 11:43
@arvidn arvidn marked this pull request as ready for review February 14, 2025 11:46
Copy link

coveralls-official bot commented Feb 14, 2025

Pull Request Test Coverage Report for Build 13330386276

Details

  • 51 of 57 (89.47%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.008%) to 84.313%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/chia-consensus/src/gen/build_compressed_block.rs 51 57 89.47%
Totals Coverage Status
Change from base Build 13163841840: -0.008%
Covered Lines: 13576
Relevant Lines: 16102

💛 - Coveralls

@arvidn arvidn force-pushed the add-spend-bundle-batch branch 2 times, most recently from 7f89709 to c6e5619 Compare February 14, 2025 13:34
@arvidn arvidn force-pushed the add-spend-bundle-batch branch from c6e5619 to ef0dc37 Compare February 14, 2025 13:39
@arvidn arvidn merged commit 00a2506 into main Feb 14, 2025
51 checks passed
@arvidn arvidn deleted the add-spend-bundle-batch branch February 14, 2025 14:50
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 this pull request may close these issues.

3 participants