Add credentials mode command to SDK mixnet builder (#4516)

This commit is contained in:
Jon Häggblad
2024-04-05 15:51:48 +02:00
committed by GitHub
parent 999b4f743e
commit fa1e9988b3
+7
View File
@@ -177,6 +177,13 @@ where
self
}
/// Enable paid coconut bandwidth credentials mode.
#[must_use]
pub fn credentials_mode(mut self, credentials_mode: bool) -> Self {
self.config.enabled_credentials_mode = credentials_mode;
self
}
/// Use a custom debugging configuration.
#[must_use]
pub fn debug_config(mut self, debug_config: DebugConfig) -> Self {