Test Details Overview

Tune election pacing and block rebroadcast fanout (#5281)

* Flood block rebroadcasts to a scaled fanout

Block rebroadcasts flood to 1.5 times the network fanout, set by the
new `block_rebroadcaster.fanout_scale` config key, and the capacity
check uses the same scale. Initial broadcasts and vote and keepalive
floods keep the unscaled fanout.

`network::flood_block` takes the scale, and the comment above
`network::fanout` describes the logarithmic rule it implements.

* Tune election passive phase, request backoff and broadcast intervals

An election that started with cached votes listens for one second
instead of five before it requests votes, set by the new
`election_passive_duration` network constant.

Vote requests back off: the gap after each request that went out
starts at the election base latency and doubles up to
`election_request_interval` (15 s), the same for every election
behavior. The base latency moves into `network_constants` as
`election_base_latency`, and `election_pacing` is built straight from
the network constants. It also counts every action it records.

Winner floods get their own `block_flood_interval`, apart from the
directed broadcast's `block_broadcast_interval`, and both are 30 s.
The block rebroadcaster's 60 s cooldown still limits repeat floods.

__________

Type: commit

Hash: 8c1c24fb65d408402482caae2310881c07ab6b69

Created: today

__________

gr0v1ty/nano-node:8c1c24fb65d408402482caae2310881c07ab6b69

Test Results

Test Case Status Duration Median Deviation Log Graph
No test results available yet. Check the GitHub test run for job status and logs.