Let tests saturate any channel for a traffic type Move saturate () and unsaturate () from test_channel to the base channel, as test-only members for dev network runs. max () is no longer virtual: it reports a saturated traffic type as full before asking the channel's own max_impl (), so no channel type can miss it. A test can now congest a real node's network for one traffic type, and nano::test::saturate_network () sets it on every channel a node has. Before this only standalone test channels could be saturated, and network::check_capacity () never sees those, so no test ran the congested branches of the broadcasting components. The base channel's inline bodies move to channel.cpp, and its header is grouped and commented.
__________
Type: commit
Hash: 4f01394c1a055ee52bdd241947ded46685b58f3f
Created: yesterday
__________
gr0v1ty/nano-node:4f01394c1a055ee52bdd241947ded46685b58f3f
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 120 s | 6.5 s | GitHub job logs | Show |
| 5n4pr_conf_10k_change | PASS | 150 s | 5.5 s | GitHub job logs | Show |
| 5n4pr_conf_change_dependant | PASS | 115 s | 0.0 s | GitHub job logs | - |
| 5n4pr_conf_change_independant | PASS | 111 s | -0.5 s | GitHub job logs | - |
| 5n4pr_conf_send_dependant | PASS | 115 s | -0.5 s | GitHub job logs | - |
| 5n4pr_conf_send_independant | PASS | 111 s | -1.0 s | GitHub job logs | - |
| 5n4pr_rocks_10k_bintree | PASS | 113 s | 0.5 s | GitHub job logs | - |
| 5n4pr_rocks_10k_change | PASS | 207 s | 46.5 s | GitHub job logs | - |