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

tari-project / tari / 15120110241
62%

Build:
DEFAULT BRANCH: development
Ran 19 May 2025 11:32PM UTC
Jobs 1
Files 709
Run time 2min
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

19 May 2025 06:08PM UTC coverage: 73.213% (-0.06%) from 73.269%
15120110241

push

github

web-flow
feat!: add second tari only randomx mining (#7057)

Description
---

Adds in a second randomx algo mining option, only mining tari.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced distinct support for Monero RandomX and Tari RandomX
proof-of-work algorithms with separate difficulty tracking, hash rate
reporting, and block template caching.
- Added a new VM key field in block results to enhance mining and
validation processes.
- Extended miner configuration and mining logic to support multiple
proof-of-work algorithms including Tari RandomX.

- **Bug Fixes**
- Improved difficulty and hash rate accuracy by separating Monero and
Tari RandomX calculations and metrics.

- **Refactor**
- Renamed and split data structures, enums, protobuf messages, and
methods to differentiate between Monero and Tari RandomX.
- Updated consensus, validation, and chain strength comparison to handle
multiple RandomX variants.
- Migrated accumulated difficulty representations from 256-bit to
512-bit integers for enhanced precision.
- Generalized difficulty window handling to support multiple
proof-of-work algorithms dynamically.

- **Documentation**
- Clarified comments and field descriptions to reflect the distinction
between Monero and Tari RandomX algorithms.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

170 of 371 new or added lines in 26 files covered. (45.82%)

40 existing lines in 12 files now uncovered.

82064 of 112089 relevant lines covered (73.21%)

274996.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
54.37
0.0% base_layer/core/src/base_node/sync/header_sync/synchronizer.rs
1
83.2
0.0% base_layer/core/src/base_node/sync/sync_peer.rs
1
72.48
-0.09% base_layer/core/src/validation/helpers.rs
3
63.47
-0.2% base_layer/core/src/base_node/sync/block_sync/synchronizer.rs
3
65.13
0.04% base_layer/core/src/chain_storage/blockchain_database.rs
4
90.39
0.03% base_layer/core/src/base_node/sync/header_sync/validator.rs
7
84.06
-6.11% base_layer/core/src/consensus/chain_strength_comparer.rs
11
67.2
-5.84% base_layer/core/src/base_node/metrics.rs
11
75.58
-3.32% base_layer/core/src/blocks/accumulated_data.rs
11
89.48
-0.9% base_layer/core/src/proof_of_work/monero_rx/helpers.rs
12
29.41
-6.3% base_layer/core/src/proof_of_work/proof_of_work_algorithm.rs
13
52.71
-0.71% base_layer/core/src/base_node/comms_interface/inbound_handlers.rs
28
31.76
-4.4% base_layer/core/src/proto/block.rs
95
70.28
-2.36% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
63.47
-0.2% base_layer/core/src/base_node/sync/block_sync/synchronizer.rs
1
65.13
0.04% base_layer/core/src/chain_storage/blockchain_database.rs
1
70.28
-2.36% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
1
88.48
-0.37% base_layer/core/src/chain_storage/lmdb_db/validator_node_store.rs
1
84.06
-6.11% base_layer/core/src/consensus/chain_strength_comparer.rs
1
69.11
-0.12% base_layer/wallet/src/storage/sqlite_db/wallet.rs
2
81.75
-0.31% comms/core/src/protocol/rpc/client/mod.rs
3
75.58
-3.32% base_layer/core/src/blocks/accumulated_data.rs
3
29.41
-6.3% base_layer/core/src/proof_of_work/proof_of_work_algorithm.rs
3
60.62
-1.33% comms/core/src/connectivity/requester.rs
6
89.03
-2.53% base_layer/core/src/base_node/chain_metadata_service/service.rs
17
62.63
-1.8% comms/dht/src/connectivity/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 15120110241.1 19 May 2025 11:32PM UTC 709
73.21
GitHub Action Run
Source Files on build 15120110241
  • Tree
  • List 709
  • Changed 46
  • Source Changed 28
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15120110241
  • f5936380 on github
  • Prev Build on development (#15015532709)
  • Next Build on development (#15141300802)
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