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

feat: enable multiple coinbase utxos #5879

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

SWvheerden
Copy link
Collaborator

Description

This allows multiple coinbase utxos in a block

Motivation and Context

If we want to implement p2pool, implementing multiple coinbases is the easiest way to enable multiple parties to have their own verified UTXOs mined. There are other ways of doing this, but this approach is the simplest and requires the least overall utxos.

How Has This Been Tested?

unit tests

@github-actions
Copy link

github-actions bot commented Oct 27, 2023

Test Results (CI)

1 243 tests   1 243 ✔️  10m 3s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 418cfa9.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Oct 27, 2023
@github-actions
Copy link

github-actions bot commented Oct 27, 2023

Test Results (Integration tests)

  2 files  +  2  11 suites  +11   13m 37s ⏱️ + 13m 37s
34 tests +34  33 ✔️ +33  0 💤 ±0  1 +1 
35 runs  +35  34 ✔️ +34  0 💤 ±0  1 +1 

For more details on these failures, see this check.

Results for commit 418cfa9. ± Comparison against base commit 5c2781e.

♻️ This comment has been updated with latest results.

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.

Looks good, I would just like us to beef up on the test cases, please.

@SWvheerden
Copy link
Collaborator Author

We have enough test cases that already test for duplicate coinbase utxos and duplicate coinbase kernels, they all handle correctly. We don't have to add anything extravagant here atm

@SWvheerden SWvheerden merged commit 49e5c9c into tari-project:development Oct 30, 2023
12 of 13 checks passed
@SWvheerden SWvheerden deleted the sw_mult_coinbases branch October 30, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants