From f5cf34cce19af77c1ba77b9271d78efb1075df60 Mon Sep 17 00:00:00 2001 From: gmbnt Date: Mon, 30 Mar 2020 11:38:06 +1100 Subject: [PATCH] Clean --- SignalServiceKit/src/Loki/API/OnionRequestAPI.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SignalServiceKit/src/Loki/API/OnionRequestAPI.swift b/SignalServiceKit/src/Loki/API/OnionRequestAPI.swift index f6f7d7382..b615a918c 100644 --- a/SignalServiceKit/src/Loki/API/OnionRequestAPI.swift +++ b/SignalServiceKit/src/Loki/API/OnionRequestAPI.swift @@ -6,11 +6,13 @@ internal enum OnionRequestAPI { internal static var guardSnodes: Set = [] internal static var paths: Set = [] + // MARK: Settings private static let pathCount: UInt = 3 /// The number of snodes (including the guard snode) in a path. private static let pathSize: UInt = 3 private static let guardSnodeCount: UInt = 3 + // MARK: Error internal enum Error : LocalizedError { case insufficientSnodes @@ -21,6 +23,7 @@ internal enum OnionRequestAPI { } } + // MARK: Path internal typealias Path = OnionRequestPath // MARK: Private API