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

tari-project / tari / 18003082473
62%

Build:
DEFAULT BRANCH: development
Ran 25 Sep 2025 10:54AM UTC
Jobs 1
Files 706
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

25 Sep 2025 09:26AM UTC coverage: 60.969% (+0.3%) from 60.677%
18003082473

push

github

web-flow
chore: revert accumulated difficulty fix and let orphans clean at startup (#7513)

Description
---
- Revert "fix: accumulated data in c29 (#7507)" This reverts commit
840c6d24e.
- Revert "fix: remove ban for wrong accumulated difficulty" This reverts
commit ccb41e6c5.
- Set `cleanup_orphans_at_startup` config option to true to combat the
base node being fixated on bad orphan blocks - this stops the node from
syncing when it happens.

Motivation and Context
---
Network forks and base nodes cannot sync anymore

How Has This Been Tested?
---
System-level testing.

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [ ] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [x] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
BREAKING CHANGE: This changes back the accumulated difficulty
calculation to that which is currently the official release.


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

## Summary by CodeRabbit

- Refactor
- Updated accumulated difficulty calculation; reported totals may
change.
- Chores
  - Base node now cleans up orphan blocks on startup by default.
- Tightened peer ban policy: inaccurate chain metadata now triggers a
short ban.
- Documentation
- Config preset comments updated to reflect the new orphan-cleanup
default.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

2 of 4 new or added lines in 3 files covered. (50.0%)

64 existing lines in 9 files now uncovered.

74565 of 122299 relevant lines covered (60.97%)

222853.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% base_layer/core/src/base_node/sync/header_sync/error.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% base_layer/core/src/base_node/sync/header_sync/error.rs
1
75.64
-1.28% base_layer/node_components/src/blocks/chain_block.rs
1
55.82
0.11% comms/core/src/connectivity/manager.rs
1
81.3
-0.19% comms/core/src/noise/socket.rs
3
87.13
20.77% base_layer/core/src/blocks/genesis_block.rs
3
15.38
-5.77% base_layer/core/src/validation/error.rs
4
56.72
1.36% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
4
95.67
-1.73% common/src/configuration/network.rs
46
56.37
1.36% base_layer/core/src/chain_storage/blockchain_database.rs
Jobs
ID Job ID Ran Files Coverage
1 18003082473.1 25 Sep 2025 10:54AM UTC 706
60.97
GitHub Action Run
Source Files on build 18003082473
  • Tree
  • List 706
  • Changed 26
  • Source Changed 4
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18003082473
  • 12b833a3 on github
  • Prev Build on development (#17860174736)
  • Next Build on development (#18006775078)
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