• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 5801614473
62%

Build:
DEFAULT BRANCH: development
Ran 08 Aug 2023 09:09PM UTC
Jobs 1
Files 694
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Aug 2023 08:25PM UTC coverage: 75.94% (-0.008%) from 75.948%
5801614473

push

github

web-flow
fix: monero fork attack (#5603)

Description
---
Forces the nonce of all Monero blocks to be 0. 

Motivation and Context
---
The Nonce field in the header is used when calculating the hash of the
block. When merge mining monero blocks, the nonce used by the monero
mining sits in pow->monero_header->nonce. It does not use the tari block
header nonce.

But this allows any node to change the nonce in the header and not break
the mined pow, but change the hash of monero header. This will cause the
network to fork of valid mined monero blocks.

How Has This Been Tested?
---
unit tests

RFC update: https://github.com/tari-project/rfcs/pull/104

6 of 6 new or added lines in 2 files covered. (100.0%)

70462 of 92786 relevant lines covered (75.94%)

203483.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5801614473.1 08 Aug 2023 09:09PM UTC 0
75.94
GitHub Action Run
Source Files on build 5801614473
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5801614473
  • 9c81b4d8 on github
  • Prev Build on development (#5800728304)
  • Next Build on development (#5802072764)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc