feat: New config pow command to set the default PoW difficulty

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-06-07 19:54:40 +00:00
parent 53a2eb5bda
commit 51bd239024
8 changed files with 100 additions and 7 deletions

View File

@@ -57,6 +57,9 @@ pub struct CliConfig {
/// Groups of repositories and relays.
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub sets: Vec<RepoRelaySet>,
/// The default PoW difficulty
#[serde(skip_serializing_if = "Option::is_none")]
pub pow: Option<u8>,
}
/// A named group of repositories and relays.