From bc84669534208f34ae4fc0ddfcba91e00ebed20a Mon Sep 17 00:00:00 2001
From: Dariusz Rybicki <dariusz@elixxir.io>
Date: Fri, 28 Oct 2022 10:36:57 +0200
Subject: [PATCH] Remove CMixIncreaseParallelNodeRegistration

---
 Sources/XXClient/CMix/CMix.swift              |  3 ---
 ...CMixIncreaseParallelNodeRegistration.swift | 24 -------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 Sources/XXClient/CMix/Functions/CMixIncreaseParallelNodeRegistration.swift

diff --git a/Sources/XXClient/CMix/CMix.swift b/Sources/XXClient/CMix/CMix.swift
index b630dc44..d02f0a78 100644
--- a/Sources/XXClient/CMix/CMix.swift
+++ b/Sources/XXClient/CMix/CMix.swift
@@ -8,7 +8,6 @@ public struct CMix {
   public var getNodeRegistrationStatus: CMixGetNodeRegistrationStatus
   public var hasRunningProcesses: CMixHasRunningProcesses
   public var getRunningProcesses: CMixGetRunningProcesses
-  public var increaseParallelNodeRegistration: CMixIncreaseParallelNodeRegistration
   public var networkFollowerStatus: CMixNetworkFollowerStatus
   public var startNetworkFollower: CMixStartNetworkFollower
   public var stopNetworkFollower: CMixStopNetworkFollower
@@ -29,7 +28,6 @@ extension CMix {
       getNodeRegistrationStatus: .live(bindingsCMix),
       hasRunningProcesses: .live(bindingsCMix),
       getRunningProcesses: .live(bindingsCMix),
-      increaseParallelNodeRegistration: .live(bindingsCMix),
       networkFollowerStatus: .live(bindingsCMix),
       startNetworkFollower: .live(bindingsCMix),
       stopNetworkFollower: .live(bindingsCMix),
@@ -51,7 +49,6 @@ extension CMix {
     getNodeRegistrationStatus: .unimplemented,
     hasRunningProcesses: .unimplemented,
     getRunningProcesses: .unimplemented,
-    increaseParallelNodeRegistration: .unimplemented,
     networkFollowerStatus: .unimplemented,
     startNetworkFollower: .unimplemented,
     stopNetworkFollower: .unimplemented,
diff --git a/Sources/XXClient/CMix/Functions/CMixIncreaseParallelNodeRegistration.swift b/Sources/XXClient/CMix/Functions/CMixIncreaseParallelNodeRegistration.swift
deleted file mode 100644
index 0a438c70..00000000
--- a/Sources/XXClient/CMix/Functions/CMixIncreaseParallelNodeRegistration.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-import Bindings
-import XCTestDynamicOverlay
-
-public struct CMixIncreaseParallelNodeRegistration {
-  public var run: (Int) throws -> Void
-
-  public func callAsFunction(num: Int) throws {
-    try run(num)
-  }
-}
-
-extension CMixIncreaseParallelNodeRegistration {
-  public static func live(_ bindingsCMix: BindingsCmix) -> CMixIncreaseParallelNodeRegistration {
-    CMixIncreaseParallelNodeRegistration(
-      run: bindingsCMix.increaseParallelNodeRegistration
-    )
-  }
-}
-
-extension CMixIncreaseParallelNodeRegistration {
-  public static let unimplemented = CMixIncreaseParallelNodeRegistration(
-    run: XCTestDynamicOverlay.unimplemented("\(Self.self)")
-  )
-}
-- 
GitLab