Add credentials mode command to SDK mixnet builder (#4516)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user