mirror of
https://github.com/Colorado-Mesh/meshcore-bot-firmware.git
synced 2026-08-11 16:20:29 +00:00
forge: add patch 10 — widen coordinator delays ~25%
Bumps base/jitter/hop_step/cap/TTL ~25% for more reliable token suppression at the multi-hop edge. Bumps BOT_PREFS_VERSION 4 -> 5 to force re-default of hop_step_ms on existing bots. Test bumped many_hops.path_hash_count 10 -> 20 so the cap-check still trips with the new 15000ms cap.
This commit is contained in:
@@ -1560,7 +1560,7 @@ static void test_response_coordinator_hop_bias_cap() {
|
||||
BotMessage near = make_message("#bot", "!ping");
|
||||
near.path_hash_count = 0;
|
||||
BotMessage many_hops = near;
|
||||
many_hops.path_hash_count = 10;
|
||||
many_hops.path_hash_count = 20;
|
||||
BotFingerprint request = { 0x0123456789ABCDEFULL };
|
||||
uint32_t base_delay = BOT_RESPONSE_DELAY_BASE_MILLIS;
|
||||
uint32_t jitter = BOT_RESPONSE_DELAY_JITTER_MILLIS;
|
||||
|
||||
Reference in New Issue
Block a user