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!: add validator mr to mining hash #5615

Merged

Conversation

SWvheerden
Copy link
Collaborator

@SWvheerden SWvheerden commented Aug 7, 2023

Description

add validator mr to mining hash
Re-ordered structs/hashes to match each other

Motivation and Context

This field is not covered by mining, making it mutable and changeable by any node.
Reordering was done to make auditing easier now and in future so that the two match each other

Audit Finding Number

TARI-012

@SWvheerden SWvheerden added the C-audit_fix fixes bug found in the audit label Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Test Results (CI)

1 188 tests   1 188 ✔️  11m 57s ⏱️
     37 suites         0 💤
       1 files           0

Results for commit b595f61.

♻️ 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 Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Test Results (Integration tests)

27 tests   27 ✔️  14m 20s ⏱️
11 suites    0 💤
  2 files      0

Results for commit b595f61.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Aug 9, 2023
@SWvheerden SWvheerden force-pushed the sw_addvalidator_mr_to_header branch from 84ae36c to b595f61 Compare August 9, 2023 17:13
Copy link
Contributor

@brianp brianp left a comment

Choose a reason for hiding this comment

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

utAck LGTM

@SWvheerden SWvheerden merged commit 91db6fb into tari-project:development Aug 9, 2023
@SWvheerden SWvheerden deleted the sw_addvalidator_mr_to_header branch August 9, 2023 18:23
sdbondi added a commit to sdbondi/tari that referenced this pull request Aug 10, 2023
…-addresses

* development:
  chore: fix windows install (tari-project#5616)
  feat: ban peer unexpected response (tari-project#5608)
  fix!: add validator mr to mining hash (tari-project#5615)
  fix: check bytes remaining on monero blocks (tari-project#5610)
  fix: duplicate tari header in monero coinbase (tari-project#5604)
  fix: monero fork attack (tari-project#5603)
  feat: add mempool min fee (tari-project#5606)
  chore(tests): large block unit tests (tari-project#5599)
  fix: miner delay attack (tari-project#5582)
  fix: peer connection to stale nodes (tari-project#5579)
  ci(fix): artifact cleanup for diag-utils (tari-project#5613)
  ci(fix): update Windows installer for Minotari (tari-project#5614)
  chore: fixes monero build (tari-project#5612)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-audit_fix fixes bug found in the audit P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants