Merge pull request #2661 from mrzarquon/mrz/flood_max_unscoped

Implement flood.max.unscoped to allow selective repeating of unscoped messages
Этот коммит содержится в:
ripplebiz
2026-06-02 14:00:33 +10:00
коммит произвёл GitHub
родитель 94063f6833 b6ae8c9447
Коммит 09349c5b28
5 изменённых файлов: 60 добавлений и 4 удалений
+15
Просмотреть файл
@@ -617,6 +617,21 @@ This document provides an overview of CLI commands that can be sent to MeshCore
**Default:** `64`
---
#### Limit the number of hops for an unscoped flood message
**Usage:**
- `get flood.max.unscoped`
- `set flood.max.unscoped <value>`
**Parameters:**
- `value`: Maximum flood hop count (0-64) for a packet without a scope (no region set)
**Default:** `0xFF` - indicates it hasn't been set, will track flood.max until it is.
**Note:** An alternative to `region denyf *`, setting `flood.max.unscoped` to a lower value such as `3` would allow for local unscoped messages to propagate, while preventing noisy neighbors from flooding a local region.
---
### ACL