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

tari-project / tari / 6693690745
60%

Build:
DEFAULT BRANCH: development
Ran 30 Oct 2023 04:53PM UTC
Jobs 1
Files 722
Run time 53s
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

30 Oct 2023 01:44PM UTC coverage: 75.784% (-0.05%) from 75.832%
6693690745

push

github

web-flow
feat: reduce timeouts and increase bans (#5882)

Description
---
Reduces the latency of timeouts from 30 seconds to 15 seconds
Increases the ban periods

Motivation and Context
---
Reduces the latency of the timeouts from 30 secs to 15 secs: #5860 

Increase the short ban to 4 mins up from 30 seconds. The short ban is
used for timeouts etc. and is used to ensure the base node can select a
new node to sync from etc. But if this is too short, or under the block
time, timeouts can be used maliciously by nodes. For example a node can
say it has a better pow, let your node try and sync to it, wait for the
timeouts, get banned for 30 seconds. This means your node waits the 30
seconds -> 1 mins if needs more than 1 call, which is likely. This means
you node rejects all new blocks for 1 min, and then you ban the peer for
30 secs. They can then submit their new block to you after the 30 secs.
This makes it longer than the block time. This means the bad node is
excluded from all new nodes for 2 blocks on avg.


Fixes: : #5860 
Fixes: #5867

4 of 4 new or added lines in 1 file covered. (100.0%)

74160 of 97857 relevant lines covered (75.78%)

203911.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6693690745.1 30 Oct 2023 04:53PM UTC 0
75.78
GitHub Action Run
Source Files on build 6693690745
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6693690745
  • df9bc9a9 on github
  • Prev Build on development (#6689846046)
  • Next Build on development (#6702505156)
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