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

fix: potential max block size #6725

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Makes sure that the template does not exceed max weight

Motivation and Context

P2Pool could generate a lot of coinbases, currently the template generation assumes only 1 coinbase is present. This PR takes into account the coinbases when developing the template size

@SWvheerden SWvheerden requested a review from a team as a code owner December 12, 2024 14:13
Copy link

github-actions bot commented Dec 12, 2024

Test Results (CI)

    3 files    129 suites   43m 36s ⏱️
1 349 tests 1 349 ✅ 0 💤 0 ❌
4 045 runs  4 045 ✅ 0 💤 0 ❌

Results for commit 2ed3696.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2024

Test Results (Integration tests)

 2 files  11 suites   41m 28s ⏱️
36 tests 34 ✅ 0 💤 2 ❌
39 runs  36 ✅ 0 💤 3 ❌

For more details on these failures, see this check.

Results for commit 2ed3696.

♻️ This comment has been updated with latest results.

hansieodendaal
hansieodendaal previously approved these changes Dec 13, 2024
Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Looks good, just some naming NITS

base_layer/core/src/consensus/consensus_constants.rs Outdated Show resolved Hide resolved
base_layer/core/src/consensus/consensus_constants.rs Outdated Show resolved Hide resolved
@SWvheerden SWvheerden merged commit c61f706 into tari-project:development Dec 13, 2024
16 of 17 checks passed
@SWvheerden SWvheerden deleted the sw_fix_potential_coinbase_issue branch December 13, 2024 11:22
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.

2 participants