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

iotaledger / iota / 18053146385

26 Sep 2025 12:37PM UTC coverage: 65.755% (-0.03%) from 65.789%
18053146385

push

github

web-flow
feat(consensus): Improve iota-private-network suite for mimicking latencies and applying fuzz disruptions (#8407)

# Description of change

In this PR, we have added support for the Starfish consensus protocol in
iota-private-network and improved scripts to automate running the
network of validators with a given consensus protocol. In addition, we
have added a Starfish dashboard to Grafana. The changes aim to enhance
the debugging process for consensus protocols and more closely mimic
realistic network deployments.

Note: PR #8208 is closed (the respective comments are addressed) since
the current script can run experiments using flags instead of having
multiple files for each experiment.

Now one can run a local network for any given number of validators
between 4 and 19. The automated script supports the following flags:
* `-n <NUM>`: number of validators (default: `4`; any number between `4`
and `19` is supported)
* `-p <protocol>`: consensus protocol (default: `mysticeti`; another
option: `starfish`)
* `-b <true|false>`: rebuild Docker images before running (default:
`true`)
* `-g <true|false>`: enable geodistributed large network latencies
(default: `false`)
* `-s <SEED>`: seed for pseudorandom disruptions (default: `42`)
* `-x <PERCENT_BLOCK>`: percent of validator pairs to block connections
(default: `0`)
* `-l <PERCENT_NETEM>`: percent of validators to apply packet loss
(default: `0`)
* `-r <PERCENT_RESTART>`: percent of validators to restart periodically
(default: `0`)
* `-t <RUN_DURATION>`: total experiment duration in seconds (default:
`3600`)
* `-m`: optional flag to output network metric statistics (packets and
bytes).

## Links to any relevant issues

Closes #8348, #8409

## How the change has been tested

- [x] I have checked that new and existing unit tests pass locally with
my changes

### Release Notes

- [x] Protocol: Scripts to automate iota-private-netowork mimicing
network latencies.
- [ ] Nodes (Validators and Full nodes):
- [ ]... (continued)

230044 of 349852 relevant lines covered (65.75%)

2394358.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.25
/crates/iota-core/src/execution_cache/proxy_cache.rs


Source Not Available

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