@@ -39,7 +39,7 @@ internal enum NetworkFactory {
3939 /// - realm: Realm number for custom networks (default: 0)
4040 /// - Returns: Configured consensus network
4141 /// - Throws: HError if network name is unknown or addresses are invalid
42- static func makeConsensusNetwork(
42+ internal static func makeConsensusNetwork(
4343 spec: ConsensusNetworkSpecification ,
4444 eventLoop: EventLoopGroup ,
4545 shard: UInt64 = 0 ,
@@ -63,7 +63,7 @@ internal enum NetworkFactory {
6363 /// - realm: Realm number for localhost (default: 0)
6464 /// - Returns: Configured consensus network
6565 /// - Throws: HError if network name is unknown
66- static func makeConsensusNetworkByName(
66+ internal static func makeConsensusNetworkByName(
6767 _ name: borrowing String ,
6868 eventLoop: EventLoopGroup ,
6969 shard: UInt64 = 0 ,
@@ -102,7 +102,7 @@ internal enum NetworkFactory {
102102 /// - eventLoop: Event loop group for managing connections
103103 /// - Returns: Configured mirror network, or empty mirror network if spec is nil
104104 /// - Throws: HError if network name is unknown
105- static func makeMirrorNetwork(
105+ internal static func makeMirrorNetwork(
106106 spec: MirrorNetworkSpecification ? ,
107107 eventLoop: EventLoopGroup
108108 ) throws -> MirrorNetwork {
@@ -128,7 +128,7 @@ internal enum NetworkFactory {
128128 /// - eventLoop: Event loop group for managing connections
129129 /// - Returns: Configured mirror network
130130 /// - Throws: HError if network name is unknown
131- static func makeMirrorNetworkByName(
131+ internal static func makeMirrorNetworkByName(
132132 _ name: borrowing String ,
133133 eventLoop: EventLoopGroup
134134 ) throws -> MirrorNetwork {
@@ -157,7 +157,7 @@ internal enum NetworkFactory {
157157 ///
158158 /// - Parameter name: Network name
159159 /// - Returns: Ledger ID for the network, or nil for custom/localhost networks
160- static func ledgerIdForNetworkName( _ name: borrowing String ) -> LedgerId ? {
160+ internal static func ledgerIdForNetworkName( _ name: borrowing String ) -> LedgerId ? {
161161 switch name. lowercased ( ) {
162162 case " mainnet " :
163163 return . mainnet
0 commit comments