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!: dont store entire monero coinbase transaction #5991

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

only store the keccak state and not the entire monero coinbase transaction

Motivation and Context

The monero coinbase transaction can be very large as it may contain multiple coinbases. We only store the keccak inner hash state with half of the hashed transaction. We hash the last part to verify its working.

How Has This Been Tested?

unit tests

fixes: #5891

Copy link

github-actions bot commented Nov 28, 2023

Test Results (CI)

1 260 tests   1 260 ✔️  10m 33s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit a98fc01.

♻️ 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 Nov 28, 2023
Copy link

github-actions bot commented Nov 28, 2023

Test Results (Integration tests)

  2 files  +  2  12 suites  +12   29m 53s ⏱️ + 29m 53s
32 tests +32  29 ✔️ +29  0 💤 ±0  3 +3 
36 runs  +36  31 ✔️ +31  0 💤 ±0  5 +5 

For more details on these failures, see this check.

Results for commit b398beb. ± Comparison against base commit 6723dc7.

♻️ This comment has been updated with latest results.

@SWvheerden SWvheerden force-pushed the sw_coinbase_tx_not_stored branch from d1bf0a4 to 3e9d17a Compare November 29, 2023 19:45
@SWvheerden SWvheerden changed the title [wip]feat!: dont store entire monero coinbase transaction feat!: dont store entire monero coinbase transaction Nov 29, 2023
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.

System-level testing with Monero mainnet merged mining works fine

ACK

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Dec 1, 2023
@SWvheerden SWvheerden force-pushed the sw_coinbase_tx_not_stored branch from 2b2a4f0 to 9dfbf99 Compare December 1, 2023 09:21
@SWvheerden SWvheerden merged commit 23b10bf into tari-project:development Dec 1, 2023
10 checks passed
@SWvheerden SWvheerden deleted the sw_coinbase_tx_not_stored branch December 1, 2023 10:08
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dont store entire Monero coinbase transaction in the tari header
3 participants