From fb1e7b4ba0ac24df34fa074b46cdaf1875cf76eb Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Mon, 7 Mar 2022 01:03:30 -0800 Subject: [PATCH] tentative support for 0.0.105 --- bindings/LDK/Bindings.swift | 457 ++- bindings/LDK/options/EffectiveCapacity.swift | 213 ++ bindings/LDK/options/ErrorAction.swift | 45 +- bindings/LDK/options/Event.swift | 53 +- ...ult_C2Tuple_SignatureSignatureZNoneZ.swift | 94 + ...sult_ChannelCounterpartyDecodeErrorZ.swift | 101 + .../Result_ChannelDetailsDecodeErrorZ.swift | 101 + ...Result_ChannelUpdateInfoDecodeErrorZ.swift | 101 + ...erpartyCommitmentSecretsDecodeErrorZ.swift | 101 + ...unterpartyForwardingInfoDecodeErrorZ.swift | 101 + ...t_DirectionalChannelInfoDecodeErrorZ.swift | 101 - .../Result_ExpiryTimeCreationErrorZ.swift | 101 - ...esult_FixedPenaltyScorerDecodeErrorZ.swift | 101 + .../results/Result_PayeeDecodeErrorZ.swift | 101 - ...Result_PaymentParametersDecodeErrorZ.swift | 101 + ...Result_PhantomRouteHintsDecodeErrorZ.swift | 101 + ...ilisticScoringParametersDecodeErrorZ.swift | 101 + ...Result_ScoringParametersDecodeErrorZ.swift | 20 +- .../LDK/results/Result_SecretKeyErrorZ.swift | 14 + .../LDK/results/Result_SecretKeyNoneZ.swift | 94 + .../Result_WarningMessageDecodeErrorZ.swift | 101 + bindings/LDK/structs/AcceptChannel.swift | 15 + .../LDK/structs/ChannelCounterparty.swift | 17 + bindings/LDK/structs/ChannelDetails.swift | 17 + bindings/LDK/structs/ChannelInfo.swift | 12 +- bindings/LDK/structs/ChannelManager.swift | 23 + bindings/LDK/structs/ChannelUpdateInfo.swift | 195 ++ .../CounterpartyCommitmentSecrets.swift | 112 + .../structs/CounterpartyForwardingInfo.swift | 17 + .../LDK/structs/DirectedChannelInfo.swift | 86 + .../LDK/structs/DirectionalChannelInfo.swift | 195 -- bindings/LDK/structs/ExpiryTime.swift | 20 +- bindings/LDK/structs/FixedPenaltyScorer.swift | 97 + bindings/LDK/structs/InMemorySigner.swift | 8 +- bindings/LDK/structs/Invoice.swift | 14 + bindings/LDK/structs/NetworkGraph.swift | 7 + bindings/LDK/structs/Payee.swift | 186 -- bindings/LDK/structs/PaymentParameters.swift | 201 ++ bindings/LDK/structs/PhantomKeysManager.swift | 116 + bindings/LDK/structs/PhantomRouteHints.swift | 169 ++ bindings/LDK/structs/PositiveTimestamp.swift | 12 + .../ProbabilisticScoringParameters.swift | 120 + bindings/LDK/structs/Route.swift | 18 +- bindings/LDK/structs/RouteParameters.swift | 14 +- bindings/LDK/structs/ScoringParameters.swift | 14 + bindings/LDK/structs/UserConfig.swift | 15 + bindings/LDK/structs/WarningMessage.swift | 120 + bindings/LDK/traits/BaseSign.swift | 40 +- bindings/LDK/traits/KeysInterface.swift | 31 +- bindings/LDK/traits/Router.swift | 18 +- bindings/LDK/traits/Score.swift | 10 +- .../tuples/C2Tuple_SignatureSignatureZ.swift | 67 + .../batteries/ChannelManagerConstructor.swift | 14 +- src/conversion_helper.py | 4 + .../util_generators/vector_generator.py | 21 +- src/lightning_header_parser.py | 4 +- src/swift_type_mapper.py | 14 + templates/BindingsTemplate.swift | 1 + .../LDKFramework.xcodeproj/project.pbxproj | 2644 +++++++++-------- xcode/LDKFramework/ldk_rust_types.h | 22 +- xcode/LDKFramework/ldk_ver.h | 4 +- xcode/LDKFramework/lightning.h | 2413 ++++++++++++--- .../LDKFramework.xcodeproj/project.pbxproj | 2644 +++++++++-------- xcode/LDKFramework_Mac/ldk_rust_types.h | 22 +- xcode/LDKFramework_Mac/ldk_ver.h | 4 +- xcode/LDKFramework_Mac/lightning.h | 2413 ++++++++++++--- 66 files changed, 10306 insertions(+), 4207 deletions(-) create mode 100644 bindings/LDK/options/EffectiveCapacity.swift create mode 100644 bindings/LDK/results/Result_C2Tuple_SignatureSignatureZNoneZ.swift create mode 100644 bindings/LDK/results/Result_ChannelCounterpartyDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_ChannelDetailsDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_ChannelUpdateInfoDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_CounterpartyForwardingInfoDecodeErrorZ.swift delete mode 100644 bindings/LDK/results/Result_DirectionalChannelInfoDecodeErrorZ.swift delete mode 100644 bindings/LDK/results/Result_ExpiryTimeCreationErrorZ.swift create mode 100644 bindings/LDK/results/Result_FixedPenaltyScorerDecodeErrorZ.swift delete mode 100644 bindings/LDK/results/Result_PayeeDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_PaymentParametersDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_PhantomRouteHintsDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_ProbabilisticScoringParametersDecodeErrorZ.swift create mode 100644 bindings/LDK/results/Result_SecretKeyNoneZ.swift create mode 100644 bindings/LDK/results/Result_WarningMessageDecodeErrorZ.swift create mode 100644 bindings/LDK/structs/ChannelUpdateInfo.swift create mode 100644 bindings/LDK/structs/CounterpartyCommitmentSecrets.swift create mode 100644 bindings/LDK/structs/DirectedChannelInfo.swift delete mode 100644 bindings/LDK/structs/DirectionalChannelInfo.swift create mode 100644 bindings/LDK/structs/FixedPenaltyScorer.swift delete mode 100644 bindings/LDK/structs/Payee.swift create mode 100644 bindings/LDK/structs/PaymentParameters.swift create mode 100644 bindings/LDK/structs/PhantomKeysManager.swift create mode 100644 bindings/LDK/structs/PhantomRouteHints.swift create mode 100644 bindings/LDK/structs/ProbabilisticScoringParameters.swift create mode 100644 bindings/LDK/structs/WarningMessage.swift create mode 100644 bindings/LDK/tuples/C2Tuple_SignatureSignatureZ.swift diff --git a/bindings/LDK/Bindings.swift b/bindings/LDK/Bindings.swift index 6dbb0a9c..b490432f 100644 --- a/bindings/LDK/Bindings.swift +++ b/bindings/LDK/Bindings.swift @@ -13,6 +13,7 @@ import Foundation public typealias LDKTransactionOutputs = LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ public typealias TransactionOutputs = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ public typealias LDKTxid = LDKThirtyTwoBytes +// public typealias LDKPaymentPreimage = LDKThirtyTwoBytes public typealias Txid = [UInt8] open class NativeTypeWrapper: Hashable { @@ -2673,6 +2674,193 @@ public class Bindings { } + /* SWIFT_TO_RUST_START */ + public class func new_LDKCVec_PaymentPreimageZWrapper(array: [[UInt8]]) -> LDKCVec_PaymentPreimageZWrapper { + + var lowerDimension = [LDKThirtyTwoBytes]() + // var subdimensionWrapper = [LDKThirtyTwoBytesWrapper]() + for currentEntry in array { + let convertedEntry = new_LDKThirtyTwoBytes(array: currentEntry) + lowerDimension.append(convertedEntry) + // subdimensionWrapper.append(convertedEntry) + } + + + /* + let dataContainer = lowerDimension.withUnsafeBufferPointer { (pointer: UnsafeBufferPointer) -> UnsafeMutablePointer in + let mutablePointer = UnsafeMutablePointer(mutating: pointer.baseAddress!) + return mutablePointer + } + */ + + let dataContainer = UnsafeMutablePointer.allocate(capacity: array.count) + dataContainer.initialize(from: lowerDimension, count: array.count) + + let vector = LDKCVec_PaymentPreimageZ(data: dataContainer, datalen: UInt(array.count)) + let wrapper = LDKCVec_PaymentPreimageZWrapper(pointer: vector) + return wrapper + } + + public class LDKCVec_PaymentPreimageZWrapper: NativeTypeWrapper { + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCVec_PaymentPreimageZ? + internal var subdimensionWrapper: [AnyObject]? = nil + + public init(pointer: LDKCVec_PaymentPreimageZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + internal init(pointer: LDKCVec_PaymentPreimageZ, subdimensionWrapper: [AnyObject]){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.subdimensionWrapper = subdimensionWrapper + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public func noOpRetain(){} + + internal func dangle(dangleSubdimensions: Bool = true) -> LDKCVec_PaymentPreimageZWrapper { + self.dangling = true + /* SUBDIMENSION_DANGLE_PREP */ + return self + } + + deinit { + if !self.dangling { + print("Freeing LDKCVec_PaymentPreimageZWrapper \(self.instanceNumber).") + self.cOpaqueStruct!.data.deallocate() + } else { + print("Not freeing LDKCVec_PaymentPreimageZWrapper \(self.instanceNumber) due to dangle.") + } + } + } + /* SWIFT_TO_RUST_END */ + + /* RUST_TO_SWIFT_START */ + public class func LDKCVec_PaymentPreimageZ_to_array(nativeType: LDKCVec_PaymentPreimageZ, deallocate: Bool = true) -> [[UInt8]] { + var array = [[UInt8]]() + for index in 0.. 0 { + nativeType.data.deallocate() + } + + return array + } + /* RUST_TO_SWIFT_END */ + + /* SWIFT_TO_RUST_START */ + public class func new_LDKCVec_PhantomRouteHintsZWrapper(array: [LDKPhantomRouteHints]) -> LDKCVec_PhantomRouteHintsZWrapper { + /* DIMENSION_REDUCTION_PREP */ + + /* + let dataContainer = array.withUnsafeBufferPointer { (pointer: UnsafeBufferPointer) -> UnsafeMutablePointer in + let mutablePointer = UnsafeMutablePointer(mutating: pointer.baseAddress!) + return mutablePointer + } + */ + + let dataContainer = UnsafeMutablePointer.allocate(capacity: array.count) + dataContainer.initialize(from: array, count: array.count) + + let vector = LDKCVec_PhantomRouteHintsZ(data: dataContainer, datalen: UInt(array.count)) + let wrapper = LDKCVec_PhantomRouteHintsZWrapper(pointer: vector) + return wrapper + } + + public class LDKCVec_PhantomRouteHintsZWrapper: NativeTypeWrapper { + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCVec_PhantomRouteHintsZ? + internal var subdimensionWrapper: [AnyObject]? = nil + + public init(pointer: LDKCVec_PhantomRouteHintsZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + internal init(pointer: LDKCVec_PhantomRouteHintsZ, subdimensionWrapper: [AnyObject]){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.subdimensionWrapper = subdimensionWrapper + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public func noOpRetain(){} + + internal func dangle(dangleSubdimensions: Bool = true) -> LDKCVec_PhantomRouteHintsZWrapper { + self.dangling = true + /* SUBDIMENSION_DANGLE_PREP */ + return self + } + + deinit { + if !self.dangling { + print("Freeing LDKCVec_PhantomRouteHintsZWrapper \(self.instanceNumber).") + self.cOpaqueStruct!.data.deallocate() + } else { + print("Not freeing LDKCVec_PhantomRouteHintsZWrapper \(self.instanceNumber) due to dangle.") + } + } + } + /* SWIFT_TO_RUST_END */ + + /* RUST_TO_SWIFT_START */ + public class func LDKCVec_PhantomRouteHintsZ_to_array(nativeType: LDKCVec_PhantomRouteHintsZ, deallocate: Bool = true) -> [LDKPhantomRouteHints] { + var array = [LDKPhantomRouteHints]() + for index in 0.. 0 { + nativeType.data.deallocate() + } + + return array + } + /* RUST_TO_SWIFT_END */ + public class func extractNativeLDKPhantomRouteHintsArray(array: [PhantomRouteHints]) -> [LDKPhantomRouteHints] { + return array.map { entry -> LDKPhantomRouteHints in + entry.danglingClone().cOpaqueStruct! + } + } + + public class func wrapNativeLDKPhantomRouteHintsArray(array: [LDKPhantomRouteHints]) -> [PhantomRouteHints] { + return array.map { entry -> PhantomRouteHints in + PhantomRouteHints(pointer: entry) + } + } + + public class func wrapDanglingNativeLDKPhantomRouteHintsArray(array: [LDKPhantomRouteHints]) -> [PhantomRouteHints] { + return array.map { entry -> PhantomRouteHints in + PhantomRouteHints(pointer: entry).dangle() + } + } + + internal class func cloneNativeLDKPhantomRouteHintsArray(array: [LDKPhantomRouteHints]) -> [LDKPhantomRouteHints] { + return array.map { entry -> LDKPhantomRouteHints in + // create a wrapper around the native object, dangle it to make it non-destructive, clone it, and then dangle the clone + PhantomRouteHints(pointer: entry).dangle().clone().dangle().cOpaqueStruct! + } + } + + /* SWIFT_TO_RUST_START */ public class func new_LDKCVec_PrivateRouteZWrapper(array: [LDKPrivateRoute]) -> LDKCVec_PrivateRouteZWrapper { /* DIMENSION_REDUCTION_PREP */ @@ -4135,6 +4323,83 @@ public class Bindings { } + /* SWIFT_TO_RUST_START */ + public class func new_LDKCVec_u5ZWrapper(array: [UInt8]) -> LDKCVec_u5ZWrapper { + let lowerDimension = array.map { v in LDKu5(_0: v) } + + /* + let dataContainer = lowerDimension.withUnsafeBufferPointer { (pointer: UnsafeBufferPointer) -> UnsafeMutablePointer in + let mutablePointer = UnsafeMutablePointer(mutating: pointer.baseAddress!) + return mutablePointer + } + */ + + let dataContainer = UnsafeMutablePointer.allocate(capacity: array.count) + dataContainer.initialize(from: lowerDimension, count: array.count) + + let vector = LDKCVec_u5Z(data: dataContainer, datalen: UInt(array.count)) + let wrapper = LDKCVec_u5ZWrapper(pointer: vector) + return wrapper + } + + public class LDKCVec_u5ZWrapper: NativeTypeWrapper { + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCVec_u5Z? + internal var subdimensionWrapper: [AnyObject]? = nil + + public init(pointer: LDKCVec_u5Z){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + internal init(pointer: LDKCVec_u5Z, subdimensionWrapper: [AnyObject]){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.subdimensionWrapper = subdimensionWrapper + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public func noOpRetain(){} + + internal func dangle(dangleSubdimensions: Bool = true) -> LDKCVec_u5ZWrapper { + self.dangling = true + /* SUBDIMENSION_DANGLE_PREP */ + return self + } + + deinit { + if !self.dangling { + print("Freeing LDKCVec_u5ZWrapper \(self.instanceNumber).") + self.cOpaqueStruct!.data.deallocate() + } else { + print("Not freeing LDKCVec_u5ZWrapper \(self.instanceNumber) due to dangle.") + } + } + } + /* SWIFT_TO_RUST_END */ + + /* RUST_TO_SWIFT_START */ + public class func LDKCVec_u5Z_to_array(nativeType: LDKCVec_u5Z, deallocate: Bool = true) -> [UInt8] { + var array = [UInt8]() + for index in 0.. 0 { + nativeType.data.deallocate() + } + + return array + } + /* RUST_TO_SWIFT_END */ + /* SWIFT_TO_RUST_START */ public class func new_LDKCVec_u64ZWrapper(array: [UInt64]) -> LDKCVec_u64ZWrapper { /* DIMENSION_REDUCTION_PREP */ @@ -4380,6 +4645,26 @@ public class Bindings { Bindings.LDKStr_to_string(nativeType: _ldk_c_bindings_get_compiled_version()) + } + public class func swift_CResult_NoneNoneZ_is_ok(o: Result_NoneNoneZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_NoneNoneZ_is_ok(oPointer) + +} + + } + public class func swift_CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(o: Result_CounterpartyCommitmentSecretsDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(oPointer) + +} + } public class func swift_CResult_SecretKeyErrorZ_is_ok(o: Result_SecretKeyErrorZ) -> Bool { @@ -4581,12 +4866,12 @@ public class Bindings { } } - public class func swift_CResult_PayeeDecodeErrorZ_is_ok(o: Result_PayeeDecodeErrorZ) -> Bool { + public class func swift_CResult_PaymentParametersDecodeErrorZ_is_ok(o: Result_PaymentParametersDecodeErrorZ) -> Bool { - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - CResult_PayeeDecodeErrorZ_is_ok(oPointer) + CResult_PaymentParametersDecodeErrorZ_is_ok(oPointer) } @@ -4658,6 +4943,16 @@ public class Bindings { CResult_COption_EventZDecodeErrorZ_is_ok(oPointer) +} + + } + public class func swift_CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(o: Result_FixedPenaltyScorerDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(oPointer) + } } @@ -4678,6 +4973,16 @@ public class Bindings { CResult_ScorerDecodeErrorZ_is_ok(oPointer) +} + + } + public class func swift_CResult_ProbabilisticScoringParametersDecodeErrorZ_is_ok(o: Result_ProbabilisticScoringParametersDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_ProbabilisticScoringParametersDecodeErrorZ_is_ok(oPointer) + } } @@ -4761,32 +5066,42 @@ public class Bindings { } } - public class func swift_CResult_NoneNoneZ_is_ok(o: Result_NoneNoneZ) -> Bool { + public class func swift_CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(o: Result_C2Tuple_SignatureCVec_SignatureZZNoneZ) -> Bool { - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - CResult_NoneNoneZ_is_ok(oPointer) + CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(oPointer) } } - public class func swift_CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(o: Result_C2Tuple_SignatureCVec_SignatureZZNoneZ) -> Bool { + public class func swift_CResult_SignatureNoneZ_is_ok(o: Result_SignatureNoneZ) -> Bool { - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(oPointer) + CResult_SignatureNoneZ_is_ok(oPointer) } } - public class func swift_CResult_SignatureNoneZ_is_ok(o: Result_SignatureNoneZ) -> Bool { + public class func swift_CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(o: Result_C2Tuple_SignatureSignatureZNoneZ) -> Bool { - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - CResult_SignatureNoneZ_is_ok(oPointer) + CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(oPointer) + +} + + } + public class func swift_CResult_SecretKeyNoneZ_is_ok(o: Result_SecretKeyNoneZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_SecretKeyNoneZ_is_ok(oPointer) } @@ -4948,6 +5263,46 @@ public class Bindings { CResult_PaymentPreimageAPIErrorZ_is_ok(oPointer) +} + + } + public class func swift_CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(o: Result_CounterpartyForwardingInfoDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(oPointer) + +} + + } + public class func swift_CResult_ChannelCounterpartyDecodeErrorZ_is_ok(o: Result_ChannelCounterpartyDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_ChannelCounterpartyDecodeErrorZ_is_ok(oPointer) + +} + + } + public class func swift_CResult_ChannelDetailsDecodeErrorZ_is_ok(o: Result_ChannelDetailsDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_ChannelDetailsDecodeErrorZ_is_ok(oPointer) + +} + + } + public class func swift_CResult_PhantomRouteHintsDecodeErrorZ_is_ok(o: Result_PhantomRouteHintsDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_PhantomRouteHintsDecodeErrorZ_is_ok(oPointer) + } } @@ -5078,16 +5433,6 @@ public class Bindings { CResult_DescriptionCreationErrorZ_is_ok(oPointer) -} - - } - public class func swift_CResult_ExpiryTimeCreationErrorZ_is_ok(o: Result_ExpiryTimeCreationErrorZ) -> Bool { - - - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - - CResult_ExpiryTimeCreationErrorZ_is_ok(oPointer) - } } @@ -5221,12 +5566,12 @@ public class Bindings { } } - public class func swift_CResult_DirectionalChannelInfoDecodeErrorZ_is_ok(o: Result_DirectionalChannelInfoDecodeErrorZ) -> Bool { + public class func swift_CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(o: Result_ChannelUpdateInfoDecodeErrorZ) -> Bool { - return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in - CResult_DirectionalChannelInfoDecodeErrorZ_is_ok(oPointer) + CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(oPointer) } @@ -5538,6 +5883,16 @@ public class Bindings { CResult_ErrorMessageDecodeErrorZ_is_ok(oPointer) +} + + } + public class func swift_CResult_WarningMessageDecodeErrorZ_is_ok(o: Result_WarningMessageDecodeErrorZ) -> Bool { + + + return withUnsafePointer(to: o.cOpaqueStruct!) { (oPointer: UnsafePointer) in + + CResult_WarningMessageDecodeErrorZ_is_ok(oPointer) + } } @@ -5671,6 +6026,24 @@ public class Bindings { verify(msgWrapper.cOpaqueStruct!, Bindings.new_LDKStr(string: sig), Bindings.new_LDKPublicKey(array: pk)) + } + public class func swift_construct_invoice_preimage(hrp_bytes: [UInt8], data_without_signature: [UInt8]) -> [UInt8] { + + + let hrp_bytesWrapper = Bindings.new_LDKu8sliceWrapper(array: hrp_bytes) + defer { + hrp_bytesWrapper.noOpRetain() + } + + let data_without_signatureWrapper = Bindings.new_LDKCVec_u5ZWrapper(array: data_without_signature) + defer { + data_without_signatureWrapper.noOpRetain() + } + + return + Bindings.LDKCVec_u8Z_to_array(nativeType: construct_invoice_preimage(hrp_bytesWrapper.cOpaqueStruct!, data_without_signatureWrapper.dangle().cOpaqueStruct!)) + + } public class func swift_C2Tuple_BlockHashChannelMonitorZ_read(ser: [UInt8], arg: KeysInterface) -> Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ { @@ -5840,7 +6213,7 @@ withUnsafePointer(to: htlc.cOpaqueStruct!) { (htlcPointer: UnsafePointer Result_RouteLightningErrorZ { + public class func swift_find_route(our_node_pubkey: [UInt8], route_params: RouteParameters, network: NetworkGraph, first_hops: [ChannelDetails]?, logger: Logger, scorer: Score) -> Result_RouteLightningErrorZ { var first_hopsPointer: UnsafeMutablePointer? = nil @@ -5855,22 +6228,32 @@ withUnsafePointer(to: htlc.cOpaqueStruct!) { (htlcPointer: UnsafePointer) in + return withUnsafePointer(to: route_params.cOpaqueStruct!) { (route_paramsPointer: UnsafePointer) in withUnsafePointer(to: network.cOpaqueStruct!) { (networkPointer: UnsafePointer) in withUnsafePointer(to: scorer.cOpaqueStruct!) { (scorerPointer: UnsafePointer) in - Result_RouteLightningErrorZ(pointer: find_route(Bindings.new_LDKPublicKey(array: our_node_pubkey), paramsPointer, networkPointer, first_hopsPointer, logger.cOpaqueStruct!, scorerPointer)) + Result_RouteLightningErrorZ(pointer: find_route(Bindings.new_LDKPublicKey(array: our_node_pubkey), route_paramsPointer, networkPointer, first_hopsPointer, logger.cOpaqueStruct!, scorerPointer)) } } } } - public class func swift_check_platform() -> Void { + public class func swift_create_phantom_invoice(amt_msat: Option_u64Z, description: String, payment_hash: [UInt8], payment_secret: [UInt8], phantom_route_hints: [PhantomRouteHints], keys_manager: KeysInterface, network: LDKCurrency) -> Result_InvoiceSignOrCreationErrorZ { - - check_platform() + let phantom_route_hintsUnwrapped = phantom_route_hints.map { (phantom_route_hintsCurrentValue) in + phantom_route_hintsCurrentValue + .danglingClone().cOpaqueStruct! + } + + let phantom_route_hintsWrapper = Bindings.new_LDKCVec_PhantomRouteHintsZWrapper(array: phantom_route_hintsUnwrapped) + defer { + phantom_route_hintsWrapper.noOpRetain() + } + + return + Result_InvoiceSignOrCreationErrorZ(pointer: create_phantom_invoice(amt_msat.danglingClone().cOpaqueStruct!, Bindings.new_LDKStr(string: description), Bindings.new_LDKThirtyTwoBytes(array: payment_hash), Bindings.new_LDKThirtyTwoBytes(array: payment_secret), phantom_route_hintsWrapper.dangle().cOpaqueStruct!, keys_manager.cOpaqueStruct!, network)) } @@ -5881,6 +6264,16 @@ withUnsafePointer(to: scorer.cOpaqueStruct!) { (scorerPointer: UnsafePointer Result_InvoiceSignOrCreationErrorZ { + + + return withUnsafePointer(to: channelmanager.cOpaqueStruct!) { (channelmanagerPointer: UnsafePointer) in + + Result_InvoiceSignOrCreationErrorZ(pointer: create_invoice_from_channelmanager_and_duration_since_epoch(channelmanagerPointer, keys_manager.cOpaqueStruct!, network, amt_msat.danglingClone().cOpaqueStruct!, Bindings.new_LDKStr(string: description), duration_since_epoch)) + } } @@ -6057,7 +6450,7 @@ withUnsafePointer(to: scorer.cOpaqueStruct!) { (scorerPointer: UnsafePointer String { - return "ad87781697755854cb84ee584d82448b2c05a0bd" + return "47640dd499c8281d857ae507bb64d829e1e558c8" } } diff --git a/bindings/LDK/options/EffectiveCapacity.swift b/bindings/LDK/options/EffectiveCapacity.swift new file mode 100644 index 00000000..86170ac4 --- /dev/null +++ b/bindings/LDK/options/EffectiveCapacity.swift @@ -0,0 +1,213 @@ +public class EffectiveCapacity: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKEffectiveCapacity? + + + + public init(pointer: LDKEffectiveCapacity){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKEffectiveCapacity, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* OPTION_METHODS_START */ + + public enum EffectiveCapacityValueType { + case ExactLiquidity, MaximumHTLC, Total + } + + public func getValueType() -> EffectiveCapacityValueType? { + switch self.cOpaqueStruct?.tag { + + case LDKEffectiveCapacity_ExactLiquidity: + return .ExactLiquidity + case LDKEffectiveCapacity_MaximumHTLC: + return .MaximumHTLC + case LDKEffectiveCapacity_Total: + return .Total + default: + return nil + } + } + + + public func getValueAsExactLiquidity() -> ExactLiquidity? { + if self.cOpaqueStruct?.tag != LDKEffectiveCapacity_ExactLiquidity { + return nil + } + return ExactLiquidity(pointer: self.cOpaqueStruct!.exact_liquidity, anchor: self) + } + + public func getValueAsMaximumHTLC() -> MaximumHTLC? { + if self.cOpaqueStruct?.tag != LDKEffectiveCapacity_MaximumHTLC { + return nil + } + return MaximumHTLC(pointer: self.cOpaqueStruct!.maximum_htlc, anchor: self) + } + + public func getValueAsTotal() -> Total? { + if self.cOpaqueStruct?.tag != LDKEffectiveCapacity_Total { + return nil + } + return Total(pointer: self.cOpaqueStruct!.total, anchor: self) + } + + + internal func free() -> Void { + + return EffectiveCapacity_free(self.cOpaqueStruct!); + } + + internal func dangle() -> EffectiveCapacity { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing EffectiveCapacity \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing EffectiveCapacity \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> EffectiveCapacity { + + return EffectiveCapacity(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +EffectiveCapacity_clone(origPointer) +}); + } + + internal func danglingClone() -> EffectiveCapacity { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public class func exact_liquidity(liquidity_msat: UInt64) -> EffectiveCapacity { + + return EffectiveCapacity(pointer: EffectiveCapacity_exact_liquidity(liquidity_msat)); + } + + public class func maximum_htlc(amount_msat: UInt64) -> EffectiveCapacity { + + return EffectiveCapacity(pointer: EffectiveCapacity_maximum_htlc(amount_msat)); + } + + public class func total(capacity_msat: UInt64) -> EffectiveCapacity { + + return EffectiveCapacity(pointer: EffectiveCapacity_total(capacity_msat)); + } + + public class func infinite() -> EffectiveCapacity { + + return EffectiveCapacity(pointer: EffectiveCapacity_infinite()); + } + + public class func unknown() -> EffectiveCapacity { + + return EffectiveCapacity(pointer: EffectiveCapacity_unknown()); + } + + public func as_msat() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +EffectiveCapacity_as_msat(this_argPointer) +}; + } + + /* OPTION_METHODS_END */ + + + + public class ExactLiquidity: NativeTypeWrapper { + + + var cOpaqueStruct: LDKEffectiveCapacity_LDKExactLiquidity_Body?; + fileprivate init(pointer: LDKEffectiveCapacity_LDKExactLiquidity_Body) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + fileprivate init(pointer: LDKEffectiveCapacity_LDKExactLiquidity_Body, anchor: NativeTypeWrapper) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + + + public func getLiquidity_msat() -> UInt64 { + return self.cOpaqueStruct!.liquidity_msat + } + + + } + + + public class MaximumHTLC: NativeTypeWrapper { + + + var cOpaqueStruct: LDKEffectiveCapacity_LDKMaximumHTLC_Body?; + fileprivate init(pointer: LDKEffectiveCapacity_LDKMaximumHTLC_Body) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + fileprivate init(pointer: LDKEffectiveCapacity_LDKMaximumHTLC_Body, anchor: NativeTypeWrapper) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + + + public func getAmount_msat() -> UInt64 { + return self.cOpaqueStruct!.amount_msat + } + + + } + + + public class Total: NativeTypeWrapper { + + + var cOpaqueStruct: LDKEffectiveCapacity_LDKTotal_Body?; + fileprivate init(pointer: LDKEffectiveCapacity_LDKTotal_Body) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + fileprivate init(pointer: LDKEffectiveCapacity_LDKTotal_Body, anchor: NativeTypeWrapper) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + + + public func getCapacity_msat() -> UInt64 { + return self.cOpaqueStruct!.capacity_msat + } + + + } + +} diff --git a/bindings/LDK/options/ErrorAction.swift b/bindings/LDK/options/ErrorAction.swift index 3bf0794d..48d4e606 100644 --- a/bindings/LDK/options/ErrorAction.swift +++ b/bindings/LDK/options/ErrorAction.swift @@ -26,7 +26,7 @@ public class ErrorAction: NativeTypeWrapper { /* OPTION_METHODS_START */ public enum ErrorActionValueType { - case DisconnectPeer, IgnoreAndLog, SendErrorMessage + case DisconnectPeer, IgnoreAndLog, SendErrorMessage, SendWarningMessage } public func getValueType() -> ErrorActionValueType? { @@ -38,6 +38,8 @@ public class ErrorAction: NativeTypeWrapper { return .IgnoreAndLog case LDKErrorAction_SendErrorMessage: return .SendErrorMessage + case LDKErrorAction_SendWarningMessage: + return .SendWarningMessage default: return nil } @@ -65,6 +67,13 @@ public class ErrorAction: NativeTypeWrapper { return SendErrorMessage(pointer: self.cOpaqueStruct!.send_error_message, anchor: self) } + public func getValueAsSendWarningMessage() -> SendWarningMessage? { + if self.cOpaqueStruct?.tag != LDKErrorAction_SendWarningMessage { + return nil + } + return SendWarningMessage(pointer: self.cOpaqueStruct!.send_warning_message, anchor: self) + } + internal func free() -> Void { @@ -125,6 +134,11 @@ ErrorAction_clone(origPointer) return ErrorAction(pointer: ErrorAction_send_error_message(msg.danglingClone().cOpaqueStruct!)); } + public class func send_warning_message(msg: WarningMessage, log_level: LDKLevel) -> ErrorAction { + + return ErrorAction(pointer: ErrorAction_send_warning_message(msg.danglingClone().cOpaqueStruct!, log_level)); + } + /* OPTION_METHODS_END */ @@ -178,4 +192,33 @@ ErrorAction_clone(origPointer) } + + public class SendWarningMessage: NativeTypeWrapper { + + + var cOpaqueStruct: LDKErrorAction_LDKSendWarningMessage_Body?; + fileprivate init(pointer: LDKErrorAction_LDKSendWarningMessage_Body) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + fileprivate init(pointer: LDKErrorAction_LDKSendWarningMessage_Body, anchor: NativeTypeWrapper) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + + + public func getMsg() -> WarningMessage { + return WarningMessage(pointer: self.cOpaqueStruct!.msg, anchor: self) + } + + public func getLog_level() -> LDKLevel { + return self.cOpaqueStruct!.log_level + } + + + } + } diff --git a/bindings/LDK/options/Event.swift b/bindings/LDK/options/Event.swift index 51758288..b28d2d50 100644 --- a/bindings/LDK/options/Event.swift +++ b/bindings/LDK/options/Event.swift @@ -26,7 +26,7 @@ public class Event: NativeTypeWrapper { /* OPTION_METHODS_START */ public enum EventValueType { - case FundingGenerationReady, PaymentReceived, PaymentSent, PaymentPathFailed, PaymentFailed, PendingHTLCsForwardable, SpendableOutputs, PaymentForwarded, ChannelClosed, DiscardFunding, PaymentPathSuccessful + case FundingGenerationReady, PaymentReceived, PaymentSent, PaymentPathFailed, PaymentFailed, PendingHTLCsForwardable, SpendableOutputs, PaymentForwarded, ChannelClosed, DiscardFunding, PaymentPathSuccessful, OpenChannelRequest } public func getValueType() -> EventValueType? { @@ -54,6 +54,8 @@ public class Event: NativeTypeWrapper { return .DiscardFunding case LDKEvent_PaymentPathSuccessful: return .PaymentPathSuccessful + case LDKEvent_OpenChannelRequest: + return .OpenChannelRequest default: return nil } @@ -137,6 +139,13 @@ public class Event: NativeTypeWrapper { return PaymentPathSuccessful(pointer: self.cOpaqueStruct!.payment_path_successful, anchor: self) } + public func getValueAsOpenChannelRequest() -> OpenChannelRequest? { + if self.cOpaqueStruct?.tag != LDKEvent_OpenChannelRequest { + return nil + } + return OpenChannelRequest(pointer: self.cOpaqueStruct!.open_channel_request, anchor: self) + } + internal func free() -> Void { @@ -267,6 +276,11 @@ Event_clone(origPointer) return Event(pointer: Event_payment_path_successful(Bindings.new_LDKThirtyTwoBytes(array: payment_id), Bindings.new_LDKThirtyTwoBytes(array: payment_hash), pathWrapper.dangle().cOpaqueStruct!)); } + public class func open_channel_request(temporary_channel_id: [UInt8], counterparty_node_id: [UInt8], funding_satoshis: UInt64, push_msat: UInt64) -> Event { + + return Event(pointer: Event_open_channel_request(Bindings.new_LDKThirtyTwoBytes(array: temporary_channel_id), Bindings.new_LDKPublicKey(array: counterparty_node_id), funding_satoshis, push_msat)); + } + public func write() -> [UInt8] { return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in @@ -665,4 +679,41 @@ Event_write(objPointer) } + + public class OpenChannelRequest: NativeTypeWrapper { + + + var cOpaqueStruct: LDKEvent_LDKOpenChannelRequest_Body?; + fileprivate init(pointer: LDKEvent_LDKOpenChannelRequest_Body) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + fileprivate init(pointer: LDKEvent_LDKOpenChannelRequest_Body, anchor: NativeTypeWrapper) { + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + + + public func getTemporary_channel_id() -> [UInt8] { + return Bindings.LDKThirtyTwoBytes_to_array(nativeType: self.cOpaqueStruct!.temporary_channel_id) + } + + public func getCounterparty_node_id() -> [UInt8] { + return Bindings.LDKPublicKey_to_array(nativeType: self.cOpaqueStruct!.counterparty_node_id) + } + + public func getFunding_satoshis() -> UInt64 { + return self.cOpaqueStruct!.funding_satoshis + } + + public func getPush_msat() -> UInt64 { + return self.cOpaqueStruct!.push_msat + } + + + } + } diff --git a/bindings/LDK/results/Result_C2Tuple_SignatureSignatureZNoneZ.swift b/bindings/LDK/results/Result_C2Tuple_SignatureSignatureZNoneZ.swift new file mode 100644 index 00000000..58773157 --- /dev/null +++ b/bindings/LDK/results/Result_C2Tuple_SignatureSignatureZNoneZ.swift @@ -0,0 +1,94 @@ +public class Result_C2Tuple_SignatureSignatureZNoneZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_C2Tuple_SignatureSignatureZNoneZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_C2Tuple_SignatureSignatureZNoneZ(contents: LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_C2Tuple_SignatureSignatureZNoneZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_C2Tuple_SignatureSignatureZNoneZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getValue() -> C2Tuple_SignatureSignatureZ? { + if self.cOpaqueStruct?.result_ok == true { + return C2Tuple_SignatureSignatureZ(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: C2Tuple_SignatureSignatureZ) -> Result_C2Tuple_SignatureSignatureZNoneZ { + + return Result_C2Tuple_SignatureSignatureZNoneZ(pointer: CResult_C2Tuple_SignatureSignatureZNoneZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err() -> Result_C2Tuple_SignatureSignatureZNoneZ { + + return Result_C2Tuple_SignatureSignatureZNoneZ(pointer: CResult_C2Tuple_SignatureSignatureZNoneZ_err()); + } + + internal func free() -> Void { + + return CResult_C2Tuple_SignatureSignatureZNoneZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_C2Tuple_SignatureSignatureZNoneZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_C2Tuple_SignatureSignatureZNoneZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_C2Tuple_SignatureSignatureZNoneZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_C2Tuple_SignatureSignatureZNoneZ { + + return Result_C2Tuple_SignatureSignatureZNoneZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_C2Tuple_SignatureSignatureZNoneZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_C2Tuple_SignatureSignatureZNoneZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_ChannelCounterpartyDecodeErrorZ.swift b/bindings/LDK/results/Result_ChannelCounterpartyDecodeErrorZ.swift new file mode 100644 index 00000000..e235ee77 --- /dev/null +++ b/bindings/LDK/results/Result_ChannelCounterpartyDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_ChannelCounterpartyDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_ChannelCounterpartyDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_ChannelCounterpartyDecodeErrorZ(contents: LDKCResult_ChannelCounterpartyDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_ChannelCounterpartyDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_ChannelCounterpartyDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> ChannelCounterparty? { + if self.cOpaqueStruct?.result_ok == true { + return ChannelCounterparty(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: ChannelCounterparty) -> Result_ChannelCounterpartyDecodeErrorZ { + + return Result_ChannelCounterpartyDecodeErrorZ(pointer: CResult_ChannelCounterpartyDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_ChannelCounterpartyDecodeErrorZ { + + return Result_ChannelCounterpartyDecodeErrorZ(pointer: CResult_ChannelCounterpartyDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_ChannelCounterpartyDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_ChannelCounterpartyDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_ChannelCounterpartyDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_ChannelCounterpartyDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_ChannelCounterpartyDecodeErrorZ { + + return Result_ChannelCounterpartyDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_ChannelCounterpartyDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_ChannelCounterpartyDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_ChannelDetailsDecodeErrorZ.swift b/bindings/LDK/results/Result_ChannelDetailsDecodeErrorZ.swift new file mode 100644 index 00000000..c3332571 --- /dev/null +++ b/bindings/LDK/results/Result_ChannelDetailsDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_ChannelDetailsDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_ChannelDetailsDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_ChannelDetailsDecodeErrorZ(contents: LDKCResult_ChannelDetailsDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_ChannelDetailsDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_ChannelDetailsDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> ChannelDetails? { + if self.cOpaqueStruct?.result_ok == true { + return ChannelDetails(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: ChannelDetails) -> Result_ChannelDetailsDecodeErrorZ { + + return Result_ChannelDetailsDecodeErrorZ(pointer: CResult_ChannelDetailsDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_ChannelDetailsDecodeErrorZ { + + return Result_ChannelDetailsDecodeErrorZ(pointer: CResult_ChannelDetailsDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_ChannelDetailsDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_ChannelDetailsDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_ChannelDetailsDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_ChannelDetailsDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_ChannelDetailsDecodeErrorZ { + + return Result_ChannelDetailsDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_ChannelDetailsDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_ChannelDetailsDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_ChannelUpdateInfoDecodeErrorZ.swift b/bindings/LDK/results/Result_ChannelUpdateInfoDecodeErrorZ.swift new file mode 100644 index 00000000..abba2b9c --- /dev/null +++ b/bindings/LDK/results/Result_ChannelUpdateInfoDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_ChannelUpdateInfoDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_ChannelUpdateInfoDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_ChannelUpdateInfoDecodeErrorZ(contents: LDKCResult_ChannelUpdateInfoDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_ChannelUpdateInfoDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_ChannelUpdateInfoDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> ChannelUpdateInfo? { + if self.cOpaqueStruct?.result_ok == true { + return ChannelUpdateInfo(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: ChannelUpdateInfo) -> Result_ChannelUpdateInfoDecodeErrorZ { + + return Result_ChannelUpdateInfoDecodeErrorZ(pointer: CResult_ChannelUpdateInfoDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_ChannelUpdateInfoDecodeErrorZ { + + return Result_ChannelUpdateInfoDecodeErrorZ(pointer: CResult_ChannelUpdateInfoDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_ChannelUpdateInfoDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_ChannelUpdateInfoDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_ChannelUpdateInfoDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_ChannelUpdateInfoDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_ChannelUpdateInfoDecodeErrorZ { + + return Result_ChannelUpdateInfoDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_ChannelUpdateInfoDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_ChannelUpdateInfoDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift b/bindings/LDK/results/Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift new file mode 100644 index 00000000..a9f509c1 --- /dev/null +++ b/bindings/LDK/results/Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_CounterpartyCommitmentSecretsDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ(contents: LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> CounterpartyCommitmentSecrets? { + if self.cOpaqueStruct?.result_ok == true { + return CounterpartyCommitmentSecrets(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: CounterpartyCommitmentSecrets) -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + + return Result_CounterpartyCommitmentSecretsDecodeErrorZ(pointer: CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + + return Result_CounterpartyCommitmentSecretsDecodeErrorZ(pointer: CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_CounterpartyCommitmentSecretsDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_CounterpartyCommitmentSecretsDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + + return Result_CounterpartyCommitmentSecretsDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_CounterpartyForwardingInfoDecodeErrorZ.swift b/bindings/LDK/results/Result_CounterpartyForwardingInfoDecodeErrorZ.swift new file mode 100644 index 00000000..2a090e2d --- /dev/null +++ b/bindings/LDK/results/Result_CounterpartyForwardingInfoDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_CounterpartyForwardingInfoDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_CounterpartyForwardingInfoDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_CounterpartyForwardingInfoDecodeErrorZ(contents: LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_CounterpartyForwardingInfoDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_CounterpartyForwardingInfoDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> CounterpartyForwardingInfo? { + if self.cOpaqueStruct?.result_ok == true { + return CounterpartyForwardingInfo(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: CounterpartyForwardingInfo) -> Result_CounterpartyForwardingInfoDecodeErrorZ { + + return Result_CounterpartyForwardingInfoDecodeErrorZ(pointer: CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_CounterpartyForwardingInfoDecodeErrorZ { + + return Result_CounterpartyForwardingInfoDecodeErrorZ(pointer: CResult_CounterpartyForwardingInfoDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_CounterpartyForwardingInfoDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_CounterpartyForwardingInfoDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_CounterpartyForwardingInfoDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_CounterpartyForwardingInfoDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_CounterpartyForwardingInfoDecodeErrorZ { + + return Result_CounterpartyForwardingInfoDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_CounterpartyForwardingInfoDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_DirectionalChannelInfoDecodeErrorZ.swift b/bindings/LDK/results/Result_DirectionalChannelInfoDecodeErrorZ.swift deleted file mode 100644 index 2df9f893..00000000 --- a/bindings/LDK/results/Result_DirectionalChannelInfoDecodeErrorZ.swift +++ /dev/null @@ -1,101 +0,0 @@ -public class Result_DirectionalChannelInfoDecodeErrorZ: NativeTypeWrapper { - - private static var instanceCounter: UInt = 0 - internal let instanceNumber: UInt - - internal var cOpaqueStruct: LDKCResult_DirectionalChannelInfoDecodeErrorZ? - - /* DEFAULT_CONSTRUCTOR_START */ - - public init() { - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = LDKCResult_DirectionalChannelInfoDecodeErrorZ(contents: LDKCResult_DirectionalChannelInfoDecodeErrorZPtr(), result_ok: true) - super.init(conflictAvoidingVariableName: 0) - } - - /* DEFAULT_CONSTRUCTOR_END */ - - public init(pointer: LDKCResult_DirectionalChannelInfoDecodeErrorZ){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - } - - public init(pointer: LDKCResult_DirectionalChannelInfoDecodeErrorZ, anchor: NativeTypeWrapper){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - self.dangling = true - try! self.addAnchor(anchor: anchor) - } - - public func isOk() -> Bool { - return self.cOpaqueStruct?.result_ok == true - } - - /* RESULT_METHODS_START */ - - public func getError() -> DecodeError? { - if self.cOpaqueStruct?.result_ok == false { - return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) - } - return nil - } - - public func getValue() -> DirectionalChannelInfo? { - if self.cOpaqueStruct?.result_ok == true { - return DirectionalChannelInfo(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) - } - return nil - } - - public class func ok(o: DirectionalChannelInfo) -> Result_DirectionalChannelInfoDecodeErrorZ { - - return Result_DirectionalChannelInfoDecodeErrorZ(pointer: CResult_DirectionalChannelInfoDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); - } - - public class func err(e: DecodeError) -> Result_DirectionalChannelInfoDecodeErrorZ { - - return Result_DirectionalChannelInfoDecodeErrorZ(pointer: CResult_DirectionalChannelInfoDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); - } - - internal func free() -> Void { - - return CResult_DirectionalChannelInfoDecodeErrorZ_free(self.cOpaqueStruct!); - } - - internal func dangle() -> Result_DirectionalChannelInfoDecodeErrorZ { - self.dangling = true - return self - } - - deinit { - if !self.dangling { - Bindings.print("Freeing Result_DirectionalChannelInfoDecodeErrorZ \(self.instanceNumber).") - self.free() - } else { - Bindings.print("Not freeing Result_DirectionalChannelInfoDecodeErrorZ \(self.instanceNumber) due to dangle.") - } - } - - - public func clone() -> Result_DirectionalChannelInfoDecodeErrorZ { - - return Result_DirectionalChannelInfoDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in -CResult_DirectionalChannelInfoDecodeErrorZ_clone(origPointer) -}); - } - - internal func danglingClone() -> Result_DirectionalChannelInfoDecodeErrorZ { - let dangledClone = self.clone() - dangledClone.dangling = true - return dangledClone - } - - - /* RESULT_METHODS_END */ - -} diff --git a/bindings/LDK/results/Result_ExpiryTimeCreationErrorZ.swift b/bindings/LDK/results/Result_ExpiryTimeCreationErrorZ.swift deleted file mode 100644 index 07d6869b..00000000 --- a/bindings/LDK/results/Result_ExpiryTimeCreationErrorZ.swift +++ /dev/null @@ -1,101 +0,0 @@ -public class Result_ExpiryTimeCreationErrorZ: NativeTypeWrapper { - - private static var instanceCounter: UInt = 0 - internal let instanceNumber: UInt - - internal var cOpaqueStruct: LDKCResult_ExpiryTimeCreationErrorZ? - - /* DEFAULT_CONSTRUCTOR_START */ - - public init() { - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = LDKCResult_ExpiryTimeCreationErrorZ(contents: LDKCResult_ExpiryTimeCreationErrorZPtr(), result_ok: true) - super.init(conflictAvoidingVariableName: 0) - } - - /* DEFAULT_CONSTRUCTOR_END */ - - public init(pointer: LDKCResult_ExpiryTimeCreationErrorZ){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - } - - public init(pointer: LDKCResult_ExpiryTimeCreationErrorZ, anchor: NativeTypeWrapper){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - self.dangling = true - try! self.addAnchor(anchor: anchor) - } - - public func isOk() -> Bool { - return self.cOpaqueStruct?.result_ok == true - } - - /* RESULT_METHODS_START */ - - public func getError() -> LDKCreationError? { - if self.cOpaqueStruct?.result_ok == false { - return self.cOpaqueStruct!.contents.err.pointee - } - return nil - } - - public func getValue() -> ExpiryTime? { - if self.cOpaqueStruct?.result_ok == true { - return ExpiryTime(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) - } - return nil - } - - public class func ok(o: ExpiryTime) -> Result_ExpiryTimeCreationErrorZ { - - return Result_ExpiryTimeCreationErrorZ(pointer: CResult_ExpiryTimeCreationErrorZ_ok(o.danglingClone().cOpaqueStruct!)); - } - - public class func err(e: LDKCreationError) -> Result_ExpiryTimeCreationErrorZ { - - return Result_ExpiryTimeCreationErrorZ(pointer: CResult_ExpiryTimeCreationErrorZ_err(e)); - } - - internal func free() -> Void { - - return CResult_ExpiryTimeCreationErrorZ_free(self.cOpaqueStruct!); - } - - internal func dangle() -> Result_ExpiryTimeCreationErrorZ { - self.dangling = true - return self - } - - deinit { - if !self.dangling { - Bindings.print("Freeing Result_ExpiryTimeCreationErrorZ \(self.instanceNumber).") - self.free() - } else { - Bindings.print("Not freeing Result_ExpiryTimeCreationErrorZ \(self.instanceNumber) due to dangle.") - } - } - - - public func clone() -> Result_ExpiryTimeCreationErrorZ { - - return Result_ExpiryTimeCreationErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in -CResult_ExpiryTimeCreationErrorZ_clone(origPointer) -}); - } - - internal func danglingClone() -> Result_ExpiryTimeCreationErrorZ { - let dangledClone = self.clone() - dangledClone.dangling = true - return dangledClone - } - - - /* RESULT_METHODS_END */ - -} diff --git a/bindings/LDK/results/Result_FixedPenaltyScorerDecodeErrorZ.swift b/bindings/LDK/results/Result_FixedPenaltyScorerDecodeErrorZ.swift new file mode 100644 index 00000000..dfe63651 --- /dev/null +++ b/bindings/LDK/results/Result_FixedPenaltyScorerDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_FixedPenaltyScorerDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_FixedPenaltyScorerDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_FixedPenaltyScorerDecodeErrorZ(contents: LDKCResult_FixedPenaltyScorerDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_FixedPenaltyScorerDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_FixedPenaltyScorerDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> FixedPenaltyScorer? { + if self.cOpaqueStruct?.result_ok == true { + return FixedPenaltyScorer(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: FixedPenaltyScorer) -> Result_FixedPenaltyScorerDecodeErrorZ { + + return Result_FixedPenaltyScorerDecodeErrorZ(pointer: CResult_FixedPenaltyScorerDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_FixedPenaltyScorerDecodeErrorZ { + + return Result_FixedPenaltyScorerDecodeErrorZ(pointer: CResult_FixedPenaltyScorerDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_FixedPenaltyScorerDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_FixedPenaltyScorerDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_FixedPenaltyScorerDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_FixedPenaltyScorerDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_FixedPenaltyScorerDecodeErrorZ { + + return Result_FixedPenaltyScorerDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_FixedPenaltyScorerDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_FixedPenaltyScorerDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_PayeeDecodeErrorZ.swift b/bindings/LDK/results/Result_PayeeDecodeErrorZ.swift deleted file mode 100644 index 12f6199f..00000000 --- a/bindings/LDK/results/Result_PayeeDecodeErrorZ.swift +++ /dev/null @@ -1,101 +0,0 @@ -public class Result_PayeeDecodeErrorZ: NativeTypeWrapper { - - private static var instanceCounter: UInt = 0 - internal let instanceNumber: UInt - - internal var cOpaqueStruct: LDKCResult_PayeeDecodeErrorZ? - - /* DEFAULT_CONSTRUCTOR_START */ - - public init() { - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = LDKCResult_PayeeDecodeErrorZ(contents: LDKCResult_PayeeDecodeErrorZPtr(), result_ok: true) - super.init(conflictAvoidingVariableName: 0) - } - - /* DEFAULT_CONSTRUCTOR_END */ - - public init(pointer: LDKCResult_PayeeDecodeErrorZ){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - } - - public init(pointer: LDKCResult_PayeeDecodeErrorZ, anchor: NativeTypeWrapper){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - self.dangling = true - try! self.addAnchor(anchor: anchor) - } - - public func isOk() -> Bool { - return self.cOpaqueStruct?.result_ok == true - } - - /* RESULT_METHODS_START */ - - public func getError() -> DecodeError? { - if self.cOpaqueStruct?.result_ok == false { - return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) - } - return nil - } - - public func getValue() -> Payee? { - if self.cOpaqueStruct?.result_ok == true { - return Payee(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) - } - return nil - } - - public class func ok(o: Payee) -> Result_PayeeDecodeErrorZ { - - return Result_PayeeDecodeErrorZ(pointer: CResult_PayeeDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); - } - - public class func err(e: DecodeError) -> Result_PayeeDecodeErrorZ { - - return Result_PayeeDecodeErrorZ(pointer: CResult_PayeeDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); - } - - internal func free() -> Void { - - return CResult_PayeeDecodeErrorZ_free(self.cOpaqueStruct!); - } - - internal func dangle() -> Result_PayeeDecodeErrorZ { - self.dangling = true - return self - } - - deinit { - if !self.dangling { - Bindings.print("Freeing Result_PayeeDecodeErrorZ \(self.instanceNumber).") - self.free() - } else { - Bindings.print("Not freeing Result_PayeeDecodeErrorZ \(self.instanceNumber) due to dangle.") - } - } - - - public func clone() -> Result_PayeeDecodeErrorZ { - - return Result_PayeeDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in -CResult_PayeeDecodeErrorZ_clone(origPointer) -}); - } - - internal func danglingClone() -> Result_PayeeDecodeErrorZ { - let dangledClone = self.clone() - dangledClone.dangling = true - return dangledClone - } - - - /* RESULT_METHODS_END */ - -} diff --git a/bindings/LDK/results/Result_PaymentParametersDecodeErrorZ.swift b/bindings/LDK/results/Result_PaymentParametersDecodeErrorZ.swift new file mode 100644 index 00000000..3bb2a163 --- /dev/null +++ b/bindings/LDK/results/Result_PaymentParametersDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_PaymentParametersDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_PaymentParametersDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_PaymentParametersDecodeErrorZ(contents: LDKCResult_PaymentParametersDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_PaymentParametersDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_PaymentParametersDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> PaymentParameters? { + if self.cOpaqueStruct?.result_ok == true { + return PaymentParameters(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: PaymentParameters) -> Result_PaymentParametersDecodeErrorZ { + + return Result_PaymentParametersDecodeErrorZ(pointer: CResult_PaymentParametersDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_PaymentParametersDecodeErrorZ { + + return Result_PaymentParametersDecodeErrorZ(pointer: CResult_PaymentParametersDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_PaymentParametersDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_PaymentParametersDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_PaymentParametersDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_PaymentParametersDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_PaymentParametersDecodeErrorZ { + + return Result_PaymentParametersDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_PaymentParametersDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_PaymentParametersDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_PhantomRouteHintsDecodeErrorZ.swift b/bindings/LDK/results/Result_PhantomRouteHintsDecodeErrorZ.swift new file mode 100644 index 00000000..416d2f40 --- /dev/null +++ b/bindings/LDK/results/Result_PhantomRouteHintsDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_PhantomRouteHintsDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_PhantomRouteHintsDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_PhantomRouteHintsDecodeErrorZ(contents: LDKCResult_PhantomRouteHintsDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_PhantomRouteHintsDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_PhantomRouteHintsDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> PhantomRouteHints? { + if self.cOpaqueStruct?.result_ok == true { + return PhantomRouteHints(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: PhantomRouteHints) -> Result_PhantomRouteHintsDecodeErrorZ { + + return Result_PhantomRouteHintsDecodeErrorZ(pointer: CResult_PhantomRouteHintsDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_PhantomRouteHintsDecodeErrorZ { + + return Result_PhantomRouteHintsDecodeErrorZ(pointer: CResult_PhantomRouteHintsDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_PhantomRouteHintsDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_PhantomRouteHintsDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_PhantomRouteHintsDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_PhantomRouteHintsDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_PhantomRouteHintsDecodeErrorZ { + + return Result_PhantomRouteHintsDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_PhantomRouteHintsDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_PhantomRouteHintsDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_ProbabilisticScoringParametersDecodeErrorZ.swift b/bindings/LDK/results/Result_ProbabilisticScoringParametersDecodeErrorZ.swift new file mode 100644 index 00000000..7b97937c --- /dev/null +++ b/bindings/LDK/results/Result_ProbabilisticScoringParametersDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_ProbabilisticScoringParametersDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_ProbabilisticScoringParametersDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_ProbabilisticScoringParametersDecodeErrorZ(contents: LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_ProbabilisticScoringParametersDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_ProbabilisticScoringParametersDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> ProbabilisticScoringParameters? { + if self.cOpaqueStruct?.result_ok == true { + return ProbabilisticScoringParameters(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: ProbabilisticScoringParameters) -> Result_ProbabilisticScoringParametersDecodeErrorZ { + + return Result_ProbabilisticScoringParametersDecodeErrorZ(pointer: CResult_ProbabilisticScoringParametersDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_ProbabilisticScoringParametersDecodeErrorZ { + + return Result_ProbabilisticScoringParametersDecodeErrorZ(pointer: CResult_ProbabilisticScoringParametersDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_ProbabilisticScoringParametersDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_ProbabilisticScoringParametersDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_ProbabilisticScoringParametersDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_ProbabilisticScoringParametersDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_ProbabilisticScoringParametersDecodeErrorZ { + + return Result_ProbabilisticScoringParametersDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_ProbabilisticScoringParametersDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_ProbabilisticScoringParametersDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_ScoringParametersDecodeErrorZ.swift b/bindings/LDK/results/Result_ScoringParametersDecodeErrorZ.swift index b117db9f..1362fd82 100644 --- a/bindings/LDK/results/Result_ScoringParametersDecodeErrorZ.swift +++ b/bindings/LDK/results/Result_ScoringParametersDecodeErrorZ.swift @@ -52,11 +52,9 @@ public class Result_ScoringParametersDecodeErrorZ: NativeTypeWrapper { return nil } - #warning("This method passes non-cloneable objects by owned value. Here be dragons.") -@available(*, deprecated, message: "This method passes non-cloneable objects by owned value. Here be dragons.") -public class func ok(o: ScoringParameters) -> Result_ScoringParametersDecodeErrorZ { + public class func ok(o: ScoringParameters) -> Result_ScoringParametersDecodeErrorZ { - return Result_ScoringParametersDecodeErrorZ(pointer: CResult_ScoringParametersDecodeErrorZ_ok(o.cOpaqueStruct!)); + return Result_ScoringParametersDecodeErrorZ(pointer: CResult_ScoringParametersDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); } public class func err(e: DecodeError) -> Result_ScoringParametersDecodeErrorZ { @@ -84,6 +82,20 @@ public class func ok(o: ScoringParameters) -> Result_ScoringParametersDecodeErro } + public func clone() -> Result_ScoringParametersDecodeErrorZ { + + return Result_ScoringParametersDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_ScoringParametersDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_ScoringParametersDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + /* RESULT_METHODS_END */ } diff --git a/bindings/LDK/results/Result_SecretKeyErrorZ.swift b/bindings/LDK/results/Result_SecretKeyErrorZ.swift index 2dc8e477..843f66f3 100644 --- a/bindings/LDK/results/Result_SecretKeyErrorZ.swift +++ b/bindings/LDK/results/Result_SecretKeyErrorZ.swift @@ -84,6 +84,20 @@ public class func err(e: LDKSecp256k1Error) -> Result_SecretKeyErrorZ { } + public func clone() -> Result_SecretKeyErrorZ { + + return Result_SecretKeyErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_SecretKeyErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_SecretKeyErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + /* RESULT_METHODS_END */ } diff --git a/bindings/LDK/results/Result_SecretKeyNoneZ.swift b/bindings/LDK/results/Result_SecretKeyNoneZ.swift new file mode 100644 index 00000000..85cdc344 --- /dev/null +++ b/bindings/LDK/results/Result_SecretKeyNoneZ.swift @@ -0,0 +1,94 @@ +public class Result_SecretKeyNoneZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_SecretKeyNoneZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_SecretKeyNoneZ(contents: LDKCResult_SecretKeyNoneZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_SecretKeyNoneZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_SecretKeyNoneZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getValue() -> [UInt8]? { + if self.cOpaqueStruct?.result_ok == true { + return Bindings.LDKSecretKey_to_array(nativeType: self.cOpaqueStruct!.contents.result.pointee) + } + return nil + } + + public class func ok(o: [UInt8]) -> Result_SecretKeyNoneZ { + + return Result_SecretKeyNoneZ(pointer: CResult_SecretKeyNoneZ_ok(Bindings.new_LDKSecretKey(array: o))); + } + + public class func err() -> Result_SecretKeyNoneZ { + + return Result_SecretKeyNoneZ(pointer: CResult_SecretKeyNoneZ_err()); + } + + internal func free() -> Void { + + return CResult_SecretKeyNoneZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_SecretKeyNoneZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_SecretKeyNoneZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_SecretKeyNoneZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_SecretKeyNoneZ { + + return Result_SecretKeyNoneZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_SecretKeyNoneZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_SecretKeyNoneZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/results/Result_WarningMessageDecodeErrorZ.swift b/bindings/LDK/results/Result_WarningMessageDecodeErrorZ.swift new file mode 100644 index 00000000..92e8c05e --- /dev/null +++ b/bindings/LDK/results/Result_WarningMessageDecodeErrorZ.swift @@ -0,0 +1,101 @@ +public class Result_WarningMessageDecodeErrorZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCResult_WarningMessageDecodeErrorZ? + + /* DEFAULT_CONSTRUCTOR_START */ + + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = LDKCResult_WarningMessageDecodeErrorZ(contents: LDKCResult_WarningMessageDecodeErrorZPtr(), result_ok: true) + super.init(conflictAvoidingVariableName: 0) + } + + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCResult_WarningMessageDecodeErrorZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCResult_WarningMessageDecodeErrorZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + public func isOk() -> Bool { + return self.cOpaqueStruct?.result_ok == true + } + + /* RESULT_METHODS_START */ + + public func getError() -> DecodeError? { + if self.cOpaqueStruct?.result_ok == false { + return DecodeError(pointer: self.cOpaqueStruct!.contents.err.pointee, anchor: self) + } + return nil + } + + public func getValue() -> WarningMessage? { + if self.cOpaqueStruct?.result_ok == true { + return WarningMessage(pointer: self.cOpaqueStruct!.contents.result.pointee, anchor: self) + } + return nil + } + + public class func ok(o: WarningMessage) -> Result_WarningMessageDecodeErrorZ { + + return Result_WarningMessageDecodeErrorZ(pointer: CResult_WarningMessageDecodeErrorZ_ok(o.danglingClone().cOpaqueStruct!)); + } + + public class func err(e: DecodeError) -> Result_WarningMessageDecodeErrorZ { + + return Result_WarningMessageDecodeErrorZ(pointer: CResult_WarningMessageDecodeErrorZ_err(e.danglingClone().cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CResult_WarningMessageDecodeErrorZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> Result_WarningMessageDecodeErrorZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing Result_WarningMessageDecodeErrorZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing Result_WarningMessageDecodeErrorZ \(self.instanceNumber) due to dangle.") + } + } + + + public func clone() -> Result_WarningMessageDecodeErrorZ { + + return Result_WarningMessageDecodeErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CResult_WarningMessageDecodeErrorZ_clone(origPointer) +}); + } + + internal func danglingClone() -> Result_WarningMessageDecodeErrorZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + /* RESULT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/AcceptChannel.swift b/bindings/LDK/structs/AcceptChannel.swift index c2983a20..3c588a93 100644 --- a/bindings/LDK/structs/AcceptChannel.swift +++ b/bindings/LDK/structs/AcceptChannel.swift @@ -236,6 +236,21 @@ AcceptChannel_get_first_per_commitment_point(this_ptrPointer) return AcceptChannel_set_first_per_commitment_point(this_ptrPointer, Bindings.new_LDKPublicKey(array: val)); } + public func get_channel_type() -> ChannelTypeFeatures { + + return ChannelTypeFeatures(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +AcceptChannel_get_channel_type(this_ptrPointer) +}); + } + + public func set_channel_type(val: ChannelTypeFeatures) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return AcceptChannel_set_channel_type(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + public func clone() -> AcceptChannel { return AcceptChannel(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/ChannelCounterparty.swift b/bindings/LDK/structs/ChannelCounterparty.swift index 2186ae5f..ebacd027 100644 --- a/bindings/LDK/structs/ChannelCounterparty.swift +++ b/bindings/LDK/structs/ChannelCounterparty.swift @@ -108,6 +108,23 @@ ChannelCounterparty_clone(origPointer) } + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +ChannelCounterparty_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_ChannelCounterpartyDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_ChannelCounterpartyDecodeErrorZ(pointer: ChannelCounterparty_read(serWrapper.cOpaqueStruct!)); + } + internal func free() -> Void { return ChannelCounterparty_free(self.cOpaqueStruct!); diff --git a/bindings/LDK/structs/ChannelDetails.swift b/bindings/LDK/structs/ChannelDetails.swift index f3c72a8a..fa1c02cb 100644 --- a/bindings/LDK/structs/ChannelDetails.swift +++ b/bindings/LDK/structs/ChannelDetails.swift @@ -297,6 +297,23 @@ ChannelDetails_clone(origPointer) } + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +ChannelDetails_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_ChannelDetailsDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_ChannelDetailsDecodeErrorZ(pointer: ChannelDetails_read(serWrapper.cOpaqueStruct!)); + } + internal func free() -> Void { return ChannelDetails_free(self.cOpaqueStruct!); diff --git a/bindings/LDK/structs/ChannelInfo.swift b/bindings/LDK/structs/ChannelInfo.swift index a25c91ec..2cdede64 100644 --- a/bindings/LDK/structs/ChannelInfo.swift +++ b/bindings/LDK/structs/ChannelInfo.swift @@ -56,14 +56,14 @@ ChannelInfo_get_node_one(this_ptrPointer) return ChannelInfo_set_node_one(this_ptrPointer, val.danglingClone().cOpaqueStruct!); } - public func get_one_to_two() -> DirectionalChannelInfo { + public func get_one_to_two() -> ChannelUpdateInfo { - return DirectionalChannelInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in + return ChannelUpdateInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in ChannelInfo_get_one_to_two(this_ptrPointer) }); } - public func set_one_to_two(val: DirectionalChannelInfo) -> Void { + public func set_one_to_two(val: ChannelUpdateInfo) -> Void { let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) this_ptrPointer.initialize(to: self.cOpaqueStruct!) @@ -86,14 +86,14 @@ ChannelInfo_get_node_two(this_ptrPointer) return ChannelInfo_set_node_two(this_ptrPointer, val.danglingClone().cOpaqueStruct!); } - public func get_two_to_one() -> DirectionalChannelInfo { + public func get_two_to_one() -> ChannelUpdateInfo { - return DirectionalChannelInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in + return ChannelUpdateInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in ChannelInfo_get_two_to_one(this_ptrPointer) }); } - public func set_two_to_one(val: DirectionalChannelInfo) -> Void { + public func set_two_to_one(val: ChannelUpdateInfo) -> Void { let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) this_ptrPointer.initialize(to: self.cOpaqueStruct!) diff --git a/bindings/LDK/structs/ChannelManager.swift b/bindings/LDK/structs/ChannelManager.swift index 3b43a454..26b4731c 100644 --- a/bindings/LDK/structs/ChannelManager.swift +++ b/bindings/LDK/structs/ChannelManager.swift @@ -213,6 +213,15 @@ ChannelManager_get_our_node_id(this_argPointer) }); } + public func accept_inbound_channel(temporary_channel_id: [UInt8]) -> Result_NoneAPIErrorZ { + + return Result_NoneAPIErrorZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +withUnsafePointer(to: Bindings.array_to_tuple32(array: temporary_channel_id)) { (temporary_channel_idPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>) in +ChannelManager_accept_inbound_channel(this_argPointer, temporary_channel_idPointer) +} +}); + } + public func create_inbound_payment(min_value_msat: Option_u64Z, invoice_expiry_delta_secs: UInt32) -> Result_C2Tuple_PaymentHashPaymentSecretZNoneZ { return Result_C2Tuple_PaymentHashPaymentSecretZNoneZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in @@ -248,6 +257,20 @@ ChannelManager_get_payment_preimage(this_argPointer, Bindings.new_LDKThirtyTwoBy }); } + public func get_phantom_scid() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +ChannelManager_get_phantom_scid(this_argPointer) +}; + } + + public func get_phantom_route_hints() -> PhantomRouteHints { + + return PhantomRouteHints(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +ChannelManager_get_phantom_route_hints(this_argPointer) +}); + } + public func as_MessageSendEventsProvider() -> NativelyImplementedMessageSendEventsProvider { return NativelyImplementedMessageSendEventsProvider(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/ChannelUpdateInfo.swift b/bindings/LDK/structs/ChannelUpdateInfo.swift new file mode 100644 index 00000000..806109f8 --- /dev/null +++ b/bindings/LDK/structs/ChannelUpdateInfo.swift @@ -0,0 +1,195 @@ +public class ChannelUpdateInfo: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKChannelUpdateInfo? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init(last_update_arg: UInt32, enabled_arg: Bool, cltv_expiry_delta_arg: UInt16, htlc_minimum_msat_arg: UInt64, htlc_maximum_msat_arg: Option_u64Z, fees_arg: RoutingFees, last_update_message_arg: ChannelUpdate) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = ChannelUpdateInfo_new(last_update_arg, enabled_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg.danglingClone().cOpaqueStruct!, fees_arg.danglingClone().cOpaqueStruct!, last_update_message_arg.danglingClone().cOpaqueStruct!) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKChannelUpdateInfo){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKChannelUpdateInfo, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func get_last_update() -> UInt32 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_last_update(this_ptrPointer) +}; + } + + public func set_last_update(val: UInt32) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_last_update(this_ptrPointer, val); + } + + public func get_enabled() -> Bool { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_enabled(this_ptrPointer) +}; + } + + public func set_enabled(val: Bool) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_enabled(this_ptrPointer, val); + } + + public func get_cltv_expiry_delta() -> UInt16 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_cltv_expiry_delta(this_ptrPointer) +}; + } + + public func set_cltv_expiry_delta(val: UInt16) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_cltv_expiry_delta(this_ptrPointer, val); + } + + public func get_htlc_minimum_msat() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_htlc_minimum_msat(this_ptrPointer) +}; + } + + public func set_htlc_minimum_msat(val: UInt64) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_htlc_minimum_msat(this_ptrPointer, val); + } + + public func get_htlc_maximum_msat() -> Option_u64Z { + + return Option_u64Z(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_htlc_maximum_msat(this_ptrPointer) +}); + } + + public func set_htlc_maximum_msat(val: Option_u64Z) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_htlc_maximum_msat(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + + public func get_fees() -> RoutingFees { + + return RoutingFees(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_fees(this_ptrPointer) +}); + } + + public func set_fees(val: RoutingFees) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_fees(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + + public func get_last_update_message() -> ChannelUpdate { + + return ChannelUpdate(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ChannelUpdateInfo_get_last_update_message(this_ptrPointer) +}); + } + + public func set_last_update_message(val: ChannelUpdate) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ChannelUpdateInfo_set_last_update_message(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + + public func clone() -> ChannelUpdateInfo { + + return ChannelUpdateInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +ChannelUpdateInfo_clone(origPointer) +}); + } + + internal func danglingClone() -> ChannelUpdateInfo { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +ChannelUpdateInfo_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_ChannelUpdateInfoDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_ChannelUpdateInfoDecodeErrorZ(pointer: ChannelUpdateInfo_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return ChannelUpdateInfo_free(self.cOpaqueStruct!); + } + + internal func dangle() -> ChannelUpdateInfo { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing ChannelUpdateInfo \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing ChannelUpdateInfo \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/CounterpartyCommitmentSecrets.swift b/bindings/LDK/structs/CounterpartyCommitmentSecrets.swift new file mode 100644 index 00000000..b52f4272 --- /dev/null +++ b/bindings/LDK/structs/CounterpartyCommitmentSecrets.swift @@ -0,0 +1,112 @@ +public class CounterpartyCommitmentSecrets: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKCounterpartyCommitmentSecrets? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = CounterpartyCommitmentSecrets_new() + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKCounterpartyCommitmentSecrets){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKCounterpartyCommitmentSecrets, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func clone() -> CounterpartyCommitmentSecrets { + + return CounterpartyCommitmentSecrets(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +CounterpartyCommitmentSecrets_clone(origPointer) +}); + } + + internal func danglingClone() -> CounterpartyCommitmentSecrets { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func get_min_seen_secret() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +CounterpartyCommitmentSecrets_get_min_seen_secret(this_argPointer) +}; + } + + public func provide_secret(idx: UInt64, secret: [UInt8]) -> Result_NoneNoneZ { + + let this_argPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_argPointer.initialize(to: self.cOpaqueStruct!) + + return Result_NoneNoneZ(pointer: CounterpartyCommitmentSecrets_provide_secret(this_argPointer, idx, Bindings.new_LDKThirtyTwoBytes(array: secret))); + } + + public func get_secret(idx: UInt64) -> [UInt8] { + + return Bindings.LDKThirtyTwoBytes_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +CounterpartyCommitmentSecrets_get_secret(this_argPointer, idx) +}); + } + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +CounterpartyCommitmentSecrets_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_CounterpartyCommitmentSecretsDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_CounterpartyCommitmentSecretsDecodeErrorZ(pointer: CounterpartyCommitmentSecrets_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return CounterpartyCommitmentSecrets_free(self.cOpaqueStruct!); + } + + internal func dangle() -> CounterpartyCommitmentSecrets { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing CounterpartyCommitmentSecrets \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing CounterpartyCommitmentSecrets \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/CounterpartyForwardingInfo.swift b/bindings/LDK/structs/CounterpartyForwardingInfo.swift index 29323722..0b392c85 100644 --- a/bindings/LDK/structs/CounterpartyForwardingInfo.swift +++ b/bindings/LDK/structs/CounterpartyForwardingInfo.swift @@ -93,6 +93,23 @@ CounterpartyForwardingInfo_clone(origPointer) } + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +CounterpartyForwardingInfo_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_CounterpartyForwardingInfoDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_CounterpartyForwardingInfoDecodeErrorZ(pointer: CounterpartyForwardingInfo_read(serWrapper.cOpaqueStruct!)); + } + internal func free() -> Void { return CounterpartyForwardingInfo_free(self.cOpaqueStruct!); diff --git a/bindings/LDK/structs/DirectedChannelInfo.swift b/bindings/LDK/structs/DirectedChannelInfo.swift new file mode 100644 index 00000000..b8050aa1 --- /dev/null +++ b/bindings/LDK/structs/DirectedChannelInfo.swift @@ -0,0 +1,86 @@ +public class DirectedChannelInfo: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKDirectedChannelInfo? + + + + + public init(pointer: LDKDirectedChannelInfo){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKDirectedChannelInfo, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func clone() -> DirectedChannelInfo { + + return DirectedChannelInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +DirectedChannelInfo_clone(origPointer) +}); + } + + internal func danglingClone() -> DirectedChannelInfo { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func channel() -> ChannelInfo { + + return ChannelInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +DirectedChannelInfo_channel(this_argPointer) +}); + } + + public func direction() -> ChannelUpdateInfo { + + return ChannelUpdateInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +DirectedChannelInfo_direction(this_argPointer) +}); + } + + public func effective_capacity() -> EffectiveCapacity { + + return EffectiveCapacity(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +DirectedChannelInfo_effective_capacity(this_argPointer) +}); + } + + internal func free() -> Void { + + return DirectedChannelInfo_free(self.cOpaqueStruct!); + } + + internal func dangle() -> DirectedChannelInfo { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing DirectedChannelInfo \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing DirectedChannelInfo \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/DirectionalChannelInfo.swift b/bindings/LDK/structs/DirectionalChannelInfo.swift deleted file mode 100644 index a4639ded..00000000 --- a/bindings/LDK/structs/DirectionalChannelInfo.swift +++ /dev/null @@ -1,195 +0,0 @@ -public class DirectionalChannelInfo: NativeTypeWrapper { - - private static var instanceCounter: UInt = 0 - internal let instanceNumber: UInt - - internal var cOpaqueStruct: LDKDirectionalChannelInfo? - - - /* DEFAULT_CONSTRUCTOR_START */ - public init(last_update_arg: UInt32, enabled_arg: Bool, cltv_expiry_delta_arg: UInt16, htlc_minimum_msat_arg: UInt64, htlc_maximum_msat_arg: Option_u64Z, fees_arg: RoutingFees, last_update_message_arg: ChannelUpdate) { - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - - self.cOpaqueStruct = DirectionalChannelInfo_new(last_update_arg, enabled_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg.danglingClone().cOpaqueStruct!, fees_arg.danglingClone().cOpaqueStruct!, last_update_message_arg.danglingClone().cOpaqueStruct!) - super.init(conflictAvoidingVariableName: 0) - } - /* DEFAULT_CONSTRUCTOR_END */ - - public init(pointer: LDKDirectionalChannelInfo){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - } - - public init(pointer: LDKDirectionalChannelInfo, anchor: NativeTypeWrapper){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - self.dangling = true - try! self.addAnchor(anchor: anchor) - } - - /* STRUCT_METHODS_START */ - - public func get_last_update() -> UInt32 { - - return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_last_update(this_ptrPointer) -}; - } - - public func set_last_update(val: UInt32) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_last_update(this_ptrPointer, val); - } - - public func get_enabled() -> Bool { - - return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_enabled(this_ptrPointer) -}; - } - - public func set_enabled(val: Bool) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_enabled(this_ptrPointer, val); - } - - public func get_cltv_expiry_delta() -> UInt16 { - - return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_cltv_expiry_delta(this_ptrPointer) -}; - } - - public func set_cltv_expiry_delta(val: UInt16) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_cltv_expiry_delta(this_ptrPointer, val); - } - - public func get_htlc_minimum_msat() -> UInt64 { - - return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_htlc_minimum_msat(this_ptrPointer) -}; - } - - public func set_htlc_minimum_msat(val: UInt64) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_htlc_minimum_msat(this_ptrPointer, val); - } - - public func get_htlc_maximum_msat() -> Option_u64Z { - - return Option_u64Z(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_htlc_maximum_msat(this_ptrPointer) -}); - } - - public func set_htlc_maximum_msat(val: Option_u64Z) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_htlc_maximum_msat(this_ptrPointer, val.danglingClone().cOpaqueStruct!); - } - - public func get_fees() -> RoutingFees { - - return RoutingFees(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_fees(this_ptrPointer) -}); - } - - public func set_fees(val: RoutingFees) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_fees(this_ptrPointer, val.danglingClone().cOpaqueStruct!); - } - - public func get_last_update_message() -> ChannelUpdate { - - return ChannelUpdate(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -DirectionalChannelInfo_get_last_update_message(this_ptrPointer) -}); - } - - public func set_last_update_message(val: ChannelUpdate) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return DirectionalChannelInfo_set_last_update_message(this_ptrPointer, val.danglingClone().cOpaqueStruct!); - } - - public func clone() -> DirectionalChannelInfo { - - return DirectionalChannelInfo(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in -DirectionalChannelInfo_clone(origPointer) -}); - } - - internal func danglingClone() -> DirectionalChannelInfo { - let dangledClone = self.clone() - dangledClone.dangling = true - return dangledClone - } - - - public func write() -> [UInt8] { - - return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in -DirectionalChannelInfo_write(objPointer) -}); - } - - public class func read(ser: [UInt8]) -> Result_DirectionalChannelInfoDecodeErrorZ { - - let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) - defer { - serWrapper.noOpRetain() - } - - return Result_DirectionalChannelInfoDecodeErrorZ(pointer: DirectionalChannelInfo_read(serWrapper.cOpaqueStruct!)); - } - - internal func free() -> Void { - - return DirectionalChannelInfo_free(self.cOpaqueStruct!); - } - - internal func dangle() -> DirectionalChannelInfo { - self.dangling = true - return self - } - - deinit { - if !self.dangling { - Bindings.print("Freeing DirectionalChannelInfo \(self.instanceNumber).") - self.free() - } else { - Bindings.print("Not freeing DirectionalChannelInfo \(self.instanceNumber) due to dangle.") - } - } - - - /* STRUCT_METHODS_END */ - -} diff --git a/bindings/LDK/structs/ExpiryTime.swift b/bindings/LDK/structs/ExpiryTime.swift index 59b71611..026eceee 100644 --- a/bindings/LDK/structs/ExpiryTime.swift +++ b/bindings/LDK/structs/ExpiryTime.swift @@ -6,7 +6,15 @@ public class ExpiryTime: NativeTypeWrapper { internal var cOpaqueStruct: LDKExpiryTime? - + /* DEFAULT_CONSTRUCTOR_START */ + public init(duration: UInt64) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = ExpiryTime_from_duration(duration) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ public init(pointer: LDKExpiryTime){ Self.instanceCounter += 1 @@ -56,16 +64,6 @@ ExpiryTime_eq(aPointer, bPointer) }; } - public class func from_seconds(seconds: UInt64) -> Result_ExpiryTimeCreationErrorZ { - - return Result_ExpiryTimeCreationErrorZ(pointer: ExpiryTime_from_seconds(seconds)); - } - - public class func from_duration(duration: UInt64) -> Result_ExpiryTimeCreationErrorZ { - - return Result_ExpiryTimeCreationErrorZ(pointer: ExpiryTime_from_duration(duration)); - } - public func as_seconds() -> UInt64 { return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/FixedPenaltyScorer.swift b/bindings/LDK/structs/FixedPenaltyScorer.swift new file mode 100644 index 00000000..b4cf11b3 --- /dev/null +++ b/bindings/LDK/structs/FixedPenaltyScorer.swift @@ -0,0 +1,97 @@ +public class FixedPenaltyScorer: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKFixedPenaltyScorer? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init(penalty_msat: UInt64) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = FixedPenaltyScorer_with_penalty(penalty_msat) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKFixedPenaltyScorer){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKFixedPenaltyScorer, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func clone() -> FixedPenaltyScorer { + + return FixedPenaltyScorer(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +FixedPenaltyScorer_clone(origPointer) +}); + } + + internal func danglingClone() -> FixedPenaltyScorer { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +FixedPenaltyScorer_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_FixedPenaltyScorerDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_FixedPenaltyScorerDecodeErrorZ(pointer: FixedPenaltyScorer_read(serWrapper.cOpaqueStruct!)); + } + + public func as_Score() -> NativelyImplementedScore { + + return NativelyImplementedScore(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +FixedPenaltyScorer_as_Score(this_argPointer) +}, anchor: self); + } + + internal func free() -> Void { + + return FixedPenaltyScorer_free(self.cOpaqueStruct!); + } + + internal func dangle() -> FixedPenaltyScorer { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing FixedPenaltyScorer \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing FixedPenaltyScorer \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/InMemorySigner.swift b/bindings/LDK/structs/InMemorySigner.swift index e26968f1..fcc3aee2 100644 --- a/bindings/LDK/structs/InMemorySigner.swift +++ b/bindings/LDK/structs/InMemorySigner.swift @@ -7,11 +7,11 @@ public class InMemorySigner: NativeTypeWrapper { /* DEFAULT_CONSTRUCTOR_START */ - public init(funding_key: [UInt8], revocation_base_key: [UInt8], payment_key: [UInt8], delayed_payment_base_key: [UInt8], htlc_base_key: [UInt8], commitment_seed: [UInt8], channel_value_satoshis: UInt64, channel_keys_id: [UInt8]) { + public init(node_secret: [UInt8], funding_key: [UInt8], revocation_base_key: [UInt8], payment_key: [UInt8], delayed_payment_base_key: [UInt8], htlc_base_key: [UInt8], commitment_seed: [UInt8], channel_value_satoshis: UInt64, channel_keys_id: [UInt8]) { Self.instanceCounter += 1 self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = InMemorySigner_new(Bindings.new_LDKSecretKey(array: funding_key), Bindings.new_LDKSecretKey(array: revocation_base_key), Bindings.new_LDKSecretKey(array: payment_key), Bindings.new_LDKSecretKey(array: delayed_payment_base_key), Bindings.new_LDKSecretKey(array: htlc_base_key), Bindings.new_LDKThirtyTwoBytes(array: commitment_seed), channel_value_satoshis, Bindings.new_LDKThirtyTwoBytes(array: channel_keys_id)) + self.cOpaqueStruct = InMemorySigner_new(Bindings.new_LDKSecretKey(array: node_secret), Bindings.new_LDKSecretKey(array: funding_key), Bindings.new_LDKSecretKey(array: revocation_base_key), Bindings.new_LDKSecretKey(array: payment_key), Bindings.new_LDKSecretKey(array: delayed_payment_base_key), Bindings.new_LDKSecretKey(array: htlc_base_key), Bindings.new_LDKThirtyTwoBytes(array: commitment_seed), channel_value_satoshis, Bindings.new_LDKThirtyTwoBytes(array: channel_keys_id)) super.init(conflictAvoidingVariableName: 0) } /* DEFAULT_CONSTRUCTOR_END */ @@ -245,14 +245,14 @@ InMemorySigner_write(objPointer) }); } - public class func read(ser: [UInt8]) -> Result_InMemorySignerDecodeErrorZ { + public class func read(ser: [UInt8], arg: [UInt8]) -> Result_InMemorySignerDecodeErrorZ { let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) defer { serWrapper.noOpRetain() } - return Result_InMemorySignerDecodeErrorZ(pointer: InMemorySigner_read(serWrapper.cOpaqueStruct!)); + return Result_InMemorySignerDecodeErrorZ(pointer: InMemorySigner_read(serWrapper.cOpaqueStruct!, Bindings.new_LDKSecretKey(array: arg))); } internal func free() -> Void { diff --git a/bindings/LDK/structs/Invoice.swift b/bindings/LDK/structs/Invoice.swift index 946fd7b5..7aec1e00 100644 --- a/bindings/LDK/structs/Invoice.swift +++ b/bindings/LDK/structs/Invoice.swift @@ -73,6 +73,13 @@ Invoice_timestamp(this_argPointer) }; } + public func duration_since_epoch() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +Invoice_duration_since_epoch(this_argPointer) +}; + } + public func payment_hash() -> [UInt8] { return Bindings.tuple32_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in @@ -122,6 +129,13 @@ Invoice_is_expired(this_argPointer) }; } + public func would_expire(at_time: UInt64) -> Bool { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +Invoice_would_expire(this_argPointer, at_time) +}; + } + public func min_final_cltv_expiry() -> UInt64 { return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/NetworkGraph.swift b/bindings/LDK/structs/NetworkGraph.swift index 488e38c7..b3a06257 100644 --- a/bindings/LDK/structs/NetworkGraph.swift +++ b/bindings/LDK/structs/NetworkGraph.swift @@ -122,6 +122,13 @@ NetworkGraph_fail_node(this_argPointer, Bindings.new_LDKPublicKey(array: _node_i }; } + public func remove_stale_channels() -> Void { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +NetworkGraph_remove_stale_channels(this_argPointer) +}; + } + public func remove_stale_channels_with_time(current_time_unix: UInt64) -> Void { return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/Payee.swift b/bindings/LDK/structs/Payee.swift deleted file mode 100644 index 0a83ad5d..00000000 --- a/bindings/LDK/structs/Payee.swift +++ /dev/null @@ -1,186 +0,0 @@ -public class Payee: NativeTypeWrapper { - - private static var instanceCounter: UInt = 0 - internal let instanceNumber: UInt - - internal var cOpaqueStruct: LDKPayee? - - - /* DEFAULT_CONSTRUCTOR_START */ - public init(pubkey: [UInt8]) { - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - - self.cOpaqueStruct = Payee_for_keysend(Bindings.new_LDKPublicKey(array: pubkey)) - super.init(conflictAvoidingVariableName: 0) - } - /* DEFAULT_CONSTRUCTOR_END */ - - public init(pointer: LDKPayee){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - } - - public init(pointer: LDKPayee, anchor: NativeTypeWrapper){ - Self.instanceCounter += 1 - self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = pointer - super.init(conflictAvoidingVariableName: 0) - self.dangling = true - try! self.addAnchor(anchor: anchor) - } - - /* STRUCT_METHODS_START */ - - public func get_pubkey() -> [UInt8] { - - return Bindings.LDKPublicKey_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -Payee_get_pubkey(this_ptrPointer) -}); - } - - public func set_pubkey(val: [UInt8]) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return Payee_set_pubkey(this_ptrPointer, Bindings.new_LDKPublicKey(array: val)); - } - - public func get_features() -> InvoiceFeatures { - - return InvoiceFeatures(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -Payee_get_features(this_ptrPointer) -}); - } - - public func set_features(val: InvoiceFeatures) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return Payee_set_features(this_ptrPointer, val.danglingClone().cOpaqueStruct!); - } - - public func get_route_hints() -> [RouteHint] { - - return Bindings.LDKCVec_RouteHintZ_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -Payee_get_route_hints(this_ptrPointer) -}) - - .map { (cOpaqueStruct) in - RouteHint(pointer: cOpaqueStruct) - } - ; - } - - public func set_route_hints(val: [RouteHint]) -> Void { - - let valUnwrapped = val.map { (valCurrentValue) in - valCurrentValue - .danglingClone().cOpaqueStruct! - } - - return self.set_route_hints(val: valUnwrapped); - } - - internal func set_route_hints(val: [LDKRouteHint]) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - let valWrapper = Bindings.new_LDKCVec_RouteHintZWrapper(array: val) - defer { - valWrapper.noOpRetain() - } - - return Payee_set_route_hints(this_ptrPointer, valWrapper.dangle().cOpaqueStruct!); - } - - public func get_expiry_time() -> Option_u64Z { - - return Option_u64Z(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -Payee_get_expiry_time(this_ptrPointer) -}); - } - - public func set_expiry_time(val: Option_u64Z) -> Void { - - let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) - this_ptrPointer.initialize(to: self.cOpaqueStruct!) - - return Payee_set_expiry_time(this_ptrPointer, val.danglingClone().cOpaqueStruct!); - } - - public func clone() -> Payee { - - return Payee(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in -Payee_clone(origPointer) -}); - } - - internal func danglingClone() -> Payee { - let dangledClone = self.clone() - dangledClone.dangling = true - return dangledClone - } - - - public func hash() -> UInt64 { - - return withUnsafePointer(to: self.cOpaqueStruct!) { (oPointer: UnsafePointer) in -Payee_hash(oPointer) -}; - } - - public class func eq(a: Payee, b: Payee) -> Bool { - - return withUnsafePointer(to: a.cOpaqueStruct!) { (aPointer: UnsafePointer) in -withUnsafePointer(to: b.cOpaqueStruct!) { (bPointer: UnsafePointer) in -Payee_eq(aPointer, bPointer) -} -}; - } - - public func write() -> [UInt8] { - - return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in -Payee_write(objPointer) -}); - } - - public class func read(ser: [UInt8]) -> Result_PayeeDecodeErrorZ { - - let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) - defer { - serWrapper.noOpRetain() - } - - return Result_PayeeDecodeErrorZ(pointer: Payee_read(serWrapper.cOpaqueStruct!)); - } - - internal func free() -> Void { - - return Payee_free(self.cOpaqueStruct!); - } - - internal func dangle() -> Payee { - self.dangling = true - return self - } - - deinit { - if !self.dangling { - Bindings.print("Freeing Payee \(self.instanceNumber).") - self.free() - } else { - Bindings.print("Not freeing Payee \(self.instanceNumber) due to dangle.") - } - } - - - /* STRUCT_METHODS_END */ - -} diff --git a/bindings/LDK/structs/PaymentParameters.swift b/bindings/LDK/structs/PaymentParameters.swift new file mode 100644 index 00000000..47e3dfaf --- /dev/null +++ b/bindings/LDK/structs/PaymentParameters.swift @@ -0,0 +1,201 @@ +public class PaymentParameters: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKPaymentParameters? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init(payee_pubkey: [UInt8]) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = PaymentParameters_for_keysend(Bindings.new_LDKPublicKey(array: payee_pubkey)) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKPaymentParameters){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKPaymentParameters, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func get_payee_pubkey() -> [UInt8] { + + return Bindings.LDKPublicKey_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PaymentParameters_get_payee_pubkey(this_ptrPointer) +}); + } + + public func set_payee_pubkey(val: [UInt8]) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PaymentParameters_set_payee_pubkey(this_ptrPointer, Bindings.new_LDKPublicKey(array: val)); + } + + public func get_features() -> InvoiceFeatures { + + return InvoiceFeatures(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PaymentParameters_get_features(this_ptrPointer) +}); + } + + public func set_features(val: InvoiceFeatures) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PaymentParameters_set_features(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + + public func get_route_hints() -> [RouteHint] { + + return Bindings.LDKCVec_RouteHintZ_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PaymentParameters_get_route_hints(this_ptrPointer) +}) + + .map { (cOpaqueStruct) in + RouteHint(pointer: cOpaqueStruct) + } + ; + } + + public func set_route_hints(val: [RouteHint]) -> Void { + + let valUnwrapped = val.map { (valCurrentValue) in + valCurrentValue + .danglingClone().cOpaqueStruct! + } + + return self.set_route_hints(val: valUnwrapped); + } + + internal func set_route_hints(val: [LDKRouteHint]) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + let valWrapper = Bindings.new_LDKCVec_RouteHintZWrapper(array: val) + defer { + valWrapper.noOpRetain() + } + + return PaymentParameters_set_route_hints(this_ptrPointer, valWrapper.dangle().cOpaqueStruct!); + } + + public func get_expiry_time() -> Option_u64Z { + + return Option_u64Z(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PaymentParameters_get_expiry_time(this_ptrPointer) +}); + } + + public func set_expiry_time(val: Option_u64Z) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PaymentParameters_set_expiry_time(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + } + + public func get_max_total_cltv_expiry_delta() -> UInt32 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PaymentParameters_get_max_total_cltv_expiry_delta(this_ptrPointer) +}; + } + + public func set_max_total_cltv_expiry_delta(val: UInt32) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PaymentParameters_set_max_total_cltv_expiry_delta(this_ptrPointer, val); + } + + public func clone() -> PaymentParameters { + + return PaymentParameters(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +PaymentParameters_clone(origPointer) +}); + } + + internal func danglingClone() -> PaymentParameters { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func hash() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (oPointer: UnsafePointer) in +PaymentParameters_hash(oPointer) +}; + } + + public class func eq(a: PaymentParameters, b: PaymentParameters) -> Bool { + + return withUnsafePointer(to: a.cOpaqueStruct!) { (aPointer: UnsafePointer) in +withUnsafePointer(to: b.cOpaqueStruct!) { (bPointer: UnsafePointer) in +PaymentParameters_eq(aPointer, bPointer) +} +}; + } + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +PaymentParameters_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_PaymentParametersDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_PaymentParametersDecodeErrorZ(pointer: PaymentParameters_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return PaymentParameters_free(self.cOpaqueStruct!); + } + + internal func dangle() -> PaymentParameters { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing PaymentParameters \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing PaymentParameters \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/PhantomKeysManager.swift b/bindings/LDK/structs/PhantomKeysManager.swift new file mode 100644 index 00000000..07a6eb72 --- /dev/null +++ b/bindings/LDK/structs/PhantomKeysManager.swift @@ -0,0 +1,116 @@ +public class PhantomKeysManager: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKPhantomKeysManager? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init(seed: [UInt8], starting_time_secs: UInt64, starting_time_nanos: UInt32, cross_node_seed: [UInt8]) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = withUnsafePointer(to: Bindings.array_to_tuple32(array: seed)) { (seedPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>) in +withUnsafePointer(to: Bindings.array_to_tuple32(array: cross_node_seed)) { (cross_node_seedPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>) in +PhantomKeysManager_new(seedPointer, starting_time_secs, starting_time_nanos, cross_node_seedPointer) +} +} + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKPhantomKeysManager){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKPhantomKeysManager, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func as_KeysInterface() -> NativelyImplementedKeysInterface { + + return NativelyImplementedKeysInterface(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +PhantomKeysManager_as_KeysInterface(this_argPointer) +}, anchor: self); + } + + public func spend_spendable_outputs(descriptors: [SpendableOutputDescriptor], outputs: [TxOut], change_destination_script: [UInt8], feerate_sat_per_1000_weight: UInt32) -> Result_TransactionNoneZ { + + let descriptorsUnwrapped = descriptors.map { (descriptorsCurrentValue) in + descriptorsCurrentValue + .danglingClone().cOpaqueStruct! + } + + let outputsUnwrapped = outputs.map { (outputsCurrentValue) in + outputsCurrentValue + .danglingClone().cOpaqueStruct! + } + + return self.spend_spendable_outputs(descriptors: descriptorsUnwrapped, outputs: outputsUnwrapped, change_destination_script: change_destination_script, feerate_sat_per_1000_weight: feerate_sat_per_1000_weight); + } + + internal func spend_spendable_outputs(descriptors: [LDKSpendableOutputDescriptor], outputs: [LDKTxOut], change_destination_script: [UInt8], feerate_sat_per_1000_weight: UInt32) -> Result_TransactionNoneZ { + + let descriptorsWrapper = Bindings.new_LDKCVec_SpendableOutputDescriptorZWrapper(array: descriptors) + defer { + descriptorsWrapper.noOpRetain() + } + + let outputsWrapper = Bindings.new_LDKCVec_TxOutZWrapper(array: outputs) + defer { + outputsWrapper.noOpRetain() + } + + let change_destination_scriptWrapper = Bindings.new_LDKCVec_u8ZWrapper(array: change_destination_script) + defer { + change_destination_scriptWrapper.noOpRetain() + } + + return Result_TransactionNoneZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +PhantomKeysManager_spend_spendable_outputs(this_argPointer, descriptorsWrapper.dangle().cOpaqueStruct!, outputsWrapper.dangle().cOpaqueStruct!, change_destination_scriptWrapper.dangle().cOpaqueStruct!, feerate_sat_per_1000_weight) +}); + } + + public func derive_channel_keys(channel_value_satoshis: UInt64, params: [UInt8]) -> InMemorySigner { + + return InMemorySigner(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +withUnsafePointer(to: Bindings.array_to_tuple32(array: params)) { (paramsPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>) in +PhantomKeysManager_derive_channel_keys(this_argPointer, channel_value_satoshis, paramsPointer) +} +}); + } + + internal func free() -> Void { + + return PhantomKeysManager_free(self.cOpaqueStruct!); + } + + internal func dangle() -> PhantomKeysManager { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing PhantomKeysManager \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing PhantomKeysManager \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/PhantomRouteHints.swift b/bindings/LDK/structs/PhantomRouteHints.swift new file mode 100644 index 00000000..40c76e7b --- /dev/null +++ b/bindings/LDK/structs/PhantomRouteHints.swift @@ -0,0 +1,169 @@ +public class PhantomRouteHints: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKPhantomRouteHints? + + + /* DEFAULT_CONSTRUCTOR_START */ + internal init(channels_arg: [LDKChannelDetails], phantom_scid_arg: UInt64, real_node_pubkey_arg: [UInt8]) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + let channels_argWrapper = Bindings.new_LDKCVec_ChannelDetailsZWrapper(array: channels_arg) + defer { + channels_argWrapper.noOpRetain() + } + + self.cOpaqueStruct = PhantomRouteHints_new(channels_argWrapper.dangle().cOpaqueStruct!, phantom_scid_arg, Bindings.new_LDKPublicKey(array: real_node_pubkey_arg)) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKPhantomRouteHints){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKPhantomRouteHints, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + public convenience init(channels_arg: [ChannelDetails], phantom_scid_arg: UInt64, real_node_pubkey_arg: [UInt8]) { + + let channels_argUnwrapped = channels_arg.map { (channels_argCurrentValue) in + channels_argCurrentValue + .danglingClone().cOpaqueStruct! + } + + self.init(channels_arg: channels_argUnwrapped, phantom_scid_arg: phantom_scid_arg, real_node_pubkey_arg: real_node_pubkey_arg); + } + + public func get_channels() -> [ChannelDetails] { + + return Bindings.LDKCVec_ChannelDetailsZ_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PhantomRouteHints_get_channels(this_ptrPointer) +}) + + .map { (cOpaqueStruct) in + ChannelDetails(pointer: cOpaqueStruct) + } + ; + } + + public func set_channels(val: [ChannelDetails]) -> Void { + + let valUnwrapped = val.map { (valCurrentValue) in + valCurrentValue + .danglingClone().cOpaqueStruct! + } + + return self.set_channels(val: valUnwrapped); + } + + internal func set_channels(val: [LDKChannelDetails]) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + let valWrapper = Bindings.new_LDKCVec_ChannelDetailsZWrapper(array: val) + defer { + valWrapper.noOpRetain() + } + + return PhantomRouteHints_set_channels(this_ptrPointer, valWrapper.dangle().cOpaqueStruct!); + } + + public func get_phantom_scid() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PhantomRouteHints_get_phantom_scid(this_ptrPointer) +}; + } + + public func set_phantom_scid(val: UInt64) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PhantomRouteHints_set_phantom_scid(this_ptrPointer, val); + } + + public func get_real_node_pubkey() -> [UInt8] { + + return Bindings.LDKPublicKey_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +PhantomRouteHints_get_real_node_pubkey(this_ptrPointer) +}); + } + + public func set_real_node_pubkey(val: [UInt8]) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return PhantomRouteHints_set_real_node_pubkey(this_ptrPointer, Bindings.new_LDKPublicKey(array: val)); + } + + public func clone() -> PhantomRouteHints { + + return PhantomRouteHints(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +PhantomRouteHints_clone(origPointer) +}); + } + + internal func danglingClone() -> PhantomRouteHints { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +PhantomRouteHints_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_PhantomRouteHintsDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_PhantomRouteHintsDecodeErrorZ(pointer: PhantomRouteHints_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return PhantomRouteHints_free(self.cOpaqueStruct!); + } + + internal func dangle() -> PhantomRouteHints { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing PhantomRouteHints \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing PhantomRouteHints \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/PositiveTimestamp.swift b/bindings/LDK/structs/PositiveTimestamp.swift index 08b34d01..d89c8314 100644 --- a/bindings/LDK/structs/PositiveTimestamp.swift +++ b/bindings/LDK/structs/PositiveTimestamp.swift @@ -59,6 +59,11 @@ PositiveTimestamp_clone(origPointer) return Result_PositiveTimestampCreationErrorZ(pointer: PositiveTimestamp_from_system_time(time)); } + public class func from_duration_since_epoch(duration: UInt64) -> Result_PositiveTimestampCreationErrorZ { + + return Result_PositiveTimestampCreationErrorZ(pointer: PositiveTimestamp_from_duration_since_epoch(duration)); + } + public func as_unix_timestamp() -> UInt64 { return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in @@ -66,6 +71,13 @@ PositiveTimestamp_as_unix_timestamp(this_argPointer) }; } + public func as_duration_since_epoch() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in +PositiveTimestamp_as_duration_since_epoch(this_argPointer) +}; + } + public func as_time() -> UInt64 { return withUnsafePointer(to: self.cOpaqueStruct!) { (this_argPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/ProbabilisticScoringParameters.swift b/bindings/LDK/structs/ProbabilisticScoringParameters.swift new file mode 100644 index 00000000..15e81f27 --- /dev/null +++ b/bindings/LDK/structs/ProbabilisticScoringParameters.swift @@ -0,0 +1,120 @@ +public class ProbabilisticScoringParameters: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKProbabilisticScoringParameters? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init() { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = ProbabilisticScoringParameters_default() + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKProbabilisticScoringParameters){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKProbabilisticScoringParameters, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func get_liquidity_penalty_multiplier_msat() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(this_ptrPointer) +}; + } + + public func set_liquidity_penalty_multiplier_msat(val: UInt64) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(this_ptrPointer, val); + } + + public func get_liquidity_offset_half_life() -> UInt64 { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +ProbabilisticScoringParameters_get_liquidity_offset_half_life(this_ptrPointer) +}; + } + + public func set_liquidity_offset_half_life(val: UInt64) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return ProbabilisticScoringParameters_set_liquidity_offset_half_life(this_ptrPointer, val); + } + + public func clone() -> ProbabilisticScoringParameters { + + return ProbabilisticScoringParameters(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +ProbabilisticScoringParameters_clone(origPointer) +}); + } + + internal func danglingClone() -> ProbabilisticScoringParameters { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +ProbabilisticScoringParameters_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_ProbabilisticScoringParametersDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_ProbabilisticScoringParametersDecodeErrorZ(pointer: ProbabilisticScoringParameters_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return ProbabilisticScoringParameters_free(self.cOpaqueStruct!); + } + + internal func dangle() -> ProbabilisticScoringParameters { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing ProbabilisticScoringParameters \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing ProbabilisticScoringParameters \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/structs/Route.swift b/bindings/LDK/structs/Route.swift index c84470bc..75afe275 100644 --- a/bindings/LDK/structs/Route.swift +++ b/bindings/LDK/structs/Route.swift @@ -7,7 +7,7 @@ public class Route: NativeTypeWrapper { /* DEFAULT_CONSTRUCTOR_START */ - internal init(paths_arg: [[LDKRouteHop]], payee_arg: Payee) { + internal init(paths_arg: [[LDKRouteHop]], payment_params_arg: PaymentParameters) { Self.instanceCounter += 1 self.instanceNumber = Self.instanceCounter @@ -16,7 +16,7 @@ public class Route: NativeTypeWrapper { paths_argWrapper.noOpRetain() } - self.cOpaqueStruct = Route_new(paths_argWrapper.dangle().cOpaqueStruct!, payee_arg.danglingClone().cOpaqueStruct!) + self.cOpaqueStruct = Route_new(paths_argWrapper.dangle().cOpaqueStruct!, payment_params_arg.danglingClone().cOpaqueStruct!) super.init(conflictAvoidingVariableName: 0) } /* DEFAULT_CONSTRUCTOR_END */ @@ -38,7 +38,7 @@ public class Route: NativeTypeWrapper { } /* STRUCT_METHODS_START */ - public convenience init(paths_arg: [[RouteHop]], payee_arg: Payee) { + public convenience init(paths_arg: [[RouteHop]], payment_params_arg: PaymentParameters) { let paths_argUnwrapped = paths_arg.map { (paths_argCurrentValue) in paths_argCurrentValue.map { (paths_argCurrentValue) in @@ -46,7 +46,7 @@ public class Route: NativeTypeWrapper { .danglingClone().cOpaqueStruct! }} - self.init(paths_arg: paths_argUnwrapped, payee_arg: payee_arg); + self.init(paths_arg: paths_argUnwrapped, payment_params_arg: payment_params_arg); } public func get_paths() -> [[RouteHop]] { @@ -86,19 +86,19 @@ Route_get_paths(this_ptrPointer) return Route_set_paths(this_ptrPointer, valWrapper.dangle().cOpaqueStruct!); } - public func get_payee() -> Payee { + public func get_payment_params() -> PaymentParameters { - return Payee(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -Route_get_payee(this_ptrPointer) + return PaymentParameters(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +Route_get_payment_params(this_ptrPointer) }); } - public func set_payee(val: Payee) -> Void { + public func set_payment_params(val: PaymentParameters) -> Void { let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) this_ptrPointer.initialize(to: self.cOpaqueStruct!) - return Route_set_payee(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + return Route_set_payment_params(this_ptrPointer, val.danglingClone().cOpaqueStruct!); } public func clone() -> Route { diff --git a/bindings/LDK/structs/RouteParameters.swift b/bindings/LDK/structs/RouteParameters.swift index 2f905102..67894e1b 100644 --- a/bindings/LDK/structs/RouteParameters.swift +++ b/bindings/LDK/structs/RouteParameters.swift @@ -7,11 +7,11 @@ public class RouteParameters: NativeTypeWrapper { /* DEFAULT_CONSTRUCTOR_START */ - public init(payee_arg: Payee, final_value_msat_arg: UInt64, final_cltv_expiry_delta_arg: UInt32) { + public init(payment_params_arg: PaymentParameters, final_value_msat_arg: UInt64, final_cltv_expiry_delta_arg: UInt32) { Self.instanceCounter += 1 self.instanceNumber = Self.instanceCounter - self.cOpaqueStruct = RouteParameters_new(payee_arg.danglingClone().cOpaqueStruct!, final_value_msat_arg, final_cltv_expiry_delta_arg) + self.cOpaqueStruct = RouteParameters_new(payment_params_arg.danglingClone().cOpaqueStruct!, final_value_msat_arg, final_cltv_expiry_delta_arg) super.init(conflictAvoidingVariableName: 0) } /* DEFAULT_CONSTRUCTOR_END */ @@ -34,19 +34,19 @@ public class RouteParameters: NativeTypeWrapper { /* STRUCT_METHODS_START */ - public func get_payee() -> Payee { + public func get_payment_params() -> PaymentParameters { - return Payee(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in -RouteParameters_get_payee(this_ptrPointer) + return PaymentParameters(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +RouteParameters_get_payment_params(this_ptrPointer) }); } - public func set_payee(val: Payee) -> Void { + public func set_payment_params(val: PaymentParameters) -> Void { let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) this_ptrPointer.initialize(to: self.cOpaqueStruct!) - return RouteParameters_set_payee(this_ptrPointer, val.danglingClone().cOpaqueStruct!); + return RouteParameters_set_payment_params(this_ptrPointer, val.danglingClone().cOpaqueStruct!); } public func get_final_value_msat() -> UInt64 { diff --git a/bindings/LDK/structs/ScoringParameters.swift b/bindings/LDK/structs/ScoringParameters.swift index 52f62a83..d76f2ae2 100644 --- a/bindings/LDK/structs/ScoringParameters.swift +++ b/bindings/LDK/structs/ScoringParameters.swift @@ -109,6 +109,20 @@ ScoringParameters_get_failure_penalty_half_life(this_ptrPointer) return ScoringParameters_set_failure_penalty_half_life(this_ptrPointer, val); } + public func clone() -> ScoringParameters { + + return ScoringParameters(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +ScoringParameters_clone(origPointer) +}); + } + + internal func danglingClone() -> ScoringParameters { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + public func write() -> [UInt8] { return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/UserConfig.swift b/bindings/LDK/structs/UserConfig.swift index 5a9eaa0b..893b99d5 100644 --- a/bindings/LDK/structs/UserConfig.swift +++ b/bindings/LDK/structs/UserConfig.swift @@ -109,6 +109,21 @@ UserConfig_get_accept_inbound_channels(this_ptrPointer) return UserConfig_set_accept_inbound_channels(this_ptrPointer, val); } + public func get_manually_accept_inbound_channels() -> Bool { + + return withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +UserConfig_get_manually_accept_inbound_channels(this_ptrPointer) +}; + } + + public func set_manually_accept_inbound_channels(val: Bool) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return UserConfig_set_manually_accept_inbound_channels(this_ptrPointer, val); + } + public func clone() -> UserConfig { return UserConfig(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in diff --git a/bindings/LDK/structs/WarningMessage.swift b/bindings/LDK/structs/WarningMessage.swift new file mode 100644 index 00000000..473fb606 --- /dev/null +++ b/bindings/LDK/structs/WarningMessage.swift @@ -0,0 +1,120 @@ +public class WarningMessage: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKWarningMessage? + + + /* DEFAULT_CONSTRUCTOR_START */ + public init(channel_id_arg: [UInt8], data_arg: String) { + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + + self.cOpaqueStruct = WarningMessage_new(Bindings.new_LDKThirtyTwoBytes(array: channel_id_arg), Bindings.new_LDKStr(string: data_arg)) + super.init(conflictAvoidingVariableName: 0) + } + /* DEFAULT_CONSTRUCTOR_END */ + + public init(pointer: LDKWarningMessage){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKWarningMessage, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* STRUCT_METHODS_START */ + + public func get_channel_id() -> [UInt8] { + + return Bindings.tuple32_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +WarningMessage_get_channel_id(this_ptrPointer) +}.pointee); + } + + public func set_channel_id(val: [UInt8]) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return WarningMessage_set_channel_id(this_ptrPointer, Bindings.new_LDKThirtyTwoBytes(array: val)); + } + + public func get_data() -> String { + + return Bindings.LDKStr_to_string(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (this_ptrPointer: UnsafePointer) in +WarningMessage_get_data(this_ptrPointer) +}); + } + + public func set_data(val: String) -> Void { + + let this_ptrPointer = UnsafeMutablePointer.allocate(capacity: 1) + this_ptrPointer.initialize(to: self.cOpaqueStruct!) + + return WarningMessage_set_data(this_ptrPointer, Bindings.new_LDKStr(string: val)); + } + + public func clone() -> WarningMessage { + + return WarningMessage(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +WarningMessage_clone(origPointer) +}); + } + + internal func danglingClone() -> WarningMessage { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public func write() -> [UInt8] { + + return Bindings.LDKCVec_u8Z_to_array(nativeType: withUnsafePointer(to: self.cOpaqueStruct!) { (objPointer: UnsafePointer) in +WarningMessage_write(objPointer) +}); + } + + public class func read(ser: [UInt8]) -> Result_WarningMessageDecodeErrorZ { + + let serWrapper = Bindings.new_LDKu8sliceWrapper(array: ser) + defer { + serWrapper.noOpRetain() + } + + return Result_WarningMessageDecodeErrorZ(pointer: WarningMessage_read(serWrapper.cOpaqueStruct!)); + } + + internal func free() -> Void { + + return WarningMessage_free(self.cOpaqueStruct!); + } + + internal func dangle() -> WarningMessage { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing WarningMessage \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing WarningMessage \(self.instanceNumber) due to dangle.") + } + } + + + /* STRUCT_METHODS_END */ + +} diff --git a/bindings/LDK/traits/BaseSign.swift b/bindings/LDK/traits/BaseSign.swift index 523b6929..6de5fbe6 100644 --- a/bindings/LDK/traits/BaseSign.swift +++ b/bindings/LDK/traits/BaseSign.swift @@ -25,11 +25,11 @@ open class BaseSign: NativeTypeWrapper { return Bindings.new_LDKThirtyTwoBytes(array: instance.release_commitment_secret(idx: idx)) } - func validate_holder_commitmentCallback(pointer: UnsafeRawPointer?, holder_txPointer: UnsafePointer) -> LDKCResult_NoneNoneZ { + func validate_holder_commitmentCallback(pointer: UnsafeRawPointer?, holder_txPointer: UnsafePointer, preimages: LDKCVec_PaymentPreimageZ) -> LDKCResult_NoneNoneZ { let instance: BaseSign = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "BaseSign.swift::validate_holder_commitment") let holder_tx = HolderCommitmentTransaction(pointer: holder_txPointer.pointee).dangle(); - return instance.validate_holder_commitment(holder_tx: holder_tx).cOpaqueStruct! + return instance.validate_holder_commitment(holder_tx: holder_tx, preimages: Bindings.LDKCVec_PaymentPreimageZ_to_array(nativeType: preimages)).cOpaqueStruct! } func channel_keys_idCallback(pointer: UnsafeRawPointer?) -> LDKThirtyTwoBytes { @@ -38,11 +38,11 @@ open class BaseSign: NativeTypeWrapper { return Bindings.new_LDKThirtyTwoBytes(array: instance.channel_keys_id()) } - func sign_counterparty_commitmentCallback(pointer: UnsafeRawPointer?, commitment_txPointer: UnsafePointer) -> LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ { + func sign_counterparty_commitmentCallback(pointer: UnsafeRawPointer?, commitment_txPointer: UnsafePointer, preimages: LDKCVec_PaymentPreimageZ) -> LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ { let instance: BaseSign = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "BaseSign.swift::sign_counterparty_commitment") let commitment_tx = CommitmentTransaction(pointer: commitment_txPointer.pointee).dangle(); - return instance.sign_counterparty_commitment(commitment_tx: commitment_tx).cOpaqueStruct! + return instance.sign_counterparty_commitment(commitment_tx: commitment_tx, preimages: Bindings.LDKCVec_PaymentPreimageZ_to_array(nativeType: preimages)).cOpaqueStruct! } func validate_counterparty_revocationCallback(pointer: UnsafeRawPointer?, idx: UInt64, secretPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>?) -> LDKCResult_NoneNoneZ { @@ -100,7 +100,7 @@ open class BaseSign: NativeTypeWrapper { return instance.sign_closing_transaction(closing_tx: closing_tx).cOpaqueStruct! } - func sign_channel_announcementCallback(pointer: UnsafeRawPointer?, msgPointer: UnsafePointer) -> LDKCResult_SignatureNoneZ { + func sign_channel_announcementCallback(pointer: UnsafeRawPointer?, msgPointer: UnsafePointer) -> LDKCResult_C2Tuple_SignatureSignatureZNoneZ { let instance: BaseSign = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "BaseSign.swift::sign_channel_announcement") let msg = UnsignedChannelAnnouncement(pointer: msgPointer.pointee).dangle(); @@ -192,7 +192,7 @@ return [UInt8]() return [UInt8]() } - open func validate_holder_commitment(holder_tx: HolderCommitmentTransaction) -> Result_NoneNoneZ { + open func validate_holder_commitment(holder_tx: HolderCommitmentTransaction, preimages: [[UInt8]]) -> Result_NoneNoneZ { /* EDIT ME */ Bindings.print("BaseSign::validate_holder_commitment should be overridden!", severity: .WARNING) @@ -206,7 +206,7 @@ return Result_NoneNoneZ() return [UInt8]() } - open func sign_counterparty_commitment(commitment_tx: CommitmentTransaction) -> Result_C2Tuple_SignatureCVec_SignatureZZNoneZ { + open func sign_counterparty_commitment(commitment_tx: CommitmentTransaction, preimages: [[UInt8]]) -> Result_C2Tuple_SignatureCVec_SignatureZZNoneZ { /* EDIT ME */ Bindings.print("BaseSign::sign_counterparty_commitment should be overridden!", severity: .WARNING) @@ -255,11 +255,11 @@ return Result_SignatureNoneZ() return Result_SignatureNoneZ() } - open func sign_channel_announcement(msg: UnsignedChannelAnnouncement) -> Result_SignatureNoneZ { + open func sign_channel_announcement(msg: UnsignedChannelAnnouncement) -> Result_C2Tuple_SignatureSignatureZNoneZ { /* EDIT ME */ Bindings.print("BaseSign::sign_channel_announcement should be overridden!", severity: .WARNING) -return Result_SignatureNoneZ() +return Result_C2Tuple_SignatureSignatureZNoneZ() } open func ready_channel(channel_parameters: ChannelTransactionParameters) -> Void { @@ -302,12 +302,17 @@ public class NativelyImplementedBaseSign: BaseSign { } - public override func validate_holder_commitment(holder_tx: HolderCommitmentTransaction) -> Result_NoneNoneZ { + public override func validate_holder_commitment(holder_tx: HolderCommitmentTransaction, preimages: [[UInt8]]) -> Result_NoneNoneZ { + let preimagesWrapper = Bindings.new_LDKCVec_PaymentPreimageZWrapper(array: preimages) + defer { + preimagesWrapper.noOpRetain() + } + return withUnsafePointer(to: holder_tx.cOpaqueStruct!) { (holder_txPointer: UnsafePointer) in - Result_NoneNoneZ(pointer: self.cOpaqueStruct!.validate_holder_commitment(self.cOpaqueStruct!.this_arg, holder_txPointer)) + Result_NoneNoneZ(pointer: self.cOpaqueStruct!.validate_holder_commitment(self.cOpaqueStruct!.this_arg, holder_txPointer, preimagesWrapper.dangle().cOpaqueStruct!)) } @@ -322,12 +327,17 @@ public class NativelyImplementedBaseSign: BaseSign { } - public override func sign_counterparty_commitment(commitment_tx: CommitmentTransaction) -> Result_C2Tuple_SignatureCVec_SignatureZZNoneZ { + public override func sign_counterparty_commitment(commitment_tx: CommitmentTransaction, preimages: [[UInt8]]) -> Result_C2Tuple_SignatureCVec_SignatureZZNoneZ { + let preimagesWrapper = Bindings.new_LDKCVec_PaymentPreimageZWrapper(array: preimages) + defer { + preimagesWrapper.noOpRetain() + } + return withUnsafePointer(to: commitment_tx.cOpaqueStruct!) { (commitment_txPointer: UnsafePointer) in - Result_C2Tuple_SignatureCVec_SignatureZZNoneZ(pointer: self.cOpaqueStruct!.sign_counterparty_commitment(self.cOpaqueStruct!.this_arg, commitment_txPointer)) + Result_C2Tuple_SignatureCVec_SignatureZZNoneZ(pointer: self.cOpaqueStruct!.sign_counterparty_commitment(self.cOpaqueStruct!.this_arg, commitment_txPointer, preimagesWrapper.dangle().cOpaqueStruct!)) } @@ -416,12 +426,12 @@ withUnsafePointer(to: htlc.cOpaqueStruct!) { (htlcPointer: UnsafePointer Result_SignatureNoneZ { + public override func sign_channel_announcement(msg: UnsignedChannelAnnouncement) -> Result_C2Tuple_SignatureSignatureZNoneZ { return withUnsafePointer(to: msg.cOpaqueStruct!) { (msgPointer: UnsafePointer) in - Result_SignatureNoneZ(pointer: self.cOpaqueStruct!.sign_channel_announcement(self.cOpaqueStruct!.this_arg, msgPointer)) + Result_C2Tuple_SignatureSignatureZNoneZ(pointer: self.cOpaqueStruct!.sign_channel_announcement(self.cOpaqueStruct!.this_arg, msgPointer)) } diff --git a/bindings/LDK/traits/KeysInterface.swift b/bindings/LDK/traits/KeysInterface.swift index 18a34200..239fdeb6 100644 --- a/bindings/LDK/traits/KeysInterface.swift +++ b/bindings/LDK/traits/KeysInterface.swift @@ -13,10 +13,10 @@ open class KeysInterface: NativeTypeWrapper { /* NATIVE_CALLBACKS_START */ - func get_node_secretCallback(pointer: UnsafeRawPointer?) -> LDKSecretKey { + func get_node_secretCallback(pointer: UnsafeRawPointer?, recipient: LDKRecipient) -> LDKCResult_SecretKeyNoneZ { let instance: KeysInterface = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "KeysInterface.swift::get_node_secret") - return Bindings.new_LDKSecretKey(array: instance.get_node_secret()) + return instance.get_node_secret(recipient: recipient).cOpaqueStruct! } func get_destination_scriptCallback(pointer: UnsafeRawPointer?) -> LDKCVec_u8Z { @@ -55,10 +55,10 @@ open class KeysInterface: NativeTypeWrapper { return instance.read_chan_signer(reader: Bindings.LDKu8slice_to_array(nativeType: reader)).cOpaqueStruct! } - func sign_invoiceCallback(pointer: UnsafeRawPointer?, invoice_preimage: LDKCVec_u8Z) -> LDKCResult_RecoverableSignatureNoneZ { + func sign_invoiceCallback(pointer: UnsafeRawPointer?, hrp_bytes: LDKu8slice, invoice_data: LDKCVec_u5Z, receipient: LDKRecipient) -> LDKCResult_RecoverableSignatureNoneZ { let instance: KeysInterface = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "KeysInterface.swift::sign_invoice") - return instance.sign_invoice(invoice_preimage: Bindings.LDKCVec_u8Z_to_array(nativeType: invoice_preimage)).cOpaqueStruct! + return instance.sign_invoice(hrp_bytes: Bindings.LDKu8slice_to_array(nativeType: hrp_bytes), invoice_data: Bindings.LDKCVec_u5Z_to_array(nativeType: invoice_data), receipient: receipient).cOpaqueStruct! } func get_inbound_payment_key_materialCallback(pointer: UnsafeRawPointer?) -> LDKThirtyTwoBytes { @@ -124,11 +124,11 @@ open class KeysInterface: NativeTypeWrapper { } - open func get_node_secret() -> [UInt8] { + open func get_node_secret(recipient: LDKRecipient) -> Result_SecretKeyNoneZ { /* EDIT ME */ Bindings.print("KeysInterface::get_node_secret should be overridden!", severity: .WARNING) -return [UInt8]() +return Result_SecretKeyNoneZ() } open func get_destination_script() -> [UInt8] { @@ -166,7 +166,7 @@ return [UInt8]() return Result_SignDecodeErrorZ() } - open func sign_invoice(invoice_preimage: [UInt8]) -> Result_RecoverableSignatureNoneZ { + open func sign_invoice(hrp_bytes: [UInt8], invoice_data: [UInt8], receipient: LDKRecipient) -> Result_RecoverableSignatureNoneZ { /* EDIT ME */ Bindings.print("KeysInterface::sign_invoice should be overridden!", severity: .WARNING) @@ -195,11 +195,11 @@ return [UInt8]() public class NativelyImplementedKeysInterface: KeysInterface { /* SWIFT_DEFAULT_CALLBACKS_START */ - public override func get_node_secret() -> [UInt8] { + public override func get_node_secret(recipient: LDKRecipient) -> Result_SecretKeyNoneZ { return - Bindings.LDKSecretKey_to_array(nativeType: self.cOpaqueStruct!.get_node_secret(self.cOpaqueStruct!.this_arg)) + Result_SecretKeyNoneZ(pointer: self.cOpaqueStruct!.get_node_secret(self.cOpaqueStruct!.this_arg, recipient)) } @@ -254,16 +254,21 @@ public class NativelyImplementedKeysInterface: KeysInterface { } - public override func sign_invoice(invoice_preimage: [UInt8]) -> Result_RecoverableSignatureNoneZ { + public override func sign_invoice(hrp_bytes: [UInt8], invoice_data: [UInt8], receipient: LDKRecipient) -> Result_RecoverableSignatureNoneZ { - let invoice_preimageWrapper = Bindings.new_LDKCVec_u8ZWrapper(array: invoice_preimage) + let hrp_bytesWrapper = Bindings.new_LDKu8sliceWrapper(array: hrp_bytes) + defer { + hrp_bytesWrapper.noOpRetain() + } + + let invoice_dataWrapper = Bindings.new_LDKCVec_u5ZWrapper(array: invoice_data) defer { - invoice_preimageWrapper.noOpRetain() + invoice_dataWrapper.noOpRetain() } return - Result_RecoverableSignatureNoneZ(pointer: self.cOpaqueStruct!.sign_invoice(self.cOpaqueStruct!.this_arg, invoice_preimageWrapper.dangle().cOpaqueStruct!)) + Result_RecoverableSignatureNoneZ(pointer: self.cOpaqueStruct!.sign_invoice(self.cOpaqueStruct!.this_arg, hrp_bytesWrapper.cOpaqueStruct!, invoice_dataWrapper.dangle().cOpaqueStruct!, receipient)) } diff --git a/bindings/LDK/traits/Router.swift b/bindings/LDK/traits/Router.swift index ff1d53aa..4033fafb 100644 --- a/bindings/LDK/traits/Router.swift +++ b/bindings/LDK/traits/Router.swift @@ -13,9 +13,9 @@ open class Router: NativeTypeWrapper { /* NATIVE_CALLBACKS_START */ - func find_routeCallback(pointer: UnsafeRawPointer?, payer: LDKPublicKey, paramsPointer: UnsafePointer, payment_hashPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>?, first_hopsPointer: UnsafeMutablePointer?, scorerPointer: UnsafePointer) -> LDKCResult_RouteLightningErrorZ { + func find_routeCallback(pointer: UnsafeRawPointer?, payer: LDKPublicKey, route_paramsPointer: UnsafePointer, payment_hashPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>?, first_hopsPointer: UnsafeMutablePointer?, scorerPointer: UnsafePointer) -> LDKCResult_RouteLightningErrorZ { let instance: Router = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "Router.swift::find_route") - let params = RouteParameters(pointer: paramsPointer.pointee).dangle(); + let route_params = RouteParameters(pointer: route_paramsPointer.pointee).dangle(); var payment_hash: [UInt8]? = nil if let payment_hashUnwrapped = payment_hashPointer { @@ -28,7 +28,7 @@ open class Router: NativeTypeWrapper { } let scorer = Score(pointer: scorerPointer.pointee).dangle(); - return instance.find_route(payer: Bindings.tuple33_to_array(nativeType: payer.compressed_form), params: params, payment_hash: payment_hash, first_hops: first_hops, scorer: scorer).cOpaqueStruct! + return instance.find_route(payer: Bindings.tuple33_to_array(nativeType: payer.compressed_form), route_params: route_params, payment_hash: payment_hash, first_hops: first_hops, scorer: scorer).cOpaqueStruct! } func freeCallback(pointer: UnsafeMutableRawPointer?) -> Void { @@ -81,7 +81,7 @@ open class Router: NativeTypeWrapper { } - open func find_route(payer: [UInt8], params: RouteParameters, payment_hash: [UInt8]?, first_hops: [LDKChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { + open func find_route(payer: [UInt8], route_params: RouteParameters, payment_hash: [UInt8]?, first_hops: [LDKChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { /* EDIT ME */ Bindings.print("Router::find_route should be overridden!", severity: .WARNING) @@ -103,7 +103,7 @@ return Result_RouteLightningErrorZ() public class NativelyImplementedRouter: Router { /* SWIFT_DEFAULT_CALLBACKS_START */ - public func find_route(payer: [UInt8], params: RouteParameters, payment_hash: [UInt8]?, first_hops: [ChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { + public func find_route(payer: [UInt8], route_params: RouteParameters, payment_hash: [UInt8]?, first_hops: [ChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { var first_hopsNative: [LDKChannelDetails]? = nil @@ -116,12 +116,12 @@ public class NativelyImplementedRouter: Router { } - return self.find_route(payer: payer, params: params, payment_hash: payment_hash, first_hops: first_hopsNative, scorer: scorer) + return self.find_route(payer: payer, route_params: route_params, payment_hash: payment_hash, first_hops: first_hopsNative, scorer: scorer) } @available(*, deprecated, message: "Use method taking Swift object array type instead.") - public override func find_route(payer: [UInt8], params: RouteParameters, payment_hash: [UInt8]?, first_hops: [LDKChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { + public override func find_route(payer: [UInt8], route_params: RouteParameters, payment_hash: [UInt8]?, first_hops: [LDKChannelDetails]?, scorer: Score) -> Result_RouteLightningErrorZ { var first_hopsPointer: UnsafeMutablePointer? = nil @@ -131,11 +131,11 @@ public class NativelyImplementedRouter: Router { first_hopsPointer!.initialize(to: Bindings.new_LDKCVec_ChannelDetailsZWrapper(array: first_hopsUnwrapped).cOpaqueStruct!) } - return withUnsafePointer(to: params.cOpaqueStruct!) { (paramsPointer: UnsafePointer) in + return withUnsafePointer(to: route_params.cOpaqueStruct!) { (route_paramsPointer: UnsafePointer) in withUnsafePointer(to: Bindings.array_to_tuple32(array: payment_hash!)) { (payment_hashPointer: UnsafePointer<(UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8)>) in withUnsafePointer(to: scorer.cOpaqueStruct!) { (scorerPointer: UnsafePointer) in - Result_RouteLightningErrorZ(pointer: self.cOpaqueStruct!.find_route(self.cOpaqueStruct!.this_arg, Bindings.new_LDKPublicKey(array: payer), paramsPointer, payment_hashPointer, first_hopsPointer, scorerPointer)) + Result_RouteLightningErrorZ(pointer: self.cOpaqueStruct!.find_route(self.cOpaqueStruct!.this_arg, Bindings.new_LDKPublicKey(array: payer), route_paramsPointer, payment_hashPointer, first_hopsPointer, scorerPointer)) } } diff --git a/bindings/LDK/traits/Score.swift b/bindings/LDK/traits/Score.swift index fbb021c3..b696328a 100644 --- a/bindings/LDK/traits/Score.swift +++ b/bindings/LDK/traits/Score.swift @@ -13,12 +13,12 @@ open class Score: NativeTypeWrapper { /* NATIVE_CALLBACKS_START */ - func channel_penalty_msatCallback(pointer: UnsafeRawPointer?, short_channel_id: UInt64, send_amt_msat: UInt64, channel_capacity_msat: LDKCOption_u64Z, sourcePointer: UnsafePointer, targetPointer: UnsafePointer) -> UInt64 { + func channel_penalty_msatCallback(pointer: UnsafeRawPointer?, short_channel_id: UInt64, send_amt_msat: UInt64, capacity_msat: UInt64, sourcePointer: UnsafePointer, targetPointer: UnsafePointer) -> UInt64 { let instance: Score = Bindings.pointerToInstance(pointer: pointer!, sourceMarker: "Score.swift::channel_penalty_msat") let source = NodeId(pointer: sourcePointer.pointee).dangle(); let target = NodeId(pointer: targetPointer.pointee).dangle(); - return instance.channel_penalty_msat(short_channel_id: short_channel_id, send_amt_msat: send_amt_msat, channel_capacity_msat: Option_u64Z(pointer: channel_capacity_msat), source: source, target: target) + return instance.channel_penalty_msat(short_channel_id: short_channel_id, send_amt_msat: send_amt_msat, capacity_msat: capacity_msat, source: source, target: target) } func payment_path_failedCallback(pointer: UnsafeMutableRawPointer?, path: LDKCVec_RouteHopZ, short_channel_id: UInt64) -> Void { @@ -98,7 +98,7 @@ let target = NodeId(pointer: targetPointer.pointee).dangle(); } - open func channel_penalty_msat(short_channel_id: UInt64, send_amt_msat: UInt64, channel_capacity_msat: Option_u64Z, source: NodeId, target: NodeId) -> UInt64 { + open func channel_penalty_msat(short_channel_id: UInt64, send_amt_msat: UInt64, capacity_msat: UInt64, source: NodeId, target: NodeId) -> UInt64 { /* EDIT ME */ Bindings.print("Score::channel_penalty_msat should be overridden!", severity: .WARNING) @@ -141,13 +141,13 @@ return [UInt8]() public class NativelyImplementedScore: Score { /* SWIFT_DEFAULT_CALLBACKS_START */ - public override func channel_penalty_msat(short_channel_id: UInt64, send_amt_msat: UInt64, channel_capacity_msat: Option_u64Z, source: NodeId, target: NodeId) -> UInt64 { + public override func channel_penalty_msat(short_channel_id: UInt64, send_amt_msat: UInt64, capacity_msat: UInt64, source: NodeId, target: NodeId) -> UInt64 { return withUnsafePointer(to: source.cOpaqueStruct!) { (sourcePointer: UnsafePointer) in withUnsafePointer(to: target.cOpaqueStruct!) { (targetPointer: UnsafePointer) in - self.cOpaqueStruct!.channel_penalty_msat(self.cOpaqueStruct!.this_arg, short_channel_id, send_amt_msat, channel_capacity_msat.danglingClone().cOpaqueStruct!, sourcePointer, targetPointer) + self.cOpaqueStruct!.channel_penalty_msat(self.cOpaqueStruct!.this_arg, short_channel_id, send_amt_msat, capacity_msat, sourcePointer, targetPointer) } } diff --git a/bindings/LDK/tuples/C2Tuple_SignatureSignatureZ.swift b/bindings/LDK/tuples/C2Tuple_SignatureSignatureZ.swift new file mode 100644 index 00000000..f02abdd8 --- /dev/null +++ b/bindings/LDK/tuples/C2Tuple_SignatureSignatureZ.swift @@ -0,0 +1,67 @@ +public class C2Tuple_SignatureSignatureZ: NativeTypeWrapper { + + private static var instanceCounter: UInt = 0 + internal let instanceNumber: UInt + + internal var cOpaqueStruct: LDKC2Tuple_SignatureSignatureZ? + + public init(pointer: LDKC2Tuple_SignatureSignatureZ){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + } + + public init(pointer: LDKC2Tuple_SignatureSignatureZ, anchor: NativeTypeWrapper){ + Self.instanceCounter += 1 + self.instanceNumber = Self.instanceCounter + self.cOpaqueStruct = pointer + super.init(conflictAvoidingVariableName: 0) + self.dangling = true + try! self.addAnchor(anchor: anchor) + } + + /* TUPLE_METHODS_START */ + + public func clone() -> C2Tuple_SignatureSignatureZ { + + return C2Tuple_SignatureSignatureZ(pointer: withUnsafePointer(to: self.cOpaqueStruct!) { (origPointer: UnsafePointer) in +C2Tuple_SignatureSignatureZ_clone(origPointer) +}); + } + + internal func danglingClone() -> C2Tuple_SignatureSignatureZ { + let dangledClone = self.clone() + dangledClone.dangling = true + return dangledClone + } + + + public class func new(a: [UInt8], b: [UInt8]) -> C2Tuple_SignatureSignatureZ { + + return C2Tuple_SignatureSignatureZ(pointer: C2Tuple_SignatureSignatureZ_new(Bindings.new_LDKSignature(array: a), Bindings.new_LDKSignature(array: b))); + } + + internal func free() -> Void { + + return C2Tuple_SignatureSignatureZ_free(self.cOpaqueStruct!); + } + + internal func dangle() -> C2Tuple_SignatureSignatureZ { + self.dangling = true + return self + } + + deinit { + if !self.dangling { + Bindings.print("Freeing C2Tuple_SignatureSignatureZ \(self.instanceNumber).") + self.free() + } else { + Bindings.print("Not freeing C2Tuple_SignatureSignatureZ \(self.instanceNumber) due to dangle.") + } + } + + + /* TUPLE_METHODS_END */ + +} diff --git a/bindings/batteries/ChannelManagerConstructor.swift b/bindings/batteries/ChannelManagerConstructor.swift index 99b09688..5e93454c 100644 --- a/bindings/batteries/ChannelManagerConstructor.swift +++ b/bindings/batteries/ChannelManagerConstructor.swift @@ -11,6 +11,7 @@ enum InvalidSerializedDataError: Error { case invalidSerializedChannelMonitor case invalidSerializedChannelManager case duplicateSerializedChannelMonitor + case badNodeSecret } public class ChannelManagerConstructor: NativeTypeWrapper { @@ -83,11 +84,11 @@ public class ChannelManagerConstructor: NativeTypeWrapper { if channelManagerResult.isOk() != true { throw InvalidSerializedDataError.invalidSerializedChannelManager } - + for clonedChannelMonitor in self.channel_monitors { clonedChannelMonitor.0.cOpaqueStruct!.is_owned = true } - + let latestBlockHash = Bindings.LDKThirtyTwoBytes_to_array(nativeType: channelManagerResult.cOpaqueStruct!.contents.result.pointee.a) let channelManager = ChannelManager(pointer: channelManagerResult.cOpaqueStruct!.contents.result.pointee.b) try! channelManager.dangle().addAnchor(anchor: channelManagerResult) @@ -109,8 +110,10 @@ public class ChannelManagerConstructor: NativeTypeWrapper { } else { messageHandler = MessageHandler(chan_handler_arg: channelManager.as_ChannelMessageHandler(), route_handler_arg: noCustomMessages.as_RoutingMessageHandler()) } - - self.peerManager = PeerManager(message_handler: messageHandler.dangle(), our_node_secret: keys_interface.get_node_secret(), ephemeral_random_data: random_data, logger: self.logger, custom_message_handler: IgnoringMessageHandler().as_CustomMessageHandler()) + guard let nodeSecret = keys_interface.get_node_secret(recipient: LDKRecipient_Node).getValue() else { + throw InvalidSerializedDataError.badNodeSecret + } + self.peerManager = PeerManager(message_handler: messageHandler.dangle(), our_node_secret: nodeSecret, ephemeral_random_data: random_data, logger: self.logger, custom_message_handler: IgnoringMessageHandler().as_CustomMessageHandler()) if let filter = filter { for (currentMonitor, _) in self.channel_monitors { @@ -150,7 +153,8 @@ public class ChannelManagerConstructor: NativeTypeWrapper { } else { messageHandler = MessageHandler(chan_handler_arg: channelManager.as_ChannelMessageHandler(), route_handler_arg: noCustomMessages.as_RoutingMessageHandler()) } - self.peerManager = PeerManager(message_handler: messageHandler.dangle(), our_node_secret: keys_interface.get_node_secret(), ephemeral_random_data: random_data, logger: logger, custom_message_handler: noCustomMessages.as_CustomMessageHandler()) + let nodeSecret = keys_interface.get_node_secret(recipient: LDKRecipient_Node).getValue()! + self.peerManager = PeerManager(message_handler: messageHandler.dangle(), our_node_secret: nodeSecret, ephemeral_random_data: random_data, logger: logger, custom_message_handler: noCustomMessages.as_CustomMessageHandler()) super.init(conflictAvoidingVariableName: 0) diff --git a/src/conversion_helper.py b/src/conversion_helper.py index 60591b1b..3548b2d1 100644 --- a/src/conversion_helper.py +++ b/src/conversion_helper.py @@ -331,6 +331,10 @@ def prepare_native_to_swift_callback_arguments(cls, argument_types, array_unwrap swift_local_conversion_prefix = f'Bindings.LDKu8slice_to_array(nativeType: ' swift_local_conversion_suffix = ')' published_swift_type = '[UInt8]' + elif published_swift_type == '[[UInt8]]': + if received_raw_type == 'LDKCVec_PaymentPreimageZ': + swift_local_conversion_prefix = f'Bindings.LDKCVec_PaymentPreimageZ_to_array(nativeType: ' + swift_local_conversion_suffix = ')' elif received_raw_type is not None and received_raw_type.startswith('LDK'): if cls.is_instance_type(published_swift_type, received_raw_type): swift_local_conversion_prefix = f'{published_swift_type}(pointer: ' diff --git a/src/generators/util_generators/vector_generator.py b/src/generators/util_generators/vector_generator.py index c168003f..1907abd5 100644 --- a/src/generators/util_generators/vector_generator.py +++ b/src/generators/util_generators/vector_generator.py @@ -17,6 +17,9 @@ def generate_vector(self, vector_name, vector_type_details): conversion_call = None dimension_reduction_prep = None is_primitive = vector_type_details.is_primitive + is_nested_primitive = False + nest_type = None + nest_accessor = None pointerTypeName = 'UInt8' shallowmost_iteratee_is_tuple_primitive = False extraction_method = '' @@ -26,6 +29,12 @@ def generate_vector(self, vector_name, vector_type_details): if is_primitive: swift_primitive = vector_type_details.primitive_swift_counterpart + + if vector_name == 'LDKCVec_u5Z': + is_nested_primitive = True + nest_type = 'LDKu5' + nest_accessor = '_0' + else: deepest_iteratee = vector_type_details while deepest_iteratee.iteratee is not None: @@ -120,6 +129,13 @@ def generate_vector(self, vector_name, vector_type_details): for dim_delta in range(1, dimensions): mutating_current_vector_methods = mutating_current_vector_methods.replace('[SwiftPrimitive]', '[[SwiftPrimitive]]') + if is_nested_primitive: + conversion_call = f'let convertedEntry = currentEntry.{nest_accessor}' + mutating_current_vector_methods = mutating_current_vector_methods.replace('/* DIMENSION_REDUCTION_PREP */', f'let lowerDimension = array.map {{ v in {nest_type}({nest_accessor}: v) }}') + mutating_current_vector_methods = mutating_current_vector_methods.replace('array.withUnsafeBufferPointer', 'lowerDimension.withUnsafeBufferPointer') + mutating_current_vector_methods = mutating_current_vector_methods.replace('dataContainer.initialize(from: array,', 'dataContainer.initialize(from: lowerDimension,') + mutating_current_vector_methods = mutating_current_vector_methods.replace('', f'<{nest_type}>') + if conversion_call is not None: mutating_current_vector_methods = mutating_current_vector_methods.replace('/* CONVERSION_PREP */', conversion_call) else: @@ -165,7 +181,10 @@ def generate_vector(self, vector_name, vector_type_details): mutating_current_vector_methods = mutating_current_vector_methods.replace('/* SWIFT_TO_RUST_START */', '/* SWIFT_TO_RUST_START ') mutating_current_vector_methods = mutating_current_vector_methods.replace('/* SWIFT_TO_RUST_END */', 'SWIFT_TO_RUST_END */') # pass - mutating_current_vector_methods = mutating_current_vector_methods.replace('SwiftPrimitive', swift_primitive) + if is_nested_primitive and False: + mutating_current_vector_methods = mutating_current_vector_methods.replace('SwiftPrimitive', nest_type) + else: + mutating_current_vector_methods = mutating_current_vector_methods.replace('SwiftPrimitive', swift_primitive) mutating_current_vector_methods += extraction_method diff --git a/src/lightning_header_parser.py b/src/lightning_header_parser.py index 2e5e15df..a373afa0 100644 --- a/src/lightning_header_parser.py +++ b/src/lightning_header_parser.py @@ -219,7 +219,7 @@ def populate_type_details(self): vec_ty_match = line_indicates_vec_regex.match(struct_line) if vec_ty_match is not None and struct_name.startswith("LDKCVec_"): iterated_type = vec_ty_match.group(2) - elif struct_name in ['LDKTransaction', 'LDKCVec_u8Z', 'LDKu8slice']: + elif struct_name in ['LDKTransaction', 'LDKCVec_u8Z', 'LDKu8slice', 'LDKu5slice', 'LDKCVec_u5Z']: iterated_type = 'uint8_t' elif struct_name.startswith("LDKC2Tuple_") or struct_name.startswith("LDKC3Tuple_"): # this check should only be run once, it can be moved out of the loop @@ -312,7 +312,7 @@ def populate_type_details(self): vector_type_details.name = struct_name # this is the iterator # if 'LDKTransaction' not in self.type_details: - if iterated_type in ['LDKSignature', 'LDKPublicKey']: + if iterated_type in ['LDKSignature', 'LDKPublicKey'] or (struct_name == 'LDKCVec_PaymentPreimageZ' and iterated_type in ['LDKPaymentPreimage', 'LDKThirtyTwoBytes']): iterated_type_details = TypeDetails() iterated_type_details.type = CTypes.VECTOR iterated_type_details.name = iterated_type diff --git a/src/swift_type_mapper.py b/src/swift_type_mapper.py index 832eb57a..4a3d5f90 100644 --- a/src/swift_type_mapper.py +++ b/src/swift_type_mapper.py @@ -43,6 +43,13 @@ def map_types_to_swift(fn_arg, ret_arr_len, java_c_types_none_allowed, tuple_typ rust_obj = "LDKThirtyTwoBytes" swift_raw_type = rust_obj arr_access = "data" + elif fn_arg.startswith("LDKPaymentPreimage"): # disable this conversion using x prefix + prefix_length = len('LDKPaymentPreimage') + 1 + fn_arg = "uint8_t (*" + fn_arg[prefix_length:] + ")[32]" + assert var_is_arr_regex.match(fn_arg[8:]) + rust_obj = "LDKPaymentPreimage" + swift_raw_type = rust_obj + arr_access = "data" elif fn_arg.startswith("LDKPublicKey"): fn_arg = "uint8_t (*" + fn_arg[13:] + ")[33]" assert var_is_arr_regex.match(fn_arg[8:]) @@ -114,6 +121,13 @@ def map_types_to_swift(fn_arg, ret_arr_len, java_c_types_none_allowed, tuple_typ swift_raw_type = rust_obj assert var_is_arr_regex.match(fn_arg[8:]) arr_access = "data" + elif fn_arg.startswith("LDKCVec_u5Z"): + prefix_length = len('LDKCVec_u5Z') + 1 + fn_arg = "uint8_t (*" + fn_arg[prefix_length:] + ")[data]" + rust_obj = "LDKCVec_u5Z" + swift_raw_type = rust_obj + assert var_is_arr_regex.match(fn_arg[8:]) + arr_access = "data" elif fn_arg.startswith("LDKTransaction ") or fn_arg == "LDKTransaction": fn_arg = "uint8_t (*" + fn_arg[15:] + ")[datalen]" rust_obj = "LDKTransaction" diff --git a/templates/BindingsTemplate.swift b/templates/BindingsTemplate.swift index 70f77d5c..5d0f9e7e 100644 --- a/templates/BindingsTemplate.swift +++ b/templates/BindingsTemplate.swift @@ -13,6 +13,7 @@ import Foundation public typealias LDKTransactionOutputs = LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ public typealias TransactionOutputs = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ public typealias LDKTxid = LDKThirtyTwoBytes +// public typealias LDKPaymentPreimage = LDKThirtyTwoBytes public typealias Txid = [UInt8] open class NativeTypeWrapper: Hashable { diff --git a/xcode/LDKFramework/LDKFramework.xcodeproj/project.pbxproj b/xcode/LDKFramework/LDKFramework.xcodeproj/project.pbxproj index 5d536fa6..884bd87e 100644 --- a/xcode/LDKFramework/LDKFramework.xcodeproj/project.pbxproj +++ b/xcode/LDKFramework/LDKFramework.xcodeproj/project.pbxproj @@ -14,6 +14,337 @@ 07344C8826427F95001CD90E /* LDKExampleClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07344C8626427F95001CD90E /* LDKExampleClass.swift */; }; 07344FE626429524001CD90E /* libldk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 07344FE526429524001CD90E /* libldk.a */; }; 07344FE926429536001CD90E /* libldk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 07344FE526429524001CD90E /* libldk.a */; }; + 0751765427D600D40071110C /* PaymentSendFailure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750527D600D20071110C /* PaymentSendFailure.swift */; }; + 0751765527D600D40071110C /* Option_u64Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750627D600D20071110C /* Option_u64Z.swift */; }; + 0751765627D600D40071110C /* Fallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750727D600D20071110C /* Fallback.swift */; }; + 0751765727D600D40071110C /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750827D600D20071110C /* Option_C2Tuple_usizeTransactionZZ.swift */; }; + 0751765827D600D40071110C /* APIError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750927D600D20071110C /* APIError.swift */; }; + 0751765927D600D40071110C /* Option_TypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750A27D600D20071110C /* Option_TypeZ.swift */; }; + 0751765A27D600D40071110C /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750B27D600D20071110C /* Event.swift */; }; + 0751765B27D600D40071110C /* Option_AccessZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750C27D600D20071110C /* Option_AccessZ.swift */; }; + 0751765C27D600D40071110C /* PaymentPurpose.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750D27D600D20071110C /* PaymentPurpose.swift */; }; + 0751765D27D600D40071110C /* PaymentError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750E27D600D20071110C /* PaymentError.swift */; }; + 0751765E27D600D40071110C /* Option_ClosureReasonZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751750F27D600D20071110C /* Option_ClosureReasonZ.swift */; }; + 0751765F27D600D40071110C /* Option_FilterZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751027D600D20071110C /* Option_FilterZ.swift */; }; + 0751766027D600D40071110C /* EffectiveCapacity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751127D600D20071110C /* EffectiveCapacity.swift */; }; + 0751766127D600D40071110C /* Balance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751227D600D20071110C /* Balance.swift */; }; + 0751766227D600D40071110C /* ErrorAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751327D600D20071110C /* ErrorAction.swift */; }; + 0751766327D600D40071110C /* Option_MonitorEventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751427D600D20071110C /* Option_MonitorEventZ.swift */; }; + 0751766427D600D40071110C /* Option_NetworkUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751527D600D20071110C /* Option_NetworkUpdateZ.swift */; }; + 0751766527D600D40071110C /* Option_u32Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751627D600D20071110C /* Option_u32Z.swift */; }; + 0751766627D600D40071110C /* Option_u16Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751727D600D20071110C /* Option_u16Z.swift */; }; + 0751766727D600D40071110C /* NetAddress.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751827D600D20071110C /* NetAddress.swift */; }; + 0751766827D600D40071110C /* SignOrCreationError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751927D600D20071110C /* SignOrCreationError.swift */; }; + 0751766927D600D40071110C /* NetworkUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751A27D600D20071110C /* NetworkUpdate.swift */; }; + 0751766A27D600D40071110C /* Option_EventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751B27D600D20071110C /* Option_EventZ.swift */; }; + 0751766B27D600D40071110C /* ClosureReason.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751C27D600D20071110C /* ClosureReason.swift */; }; + 0751766C27D600D40071110C /* MessageSendEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751D27D600D20071110C /* MessageSendEvent.swift */; }; + 0751766D27D600D40071110C /* MonitorEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751E27D600D20071110C /* MonitorEvent.swift */; }; + 0751766E27D600D40071110C /* SpendableOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751751F27D600D20071110C /* SpendableOutputDescriptor.swift */; }; + 0751766F27D600D40071110C /* Option_CVec_NetAddressZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752027D600D20071110C /* Option_CVec_NetAddressZZ.swift */; }; + 0751767027D600D40071110C /* BaseSign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752227D600D20071110C /* BaseSign.swift */; }; + 0751767127D600D40071110C /* Persist.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752327D600D20071110C /* Persist.swift */; }; + 0751767227D600D40071110C /* Score.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752427D600D20071110C /* Score.swift */; }; + 0751767327D600D40071110C /* KeysInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752527D600D20071110C /* KeysInterface.swift */; }; + 0751767427D600D40071110C /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752627D600D20071110C /* Logger.swift */; }; + 0751767527D600D40071110C /* Payer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752727D600D20071110C /* Payer.swift */; }; + 0751767627D600D40071110C /* SocketDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752827D600D20071110C /* SocketDescriptor.swift */; }; + 0751767727D600D40071110C /* FeeEstimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752927D600D20071110C /* FeeEstimator.swift */; }; + 0751767827D600D40071110C /* MessageSendEventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752A27D600D20071110C /* MessageSendEventsProvider.swift */; }; + 0751767927D600D40071110C /* BroadcasterInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752B27D600D20071110C /* BroadcasterInterface.swift */; }; + 0751767A27D600D40071110C /* LockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752C27D600D20071110C /* LockableScore.swift */; }; + 0751767B27D600D40071110C /* Confirm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752D27D600D20071110C /* Confirm.swift */; }; + 0751767C27D600D40071110C /* EventHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752E27D600D20071110C /* EventHandler.swift */; }; + 0751767D27D600D40071110C /* RoutingMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751752F27D600D20071110C /* RoutingMessageHandler.swift */; }; + 0751767E27D600D40071110C /* ChannelManagerPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753027D600D20071110C /* ChannelManagerPersister.swift */; }; + 0751767F27D600D40071110C /* Listen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753127D600D20071110C /* Listen.swift */; }; + 0751768027D600D40071110C /* ChannelMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753227D600D20071110C /* ChannelMessageHandler.swift */; }; + 0751768127D600D40071110C /* Router.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753327D600D20071110C /* Router.swift */; }; + 0751768227D600D40071110C /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753427D600D20071110C /* Filter.swift */; }; + 0751768327D600D40071110C /* CustomMessageReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753527D600D20071110C /* CustomMessageReader.swift */; }; + 0751768427D600D40071110C /* BindingsType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753627D600D20071110C /* BindingsType.swift */; }; + 0751768527D600D40071110C /* Access.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753727D600D20071110C /* Access.swift */; }; + 0751768627D600D40071110C /* EventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753827D600D20071110C /* EventsProvider.swift */; }; + 0751768727D600D40071110C /* Watch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753927D600D20071110C /* Watch.swift */; }; + 0751768827D600D40071110C /* Sign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753A27D600D20071110C /* Sign.swift */; }; + 0751768927D600D40071110C /* CustomMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753B27D600D20071110C /* CustomMessageHandler.swift */; }; + 0751768A27D600D40071110C /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753D27D600D20071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */; }; + 0751768B27D600D40071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753E27D600D20071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */; }; + 0751768C27D600D40071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751753F27D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */; }; + 0751768D27D600D40071110C /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754027D600D20071110C /* C2Tuple_BlockHashChannelManagerZ.swift */; }; + 0751768E27D600D40071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754127D600D20071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */; }; + 0751768F27D600D40071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754227D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */; }; + 0751769027D600D40071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754327D600D20071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */; }; + 0751769127D600D40071110C /* C2Tuple_u32TxOutZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754427D600D20071110C /* C2Tuple_u32TxOutZ.swift */; }; + 0751769227D600D40071110C /* C2Tuple_OutPointScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754527D600D20071110C /* C2Tuple_OutPointScriptZ.swift */; }; + 0751769327D600D40071110C /* C2Tuple_SignatureSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754627D600D20071110C /* C2Tuple_SignatureSignatureZ.swift */; }; + 0751769427D600D40071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754727D600D20071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */; }; + 0751769527D600D40071110C /* C2Tuple_PublicKeyTypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754827D600D20071110C /* C2Tuple_PublicKeyTypeZ.swift */; }; + 0751769627D600D40071110C /* C2Tuple_u32ScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754927D600D20071110C /* C2Tuple_u32ScriptZ.swift */; }; + 0751769727D600D40071110C /* C2Tuple_usizeTransactionZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754A27D600D20071110C /* C2Tuple_usizeTransactionZ.swift */; }; + 0751769827D600D40071110C /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754B27D600D20071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */; }; + 0751769927D600D40071110C /* Bindings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754C27D600D20071110C /* Bindings.swift */; }; + 0751769A27D600D40071110C /* Result_ChannelConfigDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754E27D600D20071110C /* Result_ChannelConfigDecodeErrorZ.swift */; }; + 0751769B27D600D40071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751754F27D600D20071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */; }; + 0751769C27D600D40071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755027D600D20071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */; }; + 0751769D27D600D40071110C /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755127D600D20071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */; }; + 0751769E27D600D40071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755227D600D20071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */; }; + 0751769F27D600D40071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755327D600D20071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */; }; + 075176A027D600D40071110C /* Result_ScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755427D600D20071110C /* Result_ScorerDecodeErrorZ.swift */; }; + 075176A127D600D40071110C /* Result_FundingCreatedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755527D600D20071110C /* Result_FundingCreatedDecodeErrorZ.swift */; }; + 075176A227D600D40071110C /* Result_TxCreationKeysErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755627D600D20071110C /* Result_TxCreationKeysErrorZ.swift */; }; + 075176A327D600D40071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755727D600D20071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */; }; + 075176A427D600D40071110C /* Result_LockedChannelMonitorNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755827D600D20071110C /* Result_LockedChannelMonitorNoneZ.swift */; }; + 075176A527D600D40071110C /* Result_PingDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755927D600D20071110C /* Result_PingDecodeErrorZ.swift */; }; + 075176A627D600D40071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755A27D600D20071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */; }; + 075176A727D600D40071110C /* Result_NonePaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755B27D600D20071110C /* Result_NonePaymentSendFailureZ.swift */; }; + 075176A827D600D40071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755C27D600D20071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */; }; + 075176A927D600D40071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755D27D600D20071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */; }; + 075176AA27D600D40071110C /* Result_RouteDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755E27D600D20071110C /* Result_RouteDecodeErrorZ.swift */; }; + 075176AB27D600D40071110C /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751755F27D600D20071110C /* Result_RevokeAndACKDecodeErrorZ.swift */; }; + 075176AC27D600D40071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756027D600D20071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */; }; + 075176AD27D600D40071110C /* Result_OpenChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756127D600D20071110C /* Result_OpenChannelDecodeErrorZ.swift */; }; + 075176AE27D600D40071110C /* Result_ChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756227D600D20071110C /* Result_ChannelInfoDecodeErrorZ.swift */; }; + 075176AF27D600D40071110C /* Result_PongDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756327D600D20071110C /* Result_PongDecodeErrorZ.swift */; }; + 075176B027D600D40071110C /* Result__u832APIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756427D600D20071110C /* Result__u832APIErrorZ.swift */; }; + 075176B127D600D40071110C /* Result_RouteHintHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756527D600D20071110C /* Result_RouteHintHopDecodeErrorZ.swift */; }; + 075176B227D600D40071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756627D600D20071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */; }; + 075176B327D600D40071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756727D600D20071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */; }; + 075176B427D600D40071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756827D600D20071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */; }; + 075176B527D600D40071110C /* Result_PaymentSecretAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756927D600D20071110C /* Result_PaymentSecretAPIErrorZ.swift */; }; + 075176B627D600D50071110C /* Result_RouteHintDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756A27D600D20071110C /* Result_RouteHintDecodeErrorZ.swift */; }; + 075176B727D600D50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756B27D600D20071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */; }; + 075176B827D600D50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756C27D600D20071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */; }; + 075176B927D600D50071110C /* Result_ErrorMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756D27D600D20071110C /* Result_ErrorMessageDecodeErrorZ.swift */; }; + 075176BA27D600D50071110C /* Result_AcceptChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756E27D600D20071110C /* Result_AcceptChannelDecodeErrorZ.swift */; }; + 075176BB27D600D50071110C /* Result_PaymentPreimageAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751756F27D600D20071110C /* Result_PaymentPreimageAPIErrorZ.swift */; }; + 075176BC27D600D50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757027D600D20071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */; }; + 075176BD27D600D50071110C /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757127D600D20071110C /* Result_NodeFeaturesDecodeErrorZ.swift */; }; + 075176BE27D600D50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757227D600D20071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */; }; + 075176BF27D600D50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757327D600D20071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */; }; + 075176C027D600D50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757427D600D20071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */; }; + 075176C127D600D50071110C /* Result_StringErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757527D600D20071110C /* Result_StringErrorZ.swift */; }; + 075176C227D600D50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757627D600D20071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */; }; + 075176C327D600D50071110C /* Result_RouteHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757727D600D20071110C /* Result_RouteHopDecodeErrorZ.swift */; }; + 075176C427D600D50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757827D600D20071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */; }; + 075176C527D600D50071110C /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757927D600D20071110C /* Result_CommitmentSignedDecodeErrorZ.swift */; }; + 075176C627D600D50071110C /* Result_NonePeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757A27D600D20071110C /* Result_NonePeerHandleErrorZ.swift */; }; + 075176C727D600D50071110C /* Result_TxOutAccessErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757B27D600D20071110C /* Result_TxOutAccessErrorZ.swift */; }; + 075176C827D600D50071110C /* Result_TrustedClosingTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757C27D600D20071110C /* Result_TrustedClosingTransactionNoneZ.swift */; }; + 075176C927D600D50071110C /* Result_NoneLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757D27D600D20071110C /* Result_NoneLightningErrorZ.swift */; }; + 075176CA27D600D50071110C /* Result_NoneAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757E27D600D20071110C /* Result_NoneAPIErrorZ.swift */; }; + 075176CB27D600D50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751757F27D600D20071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */; }; + 075176CC27D600D50071110C /* Result_PublicKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758027D600D20071110C /* Result_PublicKeyErrorZ.swift */; }; + 075176CD27D600D50071110C /* Result_boolLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758127D600D30071110C /* Result_boolLightningErrorZ.swift */; }; + 075176CE27D600D50071110C /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758227D600D30071110C /* Result_ChannelUpdateDecodeErrorZ.swift */; }; + 075176CF27D600D50071110C /* Result_UpdateFeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758327D600D30071110C /* Result_UpdateFeeDecodeErrorZ.swift */; }; + 075176D027D600D50071110C /* Result_DescriptionCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758427D600D30071110C /* Result_DescriptionCreationErrorZ.swift */; }; + 075176D127D600D50071110C /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758527D600D30071110C /* Result_ShutdownScriptDecodeErrorZ.swift */; }; + 075176D227D600D50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758627D600D30071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */; }; + 075176D327D600D50071110C /* Result_PaymentParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758727D600D30071110C /* Result_PaymentParametersDecodeErrorZ.swift */; }; + 075176D427D600D50071110C /* Result_SiPrefixNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758827D600D30071110C /* Result_SiPrefixNoneZ.swift */; }; + 075176D527D600D50071110C /* Result_FundingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758927D600D30071110C /* Result_FundingSignedDecodeErrorZ.swift */; }; + 075176D627D600D50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758A27D600D30071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */; }; + 075176D727D600D50071110C /* Result_TransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758B27D600D30071110C /* Result_TransactionNoneZ.swift */; }; + 075176D827D600D50071110C /* Result_NetworkGraphDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758C27D600D30071110C /* Result_NetworkGraphDecodeErrorZ.swift */; }; + 075176D927D600D50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758D27D600D30071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */; }; + 075176DA27D600D50071110C /* Result_NoneSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758E27D600D30071110C /* Result_NoneSemanticErrorZ.swift */; }; + 075176DB27D600D50071110C /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751758F27D600D30071110C /* Result_InvoiceSignOrCreationErrorZ.swift */; }; + 075176DC27D600D50071110C /* Result_InvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759027D600D30071110C /* Result_InvoiceNoneZ.swift */; }; + 075176DD27D600D50071110C /* Result_RoutingFeesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759127D600D30071110C /* Result_RoutingFeesDecodeErrorZ.swift */; }; + 075176DE27D600D50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759227D600D30071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */; }; + 075176DF27D600D50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759327D600D30071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */; }; + 075176E027D600D50071110C /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759427D600D30071110C /* Result_ChannelReestablishDecodeErrorZ.swift */; }; + 075176E127D600D50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759527D600D30071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */; }; + 075176E227D600D50071110C /* Result_RouteParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759627D600D30071110C /* Result_RouteParametersDecodeErrorZ.swift */; }; + 075176E327D600D50071110C /* Result_ScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759727D600D30071110C /* Result_ScoringParametersDecodeErrorZ.swift */; }; + 075176E427D600D50071110C /* Result_COption_EventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759827D600D30071110C /* Result_COption_EventZDecodeErrorZ.swift */; }; + 075176E527D600D50071110C /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759927D600D30071110C /* Result_PaymentIdPaymentSendFailureZ.swift */; }; + 075176E627D600D50071110C /* Result_PaymentIdPaymentErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759A27D600D30071110C /* Result_PaymentIdPaymentErrorZ.swift */; }; + 075176E727D600D50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759B27D600D30071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */; }; + 075176E827D600D50071110C /* Result_SecretKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759C27D600D30071110C /* Result_SecretKeyErrorZ.swift */; }; + 075176E927D600D50071110C /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759D27D600D30071110C /* Result_HTLCUpdateDecodeErrorZ.swift */; }; + 075176EA27D600D50071110C /* Result_NodeIdDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759E27D600D30071110C /* Result_NodeIdDecodeErrorZ.swift */; }; + 075176EB27D600D50071110C /* Result_RouteLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751759F27D600D30071110C /* Result_RouteLightningErrorZ.swift */; }; + 075176EC27D600D50071110C /* Result_InvoiceSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A027D600D30071110C /* Result_InvoiceSemanticErrorZ.swift */; }; + 075176ED27D600D50071110C /* Result_SignedRawInvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A127D600D30071110C /* Result_SignedRawInvoiceNoneZ.swift */; }; + 075176EE27D600D50071110C /* Result_COption_TypeZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A227D600D30071110C /* Result_COption_TypeZDecodeErrorZ.swift */; }; + 075176EF27D600D50071110C /* Result_InitFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A327D600D30071110C /* Result_InitFeaturesDecodeErrorZ.swift */; }; + 075176F027D600D50071110C /* Result_NetAddressDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A427D600D30071110C /* Result_NetAddressDecodeErrorZ.swift */; }; + 075176F127D600D50071110C /* Result_WarningMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A527D600D30071110C /* Result_WarningMessageDecodeErrorZ.swift */; }; + 075176F227D600D50071110C /* Result_RecoverableSignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A627D600D30071110C /* Result_RecoverableSignatureNoneZ.swift */; }; + 075176F327D600D50071110C /* Result_ChannelDetailsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A727D600D30071110C /* Result_ChannelDetailsDecodeErrorZ.swift */; }; + 075176F427D600D50071110C /* Result_CVec_SignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A827D600D30071110C /* Result_CVec_SignatureZNoneZ.swift */; }; + 075176F527D600D50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175A927D600D30071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */; }; + 075176F627D600D50071110C /* Result_SignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AA27D600D30071110C /* Result_SignatureNoneZ.swift */; }; + 075176F727D600D50071110C /* Result_NoneErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AB27D600D30071110C /* Result_NoneErrorZ.swift */; }; + 075176F827D600D50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AC27D600D30071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */; }; + 075176F927D600D50071110C /* Result_FundingLockedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AD27D600D30071110C /* Result_FundingLockedDecodeErrorZ.swift */; }; + 075176FA27D600D50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AE27D600D30071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */; }; + 075176FB27D600D50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175AF27D600D30071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */; }; + 075176FC27D600D50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B027D600D30071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */; }; + 075176FD27D600D50071110C /* Result_SecretKeyNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B127D600D30071110C /* Result_SecretKeyNoneZ.swift */; }; + 075176FE27D600D50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B227D600D30071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */; }; + 075176FF27D600D50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B327D600D30071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */; }; + 0751770027D600D50071110C /* Result_SignDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B427D600D30071110C /* Result_SignDecodeErrorZ.swift */; }; + 0751770127D600D50071110C /* Result_boolPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B527D600D30071110C /* Result_boolPeerHandleErrorZ.swift */; }; + 0751770227D600D50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B627D600D30071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */; }; + 0751770327D600D50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B727D600D30071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */; }; + 0751770427D600D50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B827D600D30071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */; }; + 0751770527D600D50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175B927D600D30071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */; }; + 0751770627D600D50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BA27D600D30071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */; }; + 0751770727D600D50071110C /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BB27D600D30071110C /* Result_TxCreationKeysDecodeErrorZ.swift */; }; + 0751770827D600D50071110C /* Result_NoneNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BC27D600D30071110C /* Result_NoneNoneZ.swift */; }; + 0751770927D600D50071110C /* Result_PositiveTimestampCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BD27D600D30071110C /* Result_PositiveTimestampCreationErrorZ.swift */; }; + 0751770A27D600D50071110C /* Result_OutPointDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BE27D600D30071110C /* Result_OutPointDecodeErrorZ.swift */; }; + 0751770B27D600D50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175BF27D600D30071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */; }; + 0751770C27D600D50071110C /* Result_PayeePubKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C027D600D30071110C /* Result_PayeePubKeyErrorZ.swift */; }; + 0751770D27D600D50071110C /* Result_ShutdownDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C127D600D30071110C /* Result_ShutdownDecodeErrorZ.swift */; }; + 0751770E27D600D50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C227D600D30071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */; }; + 0751770F27D600D50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C327D600D30071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */; }; + 0751771027D600D50071110C /* Result_NodeInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C427D600D30071110C /* Result_NodeInfoDecodeErrorZ.swift */; }; + 0751771127D600D50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C527D600D30071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */; }; + 0751771227D600D50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C627D600D30071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */; }; + 0751771327D600D50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C727D600D30071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */; }; + 0751771427D600D50071110C /* Result_PaymentSecretNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C827D600D30071110C /* Result_PaymentSecretNoneZ.swift */; }; + 0751771527D600D50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175C927D600D30071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */; }; + 0751771627D600D50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CA27D600D30071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */; }; + 0751771727D600D50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CB27D600D30071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */; }; + 0751771827D600D50071110C /* Result_InitDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CC27D600D30071110C /* Result_InitDecodeErrorZ.swift */; }; + 0751771927D600D50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CD27D600D30071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */; }; + 0751771A27D600D50071110C /* Result_PrivateRouteCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CE27D600D30071110C /* Result_PrivateRouteCreationErrorZ.swift */; }; + 0751771B27D600D50071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175CF27D600D30071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */; }; + 0751771C27D600D50071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D027D600D30071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */; }; + 0751771D27D600D50071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D127D600D30071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */; }; + 0751771E27D600D50071110C /* Result_ClosingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D227D600D30071110C /* Result_ClosingSignedDecodeErrorZ.swift */; }; + 0751771F27D600D50071110C /* Result_InMemorySignerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D327D600D30071110C /* Result_InMemorySignerDecodeErrorZ.swift */; }; + 0751772027D600D50071110C /* MessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D527D600D30071110C /* MessageHandler.swift */; }; + 0751772127D600D50071110C /* ChainMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D627D600D30071110C /* ChainMonitor.swift */; }; + 0751772227D600D50071110C /* PayeePubKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D727D600D30071110C /* PayeePubKey.swift */; }; + 0751772327D600D50071110C /* Scorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D827D600D30071110C /* Scorer.swift */; }; + 0751772427D600D50071110C /* Description.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175D927D600D30071110C /* Description.swift */; }; + 0751772527D600D50071110C /* RevokeAndACK.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DA27D600D30071110C /* RevokeAndACK.swift */; }; + 0751772627D600D50071110C /* MonitorUpdateId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DB27D600D30071110C /* MonitorUpdateId.swift */; }; + 0751772727D600D50071110C /* WarningMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DC27D600D30071110C /* WarningMessage.swift */; }; + 0751772827D600D50071110C /* Ping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DD27D600D30071110C /* Ping.swift */; }; + 0751772927D600D50071110C /* PositiveTimestamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DE27D600D30071110C /* PositiveTimestamp.swift */; }; + 0751772A27D600D50071110C /* UpdateAddHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175DF27D600D30071110C /* UpdateAddHTLC.swift */; }; + 0751772B27D600D50071110C /* PhantomKeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E027D600D30071110C /* PhantomKeysManager.swift */; }; + 0751772C27D600D50071110C /* UpdateFailMalformedHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E127D600D30071110C /* UpdateFailMalformedHTLC.swift */; }; + 0751772D27D600D50071110C /* ChannelMonitorUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E227D600D30071110C /* ChannelMonitorUpdate.swift */; }; + 0751772E27D600D50071110C /* RouteHint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E327D600D30071110C /* RouteHint.swift */; }; + 0751772F27D600D50071110C /* Sha256.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E427D600D30071110C /* Sha256.swift */; }; + 0751773027D600D50071110C /* HTLCOutputInCommitment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E527D600D30071110C /* HTLCOutputInCommitment.swift */; }; + 0751773127D600D50071110C /* ChannelReestablish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E627D600D30071110C /* ChannelReestablish.swift */; }; + 0751773227D600D50071110C /* RouteHintHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E727D600D30071110C /* RouteHintHop.swift */; }; + 0751773327D600D50071110C /* ChannelManagerReadArgs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E827D600D30071110C /* ChannelManagerReadArgs.swift */; }; + 0751773427D600D50071110C /* UpdateFulfillHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175E927D600D30071110C /* UpdateFulfillHTLC.swift */; }; + 0751773527D600D50071110C /* NodeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175EA27D600D30071110C /* NodeFeatures.swift */; }; + 0751773627D600D50071110C /* NetGraphMsgHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175EB27D600D30071110C /* NetGraphMsgHandler.swift */; }; + 0751773727D600D50071110C /* InvoiceFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175EC27D600D30071110C /* InvoiceFeatures.swift */; }; + 0751773827D600D50071110C /* Invoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175ED27D600D30071110C /* Invoice.swift */; }; + 0751773927D600D50071110C /* RoutingFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175EE27D600D30071110C /* RoutingFees.swift */; }; + 0751773A27D600D50071110C /* ChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175EF27D600D30071110C /* ChannelMonitor.swift */; }; + 0751773B27D600D50071110C /* ClosingSignedFeeRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F027D600D30071110C /* ClosingSignedFeeRange.swift */; }; + 0751773C27D600D50071110C /* BestBlock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F127D600D30071110C /* BestBlock.swift */; }; + 0751773D27D600D50071110C /* UpdateFee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F227D600D30071110C /* UpdateFee.swift */; }; + 0751773E27D600D50071110C /* UnsignedChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F327D600D30071110C /* UnsignedChannelUpdate.swift */; }; + 0751773F27D600D50071110C /* MultiThreadedLockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F427D600D30071110C /* MultiThreadedLockableScore.swift */; }; + 0751774027D600D50071110C /* ChannelUpdateInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F527D600D30071110C /* ChannelUpdateInfo.swift */; }; + 0751774127D600D50071110C /* QueryShortChannelIds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F627D600D30071110C /* QueryShortChannelIds.swift */; }; + 0751774227D600D50071110C /* NetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F727D600D30071110C /* NetworkGraph.swift */; }; + 0751774327D600D50071110C /* DirectedChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F827D600D30071110C /* DirectedChannelInfo.swift */; }; + 0751774427D600D50071110C /* InvalidShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175F927D600D30071110C /* InvalidShutdownScript.swift */; }; + 0751774527D600D50071110C /* CommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FA27D600D30071110C /* CommitmentTransaction.swift */; }; + 0751774627D600D50071110C /* KeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FB27D600D30071110C /* KeysManager.swift */; }; + 0751774727D600D50071110C /* FundingCreated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FC27D600D30071110C /* FundingCreated.swift */; }; + 0751774827D600D50071110C /* CounterpartyChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FD27D600D30071110C /* CounterpartyChannelTransactionParameters.swift */; }; + 0751774927D600D50071110C /* ChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FE27D600D30071110C /* ChannelAnnouncement.swift */; }; + 0751774A27D600D50071110C /* ReplyShortChannelIdsEnd.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075175FF27D600D30071110C /* ReplyShortChannelIdsEnd.swift */; }; + 0751774B27D600D50071110C /* IgnoringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760027D600D30071110C /* IgnoringMessageHandler.swift */; }; + 0751774C27D600D50071110C /* ShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760127D600D30071110C /* ShutdownScript.swift */; }; + 0751774D27D600D50071110C /* PeerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760227D600D30071110C /* PeerManager.swift */; }; + 0751774E27D600D50071110C /* UpdateFailHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760327D600D30071110C /* UpdateFailHTLC.swift */; }; + 0751774F27D600D50071110C /* FundingLocked.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760427D600D30071110C /* FundingLocked.swift */; }; + 0751775027D600D50071110C /* ScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760527D600D30071110C /* ScoringParameters.swift */; }; + 0751775127D600D50071110C /* StaticPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760627D600D30071110C /* StaticPaymentOutputDescriptor.swift */; }; + 0751775227D600D50071110C /* HTLCUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760727D600D30071110C /* HTLCUpdate.swift */; }; + 0751775327D600D50071110C /* NodeId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760827D600D30071110C /* NodeId.swift */; }; + 0751775427D600D50071110C /* InMemorySigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760927D600D30071110C /* InMemorySigner.swift */; }; + 0751775527D600D50071110C /* GossipTimestampFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760A27D600D30071110C /* GossipTimestampFilter.swift */; }; + 0751775627D600D50071110C /* PeerHandleError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760B27D600D30071110C /* PeerHandleError.swift */; }; + 0751775727D600D50071110C /* ErroringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760C27D600D30071110C /* ErroringMessageHandler.swift */; }; + 0751775827D600D50071110C /* CommitmentSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760D27D600D30071110C /* CommitmentSigned.swift */; }; + 0751775927D600D50071110C /* TxCreationKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760E27D600D30071110C /* TxCreationKeys.swift */; }; + 0751775A27D600D50071110C /* RawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751760F27D600D30071110C /* RawInvoice.swift */; }; + 0751775B27D600D50071110C /* Pong.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761027D600D30071110C /* Pong.swift */; }; + 0751775C27D600D50071110C /* CounterpartyCommitmentSecrets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761127D600D30071110C /* CounterpartyCommitmentSecrets.swift */; }; + 0751775D27D600D50071110C /* ExpiryTime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761227D600D30071110C /* ExpiryTime.swift */; }; + 0751775E27D600D50071110C /* ChannelConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761327D600D30071110C /* ChannelConfig.swift */; }; + 0751775F27D600D50071110C /* DecodeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761427D600D30071110C /* DecodeError.swift */; }; + 0751776027D600D50071110C /* QueryChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761527D600D30071110C /* QueryChannelRange.swift */; }; + 0751776127D600D50071110C /* HolderCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761627D600D30071110C /* HolderCommitmentTransaction.swift */; }; + 0751776227D600D50071110C /* ChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761727D600D30071110C /* ChannelTransactionParameters.swift */; }; + 0751776327D600D50071110C /* NodeInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761827D600D30071110C /* NodeInfo.swift */; }; + 0751776427D600D50071110C /* BackgroundProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761927D600D30071110C /* BackgroundProcessor.swift */; }; + 0751776527D600D50071110C /* DirectedChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761A27D600D30071110C /* DirectedChannelTransactionParameters.swift */; }; + 0751776627D600D50071110C /* ChannelHandshakeConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761B27D600D30071110C /* ChannelHandshakeConfig.swift */; }; + 0751776727D600D50071110C /* RouteParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761C27D600D30071110C /* RouteParameters.swift */; }; + 0751776827D600D50071110C /* ChannelManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761D27D600D30071110C /* ChannelManager.swift */; }; + 0751776927D600D50071110C /* PrivateRoute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761E27D600D40071110C /* PrivateRoute.swift */; }; + 0751776A27D600D50071110C /* Shutdown.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751761F27D600D40071110C /* Shutdown.swift */; }; + 0751776B27D600D50071110C /* ChainParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762027D600D40071110C /* ChainParameters.swift */; }; + 0751776C27D600D50071110C /* AcceptChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762127D600D40071110C /* AcceptChannel.swift */; }; + 0751776D27D600D50071110C /* FilesystemPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762227D600D40071110C /* FilesystemPersister.swift */; }; + 0751776E27D600D50071110C /* ChannelHandshakeLimits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762327D600D40071110C /* ChannelHandshakeLimits.swift */; }; + 0751776F27D600D50071110C /* ProbabilisticScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762427D600D40071110C /* ProbabilisticScoringParameters.swift */; }; + 0751777027D600D50071110C /* PhantomRouteHints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762527D600D40071110C /* PhantomRouteHints.swift */; }; + 0751777127D600D50071110C /* PaymentParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762627D600D40071110C /* PaymentParameters.swift */; }; + 0751777227D600D50071110C /* AnnouncementSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762727D600D40071110C /* AnnouncementSignatures.swift */; }; + 0751777327D600D50071110C /* CommitmentUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762827D600D40071110C /* CommitmentUpdate.swift */; }; + 0751777427D600D50071110C /* ClosingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762927D600D40071110C /* ClosingSigned.swift */; }; + 0751777527D600D50071110C /* DefaultRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762A27D600D40071110C /* DefaultRouter.swift */; }; + 0751777627D600D50071110C /* ChannelDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762B27D600D40071110C /* ChannelDetails.swift */; }; + 0751777727D600D50071110C /* NodeAnnouncementInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762C27D600D40071110C /* NodeAnnouncementInfo.swift */; }; + 0751777827D600D50071110C /* UnsignedChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762D27D600D40071110C /* UnsignedChannelAnnouncement.swift */; }; + 0751777927D600D50071110C /* TrustedClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762E27D600D40071110C /* TrustedClosingTransaction.swift */; }; + 0751777A27D600D50071110C /* LightningError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751762F27D600D40071110C /* LightningError.swift */; }; + 0751777B27D600D50071110C /* MinFinalCltvExpiry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763027D600D40071110C /* MinFinalCltvExpiry.swift */; }; + 0751777C27D600D50071110C /* DataLossProtect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763127D600D40071110C /* DataLossProtect.swift */; }; + 0751777D27D600D50071110C /* TxOut.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763227D600D40071110C /* TxOut.swift */; }; + 0751777E27D600D50071110C /* ErrorMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763327D600D40071110C /* ErrorMessage.swift */; }; + 0751777F27D600D50071110C /* ChannelCounterparty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763427D600D40071110C /* ChannelCounterparty.swift */; }; + 0751778027D600D50071110C /* RouteHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763527D600D40071110C /* RouteHop.swift */; }; + 0751778127D600D50071110C /* WatchedOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763627D600D40071110C /* WatchedOutput.swift */; }; + 0751778227D600D50071110C /* ChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763727D600D40071110C /* ChannelUpdate.swift */; }; + 0751778327D600D50071110C /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763827D600D40071110C /* Record.swift */; }; + 0751778427D600D50071110C /* ReplyChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763927D600D40071110C /* ReplyChannelRange.swift */; }; + 0751778527D600D50071110C /* InitFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763A27D600D40071110C /* InitFeatures.swift */; }; + 0751778627D600D50071110C /* NodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763B27D600D40071110C /* NodeAnnouncement.swift */; }; + 0751778727D600D50071110C /* RawDataPart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763C27D600D40071110C /* RawDataPart.swift */; }; + 0751778827D600D50071110C /* ChannelPublicKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763D27D600D40071110C /* ChannelPublicKeys.swift */; }; + 0751778927D600D50071110C /* ChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763E27D600D40071110C /* ChannelInfo.swift */; }; + 0751778A27D600D50071110C /* InvoiceSignature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751763F27D600D40071110C /* InvoiceSignature.swift */; }; + 0751778B27D600D50071110C /* OpenChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764027D600D40071110C /* OpenChannel.swift */; }; + 0751778C27D600D50071110C /* FundingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764127D600D40071110C /* FundingSigned.swift */; }; + 0751778D27D600D50071110C /* SignedRawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764227D600D40071110C /* SignedRawInvoice.swift */; }; + 0751778E27D600D50071110C /* ClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764327D600D40071110C /* ClosingTransaction.swift */; }; + 0751778F27D600D50071110C /* LockedChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764427D600D40071110C /* LockedChannelMonitor.swift */; }; + 0751779027D600D50071110C /* CounterpartyForwardingInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764527D600D40071110C /* CounterpartyForwardingInfo.swift */; }; + 0751779127D600D50071110C /* FixedPenaltyScorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764627D600D40071110C /* FixedPenaltyScorer.swift */; }; + 0751779227D600D50071110C /* Init.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764727D600D40071110C /* Init.swift */; }; + 0751779327D600D50071110C /* ChannelTypeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764827D600D40071110C /* ChannelTypeFeatures.swift */; }; + 0751779427D600D50071110C /* UnsignedNodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764927D600D40071110C /* UnsignedNodeAnnouncement.swift */; }; + 0751779527D600D50071110C /* TrustedCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764A27D600D40071110C /* TrustedCommitmentTransaction.swift */; }; + 0751779627D600D50071110C /* ReadOnlyNetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764B27D600D40071110C /* ReadOnlyNetworkGraph.swift */; }; + 0751779727D600D50071110C /* RetryAttempts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764C27D600D40071110C /* RetryAttempts.swift */; }; + 0751779827D600D50071110C /* ChannelFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764D27D600D40071110C /* ChannelFeatures.swift */; }; + 0751779927D600D50071110C /* BuiltCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764E27D600D40071110C /* BuiltCommitmentTransaction.swift */; }; + 0751779A27D600D50071110C /* UserConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751764F27D600D40071110C /* UserConfig.swift */; }; + 0751779B27D600D50071110C /* Route.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751765027D600D40071110C /* Route.swift */; }; + 0751779C27D600D50071110C /* OutPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751765127D600D40071110C /* OutPoint.swift */; }; + 0751779D27D600D50071110C /* InvoicePayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751765227D600D40071110C /* InvoicePayer.swift */; }; + 0751779E27D600D50071110C /* DelayedPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751765327D600D40071110C /* DelayedPaymentOutputDescriptor.swift */; }; 075E25F426FEFF5A0000A76B /* TCPPeerHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E25F026FEFF5A0000A76B /* TCPPeerHandler.swift */; }; 075E25F526FEFF5A0000A76B /* TCPPeerHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E25F026FEFF5A0000A76B /* TCPPeerHandler.swift */; }; 075E25F626FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E25F126FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift */; }; @@ -35,319 +366,6 @@ 0767DA2826A0964700BEB4CC /* ldk_ver.h in Headers */ = {isa = PBXBuildFile; fileRef = 0767D0382698BB9700BEB4CC /* ldk_ver.h */; platformFilter = maccatalyst; settings = {ATTRIBUTES = (Public, ); }; }; 0767DA4026A0964700BEB4CC /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 0767D0392698BB9800BEB4CC /* ldk_net.c */; platformFilter = maccatalyst; }; 0767DA7F26A0964700BEB4CC /* LDKExampleClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07344C8626427F95001CD90E /* LDKExampleClass.swift */; platformFilter = maccatalyst; }; - 07F1B0142786F91400680859 /* PaymentSendFailure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AED72786F91400680859 /* PaymentSendFailure.swift */; }; - 07F1B0152786F91400680859 /* Option_u64Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AED82786F91400680859 /* Option_u64Z.swift */; }; - 07F1B0162786F91400680859 /* Fallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AED92786F91400680859 /* Fallback.swift */; }; - 07F1B0172786F91400680859 /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDA2786F91400680859 /* Option_C2Tuple_usizeTransactionZZ.swift */; }; - 07F1B0182786F91400680859 /* APIError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDB2786F91400680859 /* APIError.swift */; }; - 07F1B0192786F91400680859 /* Option_TypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDC2786F91400680859 /* Option_TypeZ.swift */; }; - 07F1B01A2786F91400680859 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDD2786F91400680859 /* Event.swift */; }; - 07F1B01B2786F91400680859 /* Option_AccessZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDE2786F91400680859 /* Option_AccessZ.swift */; }; - 07F1B01C2786F91400680859 /* PaymentPurpose.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEDF2786F91400680859 /* PaymentPurpose.swift */; }; - 07F1B01D2786F91400680859 /* PaymentError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE02786F91400680859 /* PaymentError.swift */; }; - 07F1B01E2786F91400680859 /* Option_ClosureReasonZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE12786F91400680859 /* Option_ClosureReasonZ.swift */; }; - 07F1B01F2786F91400680859 /* Option_FilterZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE22786F91400680859 /* Option_FilterZ.swift */; }; - 07F1B0202786F91400680859 /* Balance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE32786F91400680859 /* Balance.swift */; }; - 07F1B0212786F91400680859 /* ErrorAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE42786F91400680859 /* ErrorAction.swift */; }; - 07F1B0222786F91400680859 /* Option_MonitorEventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE52786F91400680859 /* Option_MonitorEventZ.swift */; }; - 07F1B0232786F91400680859 /* Option_NetworkUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE62786F91400680859 /* Option_NetworkUpdateZ.swift */; }; - 07F1B0242786F91400680859 /* Option_u32Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE72786F91400680859 /* Option_u32Z.swift */; }; - 07F1B0252786F91400680859 /* Option_u16Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE82786F91400680859 /* Option_u16Z.swift */; }; - 07F1B0262786F91400680859 /* NetAddress.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEE92786F91400680859 /* NetAddress.swift */; }; - 07F1B0272786F91400680859 /* SignOrCreationError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEEA2786F91400680859 /* SignOrCreationError.swift */; }; - 07F1B0282786F91400680859 /* NetworkUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEEB2786F91400680859 /* NetworkUpdate.swift */; }; - 07F1B0292786F91400680859 /* Option_EventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEEC2786F91400680859 /* Option_EventZ.swift */; }; - 07F1B02A2786F91400680859 /* ClosureReason.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEED2786F91400680859 /* ClosureReason.swift */; }; - 07F1B02B2786F91400680859 /* MessageSendEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEEE2786F91400680859 /* MessageSendEvent.swift */; }; - 07F1B02C2786F91400680859 /* MonitorEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEEF2786F91400680859 /* MonitorEvent.swift */; }; - 07F1B02D2786F91400680859 /* SpendableOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF02786F91400680859 /* SpendableOutputDescriptor.swift */; }; - 07F1B02E2786F91400680859 /* Option_CVec_NetAddressZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF12786F91400680859 /* Option_CVec_NetAddressZZ.swift */; }; - 07F1B02F2786F91400680859 /* BaseSign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF32786F91400680859 /* BaseSign.swift */; }; - 07F1B0302786F91400680859 /* Persist.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF42786F91400680859 /* Persist.swift */; }; - 07F1B0312786F91400680859 /* Score.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF52786F91400680859 /* Score.swift */; }; - 07F1B0322786F91400680859 /* KeysInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF62786F91400680859 /* KeysInterface.swift */; }; - 07F1B0332786F91400680859 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF72786F91400680859 /* Logger.swift */; }; - 07F1B0342786F91400680859 /* Payer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF82786F91400680859 /* Payer.swift */; }; - 07F1B0352786F91400680859 /* SocketDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEF92786F91400680859 /* SocketDescriptor.swift */; }; - 07F1B0362786F91400680859 /* FeeEstimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFA2786F91400680859 /* FeeEstimator.swift */; }; - 07F1B0372786F91400680859 /* MessageSendEventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFB2786F91400680859 /* MessageSendEventsProvider.swift */; }; - 07F1B0382786F91400680859 /* BroadcasterInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFC2786F91400680859 /* BroadcasterInterface.swift */; }; - 07F1B0392786F91400680859 /* LockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFD2786F91400680859 /* LockableScore.swift */; }; - 07F1B03A2786F91400680859 /* Confirm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFE2786F91400680859 /* Confirm.swift */; }; - 07F1B03B2786F91400680859 /* EventHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AEFF2786F91400680859 /* EventHandler.swift */; }; - 07F1B03C2786F91400680859 /* RoutingMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF002786F91400680859 /* RoutingMessageHandler.swift */; }; - 07F1B03D2786F91400680859 /* ChannelManagerPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF012786F91400680859 /* ChannelManagerPersister.swift */; }; - 07F1B03E2786F91400680859 /* Listen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF022786F91400680859 /* Listen.swift */; }; - 07F1B03F2786F91400680859 /* ChannelMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF032786F91400680859 /* ChannelMessageHandler.swift */; }; - 07F1B0402786F91400680859 /* Router.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF042786F91400680859 /* Router.swift */; }; - 07F1B0412786F91400680859 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF052786F91400680859 /* Filter.swift */; }; - 07F1B0422786F91400680859 /* CustomMessageReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF062786F91400680859 /* CustomMessageReader.swift */; }; - 07F1B0432786F91400680859 /* BindingsType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF072786F91400680859 /* BindingsType.swift */; }; - 07F1B0442786F91500680859 /* Access.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF082786F91400680859 /* Access.swift */; }; - 07F1B0452786F91500680859 /* EventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF092786F91400680859 /* EventsProvider.swift */; }; - 07F1B0462786F91500680859 /* Watch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF0A2786F91400680859 /* Watch.swift */; }; - 07F1B0472786F91500680859 /* Sign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF0B2786F91400680859 /* Sign.swift */; }; - 07F1B0482786F91500680859 /* CustomMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF0C2786F91400680859 /* CustomMessageHandler.swift */; }; - 07F1B0492786F91500680859 /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF0E2786F91400680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */; }; - 07F1B04A2786F91500680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF0F2786F91400680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */; }; - 07F1B04B2786F91500680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF102786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */; }; - 07F1B04C2786F91500680859 /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF112786F91400680859 /* C2Tuple_BlockHashChannelManagerZ.swift */; }; - 07F1B04D2786F91500680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF122786F91400680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */; }; - 07F1B04E2786F91500680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF132786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */; }; - 07F1B04F2786F91500680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF142786F91400680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */; }; - 07F1B0502786F91500680859 /* C2Tuple_u32TxOutZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF152786F91400680859 /* C2Tuple_u32TxOutZ.swift */; }; - 07F1B0512786F91500680859 /* C2Tuple_OutPointScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF162786F91400680859 /* C2Tuple_OutPointScriptZ.swift */; }; - 07F1B0522786F91500680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF172786F91400680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */; }; - 07F1B0532786F91500680859 /* C2Tuple_PublicKeyTypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF182786F91400680859 /* C2Tuple_PublicKeyTypeZ.swift */; }; - 07F1B0542786F91500680859 /* C2Tuple_u32ScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF192786F91400680859 /* C2Tuple_u32ScriptZ.swift */; }; - 07F1B0552786F91500680859 /* C2Tuple_usizeTransactionZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF1A2786F91400680859 /* C2Tuple_usizeTransactionZ.swift */; }; - 07F1B0562786F91500680859 /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF1B2786F91400680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */; }; - 07F1B0572786F91500680859 /* Bindings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF1C2786F91400680859 /* Bindings.swift */; }; - 07F1B0582786F91500680859 /* Result_ChannelConfigDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF1E2786F91400680859 /* Result_ChannelConfigDecodeErrorZ.swift */; }; - 07F1B0592786F91500680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF1F2786F91400680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */; }; - 07F1B05A2786F91500680859 /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF202786F91400680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */; }; - 07F1B05B2786F91500680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF212786F91400680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */; }; - 07F1B05C2786F91500680859 /* Result_ScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF222786F91400680859 /* Result_ScorerDecodeErrorZ.swift */; }; - 07F1B05D2786F91500680859 /* Result_FundingCreatedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF232786F91400680859 /* Result_FundingCreatedDecodeErrorZ.swift */; }; - 07F1B05E2786F91500680859 /* Result_TxCreationKeysErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF242786F91400680859 /* Result_TxCreationKeysErrorZ.swift */; }; - 07F1B05F2786F91500680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF252786F91400680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */; }; - 07F1B0602786F91500680859 /* Result_LockedChannelMonitorNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF262786F91400680859 /* Result_LockedChannelMonitorNoneZ.swift */; }; - 07F1B0612786F91500680859 /* Result_PingDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF272786F91400680859 /* Result_PingDecodeErrorZ.swift */; }; - 07F1B0622786F91500680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF282786F91400680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */; }; - 07F1B0632786F91500680859 /* Result_NonePaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF292786F91400680859 /* Result_NonePaymentSendFailureZ.swift */; }; - 07F1B0642786F91500680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2A2786F91400680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */; }; - 07F1B0652786F91500680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2B2786F91400680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B0662786F91500680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2C2786F91400680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */; }; - 07F1B0672786F91500680859 /* Result_RouteDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2D2786F91400680859 /* Result_RouteDecodeErrorZ.swift */; }; - 07F1B0682786F91500680859 /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2E2786F91400680859 /* Result_RevokeAndACKDecodeErrorZ.swift */; }; - 07F1B0692786F91500680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF2F2786F91400680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */; }; - 07F1B06A2786F91500680859 /* Result_OpenChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF302786F91400680859 /* Result_OpenChannelDecodeErrorZ.swift */; }; - 07F1B06B2786F91500680859 /* Result_ChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF312786F91400680859 /* Result_ChannelInfoDecodeErrorZ.swift */; }; - 07F1B06C2786F91500680859 /* Result_PongDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF322786F91400680859 /* Result_PongDecodeErrorZ.swift */; }; - 07F1B06D2786F91500680859 /* Result__u832APIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF332786F91400680859 /* Result__u832APIErrorZ.swift */; }; - 07F1B06E2786F91500680859 /* Result_RouteHintHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF342786F91400680859 /* Result_RouteHintHopDecodeErrorZ.swift */; }; - 07F1B06F2786F91500680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF352786F91400680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */; }; - 07F1B0702786F91500680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF362786F91400680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */; }; - 07F1B0712786F91500680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF372786F91400680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B0722786F91500680859 /* Result_PaymentSecretAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF382786F91400680859 /* Result_PaymentSecretAPIErrorZ.swift */; }; - 07F1B0732786F91500680859 /* Result_RouteHintDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF392786F91400680859 /* Result_RouteHintDecodeErrorZ.swift */; }; - 07F1B0742786F91500680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3A2786F91400680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B0752786F91500680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3B2786F91400680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */; }; - 07F1B0762786F91500680859 /* Result_ErrorMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3C2786F91400680859 /* Result_ErrorMessageDecodeErrorZ.swift */; }; - 07F1B0772786F91500680859 /* Result_AcceptChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3D2786F91400680859 /* Result_AcceptChannelDecodeErrorZ.swift */; }; - 07F1B0782786F91500680859 /* Result_PaymentPreimageAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3E2786F91400680859 /* Result_PaymentPreimageAPIErrorZ.swift */; }; - 07F1B0792786F91500680859 /* Result_PayeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF3F2786F91400680859 /* Result_PayeeDecodeErrorZ.swift */; }; - 07F1B07A2786F91500680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF402786F91400680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */; }; - 07F1B07B2786F91500680859 /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF412786F91400680859 /* Result_NodeFeaturesDecodeErrorZ.swift */; }; - 07F1B07C2786F91500680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF422786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */; }; - 07F1B07D2786F91500680859 /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF432786F91400680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */; }; - 07F1B07E2786F91500680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF442786F91400680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */; }; - 07F1B07F2786F91500680859 /* Result_StringErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF452786F91400680859 /* Result_StringErrorZ.swift */; }; - 07F1B0802786F91500680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF462786F91400680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B0812786F91500680859 /* Result_RouteHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF472786F91400680859 /* Result_RouteHopDecodeErrorZ.swift */; }; - 07F1B0822786F91500680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF482786F91400680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */; }; - 07F1B0832786F91500680859 /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF492786F91400680859 /* Result_CommitmentSignedDecodeErrorZ.swift */; }; - 07F1B0842786F91500680859 /* Result_NonePeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4A2786F91400680859 /* Result_NonePeerHandleErrorZ.swift */; }; - 07F1B0852786F91500680859 /* Result_TxOutAccessErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4B2786F91400680859 /* Result_TxOutAccessErrorZ.swift */; }; - 07F1B0862786F91500680859 /* Result_TrustedClosingTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4C2786F91400680859 /* Result_TrustedClosingTransactionNoneZ.swift */; }; - 07F1B0872786F91500680859 /* Result_NoneLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4D2786F91400680859 /* Result_NoneLightningErrorZ.swift */; }; - 07F1B0882786F91500680859 /* Result_NoneAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4E2786F91400680859 /* Result_NoneAPIErrorZ.swift */; }; - 07F1B0892786F91500680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF4F2786F91400680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */; }; - 07F1B08A2786F91500680859 /* Result_PublicKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF502786F91400680859 /* Result_PublicKeyErrorZ.swift */; }; - 07F1B08B2786F91500680859 /* Result_boolLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF512786F91400680859 /* Result_boolLightningErrorZ.swift */; }; - 07F1B08C2786F91500680859 /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF522786F91400680859 /* Result_ChannelUpdateDecodeErrorZ.swift */; }; - 07F1B08D2786F91500680859 /* Result_UpdateFeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF532786F91400680859 /* Result_UpdateFeeDecodeErrorZ.swift */; }; - 07F1B08E2786F91500680859 /* Result_DescriptionCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF542786F91400680859 /* Result_DescriptionCreationErrorZ.swift */; }; - 07F1B08F2786F91500680859 /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF552786F91400680859 /* Result_ShutdownScriptDecodeErrorZ.swift */; }; - 07F1B0902786F91500680859 /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF562786F91400680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B0912786F91500680859 /* Result_SiPrefixNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF572786F91400680859 /* Result_SiPrefixNoneZ.swift */; }; - 07F1B0922786F91500680859 /* Result_FundingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF582786F91400680859 /* Result_FundingSignedDecodeErrorZ.swift */; }; - 07F1B0932786F91500680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF592786F91400680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */; }; - 07F1B0942786F91500680859 /* Result_TransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5A2786F91400680859 /* Result_TransactionNoneZ.swift */; }; - 07F1B0952786F91500680859 /* Result_NetworkGraphDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5B2786F91400680859 /* Result_NetworkGraphDecodeErrorZ.swift */; }; - 07F1B0962786F91500680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5C2786F91400680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */; }; - 07F1B0972786F91500680859 /* Result_NoneSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5D2786F91400680859 /* Result_NoneSemanticErrorZ.swift */; }; - 07F1B0982786F91500680859 /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5E2786F91400680859 /* Result_InvoiceSignOrCreationErrorZ.swift */; }; - 07F1B0992786F91500680859 /* Result_InvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF5F2786F91400680859 /* Result_InvoiceNoneZ.swift */; }; - 07F1B09A2786F91500680859 /* Result_RoutingFeesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF602786F91400680859 /* Result_RoutingFeesDecodeErrorZ.swift */; }; - 07F1B09B2786F91500680859 /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF612786F91400680859 /* Result_ChannelReestablishDecodeErrorZ.swift */; }; - 07F1B09C2786F91500680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF622786F91400680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */; }; - 07F1B09D2786F91500680859 /* Result_RouteParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF632786F91400680859 /* Result_RouteParametersDecodeErrorZ.swift */; }; - 07F1B09E2786F91500680859 /* Result_ScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF642786F91400680859 /* Result_ScoringParametersDecodeErrorZ.swift */; }; - 07F1B09F2786F91500680859 /* Result_COption_EventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF652786F91400680859 /* Result_COption_EventZDecodeErrorZ.swift */; }; - 07F1B0A02786F91500680859 /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF662786F91400680859 /* Result_PaymentIdPaymentSendFailureZ.swift */; }; - 07F1B0A12786F91500680859 /* Result_PaymentIdPaymentErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF672786F91400680859 /* Result_PaymentIdPaymentErrorZ.swift */; }; - 07F1B0A22786F91500680859 /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF682786F91400680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */; }; - 07F1B0A32786F91500680859 /* Result_SecretKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF692786F91400680859 /* Result_SecretKeyErrorZ.swift */; }; - 07F1B0A42786F91500680859 /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6A2786F91400680859 /* Result_HTLCUpdateDecodeErrorZ.swift */; }; - 07F1B0A52786F91500680859 /* Result_NodeIdDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6B2786F91400680859 /* Result_NodeIdDecodeErrorZ.swift */; }; - 07F1B0A62786F91500680859 /* Result_RouteLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6C2786F91400680859 /* Result_RouteLightningErrorZ.swift */; }; - 07F1B0A72786F91500680859 /* Result_InvoiceSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6D2786F91400680859 /* Result_InvoiceSemanticErrorZ.swift */; }; - 07F1B0A82786F91500680859 /* Result_SignedRawInvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6E2786F91400680859 /* Result_SignedRawInvoiceNoneZ.swift */; }; - 07F1B0A92786F91500680859 /* Result_COption_TypeZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF6F2786F91400680859 /* Result_COption_TypeZDecodeErrorZ.swift */; }; - 07F1B0AA2786F91500680859 /* Result_InitFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF702786F91400680859 /* Result_InitFeaturesDecodeErrorZ.swift */; }; - 07F1B0AB2786F91500680859 /* Result_NetAddressDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF712786F91400680859 /* Result_NetAddressDecodeErrorZ.swift */; }; - 07F1B0AC2786F91500680859 /* Result_RecoverableSignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF722786F91400680859 /* Result_RecoverableSignatureNoneZ.swift */; }; - 07F1B0AD2786F91500680859 /* Result_CVec_SignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF732786F91400680859 /* Result_CVec_SignatureZNoneZ.swift */; }; - 07F1B0AE2786F91500680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF742786F91400680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */; }; - 07F1B0AF2786F91500680859 /* Result_SignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF752786F91400680859 /* Result_SignatureNoneZ.swift */; }; - 07F1B0B02786F91500680859 /* Result_NoneErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF762786F91400680859 /* Result_NoneErrorZ.swift */; }; - 07F1B0B12786F91500680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF772786F91400680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */; }; - 07F1B0B22786F91500680859 /* Result_FundingLockedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF782786F91400680859 /* Result_FundingLockedDecodeErrorZ.swift */; }; - 07F1B0B32786F91500680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF792786F91400680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */; }; - 07F1B0B42786F91500680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7A2786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */; }; - 07F1B0B52786F91500680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7B2786F91400680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */; }; - 07F1B0B62786F91500680859 /* Result_SignDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7C2786F91400680859 /* Result_SignDecodeErrorZ.swift */; }; - 07F1B0B72786F91500680859 /* Result_boolPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7D2786F91400680859 /* Result_boolPeerHandleErrorZ.swift */; }; - 07F1B0B82786F91500680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7E2786F91400680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */; }; - 07F1B0B92786F91500680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF7F2786F91400680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */; }; - 07F1B0BA2786F91500680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF802786F91400680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */; }; - 07F1B0BB2786F91500680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF812786F91400680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */; }; - 07F1B0BC2786F91500680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF822786F91400680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */; }; - 07F1B0BD2786F91500680859 /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF832786F91400680859 /* Result_TxCreationKeysDecodeErrorZ.swift */; }; - 07F1B0BE2786F91500680859 /* Result_NoneNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF842786F91400680859 /* Result_NoneNoneZ.swift */; }; - 07F1B0BF2786F91500680859 /* Result_PositiveTimestampCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF852786F91400680859 /* Result_PositiveTimestampCreationErrorZ.swift */; }; - 07F1B0C02786F91500680859 /* Result_OutPointDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF862786F91400680859 /* Result_OutPointDecodeErrorZ.swift */; }; - 07F1B0C12786F91500680859 /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF872786F91400680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */; }; - 07F1B0C22786F91500680859 /* Result_PayeePubKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF882786F91400680859 /* Result_PayeePubKeyErrorZ.swift */; }; - 07F1B0C32786F91500680859 /* Result_ShutdownDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF892786F91400680859 /* Result_ShutdownDecodeErrorZ.swift */; }; - 07F1B0C42786F91500680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8A2786F91400680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */; }; - 07F1B0C52786F91500680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8B2786F91400680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */; }; - 07F1B0C62786F91500680859 /* Result_NodeInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8C2786F91400680859 /* Result_NodeInfoDecodeErrorZ.swift */; }; - 07F1B0C72786F91500680859 /* Result_ExpiryTimeCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8D2786F91400680859 /* Result_ExpiryTimeCreationErrorZ.swift */; }; - 07F1B0C82786F91500680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8E2786F91400680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */; }; - 07F1B0C92786F91500680859 /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF8F2786F91400680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */; }; - 07F1B0CA2786F91500680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF902786F91400680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B0CB2786F91500680859 /* Result_PaymentSecretNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF912786F91400680859 /* Result_PaymentSecretNoneZ.swift */; }; - 07F1B0CC2786F91500680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF922786F91400680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */; }; - 07F1B0CD2786F91500680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF932786F91400680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */; }; - 07F1B0CE2786F91500680859 /* Result_InitDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF942786F91400680859 /* Result_InitDecodeErrorZ.swift */; }; - 07F1B0CF2786F91500680859 /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF952786F91400680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */; }; - 07F1B0D02786F91500680859 /* Result_PrivateRouteCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF962786F91400680859 /* Result_PrivateRouteCreationErrorZ.swift */; }; - 07F1B0D12786F91500680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF972786F91400680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */; }; - 07F1B0D22786F91500680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF982786F91400680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */; }; - 07F1B0D32786F91500680859 /* Result_ClosingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF992786F91400680859 /* Result_ClosingSignedDecodeErrorZ.swift */; }; - 07F1B0D42786F91500680859 /* Result_InMemorySignerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF9A2786F91400680859 /* Result_InMemorySignerDecodeErrorZ.swift */; }; - 07F1B0D52786F91500680859 /* MessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF9C2786F91400680859 /* MessageHandler.swift */; }; - 07F1B0D62786F91500680859 /* ChainMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF9D2786F91400680859 /* ChainMonitor.swift */; }; - 07F1B0D72786F91500680859 /* PayeePubKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF9E2786F91400680859 /* PayeePubKey.swift */; }; - 07F1B0D82786F91500680859 /* Scorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AF9F2786F91400680859 /* Scorer.swift */; }; - 07F1B0D92786F91500680859 /* Description.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA02786F91400680859 /* Description.swift */; }; - 07F1B0DA2786F91500680859 /* RevokeAndACK.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA12786F91400680859 /* RevokeAndACK.swift */; }; - 07F1B0DB2786F91500680859 /* MonitorUpdateId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA22786F91400680859 /* MonitorUpdateId.swift */; }; - 07F1B0DC2786F91500680859 /* Ping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA32786F91400680859 /* Ping.swift */; }; - 07F1B0DD2786F91500680859 /* PositiveTimestamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA42786F91400680859 /* PositiveTimestamp.swift */; }; - 07F1B0DE2786F91500680859 /* UpdateAddHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA52786F91400680859 /* UpdateAddHTLC.swift */; }; - 07F1B0DF2786F91500680859 /* UpdateFailMalformedHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA62786F91400680859 /* UpdateFailMalformedHTLC.swift */; }; - 07F1B0E02786F91500680859 /* ChannelMonitorUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA72786F91400680859 /* ChannelMonitorUpdate.swift */; }; - 07F1B0E12786F91500680859 /* RouteHint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA82786F91400680859 /* RouteHint.swift */; }; - 07F1B0E22786F91500680859 /* Sha256.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFA92786F91400680859 /* Sha256.swift */; }; - 07F1B0E32786F91500680859 /* HTLCOutputInCommitment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAA2786F91400680859 /* HTLCOutputInCommitment.swift */; }; - 07F1B0E42786F91500680859 /* ChannelReestablish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAB2786F91400680859 /* ChannelReestablish.swift */; }; - 07F1B0E52786F91500680859 /* RouteHintHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAC2786F91400680859 /* RouteHintHop.swift */; }; - 07F1B0E62786F91500680859 /* ChannelManagerReadArgs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAD2786F91400680859 /* ChannelManagerReadArgs.swift */; }; - 07F1B0E72786F91500680859 /* UpdateFulfillHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAE2786F91400680859 /* UpdateFulfillHTLC.swift */; }; - 07F1B0E82786F91500680859 /* NodeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFAF2786F91400680859 /* NodeFeatures.swift */; }; - 07F1B0E92786F91500680859 /* NetGraphMsgHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB02786F91400680859 /* NetGraphMsgHandler.swift */; }; - 07F1B0EA2786F91500680859 /* InvoiceFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB12786F91400680859 /* InvoiceFeatures.swift */; }; - 07F1B0EB2786F91500680859 /* Invoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB22786F91400680859 /* Invoice.swift */; }; - 07F1B0EC2786F91500680859 /* RoutingFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB32786F91400680859 /* RoutingFees.swift */; }; - 07F1B0ED2786F91500680859 /* ChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB42786F91400680859 /* ChannelMonitor.swift */; }; - 07F1B0EE2786F91500680859 /* ClosingSignedFeeRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB52786F91400680859 /* ClosingSignedFeeRange.swift */; }; - 07F1B0EF2786F91500680859 /* BestBlock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB62786F91400680859 /* BestBlock.swift */; }; - 07F1B0F02786F91500680859 /* UpdateFee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB72786F91400680859 /* UpdateFee.swift */; }; - 07F1B0F12786F91500680859 /* UnsignedChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB82786F91400680859 /* UnsignedChannelUpdate.swift */; }; - 07F1B0F22786F91500680859 /* MultiThreadedLockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFB92786F91400680859 /* MultiThreadedLockableScore.swift */; }; - 07F1B0F32786F91500680859 /* QueryShortChannelIds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBA2786F91400680859 /* QueryShortChannelIds.swift */; }; - 07F1B0F42786F91500680859 /* NetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBB2786F91400680859 /* NetworkGraph.swift */; }; - 07F1B0F52786F91500680859 /* InvalidShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBC2786F91400680859 /* InvalidShutdownScript.swift */; }; - 07F1B0F62786F91500680859 /* CommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBD2786F91400680859 /* CommitmentTransaction.swift */; }; - 07F1B0F72786F91500680859 /* KeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBE2786F91400680859 /* KeysManager.swift */; }; - 07F1B0F82786F91500680859 /* FundingCreated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFBF2786F91400680859 /* FundingCreated.swift */; }; - 07F1B0F92786F91500680859 /* CounterpartyChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC02786F91400680859 /* CounterpartyChannelTransactionParameters.swift */; }; - 07F1B0FA2786F91500680859 /* ChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC12786F91400680859 /* ChannelAnnouncement.swift */; }; - 07F1B0FB2786F91500680859 /* ReplyShortChannelIdsEnd.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC22786F91400680859 /* ReplyShortChannelIdsEnd.swift */; }; - 07F1B0FC2786F91500680859 /* IgnoringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC32786F91400680859 /* IgnoringMessageHandler.swift */; }; - 07F1B0FD2786F91500680859 /* ShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC42786F91400680859 /* ShutdownScript.swift */; }; - 07F1B0FE2786F91500680859 /* PeerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC52786F91400680859 /* PeerManager.swift */; }; - 07F1B0FF2786F91500680859 /* UpdateFailHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC62786F91400680859 /* UpdateFailHTLC.swift */; }; - 07F1B1002786F91500680859 /* FundingLocked.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC72786F91400680859 /* FundingLocked.swift */; }; - 07F1B1012786F91500680859 /* ScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC82786F91400680859 /* ScoringParameters.swift */; }; - 07F1B1022786F91500680859 /* StaticPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFC92786F91400680859 /* StaticPaymentOutputDescriptor.swift */; }; - 07F1B1032786F91500680859 /* HTLCUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCA2786F91400680859 /* HTLCUpdate.swift */; }; - 07F1B1042786F91500680859 /* NodeId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCB2786F91400680859 /* NodeId.swift */; }; - 07F1B1052786F91500680859 /* InMemorySigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCC2786F91400680859 /* InMemorySigner.swift */; }; - 07F1B1062786F91500680859 /* GossipTimestampFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCD2786F91400680859 /* GossipTimestampFilter.swift */; }; - 07F1B1072786F91500680859 /* PeerHandleError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCE2786F91400680859 /* PeerHandleError.swift */; }; - 07F1B1082786F91500680859 /* ErroringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFCF2786F91400680859 /* ErroringMessageHandler.swift */; }; - 07F1B1092786F91500680859 /* CommitmentSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD02786F91400680859 /* CommitmentSigned.swift */; }; - 07F1B10A2786F91500680859 /* TxCreationKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD12786F91400680859 /* TxCreationKeys.swift */; }; - 07F1B10B2786F91500680859 /* RawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD22786F91400680859 /* RawInvoice.swift */; }; - 07F1B10C2786F91500680859 /* Pong.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD32786F91400680859 /* Pong.swift */; }; - 07F1B10D2786F91500680859 /* ExpiryTime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD42786F91400680859 /* ExpiryTime.swift */; }; - 07F1B10E2786F91500680859 /* ChannelConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD52786F91400680859 /* ChannelConfig.swift */; }; - 07F1B10F2786F91500680859 /* DecodeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD62786F91400680859 /* DecodeError.swift */; }; - 07F1B1102786F91500680859 /* QueryChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD72786F91400680859 /* QueryChannelRange.swift */; }; - 07F1B1112786F91500680859 /* HolderCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD82786F91400680859 /* HolderCommitmentTransaction.swift */; }; - 07F1B1122786F91500680859 /* ChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFD92786F91400680859 /* ChannelTransactionParameters.swift */; }; - 07F1B1132786F91500680859 /* NodeInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDA2786F91400680859 /* NodeInfo.swift */; }; - 07F1B1142786F91500680859 /* BackgroundProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDB2786F91400680859 /* BackgroundProcessor.swift */; }; - 07F1B1152786F91500680859 /* DirectedChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDC2786F91400680859 /* DirectedChannelTransactionParameters.swift */; }; - 07F1B1162786F91500680859 /* ChannelHandshakeConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDD2786F91400680859 /* ChannelHandshakeConfig.swift */; }; - 07F1B1172786F91500680859 /* RouteParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDE2786F91400680859 /* RouteParameters.swift */; }; - 07F1B1182786F91500680859 /* ChannelManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFDF2786F91400680859 /* ChannelManager.swift */; }; - 07F1B1192786F91500680859 /* PrivateRoute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE02786F91400680859 /* PrivateRoute.swift */; }; - 07F1B11A2786F91500680859 /* Shutdown.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE12786F91400680859 /* Shutdown.swift */; }; - 07F1B11B2786F91500680859 /* ChainParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE22786F91400680859 /* ChainParameters.swift */; }; - 07F1B11C2786F91500680859 /* AcceptChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE32786F91400680859 /* AcceptChannel.swift */; }; - 07F1B11D2786F91500680859 /* FilesystemPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE42786F91400680859 /* FilesystemPersister.swift */; }; - 07F1B11E2786F91500680859 /* ChannelHandshakeLimits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE52786F91400680859 /* ChannelHandshakeLimits.swift */; }; - 07F1B11F2786F91500680859 /* AnnouncementSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE62786F91400680859 /* AnnouncementSignatures.swift */; }; - 07F1B1202786F91500680859 /* CommitmentUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE72786F91400680859 /* CommitmentUpdate.swift */; }; - 07F1B1212786F91500680859 /* ClosingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE82786F91400680859 /* ClosingSigned.swift */; }; - 07F1B1222786F91500680859 /* DirectionalChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFE92786F91400680859 /* DirectionalChannelInfo.swift */; }; - 07F1B1232786F91500680859 /* DefaultRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFEA2786F91400680859 /* DefaultRouter.swift */; }; - 07F1B1242786F91500680859 /* ChannelDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFEB2786F91400680859 /* ChannelDetails.swift */; }; - 07F1B1252786F91500680859 /* Payee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFEC2786F91400680859 /* Payee.swift */; }; - 07F1B1262786F91500680859 /* NodeAnnouncementInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFED2786F91400680859 /* NodeAnnouncementInfo.swift */; }; - 07F1B1272786F91500680859 /* UnsignedChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFEE2786F91400680859 /* UnsignedChannelAnnouncement.swift */; }; - 07F1B1282786F91500680859 /* TrustedClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFEF2786F91400680859 /* TrustedClosingTransaction.swift */; }; - 07F1B1292786F91500680859 /* LightningError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF02786F91400680859 /* LightningError.swift */; }; - 07F1B12A2786F91500680859 /* MinFinalCltvExpiry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF12786F91400680859 /* MinFinalCltvExpiry.swift */; }; - 07F1B12B2786F91500680859 /* DataLossProtect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF22786F91400680859 /* DataLossProtect.swift */; }; - 07F1B12C2786F91500680859 /* TxOut.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF32786F91400680859 /* TxOut.swift */; }; - 07F1B12D2786F91500680859 /* ErrorMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF42786F91400680859 /* ErrorMessage.swift */; }; - 07F1B12E2786F91500680859 /* ChannelCounterparty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF52786F91400680859 /* ChannelCounterparty.swift */; }; - 07F1B12F2786F91500680859 /* RouteHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF62786F91400680859 /* RouteHop.swift */; }; - 07F1B1302786F91500680859 /* WatchedOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF72786F91400680859 /* WatchedOutput.swift */; }; - 07F1B1312786F91500680859 /* ChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF82786F91400680859 /* ChannelUpdate.swift */; }; - 07F1B1322786F91500680859 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFF92786F91400680859 /* Record.swift */; }; - 07F1B1332786F91500680859 /* ReplyChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFA2786F91400680859 /* ReplyChannelRange.swift */; }; - 07F1B1342786F91500680859 /* InitFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFB2786F91400680859 /* InitFeatures.swift */; }; - 07F1B1352786F91500680859 /* NodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFC2786F91400680859 /* NodeAnnouncement.swift */; }; - 07F1B1362786F91500680859 /* RawDataPart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFD2786F91400680859 /* RawDataPart.swift */; }; - 07F1B1372786F91500680859 /* ChannelPublicKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFE2786F91400680859 /* ChannelPublicKeys.swift */; }; - 07F1B1382786F91500680859 /* ChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1AFFF2786F91400680859 /* ChannelInfo.swift */; }; - 07F1B1392786F91500680859 /* InvoiceSignature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0002786F91400680859 /* InvoiceSignature.swift */; }; - 07F1B13A2786F91500680859 /* OpenChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0012786F91400680859 /* OpenChannel.swift */; }; - 07F1B13B2786F91500680859 /* FundingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0022786F91400680859 /* FundingSigned.swift */; }; - 07F1B13C2786F91500680859 /* SignedRawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0032786F91400680859 /* SignedRawInvoice.swift */; }; - 07F1B13D2786F91500680859 /* ClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0042786F91400680859 /* ClosingTransaction.swift */; }; - 07F1B13E2786F91500680859 /* LockedChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0052786F91400680859 /* LockedChannelMonitor.swift */; }; - 07F1B13F2786F91500680859 /* CounterpartyForwardingInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0062786F91400680859 /* CounterpartyForwardingInfo.swift */; }; - 07F1B1402786F91500680859 /* Init.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0072786F91400680859 /* Init.swift */; }; - 07F1B1412786F91500680859 /* ChannelTypeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0082786F91400680859 /* ChannelTypeFeatures.swift */; }; - 07F1B1422786F91500680859 /* UnsignedNodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0092786F91400680859 /* UnsignedNodeAnnouncement.swift */; }; - 07F1B1432786F91500680859 /* TrustedCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00A2786F91400680859 /* TrustedCommitmentTransaction.swift */; }; - 07F1B1442786F91500680859 /* ReadOnlyNetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00B2786F91400680859 /* ReadOnlyNetworkGraph.swift */; }; - 07F1B1452786F91500680859 /* RetryAttempts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00C2786F91400680859 /* RetryAttempts.swift */; }; - 07F1B1462786F91500680859 /* ChannelFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00D2786F91400680859 /* ChannelFeatures.swift */; }; - 07F1B1472786F91500680859 /* BuiltCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00E2786F91400680859 /* BuiltCommitmentTransaction.swift */; }; - 07F1B1482786F91500680859 /* UserConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B00F2786F91400680859 /* UserConfig.swift */; }; - 07F1B1492786F91500680859 /* Route.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0102786F91400680859 /* Route.swift */; }; - 07F1B14A2786F91500680859 /* OutPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0112786F91400680859 /* OutPoint.swift */; }; - 07F1B14B2786F91500680859 /* InvoicePayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0122786F91400680859 /* InvoicePayer.swift */; }; - 07F1B14C2786F91500680859 /* DelayedPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B0132786F91400680859 /* DelayedPaymentOutputDescriptor.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -370,6 +388,337 @@ 07344C8626427F95001CD90E /* LDKExampleClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LDKExampleClass.swift; sourceTree = ""; }; 07344FCD26428DD2001CD90E /* LDKFramework.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = LDKFramework.modulemap; sourceTree = ""; }; 07344FE526429524001CD90E /* libldk.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libldk.a; sourceTree = ""; }; + 0751750527D600D20071110C /* PaymentSendFailure.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSendFailure.swift; sourceTree = ""; }; + 0751750627D600D20071110C /* Option_u64Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u64Z.swift; sourceTree = ""; }; + 0751750727D600D20071110C /* Fallback.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Fallback.swift; sourceTree = ""; }; + 0751750827D600D20071110C /* Option_C2Tuple_usizeTransactionZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_C2Tuple_usizeTransactionZZ.swift; sourceTree = ""; }; + 0751750927D600D20071110C /* APIError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APIError.swift; sourceTree = ""; }; + 0751750A27D600D20071110C /* Option_TypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_TypeZ.swift; sourceTree = ""; }; + 0751750B27D600D20071110C /* Event.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; + 0751750C27D600D20071110C /* Option_AccessZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_AccessZ.swift; sourceTree = ""; }; + 0751750D27D600D20071110C /* PaymentPurpose.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentPurpose.swift; sourceTree = ""; }; + 0751750E27D600D20071110C /* PaymentError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentError.swift; sourceTree = ""; }; + 0751750F27D600D20071110C /* Option_ClosureReasonZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_ClosureReasonZ.swift; sourceTree = ""; }; + 0751751027D600D20071110C /* Option_FilterZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_FilterZ.swift; sourceTree = ""; }; + 0751751127D600D20071110C /* EffectiveCapacity.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EffectiveCapacity.swift; sourceTree = ""; }; + 0751751227D600D20071110C /* Balance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Balance.swift; sourceTree = ""; }; + 0751751327D600D20071110C /* ErrorAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorAction.swift; sourceTree = ""; }; + 0751751427D600D20071110C /* Option_MonitorEventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_MonitorEventZ.swift; sourceTree = ""; }; + 0751751527D600D20071110C /* Option_NetworkUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_NetworkUpdateZ.swift; sourceTree = ""; }; + 0751751627D600D20071110C /* Option_u32Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u32Z.swift; sourceTree = ""; }; + 0751751727D600D20071110C /* Option_u16Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u16Z.swift; sourceTree = ""; }; + 0751751827D600D20071110C /* NetAddress.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetAddress.swift; sourceTree = ""; }; + 0751751927D600D20071110C /* SignOrCreationError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignOrCreationError.swift; sourceTree = ""; }; + 0751751A27D600D20071110C /* NetworkUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkUpdate.swift; sourceTree = ""; }; + 0751751B27D600D20071110C /* Option_EventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_EventZ.swift; sourceTree = ""; }; + 0751751C27D600D20071110C /* ClosureReason.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosureReason.swift; sourceTree = ""; }; + 0751751D27D600D20071110C /* MessageSendEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEvent.swift; sourceTree = ""; }; + 0751751E27D600D20071110C /* MonitorEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorEvent.swift; sourceTree = ""; }; + 0751751F27D600D20071110C /* SpendableOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SpendableOutputDescriptor.swift; sourceTree = ""; }; + 0751752027D600D20071110C /* Option_CVec_NetAddressZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_CVec_NetAddressZZ.swift; sourceTree = ""; }; + 0751752227D600D20071110C /* BaseSign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseSign.swift; sourceTree = ""; }; + 0751752327D600D20071110C /* Persist.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persist.swift; sourceTree = ""; }; + 0751752427D600D20071110C /* Score.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Score.swift; sourceTree = ""; }; + 0751752527D600D20071110C /* KeysInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysInterface.swift; sourceTree = ""; }; + 0751752627D600D20071110C /* Logger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; + 0751752727D600D20071110C /* Payer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payer.swift; sourceTree = ""; }; + 0751752827D600D20071110C /* SocketDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketDescriptor.swift; sourceTree = ""; }; + 0751752927D600D20071110C /* FeeEstimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeeEstimator.swift; sourceTree = ""; }; + 0751752A27D600D20071110C /* MessageSendEventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEventsProvider.swift; sourceTree = ""; }; + 0751752B27D600D20071110C /* BroadcasterInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BroadcasterInterface.swift; sourceTree = ""; }; + 0751752C27D600D20071110C /* LockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockableScore.swift; sourceTree = ""; }; + 0751752D27D600D20071110C /* Confirm.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Confirm.swift; sourceTree = ""; }; + 0751752E27D600D20071110C /* EventHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventHandler.swift; sourceTree = ""; }; + 0751752F27D600D20071110C /* RoutingMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingMessageHandler.swift; sourceTree = ""; }; + 0751753027D600D20071110C /* ChannelManagerPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerPersister.swift; sourceTree = ""; }; + 0751753127D600D20071110C /* Listen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Listen.swift; sourceTree = ""; }; + 0751753227D600D20071110C /* ChannelMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMessageHandler.swift; sourceTree = ""; }; + 0751753327D600D20071110C /* Router.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Router.swift; sourceTree = ""; }; + 0751753427D600D20071110C /* Filter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Filter.swift; sourceTree = ""; }; + 0751753527D600D20071110C /* CustomMessageReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageReader.swift; sourceTree = ""; }; + 0751753627D600D20071110C /* BindingsType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BindingsType.swift; sourceTree = ""; }; + 0751753727D600D20071110C /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = ""; }; + 0751753827D600D20071110C /* EventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventsProvider.swift; sourceTree = ""; }; + 0751753927D600D20071110C /* Watch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Watch.swift; sourceTree = ""; }; + 0751753A27D600D20071110C /* Sign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sign.swift; sourceTree = ""; }; + 0751753B27D600D20071110C /* CustomMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageHandler.swift; sourceTree = ""; }; + 0751753D27D600D20071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelMonitorZ.swift; sourceTree = ""; }; + 0751753E27D600D20071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureCVec_SignatureZZ.swift; sourceTree = ""; }; + 0751753F27D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift; sourceTree = ""; }; + 0751754027D600D20071110C /* C2Tuple_BlockHashChannelManagerZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelManagerZ.swift; sourceTree = ""; }; + 0751754127D600D20071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift; sourceTree = ""; }; + 0751754227D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift; sourceTree = ""; }; + 0751754327D600D20071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentSecretZ.swift; sourceTree = ""; }; + 0751754427D600D20071110C /* C2Tuple_u32TxOutZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32TxOutZ.swift; sourceTree = ""; }; + 0751754527D600D20071110C /* C2Tuple_OutPointScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_OutPointScriptZ.swift; sourceTree = ""; }; + 0751754627D600D20071110C /* C2Tuple_SignatureSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureSignatureZ.swift; sourceTree = ""; }; + 0751754727D600D20071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift; sourceTree = ""; }; + 0751754827D600D20071110C /* C2Tuple_PublicKeyTypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PublicKeyTypeZ.swift; sourceTree = ""; }; + 0751754927D600D20071110C /* C2Tuple_u32ScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32ScriptZ.swift; sourceTree = ""; }; + 0751754A27D600D20071110C /* C2Tuple_usizeTransactionZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_usizeTransactionZ.swift; sourceTree = ""; }; + 0751754B27D600D20071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentIdZ.swift; sourceTree = ""; }; + 0751754C27D600D20071110C /* Bindings.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Bindings.swift; sourceTree = ""; }; + 0751754E27D600D20071110C /* Result_ChannelConfigDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelConfigDecodeErrorZ.swift; sourceTree = ""; }; + 0751754F27D600D20071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FixedPenaltyScorerDecodeErrorZ.swift; sourceTree = ""; }; + 0751755027D600D20071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751755127D600D20071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; + 0751755227D600D20071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureSignatureZNoneZ.swift; sourceTree = ""; }; + 0751755327D600D20071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptInvalidShutdownScriptZ.swift; sourceTree = ""; }; + 0751755427D600D20071110C /* Result_ScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScorerDecodeErrorZ.swift; sourceTree = ""; }; + 0751755527D600D20071110C /* Result_FundingCreatedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingCreatedDecodeErrorZ.swift; sourceTree = ""; }; + 0751755627D600D20071110C /* Result_TxCreationKeysErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysErrorZ.swift; sourceTree = ""; }; + 0751755727D600D20071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift; sourceTree = ""; }; + 0751755827D600D20071110C /* Result_LockedChannelMonitorNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_LockedChannelMonitorNoneZ.swift; sourceTree = ""; }; + 0751755927D600D20071110C /* Result_PingDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PingDecodeErrorZ.swift; sourceTree = ""; }; + 0751755A27D600D20071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFulfillHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 0751755B27D600D20071110C /* Result_NonePaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePaymentSendFailureZ.swift; sourceTree = ""; }; + 0751755C27D600D20071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_u8ZPeerHandleErrorZ.swift; sourceTree = ""; }; + 0751755D27D600D20071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 0751755E27D600D20071110C /* Result_RouteDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteDecodeErrorZ.swift; sourceTree = ""; }; + 0751755F27D600D20071110C /* Result_RevokeAndACKDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RevokeAndACKDecodeErrorZ.swift; sourceTree = ""; }; + 0751756027D600D20071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_ClosureReasonZDecodeErrorZ.swift; sourceTree = ""; }; + 0751756127D600D20071110C /* Result_OpenChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OpenChannelDecodeErrorZ.swift; sourceTree = ""; }; + 0751756227D600D20071110C /* Result_ChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; + 0751756327D600D20071110C /* Result_PongDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PongDecodeErrorZ.swift; sourceTree = ""; }; + 0751756427D600D20071110C /* Result__u832APIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result__u832APIErrorZ.swift; sourceTree = ""; }; + 0751756527D600D20071110C /* Result_RouteHintHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintHopDecodeErrorZ.swift; sourceTree = ""; }; + 0751756627D600D20071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedFeeRangeDecodeErrorZ.swift; sourceTree = ""; }; + 0751756727D600D20071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelPublicKeysDecodeErrorZ.swift; sourceTree = ""; }; + 0751756827D600D20071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_BuiltCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751756927D600D20071110C /* Result_PaymentSecretAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretAPIErrorZ.swift; sourceTree = ""; }; + 0751756A27D600D20071110C /* Result_RouteHintDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintDecodeErrorZ.swift; sourceTree = ""; }; + 0751756B27D600D20071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SpendableOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 0751756C27D600D20071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751756D27D600D20071110C /* Result_ErrorMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ErrorMessageDecodeErrorZ.swift; sourceTree = ""; }; + 0751756E27D600D20071110C /* Result_AcceptChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AcceptChannelDecodeErrorZ.swift; sourceTree = ""; }; + 0751756F27D600D20071110C /* Result_PaymentPreimageAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentPreimageAPIErrorZ.swift; sourceTree = ""; }; + 0751757027D600D20071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedNodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751757127D600D20071110C /* Result_NodeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751757227D600D20071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift; sourceTree = ""; }; + 0751757327D600D20071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedCommitmentTransactionNoneZ.swift; sourceTree = ""; }; + 0751757427D600D20071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AnnouncementSignaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751757527D600D20071110C /* Result_StringErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StringErrorZ.swift; sourceTree = ""; }; + 0751757627D600D20071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HolderCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751757727D600D20071110C /* Result_RouteHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHopDecodeErrorZ.swift; sourceTree = ""; }; + 0751757827D600D20071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751757927D600D20071110C /* Result_CommitmentSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentSignedDecodeErrorZ.swift; sourceTree = ""; }; + 0751757A27D600D20071110C /* Result_NonePeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePeerHandleErrorZ.swift; sourceTree = ""; }; + 0751757B27D600D20071110C /* Result_TxOutAccessErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxOutAccessErrorZ.swift; sourceTree = ""; }; + 0751757C27D600D20071110C /* Result_TrustedClosingTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedClosingTransactionNoneZ.swift; sourceTree = ""; }; + 0751757D27D600D20071110C /* Result_NoneLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneLightningErrorZ.swift; sourceTree = ""; }; + 0751757E27D600D20071110C /* Result_NoneAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneAPIErrorZ.swift; sourceTree = ""; }; + 0751757F27D600D20071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTypeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751758027D600D20071110C /* Result_PublicKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PublicKeyErrorZ.swift; sourceTree = ""; }; + 0751758127D600D30071110C /* Result_boolLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolLightningErrorZ.swift; sourceTree = ""; }; + 0751758227D600D30071110C /* Result_ChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751758327D600D30071110C /* Result_UpdateFeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFeeDecodeErrorZ.swift; sourceTree = ""; }; + 0751758427D600D30071110C /* Result_DescriptionCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DescriptionCreationErrorZ.swift; sourceTree = ""; }; + 0751758527D600D30071110C /* Result_ShutdownScriptDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptDecodeErrorZ.swift; sourceTree = ""; }; + 0751758627D600D30071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751758727D600D30071110C /* Result_PaymentParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751758827D600D30071110C /* Result_SiPrefixNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SiPrefixNoneZ.swift; sourceTree = ""; }; + 0751758927D600D30071110C /* Result_FundingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingSignedDecodeErrorZ.swift; sourceTree = ""; }; + 0751758A27D600D30071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751758B27D600D30071110C /* Result_TransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TransactionNoneZ.swift; sourceTree = ""; }; + 0751758C27D600D30071110C /* Result_NetworkGraphDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetworkGraphDecodeErrorZ.swift; sourceTree = ""; }; + 0751758D27D600D30071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751758E27D600D30071110C /* Result_NoneSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneSemanticErrorZ.swift; sourceTree = ""; }; + 0751758F27D600D30071110C /* Result_InvoiceSignOrCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSignOrCreationErrorZ.swift; sourceTree = ""; }; + 0751759027D600D30071110C /* Result_InvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceNoneZ.swift; sourceTree = ""; }; + 0751759127D600D30071110C /* Result_RoutingFeesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RoutingFeesDecodeErrorZ.swift; sourceTree = ""; }; + 0751759227D600D30071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift; sourceTree = ""; }; + 0751759327D600D30071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ProbabilisticScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751759427D600D30071110C /* Result_ChannelReestablishDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelReestablishDecodeErrorZ.swift; sourceTree = ""; }; + 0751759527D600D30071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_GossipTimestampFilterDecodeErrorZ.swift; sourceTree = ""; }; + 0751759627D600D30071110C /* Result_RouteParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751759727D600D30071110C /* Result_ScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751759827D600D30071110C /* Result_COption_EventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_EventZDecodeErrorZ.swift; sourceTree = ""; }; + 0751759927D600D30071110C /* Result_PaymentIdPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentSendFailureZ.swift; sourceTree = ""; }; + 0751759A27D600D30071110C /* Result_PaymentIdPaymentErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentErrorZ.swift; sourceTree = ""; }; + 0751759B27D600D30071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_CVec_u8ZZNoneZ.swift; sourceTree = ""; }; + 0751759C27D600D30071110C /* Result_SecretKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyErrorZ.swift; sourceTree = ""; }; + 0751759D27D600D30071110C /* Result_HTLCUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751759E27D600D30071110C /* Result_NodeIdDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeIdDecodeErrorZ.swift; sourceTree = ""; }; + 0751759F27D600D30071110C /* Result_RouteLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteLightningErrorZ.swift; sourceTree = ""; }; + 075175A027D600D30071110C /* Result_InvoiceSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSemanticErrorZ.swift; sourceTree = ""; }; + 075175A127D600D30071110C /* Result_SignedRawInvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignedRawInvoiceNoneZ.swift; sourceTree = ""; }; + 075175A227D600D30071110C /* Result_COption_TypeZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_TypeZDecodeErrorZ.swift; sourceTree = ""; }; + 075175A327D600D30071110C /* Result_InitFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 075175A427D600D30071110C /* Result_NetAddressDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetAddressDecodeErrorZ.swift; sourceTree = ""; }; + 075175A527D600D30071110C /* Result_WarningMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_WarningMessageDecodeErrorZ.swift; sourceTree = ""; }; + 075175A627D600D30071110C /* Result_RecoverableSignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RecoverableSignatureNoneZ.swift; sourceTree = ""; }; + 075175A727D600D30071110C /* Result_ChannelDetailsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelDetailsDecodeErrorZ.swift; sourceTree = ""; }; + 075175A827D600D30071110C /* Result_CVec_SignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_SignatureZNoneZ.swift; sourceTree = ""; }; + 075175A927D600D30071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelMonitorUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 075175AA27D600D30071110C /* Result_SignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignatureNoneZ.swift; sourceTree = ""; }; + 075175AB27D600D30071110C /* Result_NoneErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneErrorZ.swift; sourceTree = ""; }; + 075175AC27D600D30071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateAddHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 075175AD27D600D30071110C /* Result_FundingLockedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingLockedDecodeErrorZ.swift; sourceTree = ""; }; + 075175AE27D600D30071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PhantomRouteHintsDecodeErrorZ.swift; sourceTree = ""; }; + 075175AF27D600D30071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateInfoDecodeErrorZ.swift; sourceTree = ""; }; + 075175B027D600D30071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift; sourceTree = ""; }; + 075175B127D600D30071110C /* Result_SecretKeyNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyNoneZ.swift; sourceTree = ""; }; + 075175B227D600D30071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift; sourceTree = ""; }; + 075175B327D600D30071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryShortChannelIdsDecodeErrorZ.swift; sourceTree = ""; }; + 075175B427D600D30071110C /* Result_SignDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignDecodeErrorZ.swift; sourceTree = ""; }; + 075175B527D600D30071110C /* Result_boolPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolPeerHandleErrorZ.swift; sourceTree = ""; }; + 075175B627D600D30071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; + 075175B727D600D30071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift; sourceTree = ""; }; + 075175B827D600D30071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; + 075175B927D600D30071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailMalformedHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 075175BA27D600D30071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 075175BB27D600D30071110C /* Result_TxCreationKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysDecodeErrorZ.swift; sourceTree = ""; }; + 075175BC27D600D30071110C /* Result_NoneNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneNoneZ.swift; sourceTree = ""; }; + 075175BD27D600D30071110C /* Result_PositiveTimestampCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PositiveTimestampCreationErrorZ.swift; sourceTree = ""; }; + 075175BE27D600D30071110C /* Result_OutPointDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OutPointDecodeErrorZ.swift; sourceTree = ""; }; + 075175BF27D600D30071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 075175C027D600D30071110C /* Result_PayeePubKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeePubKeyErrorZ.swift; sourceTree = ""; }; + 075175C127D600D30071110C /* Result_ShutdownDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownDecodeErrorZ.swift; sourceTree = ""; }; + 075175C227D600D30071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift; sourceTree = ""; }; + 075175C327D600D30071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementInfoDecodeErrorZ.swift; sourceTree = ""; }; + 075175C427D600D30071110C /* Result_NodeInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeInfoDecodeErrorZ.swift; sourceTree = ""; }; + 075175C527D600D30071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_NetworkUpdateZDecodeErrorZ.swift; sourceTree = ""; }; + 075175C627D600D30071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 075175C727D600D30071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 075175C827D600D30071110C /* Result_PaymentSecretNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretNoneZ.swift; sourceTree = ""; }; + 075175C927D600D30071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyForwardingInfoDecodeErrorZ.swift; sourceTree = ""; }; + 075175CA27D600D30071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_MonitorEventZDecodeErrorZ.swift; sourceTree = ""; }; + 075175CB27D600D30071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCOutputInCommitmentDecodeErrorZ.swift; sourceTree = ""; }; + 075175CC27D600D30071110C /* Result_InitDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitDecodeErrorZ.swift; sourceTree = ""; }; + 075175CD27D600D30071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneChannelMonitorUpdateErrZ.swift; sourceTree = ""; }; + 075175CE27D600D30071110C /* Result_PrivateRouteCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PrivateRouteCreationErrorZ.swift; sourceTree = ""; }; + 075175CF27D600D30071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift; sourceTree = ""; }; + 075175D027D600D30071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyShortChannelIdsEndDecodeErrorZ.swift; sourceTree = ""; }; + 075175D127D600D30071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelCounterpartyDecodeErrorZ.swift; sourceTree = ""; }; + 075175D227D600D30071110C /* Result_ClosingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedDecodeErrorZ.swift; sourceTree = ""; }; + 075175D327D600D30071110C /* Result_InMemorySignerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InMemorySignerDecodeErrorZ.swift; sourceTree = ""; }; + 075175D527D600D30071110C /* MessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageHandler.swift; sourceTree = ""; }; + 075175D627D600D30071110C /* ChainMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainMonitor.swift; sourceTree = ""; }; + 075175D727D600D30071110C /* PayeePubKey.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PayeePubKey.swift; sourceTree = ""; }; + 075175D827D600D30071110C /* Scorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Scorer.swift; sourceTree = ""; }; + 075175D927D600D30071110C /* Description.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Description.swift; sourceTree = ""; }; + 075175DA27D600D30071110C /* RevokeAndACK.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RevokeAndACK.swift; sourceTree = ""; }; + 075175DB27D600D30071110C /* MonitorUpdateId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorUpdateId.swift; sourceTree = ""; }; + 075175DC27D600D30071110C /* WarningMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WarningMessage.swift; sourceTree = ""; }; + 075175DD27D600D30071110C /* Ping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Ping.swift; sourceTree = ""; }; + 075175DE27D600D30071110C /* PositiveTimestamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PositiveTimestamp.swift; sourceTree = ""; }; + 075175DF27D600D30071110C /* UpdateAddHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateAddHTLC.swift; sourceTree = ""; }; + 075175E027D600D30071110C /* PhantomKeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhantomKeysManager.swift; sourceTree = ""; }; + 075175E127D600D30071110C /* UpdateFailMalformedHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailMalformedHTLC.swift; sourceTree = ""; }; + 075175E227D600D30071110C /* ChannelMonitorUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitorUpdate.swift; sourceTree = ""; }; + 075175E327D600D30071110C /* RouteHint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHint.swift; sourceTree = ""; }; + 075175E427D600D30071110C /* Sha256.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sha256.swift; sourceTree = ""; }; + 075175E527D600D30071110C /* HTLCOutputInCommitment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCOutputInCommitment.swift; sourceTree = ""; }; + 075175E627D600D30071110C /* ChannelReestablish.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelReestablish.swift; sourceTree = ""; }; + 075175E727D600D30071110C /* RouteHintHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHintHop.swift; sourceTree = ""; }; + 075175E827D600D30071110C /* ChannelManagerReadArgs.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerReadArgs.swift; sourceTree = ""; }; + 075175E927D600D30071110C /* UpdateFulfillHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFulfillHTLC.swift; sourceTree = ""; }; + 075175EA27D600D30071110C /* NodeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeFeatures.swift; sourceTree = ""; }; + 075175EB27D600D30071110C /* NetGraphMsgHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandler.swift; sourceTree = ""; }; + 075175EC27D600D30071110C /* InvoiceFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceFeatures.swift; sourceTree = ""; }; + 075175ED27D600D30071110C /* Invoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Invoice.swift; sourceTree = ""; }; + 075175EE27D600D30071110C /* RoutingFees.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingFees.swift; sourceTree = ""; }; + 075175EF27D600D30071110C /* ChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitor.swift; sourceTree = ""; }; + 075175F027D600D30071110C /* ClosingSignedFeeRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSignedFeeRange.swift; sourceTree = ""; }; + 075175F127D600D30071110C /* BestBlock.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BestBlock.swift; sourceTree = ""; }; + 075175F227D600D30071110C /* UpdateFee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFee.swift; sourceTree = ""; }; + 075175F327D600D30071110C /* UnsignedChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelUpdate.swift; sourceTree = ""; }; + 075175F427D600D30071110C /* MultiThreadedLockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultiThreadedLockableScore.swift; sourceTree = ""; }; + 075175F527D600D30071110C /* ChannelUpdateInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdateInfo.swift; sourceTree = ""; }; + 075175F627D600D30071110C /* QueryShortChannelIds.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryShortChannelIds.swift; sourceTree = ""; }; + 075175F727D600D30071110C /* NetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkGraph.swift; sourceTree = ""; }; + 075175F827D600D30071110C /* DirectedChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelInfo.swift; sourceTree = ""; }; + 075175F927D600D30071110C /* InvalidShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvalidShutdownScript.swift; sourceTree = ""; }; + 075175FA27D600D30071110C /* CommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentTransaction.swift; sourceTree = ""; }; + 075175FB27D600D30071110C /* KeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysManager.swift; sourceTree = ""; }; + 075175FC27D600D30071110C /* FundingCreated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingCreated.swift; sourceTree = ""; }; + 075175FD27D600D30071110C /* CounterpartyChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyChannelTransactionParameters.swift; sourceTree = ""; }; + 075175FE27D600D30071110C /* ChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelAnnouncement.swift; sourceTree = ""; }; + 075175FF27D600D30071110C /* ReplyShortChannelIdsEnd.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyShortChannelIdsEnd.swift; sourceTree = ""; }; + 0751760027D600D30071110C /* IgnoringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IgnoringMessageHandler.swift; sourceTree = ""; }; + 0751760127D600D30071110C /* ShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShutdownScript.swift; sourceTree = ""; }; + 0751760227D600D30071110C /* PeerManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerManager.swift; sourceTree = ""; }; + 0751760327D600D30071110C /* UpdateFailHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailHTLC.swift; sourceTree = ""; }; + 0751760427D600D30071110C /* FundingLocked.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingLocked.swift; sourceTree = ""; }; + 0751760527D600D30071110C /* ScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScoringParameters.swift; sourceTree = ""; }; + 0751760627D600D30071110C /* StaticPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StaticPaymentOutputDescriptor.swift; sourceTree = ""; }; + 0751760727D600D30071110C /* HTLCUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCUpdate.swift; sourceTree = ""; }; + 0751760827D600D30071110C /* NodeId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeId.swift; sourceTree = ""; }; + 0751760927D600D30071110C /* InMemorySigner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InMemorySigner.swift; sourceTree = ""; }; + 0751760A27D600D30071110C /* GossipTimestampFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GossipTimestampFilter.swift; sourceTree = ""; }; + 0751760B27D600D30071110C /* PeerHandleError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerHandleError.swift; sourceTree = ""; }; + 0751760C27D600D30071110C /* ErroringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErroringMessageHandler.swift; sourceTree = ""; }; + 0751760D27D600D30071110C /* CommitmentSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentSigned.swift; sourceTree = ""; }; + 0751760E27D600D30071110C /* TxCreationKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxCreationKeys.swift; sourceTree = ""; }; + 0751760F27D600D30071110C /* RawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawInvoice.swift; sourceTree = ""; }; + 0751761027D600D30071110C /* Pong.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pong.swift; sourceTree = ""; }; + 0751761127D600D30071110C /* CounterpartyCommitmentSecrets.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyCommitmentSecrets.swift; sourceTree = ""; }; + 0751761227D600D30071110C /* ExpiryTime.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpiryTime.swift; sourceTree = ""; }; + 0751761327D600D30071110C /* ChannelConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelConfig.swift; sourceTree = ""; }; + 0751761427D600D30071110C /* DecodeError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodeError.swift; sourceTree = ""; }; + 0751761527D600D30071110C /* QueryChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryChannelRange.swift; sourceTree = ""; }; + 0751761627D600D30071110C /* HolderCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HolderCommitmentTransaction.swift; sourceTree = ""; }; + 0751761727D600D30071110C /* ChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTransactionParameters.swift; sourceTree = ""; }; + 0751761827D600D30071110C /* NodeInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeInfo.swift; sourceTree = ""; }; + 0751761927D600D30071110C /* BackgroundProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BackgroundProcessor.swift; sourceTree = ""; }; + 0751761A27D600D30071110C /* DirectedChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelTransactionParameters.swift; sourceTree = ""; }; + 0751761B27D600D30071110C /* ChannelHandshakeConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeConfig.swift; sourceTree = ""; }; + 0751761C27D600D30071110C /* RouteParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteParameters.swift; sourceTree = ""; }; + 0751761D27D600D30071110C /* ChannelManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManager.swift; sourceTree = ""; }; + 0751761E27D600D40071110C /* PrivateRoute.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrivateRoute.swift; sourceTree = ""; }; + 0751761F27D600D40071110C /* Shutdown.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Shutdown.swift; sourceTree = ""; }; + 0751762027D600D40071110C /* ChainParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainParameters.swift; sourceTree = ""; }; + 0751762127D600D40071110C /* AcceptChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AcceptChannel.swift; sourceTree = ""; }; + 0751762227D600D40071110C /* FilesystemPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilesystemPersister.swift; sourceTree = ""; }; + 0751762327D600D40071110C /* ChannelHandshakeLimits.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeLimits.swift; sourceTree = ""; }; + 0751762427D600D40071110C /* ProbabilisticScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProbabilisticScoringParameters.swift; sourceTree = ""; }; + 0751762527D600D40071110C /* PhantomRouteHints.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhantomRouteHints.swift; sourceTree = ""; }; + 0751762627D600D40071110C /* PaymentParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentParameters.swift; sourceTree = ""; }; + 0751762727D600D40071110C /* AnnouncementSignatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnnouncementSignatures.swift; sourceTree = ""; }; + 0751762827D600D40071110C /* CommitmentUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentUpdate.swift; sourceTree = ""; }; + 0751762927D600D40071110C /* ClosingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSigned.swift; sourceTree = ""; }; + 0751762A27D600D40071110C /* DefaultRouter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultRouter.swift; sourceTree = ""; }; + 0751762B27D600D40071110C /* ChannelDetails.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelDetails.swift; sourceTree = ""; }; + 0751762C27D600D40071110C /* NodeAnnouncementInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncementInfo.swift; sourceTree = ""; }; + 0751762D27D600D40071110C /* UnsignedChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelAnnouncement.swift; sourceTree = ""; }; + 0751762E27D600D40071110C /* TrustedClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedClosingTransaction.swift; sourceTree = ""; }; + 0751762F27D600D40071110C /* LightningError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LightningError.swift; sourceTree = ""; }; + 0751763027D600D40071110C /* MinFinalCltvExpiry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MinFinalCltvExpiry.swift; sourceTree = ""; }; + 0751763127D600D40071110C /* DataLossProtect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataLossProtect.swift; sourceTree = ""; }; + 0751763227D600D40071110C /* TxOut.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxOut.swift; sourceTree = ""; }; + 0751763327D600D40071110C /* ErrorMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorMessage.swift; sourceTree = ""; }; + 0751763427D600D40071110C /* ChannelCounterparty.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelCounterparty.swift; sourceTree = ""; }; + 0751763527D600D40071110C /* RouteHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHop.swift; sourceTree = ""; }; + 0751763627D600D40071110C /* WatchedOutput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WatchedOutput.swift; sourceTree = ""; }; + 0751763727D600D40071110C /* ChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdate.swift; sourceTree = ""; }; + 0751763827D600D40071110C /* Record.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Record.swift; sourceTree = ""; }; + 0751763927D600D40071110C /* ReplyChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyChannelRange.swift; sourceTree = ""; }; + 0751763A27D600D40071110C /* InitFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InitFeatures.swift; sourceTree = ""; }; + 0751763B27D600D40071110C /* NodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncement.swift; sourceTree = ""; }; + 0751763C27D600D40071110C /* RawDataPart.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawDataPart.swift; sourceTree = ""; }; + 0751763D27D600D40071110C /* ChannelPublicKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelPublicKeys.swift; sourceTree = ""; }; + 0751763E27D600D40071110C /* ChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelInfo.swift; sourceTree = ""; }; + 0751763F27D600D40071110C /* InvoiceSignature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceSignature.swift; sourceTree = ""; }; + 0751764027D600D40071110C /* OpenChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenChannel.swift; sourceTree = ""; }; + 0751764127D600D40071110C /* FundingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingSigned.swift; sourceTree = ""; }; + 0751764227D600D40071110C /* SignedRawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignedRawInvoice.swift; sourceTree = ""; }; + 0751764327D600D40071110C /* ClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingTransaction.swift; sourceTree = ""; }; + 0751764427D600D40071110C /* LockedChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockedChannelMonitor.swift; sourceTree = ""; }; + 0751764527D600D40071110C /* CounterpartyForwardingInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyForwardingInfo.swift; sourceTree = ""; }; + 0751764627D600D40071110C /* FixedPenaltyScorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FixedPenaltyScorer.swift; sourceTree = ""; }; + 0751764727D600D40071110C /* Init.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Init.swift; sourceTree = ""; }; + 0751764827D600D40071110C /* ChannelTypeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTypeFeatures.swift; sourceTree = ""; }; + 0751764927D600D40071110C /* UnsignedNodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedNodeAnnouncement.swift; sourceTree = ""; }; + 0751764A27D600D40071110C /* TrustedCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedCommitmentTransaction.swift; sourceTree = ""; }; + 0751764B27D600D40071110C /* ReadOnlyNetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadOnlyNetworkGraph.swift; sourceTree = ""; }; + 0751764C27D600D40071110C /* RetryAttempts.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RetryAttempts.swift; sourceTree = ""; }; + 0751764D27D600D40071110C /* ChannelFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelFeatures.swift; sourceTree = ""; }; + 0751764E27D600D40071110C /* BuiltCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuiltCommitmentTransaction.swift; sourceTree = ""; }; + 0751764F27D600D40071110C /* UserConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserConfig.swift; sourceTree = ""; }; + 0751765027D600D40071110C /* Route.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Route.swift; sourceTree = ""; }; + 0751765127D600D40071110C /* OutPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OutPoint.swift; sourceTree = ""; }; + 0751765227D600D40071110C /* InvoicePayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoicePayer.swift; sourceTree = ""; }; + 0751765327D600D40071110C /* DelayedPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DelayedPaymentOutputDescriptor.swift; sourceTree = ""; }; 075E25F026FEFF5A0000A76B /* TCPPeerHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TCPPeerHandler.swift; sourceTree = ""; }; 075E25F126FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandlerConstructor.swift; sourceTree = ""; }; 075E25F226FEFF5A0000A76B /* ChannelManagerConstructor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerConstructor.swift; sourceTree = ""; }; @@ -383,319 +732,6 @@ 0767DB2E26A0964700BEB4CC /* LDKFramework_Mac.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LDKFramework_Mac.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 0767DB2F26A0964800BEB4CC /* LDKFramework copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "LDKFramework copy-Info.plist"; path = "/Users/arik/Developer/ldk-swift-generator/xcode/LDKFramework/LDKFramework copy-Info.plist"; sourceTree = ""; }; 0767DB4226A09F4900BEB4CC /* LDKFramework_Mac.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = LDKFramework_Mac.modulemap; sourceTree = ""; }; - 07F1AED72786F91400680859 /* PaymentSendFailure.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSendFailure.swift; sourceTree = ""; }; - 07F1AED82786F91400680859 /* Option_u64Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u64Z.swift; sourceTree = ""; }; - 07F1AED92786F91400680859 /* Fallback.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Fallback.swift; sourceTree = ""; }; - 07F1AEDA2786F91400680859 /* Option_C2Tuple_usizeTransactionZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_C2Tuple_usizeTransactionZZ.swift; sourceTree = ""; }; - 07F1AEDB2786F91400680859 /* APIError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APIError.swift; sourceTree = ""; }; - 07F1AEDC2786F91400680859 /* Option_TypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_TypeZ.swift; sourceTree = ""; }; - 07F1AEDD2786F91400680859 /* Event.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; - 07F1AEDE2786F91400680859 /* Option_AccessZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_AccessZ.swift; sourceTree = ""; }; - 07F1AEDF2786F91400680859 /* PaymentPurpose.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentPurpose.swift; sourceTree = ""; }; - 07F1AEE02786F91400680859 /* PaymentError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentError.swift; sourceTree = ""; }; - 07F1AEE12786F91400680859 /* Option_ClosureReasonZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_ClosureReasonZ.swift; sourceTree = ""; }; - 07F1AEE22786F91400680859 /* Option_FilterZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_FilterZ.swift; sourceTree = ""; }; - 07F1AEE32786F91400680859 /* Balance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Balance.swift; sourceTree = ""; }; - 07F1AEE42786F91400680859 /* ErrorAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorAction.swift; sourceTree = ""; }; - 07F1AEE52786F91400680859 /* Option_MonitorEventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_MonitorEventZ.swift; sourceTree = ""; }; - 07F1AEE62786F91400680859 /* Option_NetworkUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_NetworkUpdateZ.swift; sourceTree = ""; }; - 07F1AEE72786F91400680859 /* Option_u32Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u32Z.swift; sourceTree = ""; }; - 07F1AEE82786F91400680859 /* Option_u16Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u16Z.swift; sourceTree = ""; }; - 07F1AEE92786F91400680859 /* NetAddress.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetAddress.swift; sourceTree = ""; }; - 07F1AEEA2786F91400680859 /* SignOrCreationError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignOrCreationError.swift; sourceTree = ""; }; - 07F1AEEB2786F91400680859 /* NetworkUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkUpdate.swift; sourceTree = ""; }; - 07F1AEEC2786F91400680859 /* Option_EventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_EventZ.swift; sourceTree = ""; }; - 07F1AEED2786F91400680859 /* ClosureReason.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosureReason.swift; sourceTree = ""; }; - 07F1AEEE2786F91400680859 /* MessageSendEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEvent.swift; sourceTree = ""; }; - 07F1AEEF2786F91400680859 /* MonitorEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorEvent.swift; sourceTree = ""; }; - 07F1AEF02786F91400680859 /* SpendableOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SpendableOutputDescriptor.swift; sourceTree = ""; }; - 07F1AEF12786F91400680859 /* Option_CVec_NetAddressZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_CVec_NetAddressZZ.swift; sourceTree = ""; }; - 07F1AEF32786F91400680859 /* BaseSign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseSign.swift; sourceTree = ""; }; - 07F1AEF42786F91400680859 /* Persist.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persist.swift; sourceTree = ""; }; - 07F1AEF52786F91400680859 /* Score.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Score.swift; sourceTree = ""; }; - 07F1AEF62786F91400680859 /* KeysInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysInterface.swift; sourceTree = ""; }; - 07F1AEF72786F91400680859 /* Logger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; - 07F1AEF82786F91400680859 /* Payer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payer.swift; sourceTree = ""; }; - 07F1AEF92786F91400680859 /* SocketDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketDescriptor.swift; sourceTree = ""; }; - 07F1AEFA2786F91400680859 /* FeeEstimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeeEstimator.swift; sourceTree = ""; }; - 07F1AEFB2786F91400680859 /* MessageSendEventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEventsProvider.swift; sourceTree = ""; }; - 07F1AEFC2786F91400680859 /* BroadcasterInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BroadcasterInterface.swift; sourceTree = ""; }; - 07F1AEFD2786F91400680859 /* LockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockableScore.swift; sourceTree = ""; }; - 07F1AEFE2786F91400680859 /* Confirm.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Confirm.swift; sourceTree = ""; }; - 07F1AEFF2786F91400680859 /* EventHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventHandler.swift; sourceTree = ""; }; - 07F1AF002786F91400680859 /* RoutingMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingMessageHandler.swift; sourceTree = ""; }; - 07F1AF012786F91400680859 /* ChannelManagerPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerPersister.swift; sourceTree = ""; }; - 07F1AF022786F91400680859 /* Listen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Listen.swift; sourceTree = ""; }; - 07F1AF032786F91400680859 /* ChannelMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMessageHandler.swift; sourceTree = ""; }; - 07F1AF042786F91400680859 /* Router.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Router.swift; sourceTree = ""; }; - 07F1AF052786F91400680859 /* Filter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Filter.swift; sourceTree = ""; }; - 07F1AF062786F91400680859 /* CustomMessageReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageReader.swift; sourceTree = ""; }; - 07F1AF072786F91400680859 /* BindingsType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BindingsType.swift; sourceTree = ""; }; - 07F1AF082786F91400680859 /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = ""; }; - 07F1AF092786F91400680859 /* EventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventsProvider.swift; sourceTree = ""; }; - 07F1AF0A2786F91400680859 /* Watch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Watch.swift; sourceTree = ""; }; - 07F1AF0B2786F91400680859 /* Sign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sign.swift; sourceTree = ""; }; - 07F1AF0C2786F91400680859 /* CustomMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageHandler.swift; sourceTree = ""; }; - 07F1AF0E2786F91400680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelMonitorZ.swift; sourceTree = ""; }; - 07F1AF0F2786F91400680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureCVec_SignatureZZ.swift; sourceTree = ""; }; - 07F1AF102786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift; sourceTree = ""; }; - 07F1AF112786F91400680859 /* C2Tuple_BlockHashChannelManagerZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelManagerZ.swift; sourceTree = ""; }; - 07F1AF122786F91400680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift; sourceTree = ""; }; - 07F1AF132786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift; sourceTree = ""; }; - 07F1AF142786F91400680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentSecretZ.swift; sourceTree = ""; }; - 07F1AF152786F91400680859 /* C2Tuple_u32TxOutZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32TxOutZ.swift; sourceTree = ""; }; - 07F1AF162786F91400680859 /* C2Tuple_OutPointScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_OutPointScriptZ.swift; sourceTree = ""; }; - 07F1AF172786F91400680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift; sourceTree = ""; }; - 07F1AF182786F91400680859 /* C2Tuple_PublicKeyTypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PublicKeyTypeZ.swift; sourceTree = ""; }; - 07F1AF192786F91400680859 /* C2Tuple_u32ScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32ScriptZ.swift; sourceTree = ""; }; - 07F1AF1A2786F91400680859 /* C2Tuple_usizeTransactionZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_usizeTransactionZ.swift; sourceTree = ""; }; - 07F1AF1B2786F91400680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentIdZ.swift; sourceTree = ""; }; - 07F1AF1C2786F91400680859 /* Bindings.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Bindings.swift; sourceTree = ""; }; - 07F1AF1E2786F91400680859 /* Result_ChannelConfigDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelConfigDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF1F2786F91400680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF202786F91400680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF212786F91400680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptInvalidShutdownScriptZ.swift; sourceTree = ""; }; - 07F1AF222786F91400680859 /* Result_ScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScorerDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF232786F91400680859 /* Result_FundingCreatedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingCreatedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF242786F91400680859 /* Result_TxCreationKeysErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysErrorZ.swift; sourceTree = ""; }; - 07F1AF252786F91400680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1AF262786F91400680859 /* Result_LockedChannelMonitorNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_LockedChannelMonitorNoneZ.swift; sourceTree = ""; }; - 07F1AF272786F91400680859 /* Result_PingDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PingDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF282786F91400680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFulfillHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF292786F91400680859 /* Result_NonePaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1AF2A2786F91400680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_u8ZPeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1AF2B2786F91400680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF2C2786F91400680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DirectionalChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF2D2786F91400680859 /* Result_RouteDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF2E2786F91400680859 /* Result_RevokeAndACKDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RevokeAndACKDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF2F2786F91400680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_ClosureReasonZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF302786F91400680859 /* Result_OpenChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OpenChannelDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF312786F91400680859 /* Result_ChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF322786F91400680859 /* Result_PongDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PongDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF332786F91400680859 /* Result__u832APIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result__u832APIErrorZ.swift; sourceTree = ""; }; - 07F1AF342786F91400680859 /* Result_RouteHintHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintHopDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF352786F91400680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedFeeRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF362786F91400680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelPublicKeysDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF372786F91400680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_BuiltCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF382786F91400680859 /* Result_PaymentSecretAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretAPIErrorZ.swift; sourceTree = ""; }; - 07F1AF392786F91400680859 /* Result_RouteHintDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF3A2786F91400680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SpendableOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF3B2786F91400680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF3C2786F91400680859 /* Result_ErrorMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ErrorMessageDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF3D2786F91400680859 /* Result_AcceptChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AcceptChannelDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF3E2786F91400680859 /* Result_PaymentPreimageAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentPreimageAPIErrorZ.swift; sourceTree = ""; }; - 07F1AF3F2786F91400680859 /* Result_PayeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF402786F91400680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedNodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF412786F91400680859 /* Result_NodeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF422786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift; sourceTree = ""; }; - 07F1AF432786F91400680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedCommitmentTransactionNoneZ.swift; sourceTree = ""; }; - 07F1AF442786F91400680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AnnouncementSignaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF452786F91400680859 /* Result_StringErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StringErrorZ.swift; sourceTree = ""; }; - 07F1AF462786F91400680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HolderCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF472786F91400680859 /* Result_RouteHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHopDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF482786F91400680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF492786F91400680859 /* Result_CommitmentSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF4A2786F91400680859 /* Result_NonePeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1AF4B2786F91400680859 /* Result_TxOutAccessErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxOutAccessErrorZ.swift; sourceTree = ""; }; - 07F1AF4C2786F91400680859 /* Result_TrustedClosingTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedClosingTransactionNoneZ.swift; sourceTree = ""; }; - 07F1AF4D2786F91400680859 /* Result_NoneLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneLightningErrorZ.swift; sourceTree = ""; }; - 07F1AF4E2786F91400680859 /* Result_NoneAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneAPIErrorZ.swift; sourceTree = ""; }; - 07F1AF4F2786F91400680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTypeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF502786F91400680859 /* Result_PublicKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PublicKeyErrorZ.swift; sourceTree = ""; }; - 07F1AF512786F91400680859 /* Result_boolLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolLightningErrorZ.swift; sourceTree = ""; }; - 07F1AF522786F91400680859 /* Result_ChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF532786F91400680859 /* Result_UpdateFeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFeeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF542786F91400680859 /* Result_DescriptionCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DescriptionCreationErrorZ.swift; sourceTree = ""; }; - 07F1AF552786F91400680859 /* Result_ShutdownScriptDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF562786F91400680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF572786F91400680859 /* Result_SiPrefixNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SiPrefixNoneZ.swift; sourceTree = ""; }; - 07F1AF582786F91400680859 /* Result_FundingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF592786F91400680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF5A2786F91400680859 /* Result_TransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TransactionNoneZ.swift; sourceTree = ""; }; - 07F1AF5B2786F91400680859 /* Result_NetworkGraphDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetworkGraphDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF5C2786F91400680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF5D2786F91400680859 /* Result_NoneSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneSemanticErrorZ.swift; sourceTree = ""; }; - 07F1AF5E2786F91400680859 /* Result_InvoiceSignOrCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSignOrCreationErrorZ.swift; sourceTree = ""; }; - 07F1AF5F2786F91400680859 /* Result_InvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceNoneZ.swift; sourceTree = ""; }; - 07F1AF602786F91400680859 /* Result_RoutingFeesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RoutingFeesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF612786F91400680859 /* Result_ChannelReestablishDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelReestablishDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF622786F91400680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_GossipTimestampFilterDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF632786F91400680859 /* Result_RouteParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF642786F91400680859 /* Result_ScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF652786F91400680859 /* Result_COption_EventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_EventZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF662786F91400680859 /* Result_PaymentIdPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1AF672786F91400680859 /* Result_PaymentIdPaymentErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentErrorZ.swift; sourceTree = ""; }; - 07F1AF682786F91400680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_CVec_u8ZZNoneZ.swift; sourceTree = ""; }; - 07F1AF692786F91400680859 /* Result_SecretKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyErrorZ.swift; sourceTree = ""; }; - 07F1AF6A2786F91400680859 /* Result_HTLCUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF6B2786F91400680859 /* Result_NodeIdDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeIdDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF6C2786F91400680859 /* Result_RouteLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteLightningErrorZ.swift; sourceTree = ""; }; - 07F1AF6D2786F91400680859 /* Result_InvoiceSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSemanticErrorZ.swift; sourceTree = ""; }; - 07F1AF6E2786F91400680859 /* Result_SignedRawInvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignedRawInvoiceNoneZ.swift; sourceTree = ""; }; - 07F1AF6F2786F91400680859 /* Result_COption_TypeZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_TypeZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF702786F91400680859 /* Result_InitFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF712786F91400680859 /* Result_NetAddressDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetAddressDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF722786F91400680859 /* Result_RecoverableSignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RecoverableSignatureNoneZ.swift; sourceTree = ""; }; - 07F1AF732786F91400680859 /* Result_CVec_SignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_SignatureZNoneZ.swift; sourceTree = ""; }; - 07F1AF742786F91400680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelMonitorUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF752786F91400680859 /* Result_SignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignatureNoneZ.swift; sourceTree = ""; }; - 07F1AF762786F91400680859 /* Result_NoneErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneErrorZ.swift; sourceTree = ""; }; - 07F1AF772786F91400680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateAddHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF782786F91400680859 /* Result_FundingLockedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingLockedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF792786F91400680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF7A2786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift; sourceTree = ""; }; - 07F1AF7B2786F91400680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryShortChannelIdsDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF7C2786F91400680859 /* Result_SignDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF7D2786F91400680859 /* Result_boolPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolPeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1AF7E2786F91400680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF7F2786F91400680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift; sourceTree = ""; }; - 07F1AF802786F91400680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF812786F91400680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailMalformedHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF822786F91400680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF832786F91400680859 /* Result_TxCreationKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF842786F91400680859 /* Result_NoneNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneNoneZ.swift; sourceTree = ""; }; - 07F1AF852786F91400680859 /* Result_PositiveTimestampCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PositiveTimestampCreationErrorZ.swift; sourceTree = ""; }; - 07F1AF862786F91400680859 /* Result_OutPointDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OutPointDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF872786F91400680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF882786F91400680859 /* Result_PayeePubKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeePubKeyErrorZ.swift; sourceTree = ""; }; - 07F1AF892786F91400680859 /* Result_ShutdownDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF8A2786F91400680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF8B2786F91400680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF8C2786F91400680859 /* Result_NodeInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF8D2786F91400680859 /* Result_ExpiryTimeCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ExpiryTimeCreationErrorZ.swift; sourceTree = ""; }; - 07F1AF8E2786F91400680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_NetworkUpdateZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF8F2786F91400680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF902786F91400680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF912786F91400680859 /* Result_PaymentSecretNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretNoneZ.swift; sourceTree = ""; }; - 07F1AF922786F91400680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_MonitorEventZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF932786F91400680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCOutputInCommitmentDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF942786F91400680859 /* Result_InitDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF952786F91400680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneChannelMonitorUpdateErrZ.swift; sourceTree = ""; }; - 07F1AF962786F91400680859 /* Result_PrivateRouteCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PrivateRouteCreationErrorZ.swift; sourceTree = ""; }; - 07F1AF972786F91400680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift; sourceTree = ""; }; - 07F1AF982786F91400680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyShortChannelIdsEndDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF992786F91400680859 /* Result_ClosingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF9A2786F91400680859 /* Result_InMemorySignerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InMemorySignerDecodeErrorZ.swift; sourceTree = ""; }; - 07F1AF9C2786F91400680859 /* MessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageHandler.swift; sourceTree = ""; }; - 07F1AF9D2786F91400680859 /* ChainMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainMonitor.swift; sourceTree = ""; }; - 07F1AF9E2786F91400680859 /* PayeePubKey.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PayeePubKey.swift; sourceTree = ""; }; - 07F1AF9F2786F91400680859 /* Scorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Scorer.swift; sourceTree = ""; }; - 07F1AFA02786F91400680859 /* Description.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Description.swift; sourceTree = ""; }; - 07F1AFA12786F91400680859 /* RevokeAndACK.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RevokeAndACK.swift; sourceTree = ""; }; - 07F1AFA22786F91400680859 /* MonitorUpdateId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorUpdateId.swift; sourceTree = ""; }; - 07F1AFA32786F91400680859 /* Ping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Ping.swift; sourceTree = ""; }; - 07F1AFA42786F91400680859 /* PositiveTimestamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PositiveTimestamp.swift; sourceTree = ""; }; - 07F1AFA52786F91400680859 /* UpdateAddHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateAddHTLC.swift; sourceTree = ""; }; - 07F1AFA62786F91400680859 /* UpdateFailMalformedHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailMalformedHTLC.swift; sourceTree = ""; }; - 07F1AFA72786F91400680859 /* ChannelMonitorUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitorUpdate.swift; sourceTree = ""; }; - 07F1AFA82786F91400680859 /* RouteHint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHint.swift; sourceTree = ""; }; - 07F1AFA92786F91400680859 /* Sha256.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sha256.swift; sourceTree = ""; }; - 07F1AFAA2786F91400680859 /* HTLCOutputInCommitment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCOutputInCommitment.swift; sourceTree = ""; }; - 07F1AFAB2786F91400680859 /* ChannelReestablish.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelReestablish.swift; sourceTree = ""; }; - 07F1AFAC2786F91400680859 /* RouteHintHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHintHop.swift; sourceTree = ""; }; - 07F1AFAD2786F91400680859 /* ChannelManagerReadArgs.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerReadArgs.swift; sourceTree = ""; }; - 07F1AFAE2786F91400680859 /* UpdateFulfillHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFulfillHTLC.swift; sourceTree = ""; }; - 07F1AFAF2786F91400680859 /* NodeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeFeatures.swift; sourceTree = ""; }; - 07F1AFB02786F91400680859 /* NetGraphMsgHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandler.swift; sourceTree = ""; }; - 07F1AFB12786F91400680859 /* InvoiceFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceFeatures.swift; sourceTree = ""; }; - 07F1AFB22786F91400680859 /* Invoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Invoice.swift; sourceTree = ""; }; - 07F1AFB32786F91400680859 /* RoutingFees.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingFees.swift; sourceTree = ""; }; - 07F1AFB42786F91400680859 /* ChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitor.swift; sourceTree = ""; }; - 07F1AFB52786F91400680859 /* ClosingSignedFeeRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSignedFeeRange.swift; sourceTree = ""; }; - 07F1AFB62786F91400680859 /* BestBlock.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BestBlock.swift; sourceTree = ""; }; - 07F1AFB72786F91400680859 /* UpdateFee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFee.swift; sourceTree = ""; }; - 07F1AFB82786F91400680859 /* UnsignedChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelUpdate.swift; sourceTree = ""; }; - 07F1AFB92786F91400680859 /* MultiThreadedLockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultiThreadedLockableScore.swift; sourceTree = ""; }; - 07F1AFBA2786F91400680859 /* QueryShortChannelIds.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryShortChannelIds.swift; sourceTree = ""; }; - 07F1AFBB2786F91400680859 /* NetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkGraph.swift; sourceTree = ""; }; - 07F1AFBC2786F91400680859 /* InvalidShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvalidShutdownScript.swift; sourceTree = ""; }; - 07F1AFBD2786F91400680859 /* CommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentTransaction.swift; sourceTree = ""; }; - 07F1AFBE2786F91400680859 /* KeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysManager.swift; sourceTree = ""; }; - 07F1AFBF2786F91400680859 /* FundingCreated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingCreated.swift; sourceTree = ""; }; - 07F1AFC02786F91400680859 /* CounterpartyChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1AFC12786F91400680859 /* ChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelAnnouncement.swift; sourceTree = ""; }; - 07F1AFC22786F91400680859 /* ReplyShortChannelIdsEnd.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyShortChannelIdsEnd.swift; sourceTree = ""; }; - 07F1AFC32786F91400680859 /* IgnoringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IgnoringMessageHandler.swift; sourceTree = ""; }; - 07F1AFC42786F91400680859 /* ShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShutdownScript.swift; sourceTree = ""; }; - 07F1AFC52786F91400680859 /* PeerManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerManager.swift; sourceTree = ""; }; - 07F1AFC62786F91400680859 /* UpdateFailHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailHTLC.swift; sourceTree = ""; }; - 07F1AFC72786F91400680859 /* FundingLocked.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingLocked.swift; sourceTree = ""; }; - 07F1AFC82786F91400680859 /* ScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScoringParameters.swift; sourceTree = ""; }; - 07F1AFC92786F91400680859 /* StaticPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StaticPaymentOutputDescriptor.swift; sourceTree = ""; }; - 07F1AFCA2786F91400680859 /* HTLCUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCUpdate.swift; sourceTree = ""; }; - 07F1AFCB2786F91400680859 /* NodeId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeId.swift; sourceTree = ""; }; - 07F1AFCC2786F91400680859 /* InMemorySigner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InMemorySigner.swift; sourceTree = ""; }; - 07F1AFCD2786F91400680859 /* GossipTimestampFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GossipTimestampFilter.swift; sourceTree = ""; }; - 07F1AFCE2786F91400680859 /* PeerHandleError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerHandleError.swift; sourceTree = ""; }; - 07F1AFCF2786F91400680859 /* ErroringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErroringMessageHandler.swift; sourceTree = ""; }; - 07F1AFD02786F91400680859 /* CommitmentSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentSigned.swift; sourceTree = ""; }; - 07F1AFD12786F91400680859 /* TxCreationKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxCreationKeys.swift; sourceTree = ""; }; - 07F1AFD22786F91400680859 /* RawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawInvoice.swift; sourceTree = ""; }; - 07F1AFD32786F91400680859 /* Pong.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pong.swift; sourceTree = ""; }; - 07F1AFD42786F91400680859 /* ExpiryTime.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpiryTime.swift; sourceTree = ""; }; - 07F1AFD52786F91400680859 /* ChannelConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelConfig.swift; sourceTree = ""; }; - 07F1AFD62786F91400680859 /* DecodeError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodeError.swift; sourceTree = ""; }; - 07F1AFD72786F91400680859 /* QueryChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryChannelRange.swift; sourceTree = ""; }; - 07F1AFD82786F91400680859 /* HolderCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HolderCommitmentTransaction.swift; sourceTree = ""; }; - 07F1AFD92786F91400680859 /* ChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1AFDA2786F91400680859 /* NodeInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeInfo.swift; sourceTree = ""; }; - 07F1AFDB2786F91400680859 /* BackgroundProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BackgroundProcessor.swift; sourceTree = ""; }; - 07F1AFDC2786F91400680859 /* DirectedChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1AFDD2786F91400680859 /* ChannelHandshakeConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeConfig.swift; sourceTree = ""; }; - 07F1AFDE2786F91400680859 /* RouteParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteParameters.swift; sourceTree = ""; }; - 07F1AFDF2786F91400680859 /* ChannelManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManager.swift; sourceTree = ""; }; - 07F1AFE02786F91400680859 /* PrivateRoute.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrivateRoute.swift; sourceTree = ""; }; - 07F1AFE12786F91400680859 /* Shutdown.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Shutdown.swift; sourceTree = ""; }; - 07F1AFE22786F91400680859 /* ChainParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainParameters.swift; sourceTree = ""; }; - 07F1AFE32786F91400680859 /* AcceptChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AcceptChannel.swift; sourceTree = ""; }; - 07F1AFE42786F91400680859 /* FilesystemPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilesystemPersister.swift; sourceTree = ""; }; - 07F1AFE52786F91400680859 /* ChannelHandshakeLimits.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeLimits.swift; sourceTree = ""; }; - 07F1AFE62786F91400680859 /* AnnouncementSignatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnnouncementSignatures.swift; sourceTree = ""; }; - 07F1AFE72786F91400680859 /* CommitmentUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentUpdate.swift; sourceTree = ""; }; - 07F1AFE82786F91400680859 /* ClosingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSigned.swift; sourceTree = ""; }; - 07F1AFE92786F91400680859 /* DirectionalChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectionalChannelInfo.swift; sourceTree = ""; }; - 07F1AFEA2786F91400680859 /* DefaultRouter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultRouter.swift; sourceTree = ""; }; - 07F1AFEB2786F91400680859 /* ChannelDetails.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelDetails.swift; sourceTree = ""; }; - 07F1AFEC2786F91400680859 /* Payee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payee.swift; sourceTree = ""; }; - 07F1AFED2786F91400680859 /* NodeAnnouncementInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncementInfo.swift; sourceTree = ""; }; - 07F1AFEE2786F91400680859 /* UnsignedChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelAnnouncement.swift; sourceTree = ""; }; - 07F1AFEF2786F91400680859 /* TrustedClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedClosingTransaction.swift; sourceTree = ""; }; - 07F1AFF02786F91400680859 /* LightningError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LightningError.swift; sourceTree = ""; }; - 07F1AFF12786F91400680859 /* MinFinalCltvExpiry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MinFinalCltvExpiry.swift; sourceTree = ""; }; - 07F1AFF22786F91400680859 /* DataLossProtect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataLossProtect.swift; sourceTree = ""; }; - 07F1AFF32786F91400680859 /* TxOut.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxOut.swift; sourceTree = ""; }; - 07F1AFF42786F91400680859 /* ErrorMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorMessage.swift; sourceTree = ""; }; - 07F1AFF52786F91400680859 /* ChannelCounterparty.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelCounterparty.swift; sourceTree = ""; }; - 07F1AFF62786F91400680859 /* RouteHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHop.swift; sourceTree = ""; }; - 07F1AFF72786F91400680859 /* WatchedOutput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WatchedOutput.swift; sourceTree = ""; }; - 07F1AFF82786F91400680859 /* ChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdate.swift; sourceTree = ""; }; - 07F1AFF92786F91400680859 /* Record.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Record.swift; sourceTree = ""; }; - 07F1AFFA2786F91400680859 /* ReplyChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyChannelRange.swift; sourceTree = ""; }; - 07F1AFFB2786F91400680859 /* InitFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InitFeatures.swift; sourceTree = ""; }; - 07F1AFFC2786F91400680859 /* NodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncement.swift; sourceTree = ""; }; - 07F1AFFD2786F91400680859 /* RawDataPart.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawDataPart.swift; sourceTree = ""; }; - 07F1AFFE2786F91400680859 /* ChannelPublicKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelPublicKeys.swift; sourceTree = ""; }; - 07F1AFFF2786F91400680859 /* ChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelInfo.swift; sourceTree = ""; }; - 07F1B0002786F91400680859 /* InvoiceSignature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceSignature.swift; sourceTree = ""; }; - 07F1B0012786F91400680859 /* OpenChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenChannel.swift; sourceTree = ""; }; - 07F1B0022786F91400680859 /* FundingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingSigned.swift; sourceTree = ""; }; - 07F1B0032786F91400680859 /* SignedRawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignedRawInvoice.swift; sourceTree = ""; }; - 07F1B0042786F91400680859 /* ClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingTransaction.swift; sourceTree = ""; }; - 07F1B0052786F91400680859 /* LockedChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockedChannelMonitor.swift; sourceTree = ""; }; - 07F1B0062786F91400680859 /* CounterpartyForwardingInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyForwardingInfo.swift; sourceTree = ""; }; - 07F1B0072786F91400680859 /* Init.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Init.swift; sourceTree = ""; }; - 07F1B0082786F91400680859 /* ChannelTypeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTypeFeatures.swift; sourceTree = ""; }; - 07F1B0092786F91400680859 /* UnsignedNodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedNodeAnnouncement.swift; sourceTree = ""; }; - 07F1B00A2786F91400680859 /* TrustedCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedCommitmentTransaction.swift; sourceTree = ""; }; - 07F1B00B2786F91400680859 /* ReadOnlyNetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadOnlyNetworkGraph.swift; sourceTree = ""; }; - 07F1B00C2786F91400680859 /* RetryAttempts.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RetryAttempts.swift; sourceTree = ""; }; - 07F1B00D2786F91400680859 /* ChannelFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelFeatures.swift; sourceTree = ""; }; - 07F1B00E2786F91400680859 /* BuiltCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuiltCommitmentTransaction.swift; sourceTree = ""; }; - 07F1B00F2786F91400680859 /* UserConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserConfig.swift; sourceTree = ""; }; - 07F1B0102786F91400680859 /* Route.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Route.swift; sourceTree = ""; }; - 07F1B0112786F91400680859 /* OutPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OutPoint.swift; sourceTree = ""; }; - 07F1B0122786F91400680859 /* InvoicePayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoicePayer.swift; sourceTree = ""; }; - 07F1B0132786F91400680859 /* DelayedPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DelayedPaymentOutputDescriptor.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -752,7 +788,7 @@ 07344C56264277EC001CD90E /* LDKFramework */ = { isa = PBXGroup; children = ( - 07F1AED52786F91400680859 /* LDK */, + 0751750327D600D20071110C /* LDK */, 0767D0312698BB8800BEB4CC /* headers */, 075E25EF26FEFF5A0000A76B /* batteries */, 07344C57264277ED001CD90E /* LDKFramework.h */, @@ -779,390 +815,408 @@ name = Frameworks; sourceTree = ""; }; - 075E25EF26FEFF5A0000A76B /* batteries */ = { + 0751750327D600D20071110C /* LDK */ = { isa = PBXGroup; children = ( - 075E25F026FEFF5A0000A76B /* TCPPeerHandler.swift */, - 075E25F126FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift */, - 075E25F226FEFF5A0000A76B /* ChannelManagerConstructor.swift */, - 075E25F326FEFF5A0000A76B /* UtilMethods.swift */, + 0751750427D600D20071110C /* options */, + 0751752127D600D20071110C /* traits */, + 0751753C27D600D20071110C /* tuples */, + 0751754C27D600D20071110C /* Bindings.swift */, + 0751754D27D600D20071110C /* results */, + 075175D427D600D30071110C /* structs */, ); - name = batteries; - path = ../../../bindings/batteries; + name = LDK; + path = ../../../bindings/LDK; sourceTree = ""; }; - 0767D0312698BB8800BEB4CC /* headers */ = { + 0751750427D600D20071110C /* options */ = { isa = PBXGroup; children = ( - 0767D0392698BB9800BEB4CC /* ldk_net.c */, - 0767D0352698BB9700BEB4CC /* ldk_net.h */, - 0767D0372698BB9700BEB4CC /* ldk_rust_types.h */, - 0767D0382698BB9700BEB4CC /* ldk_ver.h */, - 0767D0362698BB9700BEB4CC /* lightning.h */, - 0767D0322698BB9600BEB4CC /* LDKFrameworkTests-Bridging-Header.h */, + 0751750527D600D20071110C /* PaymentSendFailure.swift */, + 0751750627D600D20071110C /* Option_u64Z.swift */, + 0751750727D600D20071110C /* Fallback.swift */, + 0751750827D600D20071110C /* Option_C2Tuple_usizeTransactionZZ.swift */, + 0751750927D600D20071110C /* APIError.swift */, + 0751750A27D600D20071110C /* Option_TypeZ.swift */, + 0751750B27D600D20071110C /* Event.swift */, + 0751750C27D600D20071110C /* Option_AccessZ.swift */, + 0751750D27D600D20071110C /* PaymentPurpose.swift */, + 0751750E27D600D20071110C /* PaymentError.swift */, + 0751750F27D600D20071110C /* Option_ClosureReasonZ.swift */, + 0751751027D600D20071110C /* Option_FilterZ.swift */, + 0751751127D600D20071110C /* EffectiveCapacity.swift */, + 0751751227D600D20071110C /* Balance.swift */, + 0751751327D600D20071110C /* ErrorAction.swift */, + 0751751427D600D20071110C /* Option_MonitorEventZ.swift */, + 0751751527D600D20071110C /* Option_NetworkUpdateZ.swift */, + 0751751627D600D20071110C /* Option_u32Z.swift */, + 0751751727D600D20071110C /* Option_u16Z.swift */, + 0751751827D600D20071110C /* NetAddress.swift */, + 0751751927D600D20071110C /* SignOrCreationError.swift */, + 0751751A27D600D20071110C /* NetworkUpdate.swift */, + 0751751B27D600D20071110C /* Option_EventZ.swift */, + 0751751C27D600D20071110C /* ClosureReason.swift */, + 0751751D27D600D20071110C /* MessageSendEvent.swift */, + 0751751E27D600D20071110C /* MonitorEvent.swift */, + 0751751F27D600D20071110C /* SpendableOutputDescriptor.swift */, + 0751752027D600D20071110C /* Option_CVec_NetAddressZZ.swift */, ); - name = headers; + path = options; sourceTree = ""; }; - 07F1AED52786F91400680859 /* LDK */ = { + 0751752127D600D20071110C /* traits */ = { isa = PBXGroup; children = ( - 07F1AED62786F91400680859 /* options */, - 07F1AEF22786F91400680859 /* traits */, - 07F1AF0D2786F91400680859 /* tuples */, - 07F1AF1C2786F91400680859 /* Bindings.swift */, - 07F1AF1D2786F91400680859 /* results */, - 07F1AF9B2786F91400680859 /* structs */, + 0751752227D600D20071110C /* BaseSign.swift */, + 0751752327D600D20071110C /* Persist.swift */, + 0751752427D600D20071110C /* Score.swift */, + 0751752527D600D20071110C /* KeysInterface.swift */, + 0751752627D600D20071110C /* Logger.swift */, + 0751752727D600D20071110C /* Payer.swift */, + 0751752827D600D20071110C /* SocketDescriptor.swift */, + 0751752927D600D20071110C /* FeeEstimator.swift */, + 0751752A27D600D20071110C /* MessageSendEventsProvider.swift */, + 0751752B27D600D20071110C /* BroadcasterInterface.swift */, + 0751752C27D600D20071110C /* LockableScore.swift */, + 0751752D27D600D20071110C /* Confirm.swift */, + 0751752E27D600D20071110C /* EventHandler.swift */, + 0751752F27D600D20071110C /* RoutingMessageHandler.swift */, + 0751753027D600D20071110C /* ChannelManagerPersister.swift */, + 0751753127D600D20071110C /* Listen.swift */, + 0751753227D600D20071110C /* ChannelMessageHandler.swift */, + 0751753327D600D20071110C /* Router.swift */, + 0751753427D600D20071110C /* Filter.swift */, + 0751753527D600D20071110C /* CustomMessageReader.swift */, + 0751753627D600D20071110C /* BindingsType.swift */, + 0751753727D600D20071110C /* Access.swift */, + 0751753827D600D20071110C /* EventsProvider.swift */, + 0751753927D600D20071110C /* Watch.swift */, + 0751753A27D600D20071110C /* Sign.swift */, + 0751753B27D600D20071110C /* CustomMessageHandler.swift */, ); - name = LDK; - path = ../../../bindings/LDK; + path = traits; sourceTree = ""; }; - 07F1AED62786F91400680859 /* options */ = { + 0751753C27D600D20071110C /* tuples */ = { isa = PBXGroup; children = ( - 07F1AED72786F91400680859 /* PaymentSendFailure.swift */, - 07F1AED82786F91400680859 /* Option_u64Z.swift */, - 07F1AED92786F91400680859 /* Fallback.swift */, - 07F1AEDA2786F91400680859 /* Option_C2Tuple_usizeTransactionZZ.swift */, - 07F1AEDB2786F91400680859 /* APIError.swift */, - 07F1AEDC2786F91400680859 /* Option_TypeZ.swift */, - 07F1AEDD2786F91400680859 /* Event.swift */, - 07F1AEDE2786F91400680859 /* Option_AccessZ.swift */, - 07F1AEDF2786F91400680859 /* PaymentPurpose.swift */, - 07F1AEE02786F91400680859 /* PaymentError.swift */, - 07F1AEE12786F91400680859 /* Option_ClosureReasonZ.swift */, - 07F1AEE22786F91400680859 /* Option_FilterZ.swift */, - 07F1AEE32786F91400680859 /* Balance.swift */, - 07F1AEE42786F91400680859 /* ErrorAction.swift */, - 07F1AEE52786F91400680859 /* Option_MonitorEventZ.swift */, - 07F1AEE62786F91400680859 /* Option_NetworkUpdateZ.swift */, - 07F1AEE72786F91400680859 /* Option_u32Z.swift */, - 07F1AEE82786F91400680859 /* Option_u16Z.swift */, - 07F1AEE92786F91400680859 /* NetAddress.swift */, - 07F1AEEA2786F91400680859 /* SignOrCreationError.swift */, - 07F1AEEB2786F91400680859 /* NetworkUpdate.swift */, - 07F1AEEC2786F91400680859 /* Option_EventZ.swift */, - 07F1AEED2786F91400680859 /* ClosureReason.swift */, - 07F1AEEE2786F91400680859 /* MessageSendEvent.swift */, - 07F1AEEF2786F91400680859 /* MonitorEvent.swift */, - 07F1AEF02786F91400680859 /* SpendableOutputDescriptor.swift */, - 07F1AEF12786F91400680859 /* Option_CVec_NetAddressZZ.swift */, + 0751753D27D600D20071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */, + 0751753E27D600D20071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */, + 0751753F27D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */, + 0751754027D600D20071110C /* C2Tuple_BlockHashChannelManagerZ.swift */, + 0751754127D600D20071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */, + 0751754227D600D20071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */, + 0751754327D600D20071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */, + 0751754427D600D20071110C /* C2Tuple_u32TxOutZ.swift */, + 0751754527D600D20071110C /* C2Tuple_OutPointScriptZ.swift */, + 0751754627D600D20071110C /* C2Tuple_SignatureSignatureZ.swift */, + 0751754727D600D20071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */, + 0751754827D600D20071110C /* C2Tuple_PublicKeyTypeZ.swift */, + 0751754927D600D20071110C /* C2Tuple_u32ScriptZ.swift */, + 0751754A27D600D20071110C /* C2Tuple_usizeTransactionZ.swift */, + 0751754B27D600D20071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */, ); - path = options; + path = tuples; sourceTree = ""; }; - 07F1AEF22786F91400680859 /* traits */ = { + 0751754D27D600D20071110C /* results */ = { isa = PBXGroup; children = ( - 07F1AEF32786F91400680859 /* BaseSign.swift */, - 07F1AEF42786F91400680859 /* Persist.swift */, - 07F1AEF52786F91400680859 /* Score.swift */, - 07F1AEF62786F91400680859 /* KeysInterface.swift */, - 07F1AEF72786F91400680859 /* Logger.swift */, - 07F1AEF82786F91400680859 /* Payer.swift */, - 07F1AEF92786F91400680859 /* SocketDescriptor.swift */, - 07F1AEFA2786F91400680859 /* FeeEstimator.swift */, - 07F1AEFB2786F91400680859 /* MessageSendEventsProvider.swift */, - 07F1AEFC2786F91400680859 /* BroadcasterInterface.swift */, - 07F1AEFD2786F91400680859 /* LockableScore.swift */, - 07F1AEFE2786F91400680859 /* Confirm.swift */, - 07F1AEFF2786F91400680859 /* EventHandler.swift */, - 07F1AF002786F91400680859 /* RoutingMessageHandler.swift */, - 07F1AF012786F91400680859 /* ChannelManagerPersister.swift */, - 07F1AF022786F91400680859 /* Listen.swift */, - 07F1AF032786F91400680859 /* ChannelMessageHandler.swift */, - 07F1AF042786F91400680859 /* Router.swift */, - 07F1AF052786F91400680859 /* Filter.swift */, - 07F1AF062786F91400680859 /* CustomMessageReader.swift */, - 07F1AF072786F91400680859 /* BindingsType.swift */, - 07F1AF082786F91400680859 /* Access.swift */, - 07F1AF092786F91400680859 /* EventsProvider.swift */, - 07F1AF0A2786F91400680859 /* Watch.swift */, - 07F1AF0B2786F91400680859 /* Sign.swift */, - 07F1AF0C2786F91400680859 /* CustomMessageHandler.swift */, + 0751754E27D600D20071110C /* Result_ChannelConfigDecodeErrorZ.swift */, + 0751754F27D600D20071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */, + 0751755027D600D20071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */, + 0751755127D600D20071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */, + 0751755227D600D20071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */, + 0751755327D600D20071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */, + 0751755427D600D20071110C /* Result_ScorerDecodeErrorZ.swift */, + 0751755527D600D20071110C /* Result_FundingCreatedDecodeErrorZ.swift */, + 0751755627D600D20071110C /* Result_TxCreationKeysErrorZ.swift */, + 0751755727D600D20071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */, + 0751755827D600D20071110C /* Result_LockedChannelMonitorNoneZ.swift */, + 0751755927D600D20071110C /* Result_PingDecodeErrorZ.swift */, + 0751755A27D600D20071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */, + 0751755B27D600D20071110C /* Result_NonePaymentSendFailureZ.swift */, + 0751755C27D600D20071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */, + 0751755D27D600D20071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */, + 0751755E27D600D20071110C /* Result_RouteDecodeErrorZ.swift */, + 0751755F27D600D20071110C /* Result_RevokeAndACKDecodeErrorZ.swift */, + 0751756027D600D20071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */, + 0751756127D600D20071110C /* Result_OpenChannelDecodeErrorZ.swift */, + 0751756227D600D20071110C /* Result_ChannelInfoDecodeErrorZ.swift */, + 0751756327D600D20071110C /* Result_PongDecodeErrorZ.swift */, + 0751756427D600D20071110C /* Result__u832APIErrorZ.swift */, + 0751756527D600D20071110C /* Result_RouteHintHopDecodeErrorZ.swift */, + 0751756627D600D20071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */, + 0751756727D600D20071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */, + 0751756827D600D20071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */, + 0751756927D600D20071110C /* Result_PaymentSecretAPIErrorZ.swift */, + 0751756A27D600D20071110C /* Result_RouteHintDecodeErrorZ.swift */, + 0751756B27D600D20071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */, + 0751756C27D600D20071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */, + 0751756D27D600D20071110C /* Result_ErrorMessageDecodeErrorZ.swift */, + 0751756E27D600D20071110C /* Result_AcceptChannelDecodeErrorZ.swift */, + 0751756F27D600D20071110C /* Result_PaymentPreimageAPIErrorZ.swift */, + 0751757027D600D20071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */, + 0751757127D600D20071110C /* Result_NodeFeaturesDecodeErrorZ.swift */, + 0751757227D600D20071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */, + 0751757327D600D20071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */, + 0751757427D600D20071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */, + 0751757527D600D20071110C /* Result_StringErrorZ.swift */, + 0751757627D600D20071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */, + 0751757727D600D20071110C /* Result_RouteHopDecodeErrorZ.swift */, + 0751757827D600D20071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */, + 0751757927D600D20071110C /* Result_CommitmentSignedDecodeErrorZ.swift */, + 0751757A27D600D20071110C /* Result_NonePeerHandleErrorZ.swift */, + 0751757B27D600D20071110C /* Result_TxOutAccessErrorZ.swift */, + 0751757C27D600D20071110C /* Result_TrustedClosingTransactionNoneZ.swift */, + 0751757D27D600D20071110C /* Result_NoneLightningErrorZ.swift */, + 0751757E27D600D20071110C /* Result_NoneAPIErrorZ.swift */, + 0751757F27D600D20071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */, + 0751758027D600D20071110C /* Result_PublicKeyErrorZ.swift */, + 0751758127D600D30071110C /* Result_boolLightningErrorZ.swift */, + 0751758227D600D30071110C /* Result_ChannelUpdateDecodeErrorZ.swift */, + 0751758327D600D30071110C /* Result_UpdateFeeDecodeErrorZ.swift */, + 0751758427D600D30071110C /* Result_DescriptionCreationErrorZ.swift */, + 0751758527D600D30071110C /* Result_ShutdownScriptDecodeErrorZ.swift */, + 0751758627D600D30071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */, + 0751758727D600D30071110C /* Result_PaymentParametersDecodeErrorZ.swift */, + 0751758827D600D30071110C /* Result_SiPrefixNoneZ.swift */, + 0751758927D600D30071110C /* Result_FundingSignedDecodeErrorZ.swift */, + 0751758A27D600D30071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */, + 0751758B27D600D30071110C /* Result_TransactionNoneZ.swift */, + 0751758C27D600D30071110C /* Result_NetworkGraphDecodeErrorZ.swift */, + 0751758D27D600D30071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */, + 0751758E27D600D30071110C /* Result_NoneSemanticErrorZ.swift */, + 0751758F27D600D30071110C /* Result_InvoiceSignOrCreationErrorZ.swift */, + 0751759027D600D30071110C /* Result_InvoiceNoneZ.swift */, + 0751759127D600D30071110C /* Result_RoutingFeesDecodeErrorZ.swift */, + 0751759227D600D30071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */, + 0751759327D600D30071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */, + 0751759427D600D30071110C /* Result_ChannelReestablishDecodeErrorZ.swift */, + 0751759527D600D30071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */, + 0751759627D600D30071110C /* Result_RouteParametersDecodeErrorZ.swift */, + 0751759727D600D30071110C /* Result_ScoringParametersDecodeErrorZ.swift */, + 0751759827D600D30071110C /* Result_COption_EventZDecodeErrorZ.swift */, + 0751759927D600D30071110C /* Result_PaymentIdPaymentSendFailureZ.swift */, + 0751759A27D600D30071110C /* Result_PaymentIdPaymentErrorZ.swift */, + 0751759B27D600D30071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */, + 0751759C27D600D30071110C /* Result_SecretKeyErrorZ.swift */, + 0751759D27D600D30071110C /* Result_HTLCUpdateDecodeErrorZ.swift */, + 0751759E27D600D30071110C /* Result_NodeIdDecodeErrorZ.swift */, + 0751759F27D600D30071110C /* Result_RouteLightningErrorZ.swift */, + 075175A027D600D30071110C /* Result_InvoiceSemanticErrorZ.swift */, + 075175A127D600D30071110C /* Result_SignedRawInvoiceNoneZ.swift */, + 075175A227D600D30071110C /* Result_COption_TypeZDecodeErrorZ.swift */, + 075175A327D600D30071110C /* Result_InitFeaturesDecodeErrorZ.swift */, + 075175A427D600D30071110C /* Result_NetAddressDecodeErrorZ.swift */, + 075175A527D600D30071110C /* Result_WarningMessageDecodeErrorZ.swift */, + 075175A627D600D30071110C /* Result_RecoverableSignatureNoneZ.swift */, + 075175A727D600D30071110C /* Result_ChannelDetailsDecodeErrorZ.swift */, + 075175A827D600D30071110C /* Result_CVec_SignatureZNoneZ.swift */, + 075175A927D600D30071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */, + 075175AA27D600D30071110C /* Result_SignatureNoneZ.swift */, + 075175AB27D600D30071110C /* Result_NoneErrorZ.swift */, + 075175AC27D600D30071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */, + 075175AD27D600D30071110C /* Result_FundingLockedDecodeErrorZ.swift */, + 075175AE27D600D30071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */, + 075175AF27D600D30071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */, + 075175B027D600D30071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */, + 075175B127D600D30071110C /* Result_SecretKeyNoneZ.swift */, + 075175B227D600D30071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */, + 075175B327D600D30071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */, + 075175B427D600D30071110C /* Result_SignDecodeErrorZ.swift */, + 075175B527D600D30071110C /* Result_boolPeerHandleErrorZ.swift */, + 075175B627D600D30071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */, + 075175B727D600D30071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */, + 075175B827D600D30071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */, + 075175B927D600D30071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */, + 075175BA27D600D30071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */, + 075175BB27D600D30071110C /* Result_TxCreationKeysDecodeErrorZ.swift */, + 075175BC27D600D30071110C /* Result_NoneNoneZ.swift */, + 075175BD27D600D30071110C /* Result_PositiveTimestampCreationErrorZ.swift */, + 075175BE27D600D30071110C /* Result_OutPointDecodeErrorZ.swift */, + 075175BF27D600D30071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */, + 075175C027D600D30071110C /* Result_PayeePubKeyErrorZ.swift */, + 075175C127D600D30071110C /* Result_ShutdownDecodeErrorZ.swift */, + 075175C227D600D30071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */, + 075175C327D600D30071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */, + 075175C427D600D30071110C /* Result_NodeInfoDecodeErrorZ.swift */, + 075175C527D600D30071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */, + 075175C627D600D30071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */, + 075175C727D600D30071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */, + 075175C827D600D30071110C /* Result_PaymentSecretNoneZ.swift */, + 075175C927D600D30071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */, + 075175CA27D600D30071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */, + 075175CB27D600D30071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */, + 075175CC27D600D30071110C /* Result_InitDecodeErrorZ.swift */, + 075175CD27D600D30071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */, + 075175CE27D600D30071110C /* Result_PrivateRouteCreationErrorZ.swift */, + 075175CF27D600D30071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */, + 075175D027D600D30071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */, + 075175D127D600D30071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */, + 075175D227D600D30071110C /* Result_ClosingSignedDecodeErrorZ.swift */, + 075175D327D600D30071110C /* Result_InMemorySignerDecodeErrorZ.swift */, ); - path = traits; + path = results; sourceTree = ""; }; - 07F1AF0D2786F91400680859 /* tuples */ = { + 075175D427D600D30071110C /* structs */ = { isa = PBXGroup; children = ( - 07F1AF0E2786F91400680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */, - 07F1AF0F2786F91400680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */, - 07F1AF102786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */, - 07F1AF112786F91400680859 /* C2Tuple_BlockHashChannelManagerZ.swift */, - 07F1AF122786F91400680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */, - 07F1AF132786F91400680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */, - 07F1AF142786F91400680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */, - 07F1AF152786F91400680859 /* C2Tuple_u32TxOutZ.swift */, - 07F1AF162786F91400680859 /* C2Tuple_OutPointScriptZ.swift */, - 07F1AF172786F91400680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */, - 07F1AF182786F91400680859 /* C2Tuple_PublicKeyTypeZ.swift */, - 07F1AF192786F91400680859 /* C2Tuple_u32ScriptZ.swift */, - 07F1AF1A2786F91400680859 /* C2Tuple_usizeTransactionZ.swift */, - 07F1AF1B2786F91400680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */, + 075175D527D600D30071110C /* MessageHandler.swift */, + 075175D627D600D30071110C /* ChainMonitor.swift */, + 075175D727D600D30071110C /* PayeePubKey.swift */, + 075175D827D600D30071110C /* Scorer.swift */, + 075175D927D600D30071110C /* Description.swift */, + 075175DA27D600D30071110C /* RevokeAndACK.swift */, + 075175DB27D600D30071110C /* MonitorUpdateId.swift */, + 075175DC27D600D30071110C /* WarningMessage.swift */, + 075175DD27D600D30071110C /* Ping.swift */, + 075175DE27D600D30071110C /* PositiveTimestamp.swift */, + 075175DF27D600D30071110C /* UpdateAddHTLC.swift */, + 075175E027D600D30071110C /* PhantomKeysManager.swift */, + 075175E127D600D30071110C /* UpdateFailMalformedHTLC.swift */, + 075175E227D600D30071110C /* ChannelMonitorUpdate.swift */, + 075175E327D600D30071110C /* RouteHint.swift */, + 075175E427D600D30071110C /* Sha256.swift */, + 075175E527D600D30071110C /* HTLCOutputInCommitment.swift */, + 075175E627D600D30071110C /* ChannelReestablish.swift */, + 075175E727D600D30071110C /* RouteHintHop.swift */, + 075175E827D600D30071110C /* ChannelManagerReadArgs.swift */, + 075175E927D600D30071110C /* UpdateFulfillHTLC.swift */, + 075175EA27D600D30071110C /* NodeFeatures.swift */, + 075175EB27D600D30071110C /* NetGraphMsgHandler.swift */, + 075175EC27D600D30071110C /* InvoiceFeatures.swift */, + 075175ED27D600D30071110C /* Invoice.swift */, + 075175EE27D600D30071110C /* RoutingFees.swift */, + 075175EF27D600D30071110C /* ChannelMonitor.swift */, + 075175F027D600D30071110C /* ClosingSignedFeeRange.swift */, + 075175F127D600D30071110C /* BestBlock.swift */, + 075175F227D600D30071110C /* UpdateFee.swift */, + 075175F327D600D30071110C /* UnsignedChannelUpdate.swift */, + 075175F427D600D30071110C /* MultiThreadedLockableScore.swift */, + 075175F527D600D30071110C /* ChannelUpdateInfo.swift */, + 075175F627D600D30071110C /* QueryShortChannelIds.swift */, + 075175F727D600D30071110C /* NetworkGraph.swift */, + 075175F827D600D30071110C /* DirectedChannelInfo.swift */, + 075175F927D600D30071110C /* InvalidShutdownScript.swift */, + 075175FA27D600D30071110C /* CommitmentTransaction.swift */, + 075175FB27D600D30071110C /* KeysManager.swift */, + 075175FC27D600D30071110C /* FundingCreated.swift */, + 075175FD27D600D30071110C /* CounterpartyChannelTransactionParameters.swift */, + 075175FE27D600D30071110C /* ChannelAnnouncement.swift */, + 075175FF27D600D30071110C /* ReplyShortChannelIdsEnd.swift */, + 0751760027D600D30071110C /* IgnoringMessageHandler.swift */, + 0751760127D600D30071110C /* ShutdownScript.swift */, + 0751760227D600D30071110C /* PeerManager.swift */, + 0751760327D600D30071110C /* UpdateFailHTLC.swift */, + 0751760427D600D30071110C /* FundingLocked.swift */, + 0751760527D600D30071110C /* ScoringParameters.swift */, + 0751760627D600D30071110C /* StaticPaymentOutputDescriptor.swift */, + 0751760727D600D30071110C /* HTLCUpdate.swift */, + 0751760827D600D30071110C /* NodeId.swift */, + 0751760927D600D30071110C /* InMemorySigner.swift */, + 0751760A27D600D30071110C /* GossipTimestampFilter.swift */, + 0751760B27D600D30071110C /* PeerHandleError.swift */, + 0751760C27D600D30071110C /* ErroringMessageHandler.swift */, + 0751760D27D600D30071110C /* CommitmentSigned.swift */, + 0751760E27D600D30071110C /* TxCreationKeys.swift */, + 0751760F27D600D30071110C /* RawInvoice.swift */, + 0751761027D600D30071110C /* Pong.swift */, + 0751761127D600D30071110C /* CounterpartyCommitmentSecrets.swift */, + 0751761227D600D30071110C /* ExpiryTime.swift */, + 0751761327D600D30071110C /* ChannelConfig.swift */, + 0751761427D600D30071110C /* DecodeError.swift */, + 0751761527D600D30071110C /* QueryChannelRange.swift */, + 0751761627D600D30071110C /* HolderCommitmentTransaction.swift */, + 0751761727D600D30071110C /* ChannelTransactionParameters.swift */, + 0751761827D600D30071110C /* NodeInfo.swift */, + 0751761927D600D30071110C /* BackgroundProcessor.swift */, + 0751761A27D600D30071110C /* DirectedChannelTransactionParameters.swift */, + 0751761B27D600D30071110C /* ChannelHandshakeConfig.swift */, + 0751761C27D600D30071110C /* RouteParameters.swift */, + 0751761D27D600D30071110C /* ChannelManager.swift */, + 0751761E27D600D40071110C /* PrivateRoute.swift */, + 0751761F27D600D40071110C /* Shutdown.swift */, + 0751762027D600D40071110C /* ChainParameters.swift */, + 0751762127D600D40071110C /* AcceptChannel.swift */, + 0751762227D600D40071110C /* FilesystemPersister.swift */, + 0751762327D600D40071110C /* ChannelHandshakeLimits.swift */, + 0751762427D600D40071110C /* ProbabilisticScoringParameters.swift */, + 0751762527D600D40071110C /* PhantomRouteHints.swift */, + 0751762627D600D40071110C /* PaymentParameters.swift */, + 0751762727D600D40071110C /* AnnouncementSignatures.swift */, + 0751762827D600D40071110C /* CommitmentUpdate.swift */, + 0751762927D600D40071110C /* ClosingSigned.swift */, + 0751762A27D600D40071110C /* DefaultRouter.swift */, + 0751762B27D600D40071110C /* ChannelDetails.swift */, + 0751762C27D600D40071110C /* NodeAnnouncementInfo.swift */, + 0751762D27D600D40071110C /* UnsignedChannelAnnouncement.swift */, + 0751762E27D600D40071110C /* TrustedClosingTransaction.swift */, + 0751762F27D600D40071110C /* LightningError.swift */, + 0751763027D600D40071110C /* MinFinalCltvExpiry.swift */, + 0751763127D600D40071110C /* DataLossProtect.swift */, + 0751763227D600D40071110C /* TxOut.swift */, + 0751763327D600D40071110C /* ErrorMessage.swift */, + 0751763427D600D40071110C /* ChannelCounterparty.swift */, + 0751763527D600D40071110C /* RouteHop.swift */, + 0751763627D600D40071110C /* WatchedOutput.swift */, + 0751763727D600D40071110C /* ChannelUpdate.swift */, + 0751763827D600D40071110C /* Record.swift */, + 0751763927D600D40071110C /* ReplyChannelRange.swift */, + 0751763A27D600D40071110C /* InitFeatures.swift */, + 0751763B27D600D40071110C /* NodeAnnouncement.swift */, + 0751763C27D600D40071110C /* RawDataPart.swift */, + 0751763D27D600D40071110C /* ChannelPublicKeys.swift */, + 0751763E27D600D40071110C /* ChannelInfo.swift */, + 0751763F27D600D40071110C /* InvoiceSignature.swift */, + 0751764027D600D40071110C /* OpenChannel.swift */, + 0751764127D600D40071110C /* FundingSigned.swift */, + 0751764227D600D40071110C /* SignedRawInvoice.swift */, + 0751764327D600D40071110C /* ClosingTransaction.swift */, + 0751764427D600D40071110C /* LockedChannelMonitor.swift */, + 0751764527D600D40071110C /* CounterpartyForwardingInfo.swift */, + 0751764627D600D40071110C /* FixedPenaltyScorer.swift */, + 0751764727D600D40071110C /* Init.swift */, + 0751764827D600D40071110C /* ChannelTypeFeatures.swift */, + 0751764927D600D40071110C /* UnsignedNodeAnnouncement.swift */, + 0751764A27D600D40071110C /* TrustedCommitmentTransaction.swift */, + 0751764B27D600D40071110C /* ReadOnlyNetworkGraph.swift */, + 0751764C27D600D40071110C /* RetryAttempts.swift */, + 0751764D27D600D40071110C /* ChannelFeatures.swift */, + 0751764E27D600D40071110C /* BuiltCommitmentTransaction.swift */, + 0751764F27D600D40071110C /* UserConfig.swift */, + 0751765027D600D40071110C /* Route.swift */, + 0751765127D600D40071110C /* OutPoint.swift */, + 0751765227D600D40071110C /* InvoicePayer.swift */, + 0751765327D600D40071110C /* DelayedPaymentOutputDescriptor.swift */, ); - path = tuples; + path = structs; sourceTree = ""; }; - 07F1AF1D2786F91400680859 /* results */ = { + 075E25EF26FEFF5A0000A76B /* batteries */ = { isa = PBXGroup; children = ( - 07F1AF1E2786F91400680859 /* Result_ChannelConfigDecodeErrorZ.swift */, - 07F1AF1F2786F91400680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */, - 07F1AF202786F91400680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */, - 07F1AF212786F91400680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */, - 07F1AF222786F91400680859 /* Result_ScorerDecodeErrorZ.swift */, - 07F1AF232786F91400680859 /* Result_FundingCreatedDecodeErrorZ.swift */, - 07F1AF242786F91400680859 /* Result_TxCreationKeysErrorZ.swift */, - 07F1AF252786F91400680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */, - 07F1AF262786F91400680859 /* Result_LockedChannelMonitorNoneZ.swift */, - 07F1AF272786F91400680859 /* Result_PingDecodeErrorZ.swift */, - 07F1AF282786F91400680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */, - 07F1AF292786F91400680859 /* Result_NonePaymentSendFailureZ.swift */, - 07F1AF2A2786F91400680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */, - 07F1AF2B2786F91400680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */, - 07F1AF2C2786F91400680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */, - 07F1AF2D2786F91400680859 /* Result_RouteDecodeErrorZ.swift */, - 07F1AF2E2786F91400680859 /* Result_RevokeAndACKDecodeErrorZ.swift */, - 07F1AF2F2786F91400680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */, - 07F1AF302786F91400680859 /* Result_OpenChannelDecodeErrorZ.swift */, - 07F1AF312786F91400680859 /* Result_ChannelInfoDecodeErrorZ.swift */, - 07F1AF322786F91400680859 /* Result_PongDecodeErrorZ.swift */, - 07F1AF332786F91400680859 /* Result__u832APIErrorZ.swift */, - 07F1AF342786F91400680859 /* Result_RouteHintHopDecodeErrorZ.swift */, - 07F1AF352786F91400680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */, - 07F1AF362786F91400680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */, - 07F1AF372786F91400680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */, - 07F1AF382786F91400680859 /* Result_PaymentSecretAPIErrorZ.swift */, - 07F1AF392786F91400680859 /* Result_RouteHintDecodeErrorZ.swift */, - 07F1AF3A2786F91400680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */, - 07F1AF3B2786F91400680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */, - 07F1AF3C2786F91400680859 /* Result_ErrorMessageDecodeErrorZ.swift */, - 07F1AF3D2786F91400680859 /* Result_AcceptChannelDecodeErrorZ.swift */, - 07F1AF3E2786F91400680859 /* Result_PaymentPreimageAPIErrorZ.swift */, - 07F1AF3F2786F91400680859 /* Result_PayeeDecodeErrorZ.swift */, - 07F1AF402786F91400680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */, - 07F1AF412786F91400680859 /* Result_NodeFeaturesDecodeErrorZ.swift */, - 07F1AF422786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */, - 07F1AF432786F91400680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */, - 07F1AF442786F91400680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */, - 07F1AF452786F91400680859 /* Result_StringErrorZ.swift */, - 07F1AF462786F91400680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */, - 07F1AF472786F91400680859 /* Result_RouteHopDecodeErrorZ.swift */, - 07F1AF482786F91400680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */, - 07F1AF492786F91400680859 /* Result_CommitmentSignedDecodeErrorZ.swift */, - 07F1AF4A2786F91400680859 /* Result_NonePeerHandleErrorZ.swift */, - 07F1AF4B2786F91400680859 /* Result_TxOutAccessErrorZ.swift */, - 07F1AF4C2786F91400680859 /* Result_TrustedClosingTransactionNoneZ.swift */, - 07F1AF4D2786F91400680859 /* Result_NoneLightningErrorZ.swift */, - 07F1AF4E2786F91400680859 /* Result_NoneAPIErrorZ.swift */, - 07F1AF4F2786F91400680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */, - 07F1AF502786F91400680859 /* Result_PublicKeyErrorZ.swift */, - 07F1AF512786F91400680859 /* Result_boolLightningErrorZ.swift */, - 07F1AF522786F91400680859 /* Result_ChannelUpdateDecodeErrorZ.swift */, - 07F1AF532786F91400680859 /* Result_UpdateFeeDecodeErrorZ.swift */, - 07F1AF542786F91400680859 /* Result_DescriptionCreationErrorZ.swift */, - 07F1AF552786F91400680859 /* Result_ShutdownScriptDecodeErrorZ.swift */, - 07F1AF562786F91400680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */, - 07F1AF572786F91400680859 /* Result_SiPrefixNoneZ.swift */, - 07F1AF582786F91400680859 /* Result_FundingSignedDecodeErrorZ.swift */, - 07F1AF592786F91400680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */, - 07F1AF5A2786F91400680859 /* Result_TransactionNoneZ.swift */, - 07F1AF5B2786F91400680859 /* Result_NetworkGraphDecodeErrorZ.swift */, - 07F1AF5C2786F91400680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */, - 07F1AF5D2786F91400680859 /* Result_NoneSemanticErrorZ.swift */, - 07F1AF5E2786F91400680859 /* Result_InvoiceSignOrCreationErrorZ.swift */, - 07F1AF5F2786F91400680859 /* Result_InvoiceNoneZ.swift */, - 07F1AF602786F91400680859 /* Result_RoutingFeesDecodeErrorZ.swift */, - 07F1AF612786F91400680859 /* Result_ChannelReestablishDecodeErrorZ.swift */, - 07F1AF622786F91400680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */, - 07F1AF632786F91400680859 /* Result_RouteParametersDecodeErrorZ.swift */, - 07F1AF642786F91400680859 /* Result_ScoringParametersDecodeErrorZ.swift */, - 07F1AF652786F91400680859 /* Result_COption_EventZDecodeErrorZ.swift */, - 07F1AF662786F91400680859 /* Result_PaymentIdPaymentSendFailureZ.swift */, - 07F1AF672786F91400680859 /* Result_PaymentIdPaymentErrorZ.swift */, - 07F1AF682786F91400680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */, - 07F1AF692786F91400680859 /* Result_SecretKeyErrorZ.swift */, - 07F1AF6A2786F91400680859 /* Result_HTLCUpdateDecodeErrorZ.swift */, - 07F1AF6B2786F91400680859 /* Result_NodeIdDecodeErrorZ.swift */, - 07F1AF6C2786F91400680859 /* Result_RouteLightningErrorZ.swift */, - 07F1AF6D2786F91400680859 /* Result_InvoiceSemanticErrorZ.swift */, - 07F1AF6E2786F91400680859 /* Result_SignedRawInvoiceNoneZ.swift */, - 07F1AF6F2786F91400680859 /* Result_COption_TypeZDecodeErrorZ.swift */, - 07F1AF702786F91400680859 /* Result_InitFeaturesDecodeErrorZ.swift */, - 07F1AF712786F91400680859 /* Result_NetAddressDecodeErrorZ.swift */, - 07F1AF722786F91400680859 /* Result_RecoverableSignatureNoneZ.swift */, - 07F1AF732786F91400680859 /* Result_CVec_SignatureZNoneZ.swift */, - 07F1AF742786F91400680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */, - 07F1AF752786F91400680859 /* Result_SignatureNoneZ.swift */, - 07F1AF762786F91400680859 /* Result_NoneErrorZ.swift */, - 07F1AF772786F91400680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */, - 07F1AF782786F91400680859 /* Result_FundingLockedDecodeErrorZ.swift */, - 07F1AF792786F91400680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */, - 07F1AF7A2786F91400680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */, - 07F1AF7B2786F91400680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */, - 07F1AF7C2786F91400680859 /* Result_SignDecodeErrorZ.swift */, - 07F1AF7D2786F91400680859 /* Result_boolPeerHandleErrorZ.swift */, - 07F1AF7E2786F91400680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */, - 07F1AF7F2786F91400680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */, - 07F1AF802786F91400680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */, - 07F1AF812786F91400680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */, - 07F1AF822786F91400680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */, - 07F1AF832786F91400680859 /* Result_TxCreationKeysDecodeErrorZ.swift */, - 07F1AF842786F91400680859 /* Result_NoneNoneZ.swift */, - 07F1AF852786F91400680859 /* Result_PositiveTimestampCreationErrorZ.swift */, - 07F1AF862786F91400680859 /* Result_OutPointDecodeErrorZ.swift */, - 07F1AF872786F91400680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */, - 07F1AF882786F91400680859 /* Result_PayeePubKeyErrorZ.swift */, - 07F1AF892786F91400680859 /* Result_ShutdownDecodeErrorZ.swift */, - 07F1AF8A2786F91400680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */, - 07F1AF8B2786F91400680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */, - 07F1AF8C2786F91400680859 /* Result_NodeInfoDecodeErrorZ.swift */, - 07F1AF8D2786F91400680859 /* Result_ExpiryTimeCreationErrorZ.swift */, - 07F1AF8E2786F91400680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */, - 07F1AF8F2786F91400680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */, - 07F1AF902786F91400680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */, - 07F1AF912786F91400680859 /* Result_PaymentSecretNoneZ.swift */, - 07F1AF922786F91400680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */, - 07F1AF932786F91400680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */, - 07F1AF942786F91400680859 /* Result_InitDecodeErrorZ.swift */, - 07F1AF952786F91400680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */, - 07F1AF962786F91400680859 /* Result_PrivateRouteCreationErrorZ.swift */, - 07F1AF972786F91400680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */, - 07F1AF982786F91400680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */, - 07F1AF992786F91400680859 /* Result_ClosingSignedDecodeErrorZ.swift */, - 07F1AF9A2786F91400680859 /* Result_InMemorySignerDecodeErrorZ.swift */, + 075E25F026FEFF5A0000A76B /* TCPPeerHandler.swift */, + 075E25F126FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift */, + 075E25F226FEFF5A0000A76B /* ChannelManagerConstructor.swift */, + 075E25F326FEFF5A0000A76B /* UtilMethods.swift */, ); - path = results; + name = batteries; + path = ../../../bindings/batteries; sourceTree = ""; }; - 07F1AF9B2786F91400680859 /* structs */ = { + 0767D0312698BB8800BEB4CC /* headers */ = { isa = PBXGroup; children = ( - 07F1AF9C2786F91400680859 /* MessageHandler.swift */, - 07F1AF9D2786F91400680859 /* ChainMonitor.swift */, - 07F1AF9E2786F91400680859 /* PayeePubKey.swift */, - 07F1AF9F2786F91400680859 /* Scorer.swift */, - 07F1AFA02786F91400680859 /* Description.swift */, - 07F1AFA12786F91400680859 /* RevokeAndACK.swift */, - 07F1AFA22786F91400680859 /* MonitorUpdateId.swift */, - 07F1AFA32786F91400680859 /* Ping.swift */, - 07F1AFA42786F91400680859 /* PositiveTimestamp.swift */, - 07F1AFA52786F91400680859 /* UpdateAddHTLC.swift */, - 07F1AFA62786F91400680859 /* UpdateFailMalformedHTLC.swift */, - 07F1AFA72786F91400680859 /* ChannelMonitorUpdate.swift */, - 07F1AFA82786F91400680859 /* RouteHint.swift */, - 07F1AFA92786F91400680859 /* Sha256.swift */, - 07F1AFAA2786F91400680859 /* HTLCOutputInCommitment.swift */, - 07F1AFAB2786F91400680859 /* ChannelReestablish.swift */, - 07F1AFAC2786F91400680859 /* RouteHintHop.swift */, - 07F1AFAD2786F91400680859 /* ChannelManagerReadArgs.swift */, - 07F1AFAE2786F91400680859 /* UpdateFulfillHTLC.swift */, - 07F1AFAF2786F91400680859 /* NodeFeatures.swift */, - 07F1AFB02786F91400680859 /* NetGraphMsgHandler.swift */, - 07F1AFB12786F91400680859 /* InvoiceFeatures.swift */, - 07F1AFB22786F91400680859 /* Invoice.swift */, - 07F1AFB32786F91400680859 /* RoutingFees.swift */, - 07F1AFB42786F91400680859 /* ChannelMonitor.swift */, - 07F1AFB52786F91400680859 /* ClosingSignedFeeRange.swift */, - 07F1AFB62786F91400680859 /* BestBlock.swift */, - 07F1AFB72786F91400680859 /* UpdateFee.swift */, - 07F1AFB82786F91400680859 /* UnsignedChannelUpdate.swift */, - 07F1AFB92786F91400680859 /* MultiThreadedLockableScore.swift */, - 07F1AFBA2786F91400680859 /* QueryShortChannelIds.swift */, - 07F1AFBB2786F91400680859 /* NetworkGraph.swift */, - 07F1AFBC2786F91400680859 /* InvalidShutdownScript.swift */, - 07F1AFBD2786F91400680859 /* CommitmentTransaction.swift */, - 07F1AFBE2786F91400680859 /* KeysManager.swift */, - 07F1AFBF2786F91400680859 /* FundingCreated.swift */, - 07F1AFC02786F91400680859 /* CounterpartyChannelTransactionParameters.swift */, - 07F1AFC12786F91400680859 /* ChannelAnnouncement.swift */, - 07F1AFC22786F91400680859 /* ReplyShortChannelIdsEnd.swift */, - 07F1AFC32786F91400680859 /* IgnoringMessageHandler.swift */, - 07F1AFC42786F91400680859 /* ShutdownScript.swift */, - 07F1AFC52786F91400680859 /* PeerManager.swift */, - 07F1AFC62786F91400680859 /* UpdateFailHTLC.swift */, - 07F1AFC72786F91400680859 /* FundingLocked.swift */, - 07F1AFC82786F91400680859 /* ScoringParameters.swift */, - 07F1AFC92786F91400680859 /* StaticPaymentOutputDescriptor.swift */, - 07F1AFCA2786F91400680859 /* HTLCUpdate.swift */, - 07F1AFCB2786F91400680859 /* NodeId.swift */, - 07F1AFCC2786F91400680859 /* InMemorySigner.swift */, - 07F1AFCD2786F91400680859 /* GossipTimestampFilter.swift */, - 07F1AFCE2786F91400680859 /* PeerHandleError.swift */, - 07F1AFCF2786F91400680859 /* ErroringMessageHandler.swift */, - 07F1AFD02786F91400680859 /* CommitmentSigned.swift */, - 07F1AFD12786F91400680859 /* TxCreationKeys.swift */, - 07F1AFD22786F91400680859 /* RawInvoice.swift */, - 07F1AFD32786F91400680859 /* Pong.swift */, - 07F1AFD42786F91400680859 /* ExpiryTime.swift */, - 07F1AFD52786F91400680859 /* ChannelConfig.swift */, - 07F1AFD62786F91400680859 /* DecodeError.swift */, - 07F1AFD72786F91400680859 /* QueryChannelRange.swift */, - 07F1AFD82786F91400680859 /* HolderCommitmentTransaction.swift */, - 07F1AFD92786F91400680859 /* ChannelTransactionParameters.swift */, - 07F1AFDA2786F91400680859 /* NodeInfo.swift */, - 07F1AFDB2786F91400680859 /* BackgroundProcessor.swift */, - 07F1AFDC2786F91400680859 /* DirectedChannelTransactionParameters.swift */, - 07F1AFDD2786F91400680859 /* ChannelHandshakeConfig.swift */, - 07F1AFDE2786F91400680859 /* RouteParameters.swift */, - 07F1AFDF2786F91400680859 /* ChannelManager.swift */, - 07F1AFE02786F91400680859 /* PrivateRoute.swift */, - 07F1AFE12786F91400680859 /* Shutdown.swift */, - 07F1AFE22786F91400680859 /* ChainParameters.swift */, - 07F1AFE32786F91400680859 /* AcceptChannel.swift */, - 07F1AFE42786F91400680859 /* FilesystemPersister.swift */, - 07F1AFE52786F91400680859 /* ChannelHandshakeLimits.swift */, - 07F1AFE62786F91400680859 /* AnnouncementSignatures.swift */, - 07F1AFE72786F91400680859 /* CommitmentUpdate.swift */, - 07F1AFE82786F91400680859 /* ClosingSigned.swift */, - 07F1AFE92786F91400680859 /* DirectionalChannelInfo.swift */, - 07F1AFEA2786F91400680859 /* DefaultRouter.swift */, - 07F1AFEB2786F91400680859 /* ChannelDetails.swift */, - 07F1AFEC2786F91400680859 /* Payee.swift */, - 07F1AFED2786F91400680859 /* NodeAnnouncementInfo.swift */, - 07F1AFEE2786F91400680859 /* UnsignedChannelAnnouncement.swift */, - 07F1AFEF2786F91400680859 /* TrustedClosingTransaction.swift */, - 07F1AFF02786F91400680859 /* LightningError.swift */, - 07F1AFF12786F91400680859 /* MinFinalCltvExpiry.swift */, - 07F1AFF22786F91400680859 /* DataLossProtect.swift */, - 07F1AFF32786F91400680859 /* TxOut.swift */, - 07F1AFF42786F91400680859 /* ErrorMessage.swift */, - 07F1AFF52786F91400680859 /* ChannelCounterparty.swift */, - 07F1AFF62786F91400680859 /* RouteHop.swift */, - 07F1AFF72786F91400680859 /* WatchedOutput.swift */, - 07F1AFF82786F91400680859 /* ChannelUpdate.swift */, - 07F1AFF92786F91400680859 /* Record.swift */, - 07F1AFFA2786F91400680859 /* ReplyChannelRange.swift */, - 07F1AFFB2786F91400680859 /* InitFeatures.swift */, - 07F1AFFC2786F91400680859 /* NodeAnnouncement.swift */, - 07F1AFFD2786F91400680859 /* RawDataPart.swift */, - 07F1AFFE2786F91400680859 /* ChannelPublicKeys.swift */, - 07F1AFFF2786F91400680859 /* ChannelInfo.swift */, - 07F1B0002786F91400680859 /* InvoiceSignature.swift */, - 07F1B0012786F91400680859 /* OpenChannel.swift */, - 07F1B0022786F91400680859 /* FundingSigned.swift */, - 07F1B0032786F91400680859 /* SignedRawInvoice.swift */, - 07F1B0042786F91400680859 /* ClosingTransaction.swift */, - 07F1B0052786F91400680859 /* LockedChannelMonitor.swift */, - 07F1B0062786F91400680859 /* CounterpartyForwardingInfo.swift */, - 07F1B0072786F91400680859 /* Init.swift */, - 07F1B0082786F91400680859 /* ChannelTypeFeatures.swift */, - 07F1B0092786F91400680859 /* UnsignedNodeAnnouncement.swift */, - 07F1B00A2786F91400680859 /* TrustedCommitmentTransaction.swift */, - 07F1B00B2786F91400680859 /* ReadOnlyNetworkGraph.swift */, - 07F1B00C2786F91400680859 /* RetryAttempts.swift */, - 07F1B00D2786F91400680859 /* ChannelFeatures.swift */, - 07F1B00E2786F91400680859 /* BuiltCommitmentTransaction.swift */, - 07F1B00F2786F91400680859 /* UserConfig.swift */, - 07F1B0102786F91400680859 /* Route.swift */, - 07F1B0112786F91400680859 /* OutPoint.swift */, - 07F1B0122786F91400680859 /* InvoicePayer.swift */, - 07F1B0132786F91400680859 /* DelayedPaymentOutputDescriptor.swift */, + 0767D0392698BB9800BEB4CC /* ldk_net.c */, + 0767D0352698BB9700BEB4CC /* ldk_net.h */, + 0767D0372698BB9700BEB4CC /* ldk_rust_types.h */, + 0767D0382698BB9700BEB4CC /* ldk_ver.h */, + 0767D0362698BB9700BEB4CC /* lightning.h */, + 0767D0322698BB9600BEB4CC /* LDKFrameworkTests-Bridging-Header.h */, ); - path = structs; + name = headers; sourceTree = ""; }; /* End PBXGroup section */ @@ -1317,325 +1371,343 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 07F1B0F82786F91500680859 /* FundingCreated.swift in Sources */, - 07F1B1342786F91500680859 /* InitFeatures.swift in Sources */, - 07F1B10A2786F91500680859 /* TxCreationKeys.swift in Sources */, - 07F1B0142786F91400680859 /* PaymentSendFailure.swift in Sources */, - 07F1B0422786F91400680859 /* CustomMessageReader.swift in Sources */, - 07F1B0352786F91400680859 /* SocketDescriptor.swift in Sources */, - 07F1B02C2786F91400680859 /* MonitorEvent.swift in Sources */, - 07F1B0A72786F91500680859 /* Result_InvoiceSemanticErrorZ.swift in Sources */, - 07F1B06E2786F91500680859 /* Result_RouteHintHopDecodeErrorZ.swift in Sources */, - 07F1B0802786F91500680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */, - 07F1B1222786F91500680859 /* DirectionalChannelInfo.swift in Sources */, - 07F1B0CF2786F91500680859 /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */, - 07F1B0E82786F91500680859 /* NodeFeatures.swift in Sources */, - 07F1B0342786F91400680859 /* Payer.swift in Sources */, - 07F1B0682786F91500680859 /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */, - 07F1B0F12786F91500680859 /* UnsignedChannelUpdate.swift in Sources */, - 07F1B0AC2786F91500680859 /* Result_RecoverableSignatureNoneZ.swift in Sources */, - 07F1B0192786F91400680859 /* Option_TypeZ.swift in Sources */, + 075176DD27D600D50071110C /* Result_RoutingFeesDecodeErrorZ.swift in Sources */, + 075176C327D600D50071110C /* Result_RouteHopDecodeErrorZ.swift in Sources */, + 0751770127D600D50071110C /* Result_boolPeerHandleErrorZ.swift in Sources */, + 0751774F27D600D50071110C /* FundingLocked.swift in Sources */, + 075176E327D600D50071110C /* Result_ScoringParametersDecodeErrorZ.swift in Sources */, + 0751777627D600D50071110C /* ChannelDetails.swift in Sources */, + 0751768827D600D40071110C /* Sign.swift in Sources */, + 0751772C27D600D50071110C /* UpdateFailMalformedHTLC.swift in Sources */, + 0751774A27D600D50071110C /* ReplyShortChannelIdsEnd.swift in Sources */, + 075176A627D600D40071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */, + 0751769B27D600D40071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift in Sources */, + 0751772427D600D50071110C /* Description.swift in Sources */, + 0751769827D600D40071110C /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */, + 075176DC27D600D50071110C /* Result_InvoiceNoneZ.swift in Sources */, + 0751774027D600D50071110C /* ChannelUpdateInfo.swift in Sources */, + 0751775027D600D50071110C /* ScoringParameters.swift in Sources */, + 0751776327D600D50071110C /* NodeInfo.swift in Sources */, + 0751765427D600D40071110C /* PaymentSendFailure.swift in Sources */, + 075176EF27D600D50071110C /* Result_InitFeaturesDecodeErrorZ.swift in Sources */, + 075176D727D600D50071110C /* Result_TransactionNoneZ.swift in Sources */, + 0751769327D600D40071110C /* C2Tuple_SignatureSignatureZ.swift in Sources */, + 0751777B27D600D50071110C /* MinFinalCltvExpiry.swift in Sources */, + 0751778427D600D50071110C /* ReplyChannelRange.swift in Sources */, + 0751765927D600D40071110C /* Option_TypeZ.swift in Sources */, + 0751776B27D600D50071110C /* ChainParameters.swift in Sources */, + 0751778827D600D50071110C /* ChannelPublicKeys.swift in Sources */, + 0751766A27D600D40071110C /* Option_EventZ.swift in Sources */, + 0751774C27D600D50071110C /* ShutdownScript.swift in Sources */, + 0751771827D600D50071110C /* Result_InitDecodeErrorZ.swift in Sources */, + 075176AB27D600D40071110C /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */, + 0751778727D600D50071110C /* RawDataPart.swift in Sources */, + 0751775F27D600D50071110C /* DecodeError.swift in Sources */, + 075176F227D600D50071110C /* Result_RecoverableSignatureNoneZ.swift in Sources */, + 0751767E27D600D40071110C /* ChannelManagerPersister.swift in Sources */, + 0751769027D600D40071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */, + 075176B227D600D40071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */, + 0751774E27D600D50071110C /* UpdateFailHTLC.swift in Sources */, + 0751779C27D600D50071110C /* OutPoint.swift in Sources */, + 0751777427D600D50071110C /* ClosingSigned.swift in Sources */, + 0751775527D600D50071110C /* GossipTimestampFilter.swift in Sources */, 075E25FA26FEFF5A0000A76B /* UtilMethods.swift in Sources */, - 07F1B0BA2786F91500680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */, - 07F1B1262786F91500680859 /* NodeAnnouncementInfo.swift in Sources */, - 07F1B0452786F91500680859 /* EventsProvider.swift in Sources */, - 07F1B0DF2786F91500680859 /* UpdateFailMalformedHTLC.swift in Sources */, - 07F1B0F62786F91500680859 /* CommitmentTransaction.swift in Sources */, - 07F1B12C2786F91500680859 /* TxOut.swift in Sources */, - 07F1B0282786F91400680859 /* NetworkUpdate.swift in Sources */, - 07F1B0302786F91400680859 /* Persist.swift in Sources */, - 07F1B1192786F91500680859 /* PrivateRoute.swift in Sources */, + 075176BE27D600D50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */, + 075176A827D600D40071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */, + 0751779127D600D50071110C /* FixedPenaltyScorer.swift in Sources */, + 0751766427D600D40071110C /* Option_NetworkUpdateZ.swift in Sources */, + 0751769C27D600D40071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */, + 075176C927D600D50071110C /* Result_NoneLightningErrorZ.swift in Sources */, + 0751776E27D600D50071110C /* ChannelHandshakeLimits.swift in Sources */, + 0751771E27D600D50071110C /* Result_ClosingSignedDecodeErrorZ.swift in Sources */, 0767D03E2698BB9800BEB4CC /* ldk_net.c in Sources */, - 07F1B10F2786F91500680859 /* DecodeError.swift in Sources */, - 07F1B0512786F91500680859 /* C2Tuple_OutPointScriptZ.swift in Sources */, - 07F1B0502786F91500680859 /* C2Tuple_u32TxOutZ.swift in Sources */, - 07F1B0862786F91500680859 /* Result_TrustedClosingTransactionNoneZ.swift in Sources */, - 07F1B1272786F91500680859 /* UnsignedChannelAnnouncement.swift in Sources */, - 07F1B0212786F91400680859 /* ErrorAction.swift in Sources */, - 07F1B0432786F91400680859 /* BindingsType.swift in Sources */, - 07F1B1392786F91500680859 /* InvoiceSignature.swift in Sources */, - 07F1B1492786F91500680859 /* Route.swift in Sources */, - 07F1B09B2786F91500680859 /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */, - 07F1B13C2786F91500680859 /* SignedRawInvoice.swift in Sources */, - 07F1B08E2786F91500680859 /* Result_DescriptionCreationErrorZ.swift in Sources */, - 07F1B1252786F91500680859 /* Payee.swift in Sources */, - 07F1B1362786F91500680859 /* RawDataPart.swift in Sources */, - 07F1B0892786F91500680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */, - 07F1B0B82786F91500680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */, - 07F1B0732786F91500680859 /* Result_RouteHintDecodeErrorZ.swift in Sources */, - 07F1B0F42786F91500680859 /* NetworkGraph.swift in Sources */, - 07F1B0402786F91400680859 /* Router.swift in Sources */, - 07F1B0902786F91500680859 /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */, - 07F1B1002786F91500680859 /* FundingLocked.swift in Sources */, - 07F1B07A2786F91500680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B0A42786F91500680859 /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */, - 07F1B1052786F91500680859 /* InMemorySigner.swift in Sources */, - 07F1B0C72786F91500680859 /* Result_ExpiryTimeCreationErrorZ.swift in Sources */, - 07F1B10B2786F91500680859 /* RawInvoice.swift in Sources */, - 07F1B0B42786F91500680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */, - 07F1B1482786F91500680859 /* UserConfig.swift in Sources */, - 07F1B0742786F91500680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B0772786F91500680859 /* Result_AcceptChannelDecodeErrorZ.swift in Sources */, - 07F1B0DB2786F91500680859 /* MonitorUpdateId.swift in Sources */, - 07F1B1122786F91500680859 /* ChannelTransactionParameters.swift in Sources */, - 07F1B0292786F91400680859 /* Option_EventZ.swift in Sources */, + 0751779E27D600D50071110C /* DelayedPaymentOutputDescriptor.swift in Sources */, + 075176AD27D600D40071110C /* Result_OpenChannelDecodeErrorZ.swift in Sources */, + 0751779727D600D50071110C /* RetryAttempts.swift in Sources */, 075E25F426FEFF5A0000A76B /* TCPPeerHandler.swift in Sources */, - 07F1B1082786F91500680859 /* ErroringMessageHandler.swift in Sources */, - 07F1B1452786F91500680859 /* RetryAttempts.swift in Sources */, - 07F1B0832786F91500680859 /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */, - 07F1B0EA2786F91500680859 /* InvoiceFeatures.swift in Sources */, - 07F1B0BD2786F91500680859 /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */, - 07F1B09F2786F91500680859 /* Result_COption_EventZDecodeErrorZ.swift in Sources */, - 07F1B0DC2786F91500680859 /* Ping.swift in Sources */, - 07F1B0E62786F91500680859 /* ChannelManagerReadArgs.swift in Sources */, - 07F1B0A02786F91500680859 /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */, - 07F1B0F72786F91500680859 /* KeysManager.swift in Sources */, - 07F1B0ED2786F91500680859 /* ChannelMonitor.swift in Sources */, - 07F1B1422786F91500680859 /* UnsignedNodeAnnouncement.swift in Sources */, - 07F1B03F2786F91400680859 /* ChannelMessageHandler.swift in Sources */, - 07F1B0E52786F91500680859 /* RouteHintHop.swift in Sources */, - 07F1B05F2786F91500680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */, - 07F1B07C2786F91500680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */, - 07F1B09A2786F91500680859 /* Result_RoutingFeesDecodeErrorZ.swift in Sources */, - 07F1B1332786F91500680859 /* ReplyChannelRange.swift in Sources */, - 07F1B0202786F91400680859 /* Balance.swift in Sources */, - 07F1B0F02786F91500680859 /* UpdateFee.swift in Sources */, - 07F1B0652786F91500680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B1282786F91500680859 /* TrustedClosingTransaction.swift in Sources */, - 07F1B0372786F91400680859 /* MessageSendEventsProvider.swift in Sources */, - 07F1B06C2786F91500680859 /* Result_PongDecodeErrorZ.swift in Sources */, - 07F1B1172786F91500680859 /* RouteParameters.swift in Sources */, - 07F1B0FD2786F91500680859 /* ShutdownScript.swift in Sources */, - 07F1B05C2786F91500680859 /* Result_ScorerDecodeErrorZ.swift in Sources */, - 07F1B01D2786F91400680859 /* PaymentError.swift in Sources */, - 07F1B14A2786F91500680859 /* OutPoint.swift in Sources */, - 07F1B1102786F91500680859 /* QueryChannelRange.swift in Sources */, - 07F1B12B2786F91500680859 /* DataLossProtect.swift in Sources */, - 07F1B1382786F91500680859 /* ChannelInfo.swift in Sources */, - 07F1B0792786F91500680859 /* Result_PayeeDecodeErrorZ.swift in Sources */, - 07F1B0DA2786F91500680859 /* RevokeAndACK.swift in Sources */, - 07F1B1472786F91500680859 /* BuiltCommitmentTransaction.swift in Sources */, - 07F1B0FE2786F91500680859 /* PeerManager.swift in Sources */, - 07F1B0392786F91400680859 /* LockableScore.swift in Sources */, - 07F1B0F22786F91500680859 /* MultiThreadedLockableScore.swift in Sources */, - 07F1B0822786F91500680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B09D2786F91500680859 /* Result_RouteParametersDecodeErrorZ.swift in Sources */, - 07F1B0B12786F91500680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */, - 07F1B02B2786F91400680859 /* MessageSendEvent.swift in Sources */, - 07F1B04C2786F91500680859 /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */, - 07F1B01B2786F91400680859 /* Option_AccessZ.swift in Sources */, - 07F1B0D32786F91500680859 /* Result_ClosingSignedDecodeErrorZ.swift in Sources */, - 07F1B0A32786F91500680859 /* Result_SecretKeyErrorZ.swift in Sources */, - 07F1B0C62786F91500680859 /* Result_NodeInfoDecodeErrorZ.swift in Sources */, - 07F1B13E2786F91500680859 /* LockedChannelMonitor.swift in Sources */, - 07F1B1092786F91500680859 /* CommitmentSigned.swift in Sources */, - 07F1B07E2786F91500680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */, - 07F1B0612786F91500680859 /* Result_PingDecodeErrorZ.swift in Sources */, - 07F1B06A2786F91500680859 /* Result_OpenChannelDecodeErrorZ.swift in Sources */, - 07F1B1032786F91500680859 /* HTLCUpdate.swift in Sources */, - 07F1B0972786F91500680859 /* Result_NoneSemanticErrorZ.swift in Sources */, - 07F1B0D62786F91500680859 /* ChainMonitor.swift in Sources */, - 07F1B05D2786F91500680859 /* Result_FundingCreatedDecodeErrorZ.swift in Sources */, - 07F1B1462786F91500680859 /* ChannelFeatures.swift in Sources */, - 07F1B0842786F91500680859 /* Result_NonePeerHandleErrorZ.swift in Sources */, - 07F1B1412786F91500680859 /* ChannelTypeFeatures.swift in Sources */, - 07F1B1042786F91500680859 /* NodeId.swift in Sources */, - 07F1B0B72786F91500680859 /* Result_boolPeerHandleErrorZ.swift in Sources */, - 07F1B04E2786F91500680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */, - 07F1B1242786F91500680859 /* ChannelDetails.swift in Sources */, - 07F1B06D2786F91500680859 /* Result__u832APIErrorZ.swift in Sources */, - 07F1B06B2786F91500680859 /* Result_ChannelInfoDecodeErrorZ.swift in Sources */, - 07F1B0A92786F91500680859 /* Result_COption_TypeZDecodeErrorZ.swift in Sources */, - 07F1B0852786F91500680859 /* Result_TxOutAccessErrorZ.swift in Sources */, - 07F1B0B22786F91500680859 /* Result_FundingLockedDecodeErrorZ.swift in Sources */, - 07F1B0BE2786F91500680859 /* Result_NoneNoneZ.swift in Sources */, - 07F1B0CC2786F91500680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */, - 07F1B0962786F91500680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B0322786F91400680859 /* KeysInterface.swift in Sources */, - 07F1B11C2786F91500680859 /* AcceptChannel.swift in Sources */, - 07F1B0F52786F91500680859 /* InvalidShutdownScript.swift in Sources */, - 07F1B0C12786F91500680859 /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B0D82786F91500680859 /* Scorer.swift in Sources */, - 07F1B0D22786F91500680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */, - 07F1B1372786F91500680859 /* ChannelPublicKeys.swift in Sources */, - 07F1B0D52786F91500680859 /* MessageHandler.swift in Sources */, - 07F1B0B92786F91500680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */, - 07F1B11F2786F91500680859 /* AnnouncementSignatures.swift in Sources */, - 07F1B0872786F91500680859 /* Result_NoneLightningErrorZ.swift in Sources */, - 07F1B1302786F91500680859 /* WatchedOutput.swift in Sources */, - 07F1B0C82786F91500680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */, - 07F1B1402786F91500680859 /* Init.swift in Sources */, - 07F1B03B2786F91400680859 /* EventHandler.swift in Sources */, - 07F1B12F2786F91500680859 /* RouteHop.swift in Sources */, - 07F1B04A2786F91500680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */, - 07F1B08B2786F91500680859 /* Result_boolLightningErrorZ.swift in Sources */, - 07F1B0542786F91500680859 /* C2Tuple_u32ScriptZ.swift in Sources */, - 07F1B0F32786F91500680859 /* QueryShortChannelIds.swift in Sources */, - 07F1B02A2786F91400680859 /* ClosureReason.swift in Sources */, - 07F1B1152786F91500680859 /* DirectedChannelTransactionParameters.swift in Sources */, - 07F1B0532786F91500680859 /* C2Tuple_PublicKeyTypeZ.swift in Sources */, - 07F1B0C32786F91500680859 /* Result_ShutdownDecodeErrorZ.swift in Sources */, - 07F1B10D2786F91500680859 /* ExpiryTime.swift in Sources */, - 07F1B1062786F91500680859 /* GossipTimestampFilter.swift in Sources */, - 07F1B0A82786F91500680859 /* Result_SignedRawInvoiceNoneZ.swift in Sources */, - 07F1B0272786F91400680859 /* SignOrCreationError.swift in Sources */, - 07F1B05A2786F91500680859 /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */, - 07F1B0EF2786F91500680859 /* BestBlock.swift in Sources */, - 07F1B1072786F91500680859 /* PeerHandleError.swift in Sources */, - 07F1B0672786F91500680859 /* Result_RouteDecodeErrorZ.swift in Sources */, - 07F1B08C2786F91500680859 /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */, - 07F1B0CE2786F91500680859 /* Result_InitDecodeErrorZ.swift in Sources */, - 07F1B0B02786F91500680859 /* Result_NoneErrorZ.swift in Sources */, - 07F1B0952786F91500680859 /* Result_NetworkGraphDecodeErrorZ.swift in Sources */, - 07F1B0AF2786F91500680859 /* Result_SignatureNoneZ.swift in Sources */, - 07F1B1132786F91500680859 /* NodeInfo.swift in Sources */, - 07F1B0712786F91500680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */, + 0751776A27D600D50071110C /* Shutdown.swift in Sources */, + 0751777327D600D50071110C /* CommitmentUpdate.swift in Sources */, + 075176BA27D600D50071110C /* Result_AcceptChannelDecodeErrorZ.swift in Sources */, + 0751768C27D600D40071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */, + 075176E627D600D50071110C /* Result_PaymentIdPaymentErrorZ.swift in Sources */, + 075176D227D600D50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */, + 0751775727D600D50071110C /* ErroringMessageHandler.swift in Sources */, + 075176F427D600D50071110C /* Result_CVec_SignatureZNoneZ.swift in Sources */, + 0751771327D600D50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, + 0751768427D600D40071110C /* BindingsType.swift in Sources */, + 0751770727D600D50071110C /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */, + 0751772027D600D50071110C /* MessageHandler.swift in Sources */, + 0751773F27D600D50071110C /* MultiThreadedLockableScore.swift in Sources */, + 0751779827D600D50071110C /* ChannelFeatures.swift in Sources */, + 0751773727D600D50071110C /* InvoiceFeatures.swift in Sources */, + 0751769627D600D40071110C /* C2Tuple_u32ScriptZ.swift in Sources */, + 0751773227D600D50071110C /* RouteHintHop.swift in Sources */, + 075176CD27D600D50071110C /* Result_boolLightningErrorZ.swift in Sources */, + 0751768727D600D40071110C /* Watch.swift in Sources */, + 0751778627D600D50071110C /* NodeAnnouncement.swift in Sources */, + 0751770E27D600D50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */, + 0751772827D600D50071110C /* Ping.swift in Sources */, + 0751767F27D600D40071110C /* Listen.swift in Sources */, + 0751776027D600D50071110C /* QueryChannelRange.swift in Sources */, + 0751768027D600D40071110C /* ChannelMessageHandler.swift in Sources */, + 075176E127D600D50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */, + 0751767527D600D40071110C /* Payer.swift in Sources */, + 0751770027D600D50071110C /* Result_SignDecodeErrorZ.swift in Sources */, + 0751770F27D600D50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */, + 0751769A27D600D40071110C /* Result_ChannelConfigDecodeErrorZ.swift in Sources */, + 0751773A27D600D50071110C /* ChannelMonitor.swift in Sources */, + 075176C227D600D50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */, + 075176AF27D600D40071110C /* Result_PongDecodeErrorZ.swift in Sources */, + 075176C827D600D50071110C /* Result_TrustedClosingTransactionNoneZ.swift in Sources */, + 0751771527D600D50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift in Sources */, + 075176FF27D600D50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */, + 0751777727D600D50071110C /* NodeAnnouncementInfo.swift in Sources */, + 0751765D27D600D40071110C /* PaymentError.swift in Sources */, + 0751775A27D600D50071110C /* RawInvoice.swift in Sources */, + 0751769D27D600D40071110C /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */, + 0751778027D600D50071110C /* RouteHop.swift in Sources */, + 0751777127D600D50071110C /* PaymentParameters.swift in Sources */, + 0751778527D600D50071110C /* InitFeatures.swift in Sources */, + 075176D127D600D50071110C /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */, + 075176E027D600D50071110C /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */, + 075176FE27D600D50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */, + 0751773027D600D50071110C /* HTLCOutputInCommitment.swift in Sources */, + 0751776627D600D50071110C /* ChannelHandshakeConfig.swift in Sources */, + 0751768127D600D40071110C /* Router.swift in Sources */, + 075176A327D600D40071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */, + 0751776F27D600D50071110C /* ProbabilisticScoringParameters.swift in Sources */, + 075176A427D600D40071110C /* Result_LockedChannelMonitorNoneZ.swift in Sources */, + 0751777527D600D50071110C /* DefaultRouter.swift in Sources */, + 0751779527D600D50071110C /* TrustedCommitmentTransaction.swift in Sources */, + 075176B927D600D50071110C /* Result_ErrorMessageDecodeErrorZ.swift in Sources */, + 0751766827D600D40071110C /* SignOrCreationError.swift in Sources */, + 075176DB27D600D50071110C /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */, + 0751767B27D600D40071110C /* Confirm.swift in Sources */, + 075176F727D600D50071110C /* Result_NoneErrorZ.swift in Sources */, + 0751778227D600D50071110C /* ChannelUpdate.swift in Sources */, + 075176DE27D600D50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift in Sources */, + 0751769E27D600D40071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift in Sources */, + 0751775827D600D50071110C /* CommitmentSigned.swift in Sources */, + 075176F527D600D50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */, + 0751774527D600D50071110C /* CommitmentTransaction.swift in Sources */, + 0751772127D600D50071110C /* ChainMonitor.swift in Sources */, + 0751771D27D600D50071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift in Sources */, + 0751766127D600D40071110C /* Balance.swift in Sources */, + 0751774127D600D50071110C /* QueryShortChannelIds.swift in Sources */, + 0751778327D600D50071110C /* Record.swift in Sources */, + 0751774327D600D50071110C /* DirectedChannelInfo.swift in Sources */, + 0751765B27D600D40071110C /* Option_AccessZ.swift in Sources */, 075E25F626FEFF5A0000A76B /* NetGraphMsgHandlerConstructor.swift in Sources */, - 07F1B0252786F91400680859 /* Option_u16Z.swift in Sources */, - 07F1B07B2786F91500680859 /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */, - 07F1B1442786F91500680859 /* ReadOnlyNetworkGraph.swift in Sources */, - 07F1B13B2786F91500680859 /* FundingSigned.swift in Sources */, - 07F1B0332786F91400680859 /* Logger.swift in Sources */, - 07F1B0E32786F91500680859 /* HTLCOutputInCommitment.swift in Sources */, - 07F1B0152786F91400680859 /* Option_u64Z.swift in Sources */, - 07F1B0C52786F91500680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */, - 07F1B0AE2786F91500680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */, - 07F1B04B2786F91500680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */, - 07F1B11D2786F91500680859 /* FilesystemPersister.swift in Sources */, - 07F1B01E2786F91400680859 /* Option_ClosureReasonZ.swift in Sources */, - 07F1B0552786F91500680859 /* C2Tuple_usizeTransactionZ.swift in Sources */, - 07F1B1142786F91500680859 /* BackgroundProcessor.swift in Sources */, - 07F1B0642786F91500680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */, - 07F1B0D42786F91500680859 /* Result_InMemorySignerDecodeErrorZ.swift in Sources */, - 07F1B0362786F91400680859 /* FeeEstimator.swift in Sources */, - 07F1B0DD2786F91500680859 /* PositiveTimestamp.swift in Sources */, - 07F1B0FF2786F91500680859 /* UpdateFailHTLC.swift in Sources */, - 07F1B0E72786F91500680859 /* UpdateFulfillHTLC.swift in Sources */, - 07F1B0932786F91500680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */, - 07F1B0E92786F91500680859 /* NetGraphMsgHandler.swift in Sources */, - 07F1B0992786F91500680859 /* Result_InvoiceNoneZ.swift in Sources */, - 07F1B0382786F91400680859 /* BroadcasterInterface.swift in Sources */, - 07F1B0442786F91500680859 /* Access.swift in Sources */, - 07F1B05B2786F91500680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */, - 07F1B10C2786F91500680859 /* Pong.swift in Sources */, - 07F1B08F2786F91500680859 /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */, - 07F1B08D2786F91500680859 /* Result_UpdateFeeDecodeErrorZ.swift in Sources */, - 07F1B0692786F91500680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */, - 07F1B09C2786F91500680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */, - 07F1B0762786F91500680859 /* Result_ErrorMessageDecodeErrorZ.swift in Sources */, - 07F1B0622786F91500680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */, - 07F1B14B2786F91500680859 /* InvoicePayer.swift in Sources */, - 07F1B03D2786F91400680859 /* ChannelManagerPersister.swift in Sources */, - 07F1B0942786F91500680859 /* Result_TransactionNoneZ.swift in Sources */, - 07F1B0522786F91500680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */, - 07F1B0262786F91400680859 /* NetAddress.swift in Sources */, - 07F1B0CA2786F91500680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B0462786F91500680859 /* Watch.swift in Sources */, - 07F1B0D72786F91500680859 /* PayeePubKey.swift in Sources */, - 07F1B11E2786F91500680859 /* ChannelHandshakeLimits.swift in Sources */, - 07F1B0BF2786F91500680859 /* Result_PositiveTimestampCreationErrorZ.swift in Sources */, - 07F1B03E2786F91400680859 /* Listen.swift in Sources */, - 07F1B13A2786F91500680859 /* OpenChannel.swift in Sources */, - 07F1B03A2786F91400680859 /* Confirm.swift in Sources */, - 07F1B1232786F91500680859 /* DefaultRouter.swift in Sources */, - 07F1B01C2786F91400680859 /* PaymentPurpose.swift in Sources */, - 07F1B0572786F91500680859 /* Bindings.swift in Sources */, - 07F1B1432786F91500680859 /* TrustedCommitmentTransaction.swift in Sources */, - 07F1B0B62786F91500680859 /* Result_SignDecodeErrorZ.swift in Sources */, - 07F1B0C22786F91500680859 /* Result_PayeePubKeyErrorZ.swift in Sources */, - 07F1B0A52786F91500680859 /* Result_NodeIdDecodeErrorZ.swift in Sources */, - 07F1B0D92786F91500680859 /* Description.swift in Sources */, - 07F1B04D2786F91500680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */, - 07F1B0C42786F91500680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */, - 07F1B1112786F91500680859 /* HolderCommitmentTransaction.swift in Sources */, - 07F1B0E12786F91500680859 /* RouteHint.swift in Sources */, - 07F1B0EC2786F91500680859 /* RoutingFees.swift in Sources */, - 07F1B0162786F91400680859 /* Fallback.swift in Sources */, - 07F1B0242786F91400680859 /* Option_u32Z.swift in Sources */, - 07F1B1022786F91500680859 /* StaticPaymentOutputDescriptor.swift in Sources */, - 07F1B0CB2786F91500680859 /* Result_PaymentSecretNoneZ.swift in Sources */, - 07F1B0BC2786F91500680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */, - 07F1B0702786F91500680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */, - 07F1B0B32786F91500680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */, - 07F1B0AB2786F91500680859 /* Result_NetAddressDecodeErrorZ.swift in Sources */, - 07F1B0812786F91500680859 /* Result_RouteHopDecodeErrorZ.swift in Sources */, - 07F1B0B52786F91500680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */, - 07F1B0222786F91400680859 /* Option_MonitorEventZ.swift in Sources */, - 07F1B12D2786F91500680859 /* ErrorMessage.swift in Sources */, - 07F1B0E42786F91500680859 /* ChannelReestablish.swift in Sources */, - 07F1B1202786F91500680859 /* CommitmentUpdate.swift in Sources */, - 07F1B1012786F91500680859 /* ScoringParameters.swift in Sources */, - 07F1B12E2786F91500680859 /* ChannelCounterparty.swift in Sources */, - 07F1B1162786F91500680859 /* ChannelHandshakeConfig.swift in Sources */, - 07F1B02D2786F91400680859 /* SpendableOutputDescriptor.swift in Sources */, - 07F1B0F92786F91500680859 /* CounterpartyChannelTransactionParameters.swift in Sources */, - 07F1B0D02786F91500680859 /* Result_PrivateRouteCreationErrorZ.swift in Sources */, - 07F1B07F2786F91500680859 /* Result_StringErrorZ.swift in Sources */, - 07F1B0FC2786F91500680859 /* IgnoringMessageHandler.swift in Sources */, - 07F1B1322786F91500680859 /* Record.swift in Sources */, + 0751778927D600D50071110C /* ChannelInfo.swift in Sources */, + 0751776C27D600D50071110C /* AcceptChannel.swift in Sources */, + 075176F827D600D50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */, + 0751774727D600D50071110C /* FundingCreated.swift in Sources */, + 0751777A27D600D50071110C /* LightningError.swift in Sources */, + 075176F927D600D50071110C /* Result_FundingLockedDecodeErrorZ.swift in Sources */, + 0751779427D600D50071110C /* UnsignedNodeAnnouncement.swift in Sources */, + 075176BC27D600D50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */, + 0751767227D600D40071110C /* Score.swift in Sources */, + 075176B827D600D50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */, + 0751778D27D600D50071110C /* SignedRawInvoice.swift in Sources */, + 075176E427D600D50071110C /* Result_COption_EventZDecodeErrorZ.swift in Sources */, + 0751768B27D600D40071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */, + 0751770B27D600D50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */, + 0751766327D600D40071110C /* Option_MonitorEventZ.swift in Sources */, + 0751773D27D600D50071110C /* UpdateFee.swift in Sources */, + 0751772D27D600D50071110C /* ChannelMonitorUpdate.swift in Sources */, + 0751771027D600D50071110C /* Result_NodeInfoDecodeErrorZ.swift in Sources */, + 075176E527D600D50071110C /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */, + 0751770827D600D50071110C /* Result_NoneNoneZ.swift in Sources */, + 0751772227D600D50071110C /* PayeePubKey.swift in Sources */, + 075176C727D600D50071110C /* Result_TxOutAccessErrorZ.swift in Sources */, + 075176A527D600D40071110C /* Result_PingDecodeErrorZ.swift in Sources */, + 0751765527D600D40071110C /* Option_u64Z.swift in Sources */, + 075176FC27D600D50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */, + 075176DF27D600D50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift in Sources */, + 0751772927D600D50071110C /* PositiveTimestamp.swift in Sources */, + 0751779927D600D50071110C /* BuiltCommitmentTransaction.swift in Sources */, + 0751771A27D600D50071110C /* Result_PrivateRouteCreationErrorZ.swift in Sources */, + 0751771427D600D50071110C /* Result_PaymentSecretNoneZ.swift in Sources */, + 0751771F27D600D50071110C /* Result_InMemorySignerDecodeErrorZ.swift in Sources */, + 075176F327D600D50071110C /* Result_ChannelDetailsDecodeErrorZ.swift in Sources */, + 0751776827D600D50071110C /* ChannelManager.swift in Sources */, + 0751772F27D600D50071110C /* Sha256.swift in Sources */, + 0751767D27D600D40071110C /* RoutingMessageHandler.swift in Sources */, + 0751768A27D600D40071110C /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */, + 0751768D27D600D40071110C /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */, + 0751767127D600D40071110C /* Persist.swift in Sources */, + 0751767827D600D40071110C /* MessageSendEventsProvider.swift in Sources */, + 0751770D27D600D50071110C /* Result_ShutdownDecodeErrorZ.swift in Sources */, + 075176F027D600D50071110C /* Result_NetAddressDecodeErrorZ.swift in Sources */, + 0751773E27D600D50071110C /* UnsignedChannelUpdate.swift in Sources */, + 0751774627D600D50071110C /* KeysManager.swift in Sources */, + 0751766727D600D40071110C /* NetAddress.swift in Sources */, + 075176B627D600D50071110C /* Result_RouteHintDecodeErrorZ.swift in Sources */, + 075176F627D600D50071110C /* Result_SignatureNoneZ.swift in Sources */, + 0751771127D600D50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */, + 075176AA27D600D40071110C /* Result_RouteDecodeErrorZ.swift in Sources */, + 075176C627D600D50071110C /* Result_NonePeerHandleErrorZ.swift in Sources */, + 075176FA27D600D50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift in Sources */, + 075176C127D600D50071110C /* Result_StringErrorZ.swift in Sources */, + 0751767327D600D40071110C /* KeysInterface.swift in Sources */, + 075176B727D600D50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */, + 075176D327D600D50071110C /* Result_PaymentParametersDecodeErrorZ.swift in Sources */, + 0751767927D600D40071110C /* BroadcasterInterface.swift in Sources */, + 075176AE27D600D40071110C /* Result_ChannelInfoDecodeErrorZ.swift in Sources */, + 075176E727D600D50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */, + 0751772B27D600D50071110C /* PhantomKeysManager.swift in Sources */, + 0751770627D600D50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */, + 075176B527D600D40071110C /* Result_PaymentSecretAPIErrorZ.swift in Sources */, + 0751776727D600D50071110C /* RouteParameters.swift in Sources */, + 075176C027D600D50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */, + 0751765E27D600D40071110C /* Option_ClosureReasonZ.swift in Sources */, + 075176A227D600D40071110C /* Result_TxCreationKeysErrorZ.swift in Sources */, + 0751765C27D600D40071110C /* PaymentPurpose.swift in Sources */, + 075176AC27D600D40071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */, + 0751770C27D600D50071110C /* Result_PayeePubKeyErrorZ.swift in Sources */, + 075176EE27D600D50071110C /* Result_COption_TypeZDecodeErrorZ.swift in Sources */, + 075176E227D600D50071110C /* Result_RouteParametersDecodeErrorZ.swift in Sources */, + 0751775B27D600D50071110C /* Pong.swift in Sources */, + 075176F127D600D50071110C /* Result_WarningMessageDecodeErrorZ.swift in Sources */, + 0751773327D600D50071110C /* ChannelManagerReadArgs.swift in Sources */, + 0751768F27D600D40071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */, + 0751773B27D600D50071110C /* ClosingSignedFeeRange.swift in Sources */, + 0751772627D600D50071110C /* MonitorUpdateId.swift in Sources */, + 0751765627D600D40071110C /* Fallback.swift in Sources */, + 0751772E27D600D50071110C /* RouteHint.swift in Sources */, + 0751770327D600D50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */, + 075176B127D600D40071110C /* Result_RouteHintHopDecodeErrorZ.swift in Sources */, + 0751770227D600D50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */, + 075176CF27D600D50071110C /* Result_UpdateFeeDecodeErrorZ.swift in Sources */, + 075176B427D600D40071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */, + 0751767027D600D40071110C /* BaseSign.swift in Sources */, + 0751778E27D600D50071110C /* ClosingTransaction.swift in Sources */, + 0751775127D600D50071110C /* StaticPaymentOutputDescriptor.swift in Sources */, + 0751768627D600D40071110C /* EventsProvider.swift in Sources */, + 0751769427D600D40071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */, + 0751767627D600D40071110C /* SocketDescriptor.swift in Sources */, + 0751779B27D600D50071110C /* Route.swift in Sources */, + 0751776927D600D50071110C /* PrivateRoute.swift in Sources */, + 0751776527D600D50071110C /* DirectedChannelTransactionParameters.swift in Sources */, + 0751774827D600D50071110C /* CounterpartyChannelTransactionParameters.swift in Sources */, + 0751771727D600D50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */, + 0751767427D600D40071110C /* Logger.swift in Sources */, + 0751770527D600D50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */, + 0751776127D600D50071110C /* HolderCommitmentTransaction.swift in Sources */, + 0751778A27D600D50071110C /* InvoiceSignature.swift in Sources */, + 0751775427D600D50071110C /* InMemorySigner.swift in Sources */, + 075176BF27D600D50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */, + 0751766227D600D40071110C /* ErrorAction.swift in Sources */, + 0751770427D600D50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */, + 0751777F27D600D50071110C /* ChannelCounterparty.swift in Sources */, + 0751779A27D600D50071110C /* UserConfig.swift in Sources */, + 0751766527D600D40071110C /* Option_u32Z.swift in Sources */, + 0751773827D600D50071110C /* Invoice.swift in Sources */, + 0751768E27D600D40071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */, + 075176E927D600D50071110C /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */, + 0751774D27D600D50071110C /* PeerManager.swift in Sources */, + 075176BB27D600D50071110C /* Result_PaymentPreimageAPIErrorZ.swift in Sources */, + 0751777027D600D50071110C /* PhantomRouteHints.swift in Sources */, + 0751779327D600D50071110C /* ChannelTypeFeatures.swift in Sources */, + 0751778C27D600D50071110C /* FundingSigned.swift in Sources */, + 075176B327D600D40071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */, + 075176EB27D600D50071110C /* Result_RouteLightningErrorZ.swift in Sources */, + 075176A127D600D40071110C /* Result_FundingCreatedDecodeErrorZ.swift in Sources */, + 0751766927D600D40071110C /* NetworkUpdate.swift in Sources */, + 075176C427D600D50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */, + 0751773C27D600D50071110C /* BestBlock.swift in Sources */, + 0751772327D600D50071110C /* Scorer.swift in Sources */, 07344C8726427F95001CD90E /* LDKExampleClass.swift in Sources */, - 07F1B1182786F91500680859 /* ChannelManager.swift in Sources */, - 07F1B01F2786F91400680859 /* Option_FilterZ.swift in Sources */, - 07F1B0752786F91500680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */, - 07F1B13F2786F91500680859 /* CounterpartyForwardingInfo.swift in Sources */, - 07F1B0782786F91500680859 /* Result_PaymentPreimageAPIErrorZ.swift in Sources */, - 07F1B1312786F91500680859 /* ChannelUpdate.swift in Sources */, - 07F1B11A2786F91500680859 /* Shutdown.swift in Sources */, - 07F1B0BB2786F91500680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */, - 07F1B0172786F91400680859 /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */, - 07F1B0A62786F91500680859 /* Result_RouteLightningErrorZ.swift in Sources */, - 07F1B0C92786F91500680859 /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */, - 07F1B0C02786F91500680859 /* Result_OutPointDecodeErrorZ.swift in Sources */, - 07F1B0982786F91500680859 /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */, - 07F1B03C2786F91400680859 /* RoutingMessageHandler.swift in Sources */, - 07F1B1352786F91500680859 /* NodeAnnouncement.swift in Sources */, - 07F1B14C2786F91500680859 /* DelayedPaymentOutputDescriptor.swift in Sources */, - 07F1B0CD2786F91500680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */, - 07F1B0492786F91500680859 /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */, - 07F1B0632786F91500680859 /* Result_NonePaymentSendFailureZ.swift in Sources */, - 07F1B0722786F91500680859 /* Result_PaymentSecretAPIErrorZ.swift in Sources */, - 07F1B02E2786F91400680859 /* Option_CVec_NetAddressZZ.swift in Sources */, - 07F1B1292786F91500680859 /* LightningError.swift in Sources */, - 07F1B0FA2786F91500680859 /* ChannelAnnouncement.swift in Sources */, + 0751777E27D600D50071110C /* ErrorMessage.swift in Sources */, + 075176EA27D600D50071110C /* Result_NodeIdDecodeErrorZ.swift in Sources */, + 0751775E27D600D50071110C /* ChannelConfig.swift in Sources */, + 075176C527D600D50071110C /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */, + 0751765F27D600D40071110C /* Option_FilterZ.swift in Sources */, + 0751775927D600D50071110C /* TxCreationKeys.swift in Sources */, + 0751767C27D600D40071110C /* EventHandler.swift in Sources */, + 0751771B27D600D50071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */, + 075176CE27D600D50071110C /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */, + 0751768927D600D40071110C /* CustomMessageHandler.swift in Sources */, + 0751766E27D600D40071110C /* SpendableOutputDescriptor.swift in Sources */, + 0751771C27D600D50071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */, + 0751779027D600D50071110C /* CounterpartyForwardingInfo.swift in Sources */, + 0751772727D600D50071110C /* WarningMessage.swift in Sources */, + 0751774B27D600D50071110C /* IgnoringMessageHandler.swift in Sources */, + 0751766D27D600D40071110C /* MonitorEvent.swift in Sources */, + 0751774227D600D50071110C /* NetworkGraph.swift in Sources */, + 075176A027D600D40071110C /* Result_ScorerDecodeErrorZ.swift in Sources */, + 0751772527D600D50071110C /* RevokeAndACK.swift in Sources */, + 0751775327D600D50071110C /* NodeId.swift in Sources */, + 075176A727D600D40071110C /* Result_NonePaymentSendFailureZ.swift in Sources */, + 0751779D27D600D50071110C /* InvoicePayer.swift in Sources */, + 0751766027D600D40071110C /* EffectiveCapacity.swift in Sources */, + 075176EC27D600D50071110C /* Result_InvoiceSemanticErrorZ.swift in Sources */, + 0751775D27D600D50071110C /* ExpiryTime.swift in Sources */, + 075176D927D600D50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */, + 0751768227D600D40071110C /* Filter.swift in Sources */, + 0751775C27D600D50071110C /* CounterpartyCommitmentSecrets.swift in Sources */, + 075176BD27D600D50071110C /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */, + 0751769527D600D40071110C /* C2Tuple_PublicKeyTypeZ.swift in Sources */, + 0751769F27D600D40071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */, + 0751777D27D600D50071110C /* TxOut.swift in Sources */, + 0751765727D600D40071110C /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */, + 0751770927D600D50071110C /* Result_PositiveTimestampCreationErrorZ.swift in Sources */, + 0751766627D600D40071110C /* Option_u16Z.swift in Sources */, + 0751767A27D600D40071110C /* LockableScore.swift in Sources */, 075E25F826FEFF5A0000A76B /* ChannelManagerConstructor.swift in Sources */, - 07F1B07D2786F91500680859 /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */, - 07F1B0562786F91500680859 /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */, - 07F1B0EB2786F91500680859 /* Invoice.swift in Sources */, - 07F1B0882786F91500680859 /* Result_NoneAPIErrorZ.swift in Sources */, - 07F1B08A2786F91500680859 /* Result_PublicKeyErrorZ.swift in Sources */, - 07F1B0A12786F91500680859 /* Result_PaymentIdPaymentErrorZ.swift in Sources */, - 07F1B09E2786F91500680859 /* Result_ScoringParametersDecodeErrorZ.swift in Sources */, - 07F1B0182786F91400680859 /* APIError.swift in Sources */, - 07F1B11B2786F91500680859 /* ChainParameters.swift in Sources */, - 07F1B0E02786F91500680859 /* ChannelMonitorUpdate.swift in Sources */, - 07F1B0602786F91500680859 /* Result_LockedChannelMonitorNoneZ.swift in Sources */, - 07F1B0922786F91500680859 /* Result_FundingSignedDecodeErrorZ.swift in Sources */, - 07F1B06F2786F91500680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */, - 07F1B0AD2786F91500680859 /* Result_CVec_SignatureZNoneZ.swift in Sources */, - 07F1B13D2786F91500680859 /* ClosingTransaction.swift in Sources */, - 07F1B0D12786F91500680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */, - 07F1B1212786F91500680859 /* ClosingSigned.swift in Sources */, - 07F1B01A2786F91400680859 /* Event.swift in Sources */, - 07F1B0662786F91500680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift in Sources */, - 07F1B0232786F91400680859 /* Option_NetworkUpdateZ.swift in Sources */, - 07F1B0412786F91400680859 /* Filter.swift in Sources */, - 07F1B0592786F91500680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */, - 07F1B0DE2786F91500680859 /* UpdateAddHTLC.swift in Sources */, - 07F1B12A2786F91500680859 /* MinFinalCltvExpiry.swift in Sources */, - 07F1B0482786F91500680859 /* CustomMessageHandler.swift in Sources */, - 07F1B05E2786F91500680859 /* Result_TxCreationKeysErrorZ.swift in Sources */, - 07F1B0EE2786F91500680859 /* ClosingSignedFeeRange.swift in Sources */, - 07F1B0AA2786F91500680859 /* Result_InitFeaturesDecodeErrorZ.swift in Sources */, - 07F1B04F2786F91500680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */, - 07F1B0312786F91400680859 /* Score.swift in Sources */, - 07F1B0472786F91500680859 /* Sign.swift in Sources */, - 07F1B02F2786F91400680859 /* BaseSign.swift in Sources */, - 07F1B0E22786F91500680859 /* Sha256.swift in Sources */, - 07F1B0FB2786F91500680859 /* ReplyShortChannelIdsEnd.swift in Sources */, - 07F1B0A22786F91500680859 /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */, - 07F1B0582786F91500680859 /* Result_ChannelConfigDecodeErrorZ.swift in Sources */, - 07F1B0912786F91500680859 /* Result_SiPrefixNoneZ.swift in Sources */, - 07F1B10E2786F91500680859 /* ChannelConfig.swift in Sources */, + 0751779227D600D50071110C /* Init.swift in Sources */, + 0751776427D600D50071110C /* BackgroundProcessor.swift in Sources */, + 0751776227D600D50071110C /* ChannelTransactionParameters.swift in Sources */, + 0751766B27D600D40071110C /* ClosureReason.swift in Sources */, + 0751769127D600D40071110C /* C2Tuple_u32TxOutZ.swift in Sources */, + 0751768527D600D40071110C /* Access.swift in Sources */, + 0751777927D600D50071110C /* TrustedClosingTransaction.swift in Sources */, + 075176D427D600D50071110C /* Result_SiPrefixNoneZ.swift in Sources */, + 0751776D27D600D50071110C /* FilesystemPersister.swift in Sources */, + 075176D827D600D50071110C /* Result_NetworkGraphDecodeErrorZ.swift in Sources */, + 0751774427D600D50071110C /* InvalidShutdownScript.swift in Sources */, + 0751773527D600D50071110C /* NodeFeatures.swift in Sources */, + 0751777C27D600D50071110C /* DataLossProtect.swift in Sources */, + 075176DA27D600D50071110C /* Result_NoneSemanticErrorZ.swift in Sources */, + 0751771227D600D50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */, + 0751773927D600D50071110C /* RoutingFees.swift in Sources */, + 0751775627D600D50071110C /* PeerHandleError.swift in Sources */, + 0751770A27D600D50071110C /* Result_OutPointDecodeErrorZ.swift in Sources */, + 0751778F27D600D50071110C /* LockedChannelMonitor.swift in Sources */, + 0751778B27D600D50071110C /* OpenChannel.swift in Sources */, + 075176CC27D600D50071110C /* Result_PublicKeyErrorZ.swift in Sources */, + 0751773627D600D50071110C /* NetGraphMsgHandler.swift in Sources */, + 075176FB27D600D50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift in Sources */, + 0751775227D600D50071110C /* HTLCUpdate.swift in Sources */, + 0751771627D600D50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */, + 075176FD27D600D50071110C /* Result_SecretKeyNoneZ.swift in Sources */, + 075176ED27D600D50071110C /* Result_SignedRawInvoiceNoneZ.swift in Sources */, + 0751769927D600D40071110C /* Bindings.swift in Sources */, + 075176D627D600D50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */, + 0751772A27D600D50071110C /* UpdateAddHTLC.swift in Sources */, + 075176CA27D600D50071110C /* Result_NoneAPIErrorZ.swift in Sources */, + 0751777227D600D50071110C /* AnnouncementSignatures.swift in Sources */, + 0751773427D600D50071110C /* UpdateFulfillHTLC.swift in Sources */, + 0751767727D600D40071110C /* FeeEstimator.swift in Sources */, + 0751774927D600D50071110C /* ChannelAnnouncement.swift in Sources */, + 0751778127D600D50071110C /* WatchedOutput.swift in Sources */, + 075176D527D600D50071110C /* Result_FundingSignedDecodeErrorZ.swift in Sources */, + 0751768327D600D40071110C /* CustomMessageReader.swift in Sources */, + 0751779627D600D50071110C /* ReadOnlyNetworkGraph.swift in Sources */, + 0751769227D600D40071110C /* C2Tuple_OutPointScriptZ.swift in Sources */, + 0751765827D600D40071110C /* APIError.swift in Sources */, + 0751769727D600D40071110C /* C2Tuple_usizeTransactionZ.swift in Sources */, + 0751773127D600D50071110C /* ChannelReestablish.swift in Sources */, + 0751765A27D600D40071110C /* Event.swift in Sources */, + 075176A927D600D40071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, + 0751771927D600D50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */, + 075176D027D600D50071110C /* Result_DescriptionCreationErrorZ.swift in Sources */, + 075176E827D600D50071110C /* Result_SecretKeyErrorZ.swift in Sources */, + 0751777827D600D50071110C /* UnsignedChannelAnnouncement.swift in Sources */, + 0751766F27D600D40071110C /* Option_CVec_NetAddressZZ.swift in Sources */, + 0751766C27D600D40071110C /* MessageSendEvent.swift in Sources */, + 075176B027D600D40071110C /* Result__u832APIErrorZ.swift in Sources */, + 075176CB27D600D50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/xcode/LDKFramework/ldk_rust_types.h b/xcode/LDKFramework/ldk_rust_types.h index 7ef9dd9d..eb35dae1 100644 --- a/xcode/LDKFramework/ldk_rust_types.h +++ b/xcode/LDKFramework/ldk_rust_types.h @@ -10,6 +10,8 @@ #else #define NONNULL_PTR #endif +struct nativeCounterpartyCommitmentSecretsOpaque; +typedef struct nativeCounterpartyCommitmentSecretsOpaque LDKnativeCounterpartyCommitmentSecrets; struct nativeTxCreationKeysOpaque; typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys; struct nativeChannelPublicKeysOpaque; @@ -46,8 +48,8 @@ struct nativeRouteOpaque; typedef struct nativeRouteOpaque LDKnativeRoute; struct nativeRouteParametersOpaque; typedef struct nativeRouteParametersOpaque LDKnativeRouteParameters; -struct nativePayeeOpaque; -typedef struct nativePayeeOpaque LDKnativePayee; +struct nativePaymentParametersOpaque; +typedef struct nativePaymentParametersOpaque LDKnativePaymentParameters; struct nativeRouteHintOpaque; typedef struct nativeRouteHintOpaque LDKnativeRouteHint; struct nativeRouteHintHopOpaque; @@ -58,10 +60,14 @@ struct nativeWatchedOutputOpaque; typedef struct nativeWatchedOutputOpaque LDKnativeWatchedOutput; struct nativeMultiThreadedLockableScoreOpaque; typedef struct nativeMultiThreadedLockableScoreOpaque LDKnativeMultiThreadedLockableScore; +struct nativeFixedPenaltyScorerOpaque; +typedef struct nativeFixedPenaltyScorerOpaque LDKnativeFixedPenaltyScorer; struct nativeScorerOpaque; typedef struct nativeScorerOpaque LDKnativeScorer; struct nativeScoringParametersOpaque; typedef struct nativeScoringParametersOpaque LDKnativeScoringParameters; +struct nativeProbabilisticScoringParametersOpaque; +typedef struct nativeProbabilisticScoringParametersOpaque LDKnativeProbabilisticScoringParameters; struct nativeInitFeaturesOpaque; typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures; struct nativeNodeFeaturesOpaque; @@ -81,6 +87,8 @@ struct nativeInMemorySignerOpaque; typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner; struct nativeKeysManagerOpaque; typedef struct nativeKeysManagerOpaque LDKnativeKeysManager; +struct nativePhantomKeysManagerOpaque; +typedef struct nativePhantomKeysManagerOpaque LDKnativePhantomKeysManager; struct nativeFilesystemPersisterOpaque; typedef struct nativeFilesystemPersisterOpaque LDKnativeFilesystemPersister; struct nativeChannelManagerOpaque; @@ -93,6 +101,8 @@ struct nativeChannelCounterpartyOpaque; typedef struct nativeChannelCounterpartyOpaque LDKnativeChannelCounterparty; struct nativeChannelDetailsOpaque; typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails; +struct nativePhantomRouteHintsOpaque; +typedef struct nativePhantomRouteHintsOpaque LDKnativePhantomRouteHints; struct nativeChannelManagerReadArgsOpaque; typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs; struct nativeChannelHandshakeConfigOpaque; @@ -157,10 +167,12 @@ struct nativeReadOnlyNetworkGraphOpaque; typedef struct nativeReadOnlyNetworkGraphOpaque LDKnativeReadOnlyNetworkGraph; struct nativeNetGraphMsgHandlerOpaque; typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler; -struct nativeDirectionalChannelInfoOpaque; -typedef struct nativeDirectionalChannelInfoOpaque LDKnativeDirectionalChannelInfo; +struct nativeChannelUpdateInfoOpaque; +typedef struct nativeChannelUpdateInfoOpaque LDKnativeChannelUpdateInfo; struct nativeChannelInfoOpaque; typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo; +struct nativeDirectedChannelInfoOpaque; +typedef struct nativeDirectedChannelInfoOpaque LDKnativeDirectedChannelInfo; struct nativeRoutingFeesOpaque; typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees; struct nativeNodeAnnouncementInfoOpaque; @@ -173,6 +185,8 @@ struct nativeInitOpaque; typedef struct nativeInitOpaque LDKnativeInit; struct nativeErrorMessageOpaque; typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage; +struct nativeWarningMessageOpaque; +typedef struct nativeWarningMessageOpaque LDKnativeWarningMessage; struct nativePingOpaque; typedef struct nativePingOpaque LDKnativePing; struct nativePongOpaque; diff --git a/xcode/LDKFramework/ldk_ver.h b/xcode/LDKFramework/ldk_ver.h index e8211e51..a35e88fb 100644 --- a/xcode/LDKFramework/ldk_ver.h +++ b/xcode/LDKFramework/ldk_ver.h @@ -8,8 +8,8 @@ static inline int _ldk_strncmp(const char *s1, const char *s2, uint64_t n) { return 0; } -#define _LDK_HEADER_VER "v0.0.104-7-g557c7143fddde4a3" -#define _LDK_C_BINDINGS_HEADER_VER "v0.0.104.0-1-g66ae845b5d7a8e94-dirty" +#define _LDK_HEADER_VER "v0.0.105-9-gc3c5f88fe8e62ed9" +#define _LDK_C_BINDINGS_HEADER_VER "v0.0.105.1-dirty" static inline const char* check_get_ldk_version() { LDKStr bin_ver = _ldk_get_compiled_version(); if (_ldk_strncmp(_LDK_HEADER_VER, (const char*)bin_ver.chars, bin_ver.len) != 0) { diff --git a/xcode/LDKFramework/lightning.h b/xcode/LDKFramework/lightning.h index 32bd2837..f77ea4a0 100644 --- a/xcode/LDKFramework/lightning.h +++ b/xcode/LDKFramework/lightning.h @@ -156,17 +156,20 @@ typedef enum LDKCreationError { */ LDKCreationError_RouteTooLong, /** - * The unix timestamp of the supplied date is <0 or can't be represented as `SystemTime` + * The Unix timestamp of the supplied date is less than zero or greater than 35-bits */ LDKCreationError_TimestampOutOfBounds, - /** - * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp` - */ - LDKCreationError_ExpiryTimeOutOfBounds, /** * The supplied millisatoshi amount was greater than the total bitcoin supply. */ LDKCreationError_InvalidAmount, + /** + * Route hints were required for this invoice and were missing. Applies to + * [phantom invoices]. + * + * [phantom invoices]: crate::utils::create_phantom_invoice + */ + LDKCreationError_MissingRouteHints, /** * Must be last for serialization purposes */ @@ -291,6 +294,28 @@ typedef enum LDKNetwork { LDKNetwork_Sentinel, } LDKNetwork; +/** + * Specifies the recipient of an invoice, to indicate to [`KeysInterface::sign_invoice`] what node + * secret key should be used to sign the invoice. + */ +typedef enum LDKRecipient { + /** + * The invoice should be signed with the local node secret key. + */ + LDKRecipient_Node, + /** + * The invoice should be signed with the phantom node secret key. This secret key must be the + * same for all nodes participating in the [phantom node payment]. + * + * [phantom node payment]: PhantomKeysManager + */ + LDKRecipient_PhantomNode, + /** + * Must be last for serialization purposes + */ + LDKRecipient_Sentinel, +} LDKRecipient; + /** * Represents an error returned from libsecp256k1 during validation of some secp256k1 data */ @@ -497,6 +522,114 @@ typedef struct LDKTxOut { uint64_t value; } LDKTxOut; +/** + * The contents of CResult_NoneNoneZ + */ +typedef union LDKCResult_NoneNoneZPtr { + /** + * Note that this value is always NULL, as there are no contents in the OK variant + */ + void *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_NoneNoneZPtr; + +/** + * A CResult_NoneNoneZ represents the result of a fallible operation, + * containing a () on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_NoneNoneZ { + /** + * The contents of this CResult_NoneNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_NoneNoneZPtr contents; + /** + * Whether this CResult_NoneNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_NoneNoneZ; + + + +/** + * Implements the per-commitment secret storage scheme from + * [BOLT 3](https://github.com/lightningnetwork/lightning-rfc/blob/dcbf8583976df087c79c3ce0b535311212e6812d/03-transactions.md#efficient-per-commitment-secret-storage). + * + * Allows us to keep track of all of the revocation secrets of our counterparty in just 50*32 bytes + * or so. + */ +typedef struct MUST_USE_STRUCT LDKCounterpartyCommitmentSecrets { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeCounterpartyCommitmentSecrets *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKCounterpartyCommitmentSecrets; + + + +/** + * An error in decoding a message or struct. + */ +typedef struct MUST_USE_STRUCT LDKDecodeError { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeDecodeError *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKDecodeError; + +/** + * The contents of CResult_CounterpartyCommitmentSecretsDecodeErrorZ + */ +typedef union LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKCounterpartyCommitmentSecrets *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr; + +/** + * A CResult_CounterpartyCommitmentSecretsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::chan_utils::CounterpartyCommitmentSecrets on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ { + /** + * The contents of this CResult_CounterpartyCommitmentSecretsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr contents; + /** + * Whether this CResult_CounterpartyCommitmentSecretsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ; + /** * Represents a valid secp256k1 secret key serialized as a 32 byte array. */ @@ -613,26 +746,6 @@ typedef struct MUST_USE_STRUCT LDKTxCreationKeys { bool is_owned; } LDKTxCreationKeys; - - -/** - * An error in decoding a message or struct. - */ -typedef struct MUST_USE_STRUCT LDKDecodeError { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeDecodeError *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKDecodeError; - /** * The contents of CResult_TxCreationKeysDecodeErrorZ */ @@ -1562,7 +1675,7 @@ typedef struct LDKCResult_RouteDecodeErrorZ { /** - * Parameters needed to find a [`Route`] for paying a [`Payee`]. + * Parameters needed to find a [`Route`]. * * Passed to [`find_route`] and also provided in [`Event::PaymentPathFailed`] for retrying a failed * payment path. @@ -1685,53 +1798,53 @@ typedef struct LDKCOption_u64Z { /** * The recipient of a payment. */ -typedef struct MUST_USE_STRUCT LDKPayee { +typedef struct MUST_USE_STRUCT LDKPaymentParameters { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativePayee *inner; + LDKnativePaymentParameters *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKPayee; +} LDKPaymentParameters; /** - * The contents of CResult_PayeeDecodeErrorZ + * The contents of CResult_PaymentParametersDecodeErrorZ */ -typedef union LDKCResult_PayeeDecodeErrorZPtr { +typedef union LDKCResult_PaymentParametersDecodeErrorZPtr { /** * A pointer to the contents in the success state. * Reading from this pointer when `result_ok` is not set is undefined. */ - struct LDKPayee *result; + struct LDKPaymentParameters *result; /** * A pointer to the contents in the error state. * Reading from this pointer when `result_ok` is set is undefined. */ struct LDKDecodeError *err; -} LDKCResult_PayeeDecodeErrorZPtr; +} LDKCResult_PaymentParametersDecodeErrorZPtr; /** - * A CResult_PayeeDecodeErrorZ represents the result of a fallible operation, - * containing a crate::lightning::routing::router::Payee on success and a crate::lightning::ln::msgs::DecodeError on failure. + * A CResult_PaymentParametersDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::router::PaymentParameters on success and a crate::lightning::ln::msgs::DecodeError on failure. * `result_ok` indicates the overall state, and the contents are provided via `contents`. */ -typedef struct LDKCResult_PayeeDecodeErrorZ { +typedef struct LDKCResult_PaymentParametersDecodeErrorZ { /** - * The contents of this CResult_PayeeDecodeErrorZ, accessible via either + * The contents of this CResult_PaymentParametersDecodeErrorZ, accessible via either * `err` or `result` depending on the state of `result_ok`. */ - union LDKCResult_PayeeDecodeErrorZPtr contents; + union LDKCResult_PaymentParametersDecodeErrorZPtr contents; /** - * Whether this CResult_PayeeDecodeErrorZ represents a success state. + * Whether this CResult_PaymentParametersDecodeErrorZ represents a success state. */ bool result_ok; -} LDKCResult_PayeeDecodeErrorZ; +} LDKCResult_PaymentParametersDecodeErrorZ; @@ -2707,7 +2820,7 @@ typedef enum LDKEvent_Tag { * Note that this does *not* indicate that all paths for an MPP payment have failed, see * [`Event::PaymentFailed`] and [`all_paths_failed`]. * - * [`all_paths_failed`]: Self::all_paths_failed + * [`all_paths_failed`]: Self::PaymentPathFailed::all_paths_failed */ LDKEvent_PaymentPathFailed, /** @@ -2757,6 +2870,20 @@ typedef enum LDKEvent_Tag { * [`Event::PaymentSent`] for obtaining the payment preimage. */ LDKEvent_PaymentPathSuccessful, + /** + * Indicates a request to open a new channel by a peer. + * + * To accept the request, call [`ChannelManager::accept_inbound_channel`]. To reject the + * request, call [`ChannelManager::force_close_channel`]. + * + * The event is only triggered when a new open channel request is received and the + * [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. + * + * [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel + * [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel + * [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels + */ + LDKEvent_OpenChannelRequest, /** * Must be last for serialization purposes */ @@ -3034,6 +3161,32 @@ typedef struct LDKEvent_LDKPaymentPathSuccessful_Body { struct LDKCVec_RouteHopZ path; } LDKEvent_LDKPaymentPathSuccessful_Body; +typedef struct LDKEvent_LDKOpenChannelRequest_Body { + /** + * The temporary channel ID of the channel requested to be opened. + * + * When responding to the request, the `temporary_channel_id` should be passed + * back to the ChannelManager with [`ChannelManager::accept_inbound_channel`] to accept, + * or to [`ChannelManager::force_close_channel`] to reject. + * + * [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel + * [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel + */ + struct LDKThirtyTwoBytes temporary_channel_id; + /** + * The node_id of the counterparty requesting to open the channel. + */ + struct LDKPublicKey counterparty_node_id; + /** + * The channel value of the requested channel. + */ + uint64_t funding_satoshis; + /** + * Our starting balance in the channel if the request is accepted, in milli-satoshi. + */ + uint64_t push_msat; +} LDKEvent_LDKOpenChannelRequest_Body; + typedef struct MUST_USE_STRUCT LDKEvent { LDKEvent_Tag tag; union { @@ -3048,6 +3201,7 @@ typedef struct MUST_USE_STRUCT LDKEvent { LDKEvent_LDKChannelClosed_Body channel_closed; LDKEvent_LDKDiscardFunding_Body discard_funding; LDKEvent_LDKPaymentPathSuccessful_Body payment_path_successful; + LDKEvent_LDKOpenChannelRequest_Body open_channel_request; }; } LDKEvent; @@ -3392,6 +3546,26 @@ typedef struct MUST_USE_STRUCT LDKErrorMessage { bool is_owned; } LDKErrorMessage; + + +/** + * A warning message to be sent or received from a peer + */ +typedef struct MUST_USE_STRUCT LDKWarningMessage { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeWarningMessage *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKWarningMessage; + /** * Used to put an error message in a LightningError */ @@ -3419,6 +3593,10 @@ typedef enum LDKErrorAction_Tag { * The peer did something incorrect. Tell them. */ LDKErrorAction_SendErrorMessage, + /** + * The peer did something incorrect. Tell them without closing any channels. + */ + LDKErrorAction_SendWarningMessage, /** * Must be last for serialization purposes */ @@ -3441,6 +3619,19 @@ typedef struct LDKErrorAction_LDKSendErrorMessage_Body { struct LDKErrorMessage msg; } LDKErrorAction_LDKSendErrorMessage_Body; +typedef struct LDKErrorAction_LDKSendWarningMessage_Body { + /** + * The message to send. + */ + struct LDKWarningMessage msg; + /** + * The peer may have done something harmless that we weren't able to meaningfully process, + * though we should still tell them about it. + * If this event is logged, log it at the given level. + */ + enum LDKLevel log_level; +} LDKErrorAction_LDKSendWarningMessage_Body; + typedef struct MUST_USE_STRUCT LDKErrorAction { LDKErrorAction_Tag tag; union { @@ -3449,6 +3640,7 @@ typedef struct MUST_USE_STRUCT LDKErrorAction { enum LDKLevel ignore_and_log; }; LDKErrorAction_LDKSendErrorMessage_Body send_error_message; + LDKErrorAction_LDKSendWarningMessage_Body send_warning_message; }; } LDKErrorAction; @@ -3874,6 +4066,59 @@ typedef struct LDKCVec_MessageSendEventZ { +/** + * [`Score`] implementation that uses a fixed penalty. + */ +typedef struct MUST_USE_STRUCT LDKFixedPenaltyScorer { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeFixedPenaltyScorer *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKFixedPenaltyScorer; + +/** + * The contents of CResult_FixedPenaltyScorerDecodeErrorZ + */ +typedef union LDKCResult_FixedPenaltyScorerDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKFixedPenaltyScorer *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_FixedPenaltyScorerDecodeErrorZPtr; + +/** + * A CResult_FixedPenaltyScorerDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::scoring::FixedPenaltyScorer on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_FixedPenaltyScorerDecodeErrorZ { + /** + * The contents of this CResult_FixedPenaltyScorerDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_FixedPenaltyScorerDecodeErrorZPtr contents; + /** + * Whether this CResult_FixedPenaltyScorerDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_FixedPenaltyScorerDecodeErrorZ; + + + /** * Parameters for configuring [`Scorer`]. */ @@ -3933,7 +4178,12 @@ typedef struct LDKCResult_ScoringParametersDecodeErrorZ { * Used to apply a fixed penalty to each channel, thus avoiding long paths when shorter paths with * slightly higher fees are available. Will further penalize channels that fail to relay payments. * - * See [module-level documentation] for usage. + * See [module-level documentation] for usage and [`ScoringParameters`] for customization. + * + * # Note + * + * Mixing the `no-std` feature between serialization and deserialization results in undefined + * behavior. * * [module-level documentation]: crate::routing::scoring */ @@ -3987,6 +4237,59 @@ typedef struct LDKCResult_ScorerDecodeErrorZ { +/** + * Parameters for configuring [`ProbabilisticScorer`]. + */ +typedef struct MUST_USE_STRUCT LDKProbabilisticScoringParameters { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeProbabilisticScoringParameters *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKProbabilisticScoringParameters; + +/** + * The contents of CResult_ProbabilisticScoringParametersDecodeErrorZ + */ +typedef union LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKProbabilisticScoringParameters *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr; + +/** + * A CResult_ProbabilisticScoringParametersDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::scoring::ProbabilisticScoringParameters on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ { + /** + * The contents of this CResult_ProbabilisticScoringParametersDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr contents; + /** + * Whether this CResult_ProbabilisticScoringParametersDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ProbabilisticScoringParametersDecodeErrorZ; + + + /** * Features used within an `init` message. */ @@ -4359,35 +4662,20 @@ typedef struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ { } LDKCResult_SpendableOutputDescriptorDecodeErrorZ; /** - * The contents of CResult_NoneNoneZ + * A dynamically-allocated array of crate::c_types::ThirtyTwoBytess of arbitrary size. + * This corresponds to std::vector in C++ */ -typedef union LDKCResult_NoneNoneZPtr { +typedef struct LDKCVec_PaymentPreimageZ { /** - * Note that this value is always NULL, as there are no contents in the OK variant + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). */ - void *result; + struct LDKThirtyTwoBytes *data; /** - * Note that this value is always NULL, as there are no contents in the Err variant - */ - void *err; -} LDKCResult_NoneNoneZPtr; - -/** - * A CResult_NoneNoneZ represents the result of a fallible operation, - * containing a () on success and a () on failure. - * `result_ok` indicates the overall state, and the contents are provided via `contents`. - */ -typedef struct LDKCResult_NoneNoneZ { - /** - * The contents of this CResult_NoneNoneZ, accessible via either - * `err` or `result` depending on the state of `result_ok`. - */ - union LDKCResult_NoneNoneZPtr contents; - /** - * Whether this CResult_NoneNoneZ represents a success state. + * The number of elements pointed to by `data`. */ - bool result_ok; -} LDKCResult_NoneNoneZ; + uintptr_t datalen; +} LDKCVec_PaymentPreimageZ; /** * A tuple of 2 elements. See the individual fields for the types contained. @@ -4467,6 +4755,84 @@ typedef struct LDKCResult_SignatureNoneZ { bool result_ok; } LDKCResult_SignatureNoneZ; +/** + * A tuple of 2 elements. See the individual fields for the types contained. + */ +typedef struct LDKC2Tuple_SignatureSignatureZ { + /** + * The element at position 0 + */ + struct LDKSignature a; + /** + * The element at position 1 + */ + struct LDKSignature b; +} LDKC2Tuple_SignatureSignatureZ; + +/** + * The contents of CResult_C2Tuple_SignatureSignatureZNoneZ + */ +typedef union LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKC2Tuple_SignatureSignatureZ *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr; + +/** + * A CResult_C2Tuple_SignatureSignatureZNoneZ represents the result of a fallible operation, + * containing a crate::c_types::derived::C2Tuple_SignatureSignatureZ on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ { + /** + * The contents of this CResult_C2Tuple_SignatureSignatureZNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr contents; + /** + * Whether this CResult_C2Tuple_SignatureSignatureZNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_C2Tuple_SignatureSignatureZNoneZ; + +/** + * The contents of CResult_SecretKeyNoneZ + */ +typedef union LDKCResult_SecretKeyNoneZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKSecretKey *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_SecretKeyNoneZPtr; + +/** + * A CResult_SecretKeyNoneZ represents the result of a fallible operation, + * containing a crate::c_types::SecretKey on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_SecretKeyNoneZ { + /** + * The contents of this CResult_SecretKeyNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_SecretKeyNoneZPtr contents; + /** + * Whether this CResult_SecretKeyNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_SecretKeyNoneZ; + /** @@ -4560,8 +4926,15 @@ typedef struct LDKBaseSign { * secret won't leave us without a broadcastable holder transaction. * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. + * + * The preimages of outgoing HTLCs that were fulfilled since the last commitment are provided. + * A validating signer should ensure that an HTLC output is removed only when the matching + * preimage is provided, or when the value to holder is restored. + * + * NOTE: all the relevant preimages will be provided, but there may also be additional + * irrelevant or duplicate preimages. */ - struct LDKCResult_NoneNoneZ (*validate_holder_commitment)(const void *this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR holder_tx); + struct LDKCResult_NoneNoneZ (*validate_holder_commitment)(const void *this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR holder_tx, struct LDKCVec_PaymentPreimageZ preimages); /** * Gets the holder's channel public keys and basepoints */ @@ -4585,8 +4958,15 @@ typedef struct LDKBaseSign { * * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. + * + * The preimages of outgoing HTLCs that were fulfilled since the last commitment are provided. + * A validating signer should ensure that an HTLC output is removed only when the matching + * preimage is provided, or when the value to holder is restored. + * + * NOTE: all the relevant preimages will be provided, but there may also be additional + * irrelevant or duplicate preimages. */ - struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ (*sign_counterparty_commitment)(const void *this_arg, const struct LDKCommitmentTransaction *NONNULL_PTR commitment_tx); + struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ (*sign_counterparty_commitment)(const void *this_arg, const struct LDKCommitmentTransaction *NONNULL_PTR commitment_tx, struct LDKCVec_PaymentPreimageZ preimages); /** * Validate the counterparty's revocation. * @@ -4673,14 +5053,17 @@ typedef struct LDKBaseSign { */ struct LDKCResult_SignatureNoneZ (*sign_closing_transaction)(const void *this_arg, const struct LDKClosingTransaction *NONNULL_PTR closing_tx); /** - * Signs a channel announcement message with our funding key, proving it comes from one - * of the channel participants. + * Signs a channel announcement message with our funding key and our node secret key (aka + * node_id or network_key), proving it comes from one of the channel participants. + * + * The first returned signature should be from our node secret key, the second from our + * funding key. * * Note that if this fails or is rejected, the channel will not be publicly announced and * our counterparty may (though likely will not) close the channel on us for violating the * protocol. */ - struct LDKCResult_SignatureNoneZ (*sign_channel_announcement)(const void *this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg); + struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ (*sign_channel_announcement)(const void *this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg); /** * Set the counterparty static channel data, including basepoints, * counterparty_selected/holder_selected_contest_delay and funding outpoint. @@ -4768,6 +5151,29 @@ typedef struct LDKCResult_SignDecodeErrorZ { bool result_ok; } LDKCResult_SignDecodeErrorZ; +/** + * Integer in the range `0..32` + */ +typedef struct LDKu5 { + uint8_t _0; +} LDKu5; + +/** + * A dynamically-allocated array of crate::c_types::u5s of arbitrary size. + * This corresponds to std::vector in C++ + */ +typedef struct LDKCVec_u5Z { + /** + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). + */ + struct LDKu5 *data; + /** + * The number of elements pointed to by `data`. + */ + uintptr_t datalen; +} LDKCVec_u5Z; + /** * Represents a secp256k1 signature serialized as two 32-byte numbers as well as a tag which * allows recovering the exact public key which created the signature given the message. @@ -5788,6 +6194,201 @@ typedef struct LDKCResult_PaymentPreimageAPIErrorZ { bool result_ok; } LDKCResult_PaymentPreimageAPIErrorZ; + + +/** + * Information needed for constructing an invoice route hint for this channel. + */ +typedef struct MUST_USE_STRUCT LDKCounterpartyForwardingInfo { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeCounterpartyForwardingInfo *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKCounterpartyForwardingInfo; + +/** + * The contents of CResult_CounterpartyForwardingInfoDecodeErrorZ + */ +typedef union LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKCounterpartyForwardingInfo *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr; + +/** + * A CResult_CounterpartyForwardingInfoDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::CounterpartyForwardingInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ { + /** + * The contents of this CResult_CounterpartyForwardingInfoDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr contents; + /** + * Whether this CResult_CounterpartyForwardingInfoDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_CounterpartyForwardingInfoDecodeErrorZ; + + + +/** + * Channel parameters which apply to our counterparty. These are split out from [`ChannelDetails`] + * to better separate parameters. + */ +typedef struct MUST_USE_STRUCT LDKChannelCounterparty { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeChannelCounterparty *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKChannelCounterparty; + +/** + * The contents of CResult_ChannelCounterpartyDecodeErrorZ + */ +typedef union LDKCResult_ChannelCounterpartyDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKChannelCounterparty *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ChannelCounterpartyDecodeErrorZPtr; + +/** + * A CResult_ChannelCounterpartyDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::ChannelCounterparty on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ChannelCounterpartyDecodeErrorZ { + /** + * The contents of this CResult_ChannelCounterpartyDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ChannelCounterpartyDecodeErrorZPtr contents; + /** + * Whether this CResult_ChannelCounterpartyDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ChannelCounterpartyDecodeErrorZ; + +/** + * The contents of CResult_ChannelDetailsDecodeErrorZ + */ +typedef union LDKCResult_ChannelDetailsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKChannelDetails *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ChannelDetailsDecodeErrorZPtr; + +/** + * A CResult_ChannelDetailsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::ChannelDetails on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ChannelDetailsDecodeErrorZ { + /** + * The contents of this CResult_ChannelDetailsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ChannelDetailsDecodeErrorZPtr contents; + /** + * Whether this CResult_ChannelDetailsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ChannelDetailsDecodeErrorZ; + + + +/** + * Route hints used in constructing invoices for [phantom node payents]. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +typedef struct MUST_USE_STRUCT LDKPhantomRouteHints { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativePhantomRouteHints *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKPhantomRouteHints; + +/** + * The contents of CResult_PhantomRouteHintsDecodeErrorZ + */ +typedef union LDKCResult_PhantomRouteHintsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKPhantomRouteHints *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_PhantomRouteHintsDecodeErrorZPtr; + +/** + * A CResult_PhantomRouteHintsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::PhantomRouteHints on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_PhantomRouteHintsDecodeErrorZ { + /** + * The contents of this CResult_PhantomRouteHintsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_PhantomRouteHintsDecodeErrorZPtr contents; + /** + * Whether this CResult_PhantomRouteHintsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_PhantomRouteHintsDecodeErrorZ; + /** * A dynamically-allocated array of crate::lightning::chain::channelmonitor::ChannelMonitors of arbitrary size. * This corresponds to std::vector in C++ @@ -5940,11 +6541,12 @@ typedef struct LDKKeysInterface { */ void *this_arg; /** - * Get node secret key (aka node_id or network_key). + * Get node secret key (aka node_id or network_key) based on the provided [`Recipient`]. * - * This method must return the same value each time it is called. + * This method must return the same value each time it is called with a given `Recipient` + * parameter. */ - struct LDKSecretKey (*get_node_secret)(const void *this_arg); + struct LDKCResult_SecretKeyNoneZ (*get_node_secret)(const void *this_arg, enum LDKRecipient recipient); /** * Get a script pubkey which we send funds to when claiming on-chain contestable outputs. * @@ -5984,16 +6586,25 @@ typedef struct LDKKeysInterface { */ struct LDKCResult_SignDecodeErrorZ (*read_chan_signer)(const void *this_arg, struct LDKu8slice reader); /** - * Sign an invoice's preimage (note that this is the preimage of the invoice, not the HTLC's - * preimage). By parameterizing by the preimage instead of the hash, we allow implementors of + * Sign an invoice. + * By parameterizing by the raw invoice bytes instead of the hash, we allow implementors of * this trait to parse the invoice and make sure they're signing what they expect, rather than * blindly signing the hash. + * The hrp is ascii bytes, while the invoice data is base32. + * + * The secret key used to sign the invoice is dependent on the [`Recipient`]. */ - struct LDKCResult_RecoverableSignatureNoneZ (*sign_invoice)(const void *this_arg, struct LDKCVec_u8Z invoice_preimage); + struct LDKCResult_RecoverableSignatureNoneZ (*sign_invoice)(const void *this_arg, struct LDKu8slice hrp_bytes, struct LDKCVec_u5Z invoice_data, enum LDKRecipient receipient); /** * Get secret key material as bytes for use in encrypting and decrypting inbound payment data. * + * If the implementor of this trait supports [phantom node payments], then every node that is + * intended to be included in the phantom invoice route hints must return the same value from + * this method. + * * This method must return the same value each time it is called. + * + * [phantom node payments]: PhantomKeysManager */ struct LDKThirtyTwoBytes (*get_inbound_payment_key_material)(const void *this_arg); /** @@ -6733,12 +7344,12 @@ typedef struct LDKCVec_PrivateRouteZ { /** - * A timestamp that refers to a date after 1 January 1970 which means its representation as UNIX - * timestamp is positive. + * A timestamp that refers to a date after 1 January 1970. * * # Invariants - * The UNIX timestamp representing the stored time has to be positive and small enough so that - * a `EpiryTime` can be added to it without an overflow. + * + * The Unix timestamp representing the stored time has to be positive and no greater than + * [`MAX_TIMESTAMP`]. */ typedef struct MUST_USE_STRUCT LDKPositiveTimestamp { /** @@ -6909,65 +7520,6 @@ typedef struct LDKCResult_DescriptionCreationErrorZ { bool result_ok; } LDKCResult_DescriptionCreationErrorZ; - - -/** - * Positive duration that defines when (relatively to the timestamp) in the future the invoice - * expires - * - * # Invariants - * The number of seconds this expiry time represents has to be in the range - * `0...(SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME)` to avoid overflows when adding it to a - * timestamp - */ -typedef struct MUST_USE_STRUCT LDKExpiryTime { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeExpiryTime *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKExpiryTime; - -/** - * The contents of CResult_ExpiryTimeCreationErrorZ - */ -typedef union LDKCResult_ExpiryTimeCreationErrorZPtr { - /** - * A pointer to the contents in the success state. - * Reading from this pointer when `result_ok` is not set is undefined. - */ - struct LDKExpiryTime *result; - /** - * A pointer to the contents in the error state. - * Reading from this pointer when `result_ok` is set is undefined. - */ - enum LDKCreationError *err; -} LDKCResult_ExpiryTimeCreationErrorZPtr; - -/** - * A CResult_ExpiryTimeCreationErrorZ represents the result of a fallible operation, - * containing a crate::lightning_invoice::ExpiryTime on success and a crate::lightning_invoice::CreationError on failure. - * `result_ok` indicates the overall state, and the contents are provided via `contents`. - */ -typedef struct LDKCResult_ExpiryTimeCreationErrorZ { - /** - * The contents of this CResult_ExpiryTimeCreationErrorZ, accessible via either - * `err` or `result` depending on the state of `result_ok`. - */ - union LDKCResult_ExpiryTimeCreationErrorZPtr contents; - /** - * Whether this CResult_ExpiryTimeCreationErrorZ represents a success state. - */ - bool result_ok; -} LDKCResult_ExpiryTimeCreationErrorZ; - /** * The contents of CResult_PrivateRouteCreationErrorZ */ @@ -7894,56 +8446,55 @@ typedef struct LDKCOption_AccessZ { /** - * Details about one direction of a channel. Received - * within a channel update. + * Details about one direction of a channel as received within a [`ChannelUpdate`]. */ -typedef struct MUST_USE_STRUCT LDKDirectionalChannelInfo { +typedef struct MUST_USE_STRUCT LDKChannelUpdateInfo { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeDirectionalChannelInfo *inner; + LDKnativeChannelUpdateInfo *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKDirectionalChannelInfo; +} LDKChannelUpdateInfo; /** - * The contents of CResult_DirectionalChannelInfoDecodeErrorZ + * The contents of CResult_ChannelUpdateInfoDecodeErrorZ */ -typedef union LDKCResult_DirectionalChannelInfoDecodeErrorZPtr { +typedef union LDKCResult_ChannelUpdateInfoDecodeErrorZPtr { /** * A pointer to the contents in the success state. * Reading from this pointer when `result_ok` is not set is undefined. */ - struct LDKDirectionalChannelInfo *result; + struct LDKChannelUpdateInfo *result; /** * A pointer to the contents in the error state. * Reading from this pointer when `result_ok` is set is undefined. */ struct LDKDecodeError *err; -} LDKCResult_DirectionalChannelInfoDecodeErrorZPtr; +} LDKCResult_ChannelUpdateInfoDecodeErrorZPtr; /** - * A CResult_DirectionalChannelInfoDecodeErrorZ represents the result of a fallible operation, - * containing a crate::lightning::routing::network_graph::DirectionalChannelInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. + * A CResult_ChannelUpdateInfoDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::network_graph::ChannelUpdateInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. * `result_ok` indicates the overall state, and the contents are provided via `contents`. */ -typedef struct LDKCResult_DirectionalChannelInfoDecodeErrorZ { +typedef struct LDKCResult_ChannelUpdateInfoDecodeErrorZ { /** - * The contents of this CResult_DirectionalChannelInfoDecodeErrorZ, accessible via either + * The contents of this CResult_ChannelUpdateInfoDecodeErrorZ, accessible via either * `err` or `result` depending on the state of `result_ok`. */ - union LDKCResult_DirectionalChannelInfoDecodeErrorZPtr contents; + union LDKCResult_ChannelUpdateInfoDecodeErrorZPtr contents; /** - * Whether this CResult_DirectionalChannelInfoDecodeErrorZ represents a success state. + * Whether this CResult_ChannelUpdateInfoDecodeErrorZ represents a success state. */ bool result_ok; -} LDKCResult_DirectionalChannelInfoDecodeErrorZ; +} LDKCResult_ChannelUpdateInfoDecodeErrorZ; @@ -9398,6 +9949,39 @@ typedef struct LDKCResult_ErrorMessageDecodeErrorZ { bool result_ok; } LDKCResult_ErrorMessageDecodeErrorZ; +/** + * The contents of CResult_WarningMessageDecodeErrorZ + */ +typedef union LDKCResult_WarningMessageDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKWarningMessage *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_WarningMessageDecodeErrorZPtr; + +/** + * A CResult_WarningMessageDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::msgs::WarningMessage on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_WarningMessageDecodeErrorZ { + /** + * The contents of this CResult_WarningMessageDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_WarningMessageDecodeErrorZPtr contents; + /** + * Whether this CResult_WarningMessageDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_WarningMessageDecodeErrorZ; + /** @@ -9694,6 +10278,22 @@ typedef struct LDKCResult_GossipTimestampFilterDecodeErrorZ { bool result_ok; } LDKCResult_GossipTimestampFilterDecodeErrorZ; +/** + * A dynamically-allocated array of crate::lightning::ln::channelmanager::PhantomRouteHintss of arbitrary size. + * This corresponds to std::vector in C++ + */ +typedef struct LDKCVec_PhantomRouteHintsZ { + /** + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). + */ + struct LDKPhantomRouteHints *data; + /** + * The number of elements pointed to by `data`. + */ + uintptr_t datalen; +} LDKCVec_PhantomRouteHintsZ; + /** * When signing using a fallible method either an user-supplied `SignError` or a `CreationError` * may occur. @@ -10395,6 +10995,12 @@ typedef struct MUST_USE_STRUCT LDKChainMonitor { * ChannelMonitor closes may use seed/1' * Cooperative closes may use seed/2' * The two close keys may be needed to claim on-chain funds! + * + * This struct cannot be used for nodes that wish to support receiving phantom payments; + * [`PhantomKeysManager`] must be used instead. + * + * Note that switching between this struct and [`PhantomKeysManager`] will invalidate any + * previously issued invoices and attempts to pay previous invoices will fail. */ typedef struct MUST_USE_STRUCT LDKKeysManager { /** @@ -10414,67 +11020,60 @@ typedef struct MUST_USE_STRUCT LDKKeysManager { /** - * Chain-related parameters used to construct a new `ChannelManager`. + * Similar to [`KeysManager`], but allows the node using this struct to receive phantom node + * payments. * - * Typically, the block-specific parameters are derived from the best block hash for the network, - * as a newly constructed `ChannelManager` will not have created any channels yet. These parameters - * are not needed when deserializing a previously constructed `ChannelManager`. - */ -typedef struct MUST_USE_STRUCT LDKChainParameters { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeChainParameters *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKChainParameters; - - - -/** - * Information needed for constructing an invoice route hint for this channel. + * A phantom node payment is a payment made to a phantom invoice, which is an invoice that can be + * paid to one of multiple nodes. This works because we encode the invoice route hints such that + * LDK will recognize an incoming payment as destined for a phantom node, and collect the payment + * itself without ever needing to forward to this fake node. + * + * Phantom node payments are useful for load balancing between multiple LDK nodes. They also + * provide some fault tolerance, because payers will automatically retry paying other provided + * nodes in the case that one node goes down. + * + * Note that multi-path payments are not supported in phantom invoices for security reasons. + * Switching between this struct and [`KeysManager`] will invalidate any previously issued + * invoices and attempts to pay previous invoices will fail. */ -typedef struct MUST_USE_STRUCT LDKCounterpartyForwardingInfo { +typedef struct MUST_USE_STRUCT LDKPhantomKeysManager { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeCounterpartyForwardingInfo *inner; + LDKnativePhantomKeysManager *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKCounterpartyForwardingInfo; +} LDKPhantomKeysManager; /** - * Channel parameters which apply to our counterparty. These are split out from [`ChannelDetails`] - * to better separate parameters. + * Chain-related parameters used to construct a new `ChannelManager`. + * + * Typically, the block-specific parameters are derived from the best block hash for the network, + * as a newly constructed `ChannelManager` will not have created any channels yet. These parameters + * are not needed when deserializing a previously constructed `ChannelManager`. */ -typedef struct MUST_USE_STRUCT LDKChannelCounterparty { +typedef struct MUST_USE_STRUCT LDKChainParameters { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeChannelCounterparty *inner; + LDKnativeChainParameters *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKChannelCounterparty; +} LDKChainParameters; /** * A 3-byte byte array. @@ -11047,6 +11646,94 @@ typedef struct MUST_USE_STRUCT LDKNetGraphMsgHandler { bool is_owned; } LDKNetGraphMsgHandler; + + +/** + * A wrapper around [`ChannelInfo`] representing information about the channel as directed from a + * source node to a target node. + */ +typedef struct MUST_USE_STRUCT LDKDirectedChannelInfo { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeDirectedChannelInfo *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKDirectedChannelInfo; + +/** + * The effective capacity of a channel for routing purposes. + * + * While this may be smaller than the actual channel capacity, amounts greater than + * [`Self::as_msat`] should not be routed through the channel. + */ +typedef enum LDKEffectiveCapacity_Tag { + /** + * The available liquidity in the channel known from being a channel counterparty, and thus a + * direct hop. + */ + LDKEffectiveCapacity_ExactLiquidity, + /** + * The maximum HTLC amount in one direction as advertised on the gossip network. + */ + LDKEffectiveCapacity_MaximumHTLC, + /** + * The total capacity of the channel as determined by the funding transaction. + */ + LDKEffectiveCapacity_Total, + /** + * A capacity sufficient to route any payment, typically used for private channels provided by + * an invoice. + */ + LDKEffectiveCapacity_Infinite, + /** + * A capacity that is unknown possibly because either the chain state is unavailable to know + * the total capacity or the `htlc_maximum_msat` was not advertised on the gossip network. + */ + LDKEffectiveCapacity_Unknown, + /** + * Must be last for serialization purposes + */ + LDKEffectiveCapacity_Sentinel, +} LDKEffectiveCapacity_Tag; + +typedef struct LDKEffectiveCapacity_LDKExactLiquidity_Body { + /** + * Either the inbound or outbound liquidity depending on the direction, denominated in + * millisatoshi. + */ + uint64_t liquidity_msat; +} LDKEffectiveCapacity_LDKExactLiquidity_Body; + +typedef struct LDKEffectiveCapacity_LDKMaximumHTLC_Body { + /** + * The maximum HTLC amount denominated in millisatoshi. + */ + uint64_t amount_msat; +} LDKEffectiveCapacity_LDKMaximumHTLC_Body; + +typedef struct LDKEffectiveCapacity_LDKTotal_Body { + /** + * The funding amount denominated in millisatoshi. + */ + uint64_t capacity_msat; +} LDKEffectiveCapacity_LDKTotal_Body; + +typedef struct MUST_USE_STRUCT LDKEffectiveCapacity { + LDKEffectiveCapacity_Tag tag; + union { + LDKEffectiveCapacity_LDKExactLiquidity_Body exact_liquidity; + LDKEffectiveCapacity_LDKMaximumHTLC_Body maximum_htlc; + LDKEffectiveCapacity_LDKTotal_Body total; + }; +} LDKEffectiveCapacity; + /** * An interface used to score payment channels for path finding. * @@ -11062,17 +11749,13 @@ typedef struct LDKScore { * Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the * given channel in the direction from `source` to `target`. * - * The channel's capacity (less any other MPP parts which are also being considered for use in - * the same payment) is given by `channel_capacity_msat`. It may be guessed from various - * sources or assumed from no data at all. - * - * For hints provided in the invoice, we assume the channel has sufficient capacity to accept - * the invoice's full amount, and provide a `channel_capacity_msat` of `None`. In all other - * cases it is set to `Some`, even if we're guessing at the channel value. - * - * Your code should be overflow-safe through a `channel_capacity_msat` of 21 million BTC. + * The channel's capacity (less any other MPP parts that are also being considered for use in + * the same payment) is given by `capacity_msat`. It may be determined from various sources + * such as a chain data, network gossip, or invoice hints. For invoice hints, a capacity near + * [`u64::max_value`] is given to indicate sufficient capacity for the invoice's full amount. + * Thus, implementations should be overflow-safe. */ - uint64_t (*channel_penalty_msat)(const void *this_arg, uint64_t short_channel_id, uint64_t send_amt_msat, struct LDKCOption_u64Z channel_capacity_msat, const struct LDKNodeId *NONNULL_PTR source, const struct LDKNodeId *NONNULL_PTR target); + uint64_t (*channel_penalty_msat)(const void *this_arg, uint64_t short_channel_id, uint64_t send_amt_msat, uint64_t capacity_msat, const struct LDKNodeId *NONNULL_PTR source, const struct LDKNodeId *NONNULL_PTR target); /** * Handles updating channel penalties after failing to route through a channel. */ @@ -11281,6 +11964,27 @@ typedef struct MUST_USE_STRUCT LDKSha256 { +/** + * Positive duration that defines when (relatively to the timestamp) in the future the invoice + * expires + */ +typedef struct MUST_USE_STRUCT LDKExpiryTime { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeExpiryTime *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKExpiryTime; + + + /** * `min_final_cltv_expiry` to use for the last HTLC in the route */ @@ -11299,13 +12003,6 @@ typedef struct MUST_USE_STRUCT LDKMinFinalCltvExpiry { bool is_owned; } LDKMinFinalCltvExpiry; -/** - * Integer in the range `0..32` - */ -typedef struct LDKu5 { - uint8_t _0; -} LDKu5; - /** * A 20-byte byte array. */ @@ -11403,7 +12100,7 @@ typedef struct LDKRouter { * * Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None */ - struct LDKCResult_RouteLightningErrorZ (*find_route)(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR params, const uint8_t (*payment_hash)[32], struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKScore *NONNULL_PTR scorer); + struct LDKCResult_RouteLightningErrorZ (*find_route)(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, const uint8_t (*payment_hash)[32], struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKScore *NONNULL_PTR scorer); /** * Frees any resources associated with this object given its this_arg pointer. * Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed. @@ -11495,6 +12192,12 @@ extern const uint32_t MIN_FINAL_CLTV_EXPIRY; extern const uintptr_t REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH; +extern const uint64_t UNKNOWN_CHANNEL_CAPACITY_MSAT; + +extern const uint32_t DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA; + +extern const uint64_t MAX_TIMESTAMP; + extern const uint64_t DEFAULT_EXPIRY_TIME; extern const uint64_t DEFAULT_MIN_FINAL_CLTV_EXPIRY; @@ -11556,6 +12259,58 @@ void Str_free(struct LDKStr _res); const void *__unmangle_inner_ptr(const void *ptr); #endif +/** + * Creates a new CResult_NoneNoneZ in the success state. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_ok(void); + +/** + * Creates a new CResult_NoneNoneZ in the error state. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_err(void); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_NoneNoneZ_is_ok(const struct LDKCResult_NoneNoneZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_NoneNoneZ. + */ +void CResult_NoneNoneZ_free(struct LDKCResult_NoneNoneZ _res); + +/** + * Creates a new CResult_NoneNoneZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_clone(const struct LDKCResult_NoneNoneZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ in the success state. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(struct LDKCounterpartyCommitmentSecrets o); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ in the error state. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_CounterpartyCommitmentSecretsDecodeErrorZ. + */ +void CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ _res); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_SecretKeyErrorZ in the success state. */ @@ -11576,6 +12331,12 @@ bool CResult_SecretKeyErrorZ_is_ok(const struct LDKCResult_SecretKeyErrorZ *NONN */ void CResult_SecretKeyErrorZ_free(struct LDKCResult_SecretKeyErrorZ _res); +/** + * Creates a new CResult_SecretKeyErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_SecretKeyErrorZ CResult_SecretKeyErrorZ_clone(const struct LDKCResult_SecretKeyErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_PublicKeyErrorZ in the success state. */ @@ -12136,30 +12897,30 @@ void COption_u64Z_free(struct LDKCOption_u64Z _res); struct LDKCOption_u64Z COption_u64Z_clone(const struct LDKCOption_u64Z *NONNULL_PTR orig); /** - * Creates a new CResult_PayeeDecodeErrorZ in the success state. + * Creates a new CResult_PaymentParametersDecodeErrorZ in the success state. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_ok(struct LDKPayee o); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_ok(struct LDKPaymentParameters o); /** - * Creates a new CResult_PayeeDecodeErrorZ in the error state. + * Creates a new CResult_PaymentParametersDecodeErrorZ in the error state. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_err(struct LDKDecodeError e); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_err(struct LDKDecodeError e); /** * Checks if the given object is currently in the success state */ -bool CResult_PayeeDecodeErrorZ_is_ok(const struct LDKCResult_PayeeDecodeErrorZ *NONNULL_PTR o); +bool CResult_PaymentParametersDecodeErrorZ_is_ok(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_PayeeDecodeErrorZ. + * Frees any resources used by the CResult_PaymentParametersDecodeErrorZ. */ -void CResult_PayeeDecodeErrorZ_free(struct LDKCResult_PayeeDecodeErrorZ _res); +void CResult_PaymentParametersDecodeErrorZ_free(struct LDKCResult_PaymentParametersDecodeErrorZ _res); /** - * Creates a new CResult_PayeeDecodeErrorZ which has the same data as `orig` + * Creates a new CResult_PaymentParametersDecodeErrorZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_clone(const struct LDKCResult_PayeeDecodeErrorZ *NONNULL_PTR orig); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_clone(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR orig); /** * Frees the buffer pointed to by `data` if `datalen` is non-0. @@ -12478,6 +13239,32 @@ struct LDKCResult_COption_EventZDecodeErrorZ CResult_COption_EventZDecodeErrorZ_ */ void CVec_MessageSendEventZ_free(struct LDKCVec_MessageSendEventZ _res); +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the success state. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_ok(struct LDKFixedPenaltyScorer o); + +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the error state. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_FixedPenaltyScorerDecodeErrorZ. + */ +void CResult_FixedPenaltyScorerDecodeErrorZ_free(struct LDKCResult_FixedPenaltyScorerDecodeErrorZ _res); + +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_clone(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_ScoringParametersDecodeErrorZ in the success state. */ @@ -12498,6 +13285,12 @@ bool CResult_ScoringParametersDecodeErrorZ_is_ok(const struct LDKCResult_Scoring */ void CResult_ScoringParametersDecodeErrorZ_free(struct LDKCResult_ScoringParametersDecodeErrorZ _res); +/** + * Creates a new CResult_ScoringParametersDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ScoringParametersDecodeErrorZ CResult_ScoringParametersDecodeErrorZ_clone(const struct LDKCResult_ScoringParametersDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_ScorerDecodeErrorZ in the success state. */ @@ -12518,6 +13311,32 @@ bool CResult_ScorerDecodeErrorZ_is_ok(const struct LDKCResult_ScorerDecodeErrorZ */ void CResult_ScorerDecodeErrorZ_free(struct LDKCResult_ScorerDecodeErrorZ _res); +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ in the success state. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_ok(struct LDKProbabilisticScoringParameters o); + +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ in the error state. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ProbabilisticScoringParametersDecodeErrorZ_is_ok(const struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ProbabilisticScoringParametersDecodeErrorZ. + */ +void CResult_ProbabilisticScoringParametersDecodeErrorZ_free(struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ _res); + +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_clone(const struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_InitFeaturesDecodeErrorZ in the success state. */ @@ -12697,98 +13516,145 @@ void CResult_SpendableOutputDescriptorDecodeErrorZ_free(struct LDKCResult_Spenda struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_clone(const struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR orig); /** - * Creates a new CResult_NoneNoneZ in the success state. + * Frees the buffer pointed to by `data` if `datalen` is non-0. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_ok(void); +void CVec_PaymentPreimageZ_free(struct LDKCVec_PaymentPreimageZ _res); /** - * Creates a new CResult_NoneNoneZ in the error state. + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_err(void); +struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone(const struct LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR orig); + +/** + * Creates a new C2Tuple_SignatureCVec_SignatureZZ from the contained elements. + */ +struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new(struct LDKSignature a, struct LDKCVec_SignatureZ b); + +/** + * Frees any resources used by the C2Tuple_SignatureCVec_SignatureZZ. + */ +void C2Tuple_SignatureCVec_SignatureZZ_free(struct LDKC2Tuple_SignatureCVec_SignatureZZ _res); + +/** + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the success state. + */ +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(struct LDKC2Tuple_SignatureCVec_SignatureZZ o); + +/** + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the error state. + */ +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_NoneNoneZ_is_ok(const struct LDKCResult_NoneNoneZ *NONNULL_PTR o); +bool CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_NoneNoneZ. + * Frees any resources used by the CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ. */ -void CResult_NoneNoneZ_free(struct LDKCResult_NoneNoneZ _res); +void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res); /** - * Creates a new CResult_NoneNoneZ which has the same data as `orig` + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_clone(const struct LDKCResult_NoneNoneZ *NONNULL_PTR orig); +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_SignatureNoneZ in the success state. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok(struct LDKSignature o); + +/** + * Creates a new CResult_SignatureNoneZ in the error state. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err(void); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_SignatureNoneZ_is_ok(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_SignatureNoneZ. + */ +void CResult_SignatureNoneZ_free(struct LDKCResult_SignatureNoneZ _res); + +/** + * Creates a new CResult_SignatureNoneZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_clone(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR orig); /** * Creates a new tuple which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone(const struct LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR orig); +struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_clone(const struct LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR orig); /** - * Creates a new C2Tuple_SignatureCVec_SignatureZZ from the contained elements. + * Creates a new C2Tuple_SignatureSignatureZ from the contained elements. */ -struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new(struct LDKSignature a, struct LDKCVec_SignatureZ b); +struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_new(struct LDKSignature a, struct LDKSignature b); /** - * Frees any resources used by the C2Tuple_SignatureCVec_SignatureZZ. + * Frees any resources used by the C2Tuple_SignatureSignatureZ. */ -void C2Tuple_SignatureCVec_SignatureZZ_free(struct LDKC2Tuple_SignatureCVec_SignatureZZ _res); +void C2Tuple_SignatureSignatureZ_free(struct LDKC2Tuple_SignatureSignatureZ _res); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the success state. + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ in the success state. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(struct LDKC2Tuple_SignatureCVec_SignatureZZ o); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_ok(struct LDKC2Tuple_SignatureSignatureZ o); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the error state. + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ in the error state. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(void); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR o); +bool CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ. + * Frees any resources used by the CResult_C2Tuple_SignatureSignatureZNoneZ. */ -void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res); +void CResult_C2Tuple_SignatureSignatureZNoneZ_free(struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ _res); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ which has the same data as `orig` + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR orig); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR orig); /** - * Creates a new CResult_SignatureNoneZ in the success state. + * Creates a new CResult_SecretKeyNoneZ in the success state. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok(struct LDKSignature o); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_ok(struct LDKSecretKey o); /** - * Creates a new CResult_SignatureNoneZ in the error state. + * Creates a new CResult_SecretKeyNoneZ in the error state. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err(void); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_SignatureNoneZ_is_ok(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR o); +bool CResult_SecretKeyNoneZ_is_ok(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_SignatureNoneZ. + * Frees any resources used by the CResult_SecretKeyNoneZ. */ -void CResult_SignatureNoneZ_free(struct LDKCResult_SignatureNoneZ _res); +void CResult_SecretKeyNoneZ_free(struct LDKCResult_SecretKeyNoneZ _res); /** - * Creates a new CResult_SignatureNoneZ which has the same data as `orig` + * Creates a new CResult_SecretKeyNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_clone(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR orig); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_clone(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR orig); /** * Creates a new CResult_SignDecodeErrorZ in the success state. @@ -12819,7 +13685,7 @@ struct LDKCResult_SignDecodeErrorZ CResult_SignDecodeErrorZ_clone(const struct L /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ -void CVec_u8Z_free(struct LDKCVec_u8Z _res); +void CVec_u5Z_free(struct LDKCVec_u5Z _res); /** * Creates a new CResult_RecoverableSignatureNoneZ in the success state. @@ -12847,6 +13713,11 @@ void CResult_RecoverableSignatureNoneZ_free(struct LDKCResult_RecoverableSignatu */ struct LDKCResult_RecoverableSignatureNoneZ CResult_RecoverableSignatureNoneZ_clone(const struct LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR orig); +/** + * Frees the buffer pointed to by `data` if `datalen` is non-0. + */ +void CVec_u8Z_free(struct LDKCVec_u8Z _res); + /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ @@ -13310,6 +14181,110 @@ void CResult_PaymentPreimageAPIErrorZ_free(struct LDKCResult_PaymentPreimageAPIE */ struct LDKCResult_PaymentPreimageAPIErrorZ CResult_PaymentPreimageAPIErrorZ_clone(const struct LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR orig); +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ in the success state. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(struct LDKCounterpartyForwardingInfo o); + +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ in the error state. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_CounterpartyForwardingInfoDecodeErrorZ. + */ +void CResult_CounterpartyForwardingInfoDecodeErrorZ_free(struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ _res); + +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ in the success state. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_ok(struct LDKChannelCounterparty o); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ in the error state. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ChannelCounterpartyDecodeErrorZ_is_ok(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ChannelCounterpartyDecodeErrorZ. + */ +void CResult_ChannelCounterpartyDecodeErrorZ_free(struct LDKCResult_ChannelCounterpartyDecodeErrorZ _res); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_clone(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ in the success state. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_ok(struct LDKChannelDetails o); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ in the error state. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ChannelDetailsDecodeErrorZ_is_ok(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ChannelDetailsDecodeErrorZ. + */ +void CResult_ChannelDetailsDecodeErrorZ_free(struct LDKCResult_ChannelDetailsDecodeErrorZ _res); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_clone(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ in the success state. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_ok(struct LDKPhantomRouteHints o); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ in the error state. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_PhantomRouteHintsDecodeErrorZ_is_ok(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_PhantomRouteHintsDecodeErrorZ. + */ +void CResult_PhantomRouteHintsDecodeErrorZ_free(struct LDKCResult_PhantomRouteHintsDecodeErrorZ _res); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_clone(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR orig); + /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ @@ -13699,32 +14674,6 @@ void CResult_DescriptionCreationErrorZ_free(struct LDKCResult_DescriptionCreatio */ struct LDKCResult_DescriptionCreationErrorZ CResult_DescriptionCreationErrorZ_clone(const struct LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR orig); -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ in the success state. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_ok(struct LDKExpiryTime o); - -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ in the error state. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_err(enum LDKCreationError e); - -/** - * Checks if the given object is currently in the success state - */ -bool CResult_ExpiryTimeCreationErrorZ_is_ok(const struct LDKCResult_ExpiryTimeCreationErrorZ *NONNULL_PTR o); - -/** - * Frees any resources used by the CResult_ExpiryTimeCreationErrorZ. - */ -void CResult_ExpiryTimeCreationErrorZ_free(struct LDKCResult_ExpiryTimeCreationErrorZ _res); - -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ which has the same data as `orig` - * but with all dynamically-allocated buffers duplicated in new buffers. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_clone(const struct LDKCResult_ExpiryTimeCreationErrorZ *NONNULL_PTR orig); - /** * Creates a new CResult_PrivateRouteCreationErrorZ in the success state. */ @@ -14261,30 +15210,30 @@ struct LDKCOption_AccessZ COption_AccessZ_none(void); void COption_AccessZ_free(struct LDKCOption_AccessZ _res); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the success state. + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ in the success state. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_ok(struct LDKDirectionalChannelInfo o); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_ok(struct LDKChannelUpdateInfo o); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the error state. + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ in the error state. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_err(struct LDKDecodeError e); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_err(struct LDKDecodeError e); /** * Checks if the given object is currently in the success state */ -bool CResult_DirectionalChannelInfoDecodeErrorZ_is_ok(const struct LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR o); +bool CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_DirectionalChannelInfoDecodeErrorZ. + * Frees any resources used by the CResult_ChannelUpdateInfoDecodeErrorZ. */ -void CResult_DirectionalChannelInfoDecodeErrorZ_free(struct LDKCResult_DirectionalChannelInfoDecodeErrorZ _res); +void CResult_ChannelUpdateInfoDecodeErrorZ_free(struct LDKCResult_ChannelUpdateInfoDecodeErrorZ _res); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ which has the same data as `orig` + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_clone(const struct LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR orig); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_clone(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR orig); /** * Creates a new CResult_ChannelInfoDecodeErrorZ in the success state. @@ -15138,6 +16087,32 @@ void CResult_ErrorMessageDecodeErrorZ_free(struct LDKCResult_ErrorMessageDecodeE */ struct LDKCResult_ErrorMessageDecodeErrorZ CResult_ErrorMessageDecodeErrorZ_clone(const struct LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR orig); +/** + * Creates a new CResult_WarningMessageDecodeErrorZ in the success state. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_ok(struct LDKWarningMessage o); + +/** + * Creates a new CResult_WarningMessageDecodeErrorZ in the error state. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_WarningMessageDecodeErrorZ_is_ok(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_WarningMessageDecodeErrorZ. + */ +void CResult_WarningMessageDecodeErrorZ_free(struct LDKCResult_WarningMessageDecodeErrorZ _res); + +/** + * Creates a new CResult_WarningMessageDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_clone(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_UnsignedNodeAnnouncementDecodeErrorZ in the success state. */ @@ -15320,6 +16295,11 @@ void CResult_GossipTimestampFilterDecodeErrorZ_free(struct LDKCResult_GossipTime */ struct LDKCResult_GossipTimestampFilterDecodeErrorZ CResult_GossipTimestampFilterDecodeErrorZ_clone(const struct LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR orig); +/** + * Frees the buffer pointed to by `data` if `datalen` is non-0. + */ +void CVec_PhantomRouteHintsZ_free(struct LDKCVec_PhantomRouteHintsZ _res); + /** * Creates a new CResult_InvoiceSignOrCreationErrorZ in the success state. */ @@ -15531,6 +16511,11 @@ struct LDKEvent Event_discard_funding(struct LDKThirtyTwoBytes channel_id, struc */ struct LDKEvent Event_payment_path_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCVec_RouteHopZ path); +/** + * Utility method to constructs a new OpenChannelRequest-variant Event + */ +struct LDKEvent Event_open_channel_request(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, uint64_t push_msat); + /** * Serialize the Event object into a byte array which can be read by Event_read */ @@ -15719,6 +16704,11 @@ struct LDKCResult_PublicKeyErrorZ recover_pk(struct LDKu8slice msg, struct LDKSt */ bool verify(struct LDKu8slice msg, struct LDKStr sig, struct LDKPublicKey pk); +/** + * Construct the invoice's HRP and signatureless data into a preimage to be hashed. + */ +struct LDKCVec_u8Z construct_invoice_preimage(struct LDKu8slice hrp_bytes, struct LDKCVec_u5Z data_without_signature); + /** * Creates a copy of the Level */ @@ -16466,10 +17456,44 @@ bool UserConfig_get_accept_inbound_channels(const struct LDKUserConfig *NONNULL_ */ void UserConfig_set_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val); +/** + * If this is set to true, the user needs to manually accept inbound requests to open a new + * channel. + * + * When set to true, [`Event::OpenChannelRequest`] will be triggered once a request to open a + * new inbound channel is received through a [`msgs::OpenChannel`] message. In that case, a + * [`msgs::AcceptChannel`] message will not be sent back to the counterparty node unless the + * user explicitly chooses to accept the request. + * + * Default value: false. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + * [`msgs::OpenChannel`]: crate::ln::msgs::OpenChannel + * [`msgs::AcceptChannel`]: crate::ln::msgs::AcceptChannel + */ +bool UserConfig_get_manually_accept_inbound_channels(const struct LDKUserConfig *NONNULL_PTR this_ptr); + +/** + * If this is set to true, the user needs to manually accept inbound requests to open a new + * channel. + * + * When set to true, [`Event::OpenChannelRequest`] will be triggered once a request to open a + * new inbound channel is received through a [`msgs::OpenChannel`] message. In that case, a + * [`msgs::AcceptChannel`] message will not be sent back to the counterparty node unless the + * user explicitly chooses to accept the request. + * + * Default value: false. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + * [`msgs::OpenChannel`]: crate::ln::msgs::OpenChannel + * [`msgs::AcceptChannel`]: crate::ln::msgs::AcceptChannel + */ +void UserConfig_set_manually_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val); + /** * Constructs a new UserConfig given each field */ -MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig own_channel_config_arg, struct LDKChannelHandshakeLimits peer_channel_config_limits_arg, struct LDKChannelConfig channel_options_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg); +MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig own_channel_config_arg, struct LDKChannelHandshakeLimits peer_channel_config_limits_arg, struct LDKChannelConfig channel_options_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg, bool manually_accept_inbound_channels_arg); /** * Creates a copy of the UserConfig @@ -17359,6 +18383,21 @@ struct LDKSign Sign_clone(const struct LDKSign *NONNULL_PTR orig); */ void Sign_free(struct LDKSign this_ptr); +/** + * Creates a copy of the Recipient + */ +enum LDKRecipient Recipient_clone(const enum LDKRecipient *NONNULL_PTR orig); + +/** + * Utility method to constructs a new Node-variant Recipient + */ +enum LDKRecipient Recipient_node(void); + +/** + * Utility method to constructs a new PhantomNode-variant Recipient + */ +enum LDKRecipient Recipient_phantom_node(void); + /** * Calls the free function if one is set */ @@ -17437,7 +18476,7 @@ struct LDKInMemorySigner InMemorySigner_clone(const struct LDKInMemorySigner *NO /** * Create a new InMemorySigner */ -MUST_USE_RES struct LDKInMemorySigner InMemorySigner_new(struct LDKSecretKey funding_key, struct LDKSecretKey revocation_base_key, struct LDKSecretKey payment_key, struct LDKSecretKey delayed_payment_base_key, struct LDKSecretKey htlc_base_key, struct LDKThirtyTwoBytes commitment_seed, uint64_t channel_value_satoshis, struct LDKThirtyTwoBytes channel_keys_id); +MUST_USE_RES struct LDKInMemorySigner InMemorySigner_new(struct LDKSecretKey node_secret, struct LDKSecretKey funding_key, struct LDKSecretKey revocation_base_key, struct LDKSecretKey payment_key, struct LDKSecretKey delayed_payment_base_key, struct LDKSecretKey htlc_base_key, struct LDKThirtyTwoBytes commitment_seed, uint64_t channel_value_satoshis, struct LDKThirtyTwoBytes channel_keys_id); /** * Counterparty pubkeys. @@ -17492,7 +18531,8 @@ MUST_USE_RES bool InMemorySigner_opt_anchors(const struct LDKInMemorySigner *NON * described by descriptor, returning the witness stack for the input. * * Returns an Err if the input at input_idx does not exist, has a non-empty script_sig, - * or is not spending the outpoint described by `descriptor.outpoint`. + * is not spending the outpoint described by `descriptor.outpoint`, + * or if an output descriptor script_pubkey does not match the one we can spend. */ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_counterparty_payment_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR descriptor); @@ -17501,8 +18541,9 @@ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_counterpa * described by descriptor, returning the witness stack for the input. * * Returns an Err if the input at input_idx does not exist, has a non-empty script_sig, - * is not spending the outpoint described by `descriptor.outpoint`, or does not have a - * sequence set to `descriptor.to_self_delay`. + * is not spending the outpoint described by `descriptor.outpoint`, does not have a + * sequence set to `descriptor.to_self_delay`, or if an output descriptor + * script_pubkey does not match the one we can spend. */ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_dynamic_p2wsh_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR descriptor); @@ -17526,7 +18567,7 @@ struct LDKCVec_u8Z InMemorySigner_write(const struct LDKInMemorySigner *NONNULL_ /** * Read a InMemorySigner from a byte array, created by InMemorySigner_write */ -struct LDKCResult_InMemorySignerDecodeErrorZ InMemorySigner_read(struct LDKu8slice ser); +struct LDKCResult_InMemorySignerDecodeErrorZ InMemorySigner_read(struct LDKu8slice ser, struct LDKSecretKey arg); /** * Frees any resources used by the KeysManager, if is_owned is set and inner is non-NULL. @@ -17570,8 +18611,9 @@ MUST_USE_RES struct LDKInMemorySigner KeysManager_derive_channel_keys(const stru * output to the given change destination (if sufficient change value remains). The * transaction will have a feerate, at least, of the given value. * - * Returns `Err(())` if the output value is greater than the input value minus required fee or - * if a descriptor was duplicated. + * Returns `Err(())` if the output value is greater than the input value minus required fee, + * if a descriptor was duplicated, or if an output descriptor `script_pubkey` + * does not match the one we can spend. * * We do not enforce that outputs meet the dust limit or that any output scripts are standard. * @@ -17586,6 +18628,41 @@ MUST_USE_RES struct LDKCResult_TransactionNoneZ KeysManager_spend_spendable_outp */ struct LDKKeysInterface KeysManager_as_KeysInterface(const struct LDKKeysManager *NONNULL_PTR this_arg); +/** + * Frees any resources used by the PhantomKeysManager, if is_owned is set and inner is non-NULL. + */ +void PhantomKeysManager_free(struct LDKPhantomKeysManager this_obj); + +/** + * Constructs a new KeysInterface which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned KeysInterface must be freed before this_arg is + */ +struct LDKKeysInterface PhantomKeysManager_as_KeysInterface(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg); + +/** + * Constructs a `PhantomKeysManager` given a 32-byte seed and an additional `cross_node_seed` + * that is shared across all nodes that intend to participate in [phantom node payments] together. + * + * See [`KeysManager::new`] for more information on `seed`, `starting_time_secs`, and + * `starting_time_nanos`. + * + * `cross_node_seed` must be the same across all phantom payment-receiving nodes and also the + * same across restarts, or else inbound payments may fail. + * + * [phantom node payments]: PhantomKeysManager + */ +MUST_USE_RES struct LDKPhantomKeysManager PhantomKeysManager_new(const uint8_t (*seed)[32], uint64_t starting_time_secs, uint32_t starting_time_nanos, const uint8_t (*cross_node_seed)[32]); + +/** + * See [`KeysManager::spend_spendable_outputs`] for documentation on this method. + */ +MUST_USE_RES struct LDKCResult_TransactionNoneZ PhantomKeysManager_spend_spendable_outputs(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, struct LDKCVec_SpendableOutputDescriptorZ descriptors, struct LDKCVec_TxOutZ outputs, struct LDKCVec_u8Z change_destination_script, uint32_t feerate_sat_per_1000_weight); + +/** + * See [`KeysManager::derive_channel_keys`] for documentation on this method. + */ +MUST_USE_RES struct LDKInMemorySigner PhantomKeysManager_derive_channel_keys(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, uint64_t channel_value_satoshis, const uint8_t (*params)[32]); + /** * Frees any resources used by the ChannelManager, if is_owned is set and inner is non-NULL. */ @@ -18099,6 +19176,53 @@ struct LDKPaymentSendFailure PaymentSendFailure_all_failed_retry_safe(struct LDK */ struct LDKPaymentSendFailure PaymentSendFailure_partial_failure(struct LDKCVec_CResult_NoneAPIErrorZZ results, struct LDKRouteParameters failed_paths_retry, struct LDKThirtyTwoBytes payment_id); +/** + * Frees any resources used by the PhantomRouteHints, if is_owned is set and inner is non-NULL. + */ +void PhantomRouteHints_free(struct LDKPhantomRouteHints this_obj); + +/** + * The list of channels to be included in the invoice route hints. + */ +struct LDKCVec_ChannelDetailsZ PhantomRouteHints_get_channels(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * The list of channels to be included in the invoice route hints. + */ +void PhantomRouteHints_set_channels(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKCVec_ChannelDetailsZ val); + +/** + * A fake scid used for representing the phantom node's fake channel in generating the invoice + * route hints. + */ +uint64_t PhantomRouteHints_get_phantom_scid(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * A fake scid used for representing the phantom node's fake channel in generating the invoice + * route hints. + */ +void PhantomRouteHints_set_phantom_scid(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, uint64_t val); + +/** + * The pubkey of the real backing node that would ultimately receive the payment. + */ +struct LDKPublicKey PhantomRouteHints_get_real_node_pubkey(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * The pubkey of the real backing node that would ultimately receive the payment. + */ +void PhantomRouteHints_set_real_node_pubkey(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKPublicKey val); + +/** + * Constructs a new PhantomRouteHints given each field + */ +MUST_USE_RES struct LDKPhantomRouteHints PhantomRouteHints_new(struct LDKCVec_ChannelDetailsZ channels_arg, uint64_t phantom_scid_arg, struct LDKPublicKey real_node_pubkey_arg); + +/** + * Creates a copy of the PhantomRouteHints + */ +struct LDKPhantomRouteHints PhantomRouteHints_clone(const struct LDKPhantomRouteHints *NONNULL_PTR orig); + /** * Constructs a new ChannelManager to hold several channels and route between them. * @@ -18424,6 +19548,16 @@ MUST_USE_RES bool ChannelManager_claim_funds(const struct LDKChannelManager *NON */ MUST_USE_RES struct LDKPublicKey ChannelManager_get_our_node_id(const struct LDKChannelManager *NONNULL_PTR this_arg); +/** + * Called to accept a request to open a channel after [`Event::OpenChannelRequest`] has been + * triggered. + * + * The `temporary_channel_id` parameter indicates which inbound channel should be accepted. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + */ +MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_accept_inbound_channel(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*temporary_channel_id)[32]); + /** * Gets a payment secret and payment hash for use in an invoice given to a third party wishing * to pay us. @@ -18533,6 +19667,21 @@ MUST_USE_RES struct LDKCResult_PaymentSecretAPIErrorZ ChannelManager_create_inbo */ MUST_USE_RES struct LDKCResult_PaymentPreimageAPIErrorZ ChannelManager_get_payment_preimage(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret); +/** + * Gets a fake short channel id for use in receiving [phantom node payments]. These fake scids + * are used when constructing the phantom invoice's route hints. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +MUST_USE_RES uint64_t ChannelManager_get_phantom_scid(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Gets route hints for use in receiving [phantom node payments]. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +MUST_USE_RES struct LDKPhantomRouteHints ChannelManager_get_phantom_route_hints(const struct LDKChannelManager *NONNULL_PTR this_arg); + /** * Constructs a new MessageSendEventsProvider which calls the relevant methods on this_arg. * This copies the `inner` pointer in this_arg and thus the returned MessageSendEventsProvider must be freed before this_arg is @@ -18572,19 +19721,59 @@ MUST_USE_RES bool ChannelManager_await_persistable_update_timeout(const struct L * `await_persistable_update` or `await_persistable_update_timeout` is guaranteed to be woken * up. */ -void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg); +void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Gets the latest best block which was connected either via the [`chain::Listen`] or + * [`chain::Confirm`] interfaces. + */ +MUST_USE_RES struct LDKBestBlock ChannelManager_current_best_block(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Constructs a new ChannelMessageHandler which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned ChannelMessageHandler must be freed before this_arg is + */ +struct LDKChannelMessageHandler ChannelManager_as_ChannelMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Serialize the CounterpartyForwardingInfo object into a byte array which can be read by CounterpartyForwardingInfo_read + */ +struct LDKCVec_u8Z CounterpartyForwardingInfo_write(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR obj); + +/** + * Read a CounterpartyForwardingInfo from a byte array, created by CounterpartyForwardingInfo_write + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CounterpartyForwardingInfo_read(struct LDKu8slice ser); + +/** + * Serialize the ChannelCounterparty object into a byte array which can be read by ChannelCounterparty_read + */ +struct LDKCVec_u8Z ChannelCounterparty_write(const struct LDKChannelCounterparty *NONNULL_PTR obj); + +/** + * Read a ChannelCounterparty from a byte array, created by ChannelCounterparty_write + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ ChannelCounterparty_read(struct LDKu8slice ser); + +/** + * Serialize the ChannelDetails object into a byte array which can be read by ChannelDetails_read + */ +struct LDKCVec_u8Z ChannelDetails_write(const struct LDKChannelDetails *NONNULL_PTR obj); + +/** + * Read a ChannelDetails from a byte array, created by ChannelDetails_write + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ ChannelDetails_read(struct LDKu8slice ser); /** - * Gets the latest best block which was connected either via the [`chain::Listen`] or - * [`chain::Confirm`] interfaces. + * Serialize the PhantomRouteHints object into a byte array which can be read by PhantomRouteHints_read */ -MUST_USE_RES struct LDKBestBlock ChannelManager_current_best_block(const struct LDKChannelManager *NONNULL_PTR this_arg); +struct LDKCVec_u8Z PhantomRouteHints_write(const struct LDKPhantomRouteHints *NONNULL_PTR obj); /** - * Constructs a new ChannelMessageHandler which calls the relevant methods on this_arg. - * This copies the `inner` pointer in this_arg and thus the returned ChannelMessageHandler must be freed before this_arg is + * Read a PhantomRouteHints from a byte array, created by PhantomRouteHints_write */ -struct LDKChannelMessageHandler ChannelManager_as_ChannelMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg); +struct LDKCResult_PhantomRouteHintsDecodeErrorZ PhantomRouteHints_read(struct LDKu8slice ser); /** * Serialize the ChannelManager object into a byte array which can be read by ChannelManager_read @@ -18733,28 +19922,34 @@ struct LDKInit Init_clone(const struct LDKInit *NONNULL_PTR orig); void ErrorMessage_free(struct LDKErrorMessage this_obj); /** - * The channel ID involved in the error + * The channel ID involved in the error. + * + * All-0s indicates a general error unrelated to a specific channel, after which all channels + * with the sending peer should be closed. */ const uint8_t (*ErrorMessage_get_channel_id(const struct LDKErrorMessage *NONNULL_PTR this_ptr))[32]; /** - * The channel ID involved in the error + * The channel ID involved in the error. + * + * All-0s indicates a general error unrelated to a specific channel, after which all channels + * with the sending peer should be closed. */ void ErrorMessage_set_channel_id(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); /** * A possibly human-readable error description. - * The string should be sanitized before it is used (e.g. emitted to logs - * or printed to stdout). Otherwise, a well crafted error message may trigger a security - * vulnerability in the terminal emulator or the logging subsystem. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. */ struct LDKStr ErrorMessage_get_data(const struct LDKErrorMessage *NONNULL_PTR this_ptr); /** * A possibly human-readable error description. - * The string should be sanitized before it is used (e.g. emitted to logs - * or printed to stdout). Otherwise, a well crafted error message may trigger a security - * vulnerability in the terminal emulator or the logging subsystem. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. */ void ErrorMessage_set_data(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKStr val); @@ -18768,6 +19963,51 @@ MUST_USE_RES struct LDKErrorMessage ErrorMessage_new(struct LDKThirtyTwoBytes ch */ struct LDKErrorMessage ErrorMessage_clone(const struct LDKErrorMessage *NONNULL_PTR orig); +/** + * Frees any resources used by the WarningMessage, if is_owned is set and inner is non-NULL. + */ +void WarningMessage_free(struct LDKWarningMessage this_obj); + +/** + * The channel ID involved in the warning. + * + * All-0s indicates a warning unrelated to a specific channel. + */ +const uint8_t (*WarningMessage_get_channel_id(const struct LDKWarningMessage *NONNULL_PTR this_ptr))[32]; + +/** + * The channel ID involved in the warning. + * + * All-0s indicates a warning unrelated to a specific channel. + */ +void WarningMessage_set_channel_id(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); + +/** + * A possibly human-readable warning description. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. + */ +struct LDKStr WarningMessage_get_data(const struct LDKWarningMessage *NONNULL_PTR this_ptr); + +/** + * A possibly human-readable warning description. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. + */ +void WarningMessage_set_data(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKStr val); + +/** + * Constructs a new WarningMessage given each field + */ +MUST_USE_RES struct LDKWarningMessage WarningMessage_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKStr data_arg); + +/** + * Creates a copy of the WarningMessage + */ +struct LDKWarningMessage WarningMessage_clone(const struct LDKWarningMessage *NONNULL_PTR orig); + /** * Frees any resources used by the Ping, if is_owned is set and inner is non-NULL. */ @@ -19185,6 +20425,28 @@ struct LDKPublicKey AcceptChannel_get_first_per_commitment_point(const struct LD */ void AcceptChannel_set_first_per_commitment_point(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val); +/** + * The channel type that this channel will represent. If none is set, we derive the channel + * type from the intersection of our feature bits with our counterparty's feature bits from + * the Init message. + * + * This is required to match the equivalent field in [`OpenChannel::channel_type`]. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +struct LDKChannelTypeFeatures AcceptChannel_get_channel_type(const struct LDKAcceptChannel *NONNULL_PTR this_ptr); + +/** + * The channel type that this channel will represent. If none is set, we derive the channel + * type from the intersection of our feature bits with our counterparty's feature bits from + * the Init message. + * + * This is required to match the equivalent field in [`OpenChannel::channel_type`]. + * + * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +void AcceptChannel_set_channel_type(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKChannelTypeFeatures val); + /** * Creates a copy of the AcceptChannel */ @@ -20559,6 +21821,11 @@ struct LDKErrorAction ErrorAction_ignore_duplicate_gossip(void); */ struct LDKErrorAction ErrorAction_send_error_message(struct LDKErrorMessage msg); +/** + * Utility method to constructs a new SendWarningMessage-variant ErrorAction + */ +struct LDKErrorAction ErrorAction_send_warning_message(struct LDKWarningMessage msg, enum LDKLevel log_level); + /** * Frees any resources used by the LightningError, if is_owned is set and inner is non-NULL. */ @@ -20933,6 +22200,16 @@ struct LDKCVec_u8Z ErrorMessage_write(const struct LDKErrorMessage *NONNULL_PTR */ struct LDKCResult_ErrorMessageDecodeErrorZ ErrorMessage_read(struct LDKu8slice ser); +/** + * Serialize the WarningMessage object into a byte array which can be read by WarningMessage_read + */ +struct LDKCVec_u8Z WarningMessage_write(const struct LDKWarningMessage *NONNULL_PTR obj); + +/** + * Read a WarningMessage from a byte array, created by WarningMessage_write + */ +struct LDKCResult_WarningMessageDecodeErrorZ WarningMessage_read(struct LDKu8slice ser); + /** * Serialize the UnsignedNodeAnnouncement object into a byte array which can be read by UnsignedNodeAnnouncement_read */ @@ -21311,6 +22588,51 @@ struct LDKThirtyTwoBytes build_commitment_secret(const uint8_t (*commitment_seed */ struct LDKTransaction build_closing_transaction(uint64_t to_holder_value_sat, uint64_t to_counterparty_value_sat, struct LDKCVec_u8Z to_holder_script, struct LDKCVec_u8Z to_counterparty_script, struct LDKOutPoint funding_outpoint); +/** + * Frees any resources used by the CounterpartyCommitmentSecrets, if is_owned is set and inner is non-NULL. + */ +void CounterpartyCommitmentSecrets_free(struct LDKCounterpartyCommitmentSecrets this_obj); + +/** + * Creates a copy of the CounterpartyCommitmentSecrets + */ +struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_clone(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR orig); + +/** + * Creates a new empty `CounterpartyCommitmentSecrets` structure. + */ +MUST_USE_RES struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_new(void); + +/** + * Returns the minimum index of all stored secrets. Note that indexes start + * at 1 << 48 and get decremented by one for each new secret. + */ +MUST_USE_RES uint64_t CounterpartyCommitmentSecrets_get_min_seen_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg); + +/** + * Inserts the `secret` at `idx`. Returns `Ok(())` if the secret + * was generated in accordance with BOLT 3 and is consistent with previous secrets. + */ +MUST_USE_RES struct LDKCResult_NoneNoneZ CounterpartyCommitmentSecrets_provide_secret(struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx, struct LDKThirtyTwoBytes secret); + +/** + * Returns the secret at `idx`. + * Returns `None` if `idx` is < [`CounterpartyCommitmentSecrets::get_min_seen_secret`]. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +MUST_USE_RES struct LDKThirtyTwoBytes CounterpartyCommitmentSecrets_get_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx); + +/** + * Serialize the CounterpartyCommitmentSecrets object into a byte array which can be read by CounterpartyCommitmentSecrets_read + */ +struct LDKCVec_u8Z CounterpartyCommitmentSecrets_write(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR obj); + +/** + * Read a CounterpartyCommitmentSecrets from a byte array, created by CounterpartyCommitmentSecrets_write + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CounterpartyCommitmentSecrets_read(struct LDKu8slice ser); + /** * Derives a per-commitment-transaction private key (eg an htlc key or delayed_payment key) * from the base secret and the per_commitment_point. @@ -22149,6 +23471,8 @@ MUST_USE_RES bool TrustedCommitmentTransaction_opt_anchors(const struct LDKTrust * which HTLCOutputInCommitment::transaction_output_index.is_some()). * * The returned Vec has one entry for each HTLC, and in the same order. + * + * This function is only valid in the holder commitment context, it always uses SigHashType::All. */ MUST_USE_RES struct LDKCResult_CVec_SignatureZNoneZ TrustedCommitmentTransaction_get_htlc_sigs(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg, const uint8_t (*htlc_base_key)[32], const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR channel_parameters); @@ -22607,71 +23931,71 @@ struct LDKRoutingMessageHandler NetGraphMsgHandler_as_RoutingMessageHandler(cons struct LDKMessageSendEventsProvider NetGraphMsgHandler_as_MessageSendEventsProvider(const struct LDKNetGraphMsgHandler *NONNULL_PTR this_arg); /** - * Frees any resources used by the DirectionalChannelInfo, if is_owned is set and inner is non-NULL. + * Frees any resources used by the ChannelUpdateInfo, if is_owned is set and inner is non-NULL. */ -void DirectionalChannelInfo_free(struct LDKDirectionalChannelInfo this_obj); +void ChannelUpdateInfo_free(struct LDKChannelUpdateInfo this_obj); /** * When the last update to the channel direction was issued. * Value is opaque, as set in the announcement. */ -uint32_t DirectionalChannelInfo_get_last_update(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint32_t ChannelUpdateInfo_get_last_update(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * When the last update to the channel direction was issued. * Value is opaque, as set in the announcement. */ -void DirectionalChannelInfo_set_last_update(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint32_t val); +void ChannelUpdateInfo_set_last_update(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint32_t val); /** * Whether the channel can be currently used for payments (in this one direction). */ -bool DirectionalChannelInfo_get_enabled(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +bool ChannelUpdateInfo_get_enabled(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Whether the channel can be currently used for payments (in this one direction). */ -void DirectionalChannelInfo_set_enabled(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, bool val); +void ChannelUpdateInfo_set_enabled(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, bool val); /** * The difference in CLTV values that you must have when routing through this channel. */ -uint16_t DirectionalChannelInfo_get_cltv_expiry_delta(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint16_t ChannelUpdateInfo_get_cltv_expiry_delta(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The difference in CLTV values that you must have when routing through this channel. */ -void DirectionalChannelInfo_set_cltv_expiry_delta(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint16_t val); +void ChannelUpdateInfo_set_cltv_expiry_delta(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint16_t val); /** * The minimum value, which must be relayed to the next hop via the channel */ -uint64_t DirectionalChannelInfo_get_htlc_minimum_msat(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint64_t ChannelUpdateInfo_get_htlc_minimum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The minimum value, which must be relayed to the next hop via the channel */ -void DirectionalChannelInfo_set_htlc_minimum_msat(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint64_t val); +void ChannelUpdateInfo_set_htlc_minimum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint64_t val); /** * The maximum value which may be relayed to the next hop via the channel. */ -struct LDKCOption_u64Z DirectionalChannelInfo_get_htlc_maximum_msat(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKCOption_u64Z ChannelUpdateInfo_get_htlc_maximum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The maximum value which may be relayed to the next hop via the channel. */ -void DirectionalChannelInfo_set_htlc_maximum_msat(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); +void ChannelUpdateInfo_set_htlc_maximum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); /** * Fees charged when the channel is used for routing */ -struct LDKRoutingFees DirectionalChannelInfo_get_fees(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKRoutingFees ChannelUpdateInfo_get_fees(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Fees charged when the channel is used for routing */ -void DirectionalChannelInfo_set_fees(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val); +void ChannelUpdateInfo_set_fees(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val); /** * Most recent update for the channel received from the network @@ -22681,7 +24005,7 @@ void DirectionalChannelInfo_set_fees(struct LDKDirectionalChannelInfo *NONNULL_P * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKChannelUpdate DirectionalChannelInfo_get_last_update_message(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdate ChannelUpdateInfo_get_last_update_message(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Most recent update for the channel received from the network @@ -22691,27 +24015,27 @@ struct LDKChannelUpdate DirectionalChannelInfo_get_last_update_message(const str * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void DirectionalChannelInfo_set_last_update_message(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdate val); +void ChannelUpdateInfo_set_last_update_message(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdate val); /** - * Constructs a new DirectionalChannelInfo given each field + * Constructs a new ChannelUpdateInfo given each field */ -MUST_USE_RES struct LDKDirectionalChannelInfo DirectionalChannelInfo_new(uint32_t last_update_arg, bool enabled_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, struct LDKCOption_u64Z htlc_maximum_msat_arg, struct LDKRoutingFees fees_arg, struct LDKChannelUpdate last_update_message_arg); +MUST_USE_RES struct LDKChannelUpdateInfo ChannelUpdateInfo_new(uint32_t last_update_arg, bool enabled_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, struct LDKCOption_u64Z htlc_maximum_msat_arg, struct LDKRoutingFees fees_arg, struct LDKChannelUpdate last_update_message_arg); /** - * Creates a copy of the DirectionalChannelInfo + * Creates a copy of the ChannelUpdateInfo */ -struct LDKDirectionalChannelInfo DirectionalChannelInfo_clone(const struct LDKDirectionalChannelInfo *NONNULL_PTR orig); +struct LDKChannelUpdateInfo ChannelUpdateInfo_clone(const struct LDKChannelUpdateInfo *NONNULL_PTR orig); /** - * Serialize the DirectionalChannelInfo object into a byte array which can be read by DirectionalChannelInfo_read + * Serialize the ChannelUpdateInfo object into a byte array which can be read by ChannelUpdateInfo_read */ -struct LDKCVec_u8Z DirectionalChannelInfo_write(const struct LDKDirectionalChannelInfo *NONNULL_PTR obj); +struct LDKCVec_u8Z ChannelUpdateInfo_write(const struct LDKChannelUpdateInfo *NONNULL_PTR obj); /** - * Read a DirectionalChannelInfo from a byte array, created by DirectionalChannelInfo_write + * Read a ChannelUpdateInfo from a byte array, created by ChannelUpdateInfo_write */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ DirectionalChannelInfo_read(struct LDKu8slice ser); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ ChannelUpdateInfo_read(struct LDKu8slice ser); /** * Frees any resources used by the ChannelInfo, if is_owned is set and inner is non-NULL. @@ -22743,14 +24067,14 @@ void ChannelInfo_set_node_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struc * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKDirectionalChannelInfo ChannelInfo_get_one_to_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdateInfo ChannelInfo_get_one_to_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr); /** * Details about the first direction of a channel * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void ChannelInfo_set_one_to_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKDirectionalChannelInfo val); +void ChannelInfo_set_one_to_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val); /** * Source node of the second direction of a channel @@ -22767,14 +24091,14 @@ void ChannelInfo_set_node_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struc * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKDirectionalChannelInfo ChannelInfo_get_two_to_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdateInfo ChannelInfo_get_two_to_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr); /** * Details about the second direction of a channel * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void ChannelInfo_set_two_to_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKDirectionalChannelInfo val); +void ChannelInfo_set_two_to_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val); /** * The channel capacity as seen on-chain, if chain lookup is available. @@ -22821,6 +24145,77 @@ struct LDKCVec_u8Z ChannelInfo_write(const struct LDKChannelInfo *NONNULL_PTR ob */ struct LDKCResult_ChannelInfoDecodeErrorZ ChannelInfo_read(struct LDKu8slice ser); +/** + * Frees any resources used by the DirectedChannelInfo, if is_owned is set and inner is non-NULL. + */ +void DirectedChannelInfo_free(struct LDKDirectedChannelInfo this_obj); + +/** + * Creates a copy of the DirectedChannelInfo + */ +struct LDKDirectedChannelInfo DirectedChannelInfo_clone(const struct LDKDirectedChannelInfo *NONNULL_PTR orig); + +/** + * Returns information for the channel. + */ +MUST_USE_RES struct LDKChannelInfo DirectedChannelInfo_channel(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Returns information for the direction. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +MUST_USE_RES struct LDKChannelUpdateInfo DirectedChannelInfo_direction(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Returns the [`EffectiveCapacity`] of the channel in the direction. + * + * This is either the total capacity from the funding transaction, if known, or the + * `htlc_maximum_msat` for the direction as advertised by the gossip network, if known, + * whichever is smaller. + */ +MUST_USE_RES struct LDKEffectiveCapacity DirectedChannelInfo_effective_capacity(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Frees any resources used by the EffectiveCapacity + */ +void EffectiveCapacity_free(struct LDKEffectiveCapacity this_ptr); + +/** + * Creates a copy of the EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_clone(const struct LDKEffectiveCapacity *NONNULL_PTR orig); + +/** + * Utility method to constructs a new ExactLiquidity-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_exact_liquidity(uint64_t liquidity_msat); + +/** + * Utility method to constructs a new MaximumHTLC-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_maximum_htlc(uint64_t amount_msat); + +/** + * Utility method to constructs a new Total-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_total(uint64_t capacity_msat); + +/** + * Utility method to constructs a new Infinite-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_infinite(void); + +/** + * Utility method to constructs a new Unknown-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_unknown(void); + +/** + * Returns the effective capacity denominated in millisatoshi. + */ +MUST_USE_RES uint64_t EffectiveCapacity_as_msat(const struct LDKEffectiveCapacity *NONNULL_PTR this_arg); + /** * Frees any resources used by the RoutingFees, if is_owned is set and inner is non-NULL. */ @@ -23115,6 +24510,23 @@ void NetworkGraph_close_channel_from_update(const struct LDKNetworkGraph *NONNUL */ void NetworkGraph_fail_node(const struct LDKNetworkGraph *NONNULL_PTR this_arg, struct LDKPublicKey _node_id, bool is_permanent); +/** + * Removes information about channels that we haven't heard any updates about in some time. + * This can be used regularly to prune the network graph of channels that likely no longer + * exist. + * + * While there is no formal requirement that nodes regularly re-broadcast their channel + * updates every two weeks, the non-normative section of BOLT 7 currently suggests that + * pruning occur for updates which are at least two weeks old, which we implement here. + * + * Note that for users of the `lightning-background-processor` crate this method may be + * automatically called regularly for you. + * + * This method is only available with the `std` feature. See + * [`NetworkGraph::remove_stale_channels_with_time`] for `no-std` use. + */ +void NetworkGraph_remove_stale_channels(const struct LDKNetworkGraph *NONNULL_PTR this_arg); + /** * Removes information about channels that we haven't heard any updates about in some time. * This can be used regularly to prune the network graph of channels that likely no longer @@ -23292,7 +24704,7 @@ struct LDKCVec_CVec_RouteHopZZ Route_get_paths(const struct LDKRoute *NONNULL_PT void Route_set_paths(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKCVec_CVec_RouteHopZZ val); /** - * The `payee` parameter passed to [`find_route`]. + * The `payment_params` parameter passed to [`find_route`]. * This is used by `ChannelManager` to track information which may be required for retries, * provided back to you via [`Event::PaymentPathFailed`]. * @@ -23300,10 +24712,10 @@ void Route_set_paths(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKCVec_CVec_ * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKPayee Route_get_payee(const struct LDKRoute *NONNULL_PTR this_ptr); +struct LDKPaymentParameters Route_get_payment_params(const struct LDKRoute *NONNULL_PTR this_ptr); /** - * The `payee` parameter passed to [`find_route`]. + * The `payment_params` parameter passed to [`find_route`]. * This is used by `ChannelManager` to track information which may be required for retries, * provided back to you via [`Event::PaymentPathFailed`]. * @@ -23311,12 +24723,12 @@ struct LDKPayee Route_get_payee(const struct LDKRoute *NONNULL_PTR this_ptr); * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void Route_set_payee(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKPayee val); +void Route_set_payment_params(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKPaymentParameters val); /** * Constructs a new Route given each field */ -MUST_USE_RES struct LDKRoute Route_new(struct LDKCVec_CVec_RouteHopZZ paths_arg, struct LDKPayee payee_arg); +MUST_USE_RES struct LDKRoute Route_new(struct LDKCVec_CVec_RouteHopZZ paths_arg, struct LDKPaymentParameters payment_params_arg); /** * Creates a copy of the Route @@ -23364,14 +24776,14 @@ struct LDKCResult_RouteDecodeErrorZ Route_read(struct LDKu8slice ser); void RouteParameters_free(struct LDKRouteParameters this_obj); /** - * The recipient of the failed payment path. + * The parameters of the failed payment path. */ -struct LDKPayee RouteParameters_get_payee(const struct LDKRouteParameters *NONNULL_PTR this_ptr); +struct LDKPaymentParameters RouteParameters_get_payment_params(const struct LDKRouteParameters *NONNULL_PTR this_ptr); /** - * The recipient of the failed payment path. + * The parameters of the failed payment path. */ -void RouteParameters_set_payee(struct LDKRouteParameters *NONNULL_PTR this_ptr, struct LDKPayee val); +void RouteParameters_set_payment_params(struct LDKRouteParameters *NONNULL_PTR this_ptr, struct LDKPaymentParameters val); /** * The amount in msats sent on the failed payment path. @@ -23396,7 +24808,7 @@ void RouteParameters_set_final_cltv_expiry_delta(struct LDKRouteParameters *NONN /** * Constructs a new RouteParameters given each field */ -MUST_USE_RES struct LDKRouteParameters RouteParameters_new(struct LDKPayee payee_arg, uint64_t final_value_msat_arg, uint32_t final_cltv_expiry_delta_arg); +MUST_USE_RES struct LDKRouteParameters RouteParameters_new(struct LDKPaymentParameters payment_params_arg, uint64_t final_value_msat_arg, uint32_t final_cltv_expiry_delta_arg); /** * Creates a copy of the RouteParameters @@ -23414,19 +24826,19 @@ struct LDKCVec_u8Z RouteParameters_write(const struct LDKRouteParameters *NONNUL struct LDKCResult_RouteParametersDecodeErrorZ RouteParameters_read(struct LDKu8slice ser); /** - * Frees any resources used by the Payee, if is_owned is set and inner is non-NULL. + * Frees any resources used by the PaymentParameters, if is_owned is set and inner is non-NULL. */ -void Payee_free(struct LDKPayee this_obj); +void PaymentParameters_free(struct LDKPaymentParameters this_obj); /** * The node id of the payee. */ -struct LDKPublicKey Payee_get_pubkey(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKPublicKey PaymentParameters_get_payee_pubkey(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * The node id of the payee. */ -void Payee_set_pubkey(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKPublicKey val); +void PaymentParameters_set_payee_pubkey(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKPublicKey val); /** * Features supported by the payee. @@ -23438,7 +24850,7 @@ void Payee_set_pubkey(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKPublicKey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKInvoiceFeatures Payee_get_features(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKInvoiceFeatures PaymentParameters_get_features(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Features supported by the payee. @@ -23450,69 +24862,79 @@ struct LDKInvoiceFeatures Payee_get_features(const struct LDKPayee *NONNULL_PTR * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void Payee_set_features(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKInvoiceFeatures val); +void PaymentParameters_set_features(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKInvoiceFeatures val); /** * Hints for routing to the payee, containing channels connecting the payee to public nodes. */ -struct LDKCVec_RouteHintZ Payee_get_route_hints(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKCVec_RouteHintZ PaymentParameters_get_route_hints(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Hints for routing to the payee, containing channels connecting the payee to public nodes. */ -void Payee_set_route_hints(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintZ val); +void PaymentParameters_set_route_hints(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintZ val); /** * Expiration of a payment to the payee, in seconds relative to the UNIX epoch. */ -struct LDKCOption_u64Z Payee_get_expiry_time(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKCOption_u64Z PaymentParameters_get_expiry_time(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Expiration of a payment to the payee, in seconds relative to the UNIX epoch. */ -void Payee_set_expiry_time(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); +void PaymentParameters_set_expiry_time(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); + +/** + * The maximum total CLTV delta we accept for the route. + */ +uint32_t PaymentParameters_get_max_total_cltv_expiry_delta(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** - * Constructs a new Payee given each field + * The maximum total CLTV delta we accept for the route. */ -MUST_USE_RES struct LDKPayee Payee_new(struct LDKPublicKey pubkey_arg, struct LDKInvoiceFeatures features_arg, struct LDKCVec_RouteHintZ route_hints_arg, struct LDKCOption_u64Z expiry_time_arg); +void PaymentParameters_set_max_total_cltv_expiry_delta(struct LDKPaymentParameters *NONNULL_PTR this_ptr, uint32_t val); /** - * Creates a copy of the Payee + * Constructs a new PaymentParameters given each field */ -struct LDKPayee Payee_clone(const struct LDKPayee *NONNULL_PTR orig); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_new(struct LDKPublicKey payee_pubkey_arg, struct LDKInvoiceFeatures features_arg, struct LDKCVec_RouteHintZ route_hints_arg, struct LDKCOption_u64Z expiry_time_arg, uint32_t max_total_cltv_expiry_delta_arg); /** - * Checks if two Payees contain equal inner contents. + * Creates a copy of the PaymentParameters */ -uint64_t Payee_hash(const struct LDKPayee *NONNULL_PTR o); +struct LDKPaymentParameters PaymentParameters_clone(const struct LDKPaymentParameters *NONNULL_PTR orig); /** - * Checks if two Payees contain equal inner contents. + * Checks if two PaymentParameterss contain equal inner contents. + */ +uint64_t PaymentParameters_hash(const struct LDKPaymentParameters *NONNULL_PTR o); + +/** + * Checks if two PaymentParameterss contain equal inner contents. * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ -bool Payee_eq(const struct LDKPayee *NONNULL_PTR a, const struct LDKPayee *NONNULL_PTR b); +bool PaymentParameters_eq(const struct LDKPaymentParameters *NONNULL_PTR a, const struct LDKPaymentParameters *NONNULL_PTR b); /** - * Serialize the Payee object into a byte array which can be read by Payee_read + * Serialize the PaymentParameters object into a byte array which can be read by PaymentParameters_read */ -struct LDKCVec_u8Z Payee_write(const struct LDKPayee *NONNULL_PTR obj); +struct LDKCVec_u8Z PaymentParameters_write(const struct LDKPaymentParameters *NONNULL_PTR obj); /** - * Read a Payee from a byte array, created by Payee_write + * Read a PaymentParameters from a byte array, created by PaymentParameters_write */ -struct LDKCResult_PayeeDecodeErrorZ Payee_read(struct LDKu8slice ser); +struct LDKCResult_PaymentParametersDecodeErrorZ PaymentParameters_read(struct LDKu8slice ser); /** * Creates a payee with the node id of the given `pubkey`. */ -MUST_USE_RES struct LDKPayee Payee_from_node_id(struct LDKPublicKey pubkey); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_from_node_id(struct LDKPublicKey payee_pubkey); /** * Creates a payee with the node id of the given `pubkey` to use for keysend payments. */ -MUST_USE_RES struct LDKPayee Payee_for_keysend(struct LDKPublicKey pubkey); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_for_keysend(struct LDKPublicKey payee_pubkey); /** * Frees any resources used by the RouteHint, if is_owned is set and inner is non-NULL. @@ -23684,7 +25106,7 @@ struct LDKCResult_RouteHintHopDecodeErrorZ RouteHintHop_read(struct LDKu8slice s * * Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKCResult_RouteLightningErrorZ find_route(struct LDKPublicKey our_node_pubkey, const struct LDKRouteParameters *NONNULL_PTR params, const struct LDKNetworkGraph *NONNULL_PTR network, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKLogger logger, const struct LDKScore *NONNULL_PTR scorer); +struct LDKCResult_RouteLightningErrorZ find_route(struct LDKPublicKey our_node_pubkey, const struct LDKRouteParameters *NONNULL_PTR route_params, const struct LDKNetworkGraph *NONNULL_PTR network, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKLogger logger, const struct LDKScore *NONNULL_PTR scorer); /** * Calls the free function if one is set @@ -23706,6 +25128,37 @@ void MultiThreadedLockableScore_free(struct LDKMultiThreadedLockableScore this_o */ MUST_USE_RES struct LDKMultiThreadedLockableScore MultiThreadedLockableScore_new(struct LDKScore score); +/** + * Frees any resources used by the FixedPenaltyScorer, if is_owned is set and inner is non-NULL. + */ +void FixedPenaltyScorer_free(struct LDKFixedPenaltyScorer this_obj); + +/** + * Creates a copy of the FixedPenaltyScorer + */ +struct LDKFixedPenaltyScorer FixedPenaltyScorer_clone(const struct LDKFixedPenaltyScorer *NONNULL_PTR orig); + +/** + * Serialize the FixedPenaltyScorer object into a byte array which can be read by FixedPenaltyScorer_read + */ +struct LDKCVec_u8Z FixedPenaltyScorer_write(const struct LDKFixedPenaltyScorer *NONNULL_PTR obj); + +/** + * Read a FixedPenaltyScorer from a byte array, created by FixedPenaltyScorer_write + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ FixedPenaltyScorer_read(struct LDKu8slice ser); + +/** + * Creates a new scorer using `penalty_msat`. + */ +MUST_USE_RES struct LDKFixedPenaltyScorer FixedPenaltyScorer_with_penalty(uint64_t penalty_msat); + +/** + * Constructs a new Score which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned Score must be freed before this_arg is + */ +struct LDKScore FixedPenaltyScorer_as_Score(const struct LDKFixedPenaltyScorer *NONNULL_PTR this_arg); + /** * Frees any resources used by the Scorer, if is_owned is set and inner is non-NULL. */ @@ -23802,6 +25255,8 @@ void ScoringParameters_set_overuse_penalty_msat_per_1024th(struct LDKScoringPara * * Successfully routing through a channel will immediately cut the penalty in half as well. * + * Default value: 1 hour + * * # Note * * When built with the `no-std` feature, time will never elapse. Therefore, this penalty will @@ -23817,6 +25272,8 @@ uint64_t ScoringParameters_get_failure_penalty_half_life(const struct LDKScoring * * Successfully routing through a channel will immediately cut the penalty in half as well. * + * Default value: 1 hour + * * # Note * * When built with the `no-std` feature, time will never elapse. Therefore, this penalty will @@ -23831,6 +25288,11 @@ void ScoringParameters_set_failure_penalty_half_life(struct LDKScoringParameters */ MUST_USE_RES struct LDKScoringParameters ScoringParameters_new(uint64_t base_penalty_msat_arg, uint64_t failure_penalty_msat_arg, uint16_t overuse_penalty_start_1024th_arg, uint64_t overuse_penalty_msat_per_1024th_arg, uint64_t failure_penalty_half_life_arg); +/** + * Creates a copy of the ScoringParameters + */ +struct LDKScoringParameters ScoringParameters_clone(const struct LDKScoringParameters *NONNULL_PTR orig); + /** * Serialize the ScoringParameters object into a byte array which can be read by ScoringParameters_read */ @@ -23872,6 +25334,104 @@ struct LDKCVec_u8Z Scorer_write(const struct LDKScorer *NONNULL_PTR obj); */ struct LDKCResult_ScorerDecodeErrorZ Scorer_read(struct LDKu8slice ser); +/** + * Frees any resources used by the ProbabilisticScoringParameters, if is_owned is set and inner is non-NULL. + */ +void ProbabilisticScoringParameters_free(struct LDKProbabilisticScoringParameters this_obj); + +/** + * A multiplier used to determine the amount in msats willing to be paid to avoid routing + * through a channel, as per multiplying by the negative `log10` of the channel's success + * probability for a payment. + * + * The success probability is determined by the effective channel capacity, the payment amount, + * and knowledge learned from prior successful and unsuccessful payments. The lower bound of + * the success probability is 0.01, effectively limiting the penalty to the range + * `0..=2*liquidity_penalty_multiplier_msat`. The knowledge learned is decayed over time based + * on [`liquidity_offset_half_life`]. + * + * Default value: 10,000 msat + * + * [`liquidity_offset_half_life`]: Self::liquidity_offset_half_life + */ +uint64_t ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr); + +/** + * A multiplier used to determine the amount in msats willing to be paid to avoid routing + * through a channel, as per multiplying by the negative `log10` of the channel's success + * probability for a payment. + * + * The success probability is determined by the effective channel capacity, the payment amount, + * and knowledge learned from prior successful and unsuccessful payments. The lower bound of + * the success probability is 0.01, effectively limiting the penalty to the range + * `0..=2*liquidity_penalty_multiplier_msat`. The knowledge learned is decayed over time based + * on [`liquidity_offset_half_life`]. + * + * Default value: 10,000 msat + * + * [`liquidity_offset_half_life`]: Self::liquidity_offset_half_life + */ +void ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val); + +/** + * The time required to elapse before any knowledge learned about channel liquidity balances is + * cut in half. + * + * The bounds are defined in terms of offsets and are initially zero. Increasing the offsets + * gives tighter bounds on the channel liquidity balance. Thus, halving the offsets decreases + * the certainty of the channel liquidity balance. + * + * Default value: 1 hour + * + * # Note + * + * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * liquidity knowledge will never decay except when the bounds cross. + */ +uint64_t ProbabilisticScoringParameters_get_liquidity_offset_half_life(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr); + +/** + * The time required to elapse before any knowledge learned about channel liquidity balances is + * cut in half. + * + * The bounds are defined in terms of offsets and are initially zero. Increasing the offsets + * gives tighter bounds on the channel liquidity balance. Thus, halving the offsets decreases + * the certainty of the channel liquidity balance. + * + * Default value: 1 hour + * + * # Note + * + * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * liquidity knowledge will never decay except when the bounds cross. + */ +void ProbabilisticScoringParameters_set_liquidity_offset_half_life(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val); + +/** + * Constructs a new ProbabilisticScoringParameters given each field + */ +MUST_USE_RES struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_new(uint64_t liquidity_penalty_multiplier_msat_arg, uint64_t liquidity_offset_half_life_arg); + +/** + * Creates a copy of the ProbabilisticScoringParameters + */ +struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_clone(const struct LDKProbabilisticScoringParameters *NONNULL_PTR orig); + +/** + * Serialize the ProbabilisticScoringParameters object into a byte array which can be read by ProbabilisticScoringParameters_read + */ +struct LDKCVec_u8Z ProbabilisticScoringParameters_write(const struct LDKProbabilisticScoringParameters *NONNULL_PTR obj); + +/** + * Read a ProbabilisticScoringParameters from a byte array, created by ProbabilisticScoringParameters_write + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ ProbabilisticScoringParameters_read(struct LDKu8slice ser); + +/** + * Creates a "default" ProbabilisticScoringParameters. See struct and individual field documentaiton for details on which values are used. + */ +MUST_USE_RES struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_default(void); + /** * Frees any resources used by the FilesystemPersister, if is_owned is set and inner is non-NULL. */ @@ -23979,23 +25539,6 @@ MUST_USE_RES struct LDKCResult_NoneErrorZ BackgroundProcessor_join(struct LDKBac */ MUST_USE_RES struct LDKCResult_NoneErrorZ BackgroundProcessor_stop(struct LDKBackgroundProcessor this_arg); -/** - * **Call this function on startup to ensure that all assumptions about the platform are valid.** - * - * Unfortunately we have to make assumptions about the upper bounds of the `SystemTime` type on - * your platform which we can't fully verify at compile time and which isn't part of it's contract. - * To our best knowledge our assumptions hold for all platforms officially supported by rust, but - * since this check is fast we recommend to do it anyway. - * - * If this function fails this is considered a bug. Please open an issue describing your - * platform and stating your current system time. - * - * # Panics - * If the check fails this function panics. By calling this function on startup you ensure that - * this wont happen at an arbitrary later point in time. - */ -void check_platform(void); - /** * Frees any resources used by the Invoice, if is_owned is set and inner is non-NULL. */ @@ -24476,26 +26019,40 @@ MUST_USE_RES struct LDKCOption_u64Z RawInvoice_amount_pico_btc(const struct LDKR MUST_USE_RES enum LDKCurrency RawInvoice_currency(const struct LDKRawInvoice *NONNULL_PTR this_arg); /** - * Create a new `PositiveTimestamp` from a unix timestamp in the Range - * `0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a - * `CreationError::TimestampOutOfBounds`. + * Creates a `PositiveTimestamp` from a Unix timestamp in the range `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. */ MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_unix_timestamp(uint64_t unix_seconds); /** - * Create a new `PositiveTimestamp` from a `SystemTime` with a corresponding unix timestamp in - * the Range `0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a - * `CreationError::TimestampOutOfBounds`. + * Creates a `PositiveTimestamp` from a [`SystemTime`] with a corresponding Unix timestamp in + * the range `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. */ MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_system_time(uint64_t time); /** - * Returns the UNIX timestamp representing the stored time + * Creates a `PositiveTimestamp` from a [`Duration`] since the Unix epoch in the range + * `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. + */ +MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_duration_since_epoch(uint64_t duration); + +/** + * Returns the Unix timestamp representing the stored time */ MUST_USE_RES uint64_t PositiveTimestamp_as_unix_timestamp(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); /** - * Returns a reference to the internal `SystemTime` time representation + * Returns the duration of the stored time since the Unix epoch + */ +MUST_USE_RES uint64_t PositiveTimestamp_as_duration_since_epoch(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); + +/** + * Returns the [`SystemTime`] representing the stored time */ MUST_USE_RES uint64_t PositiveTimestamp_as_time(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); @@ -24534,10 +26091,15 @@ MUST_USE_RES struct LDKCResult_NoneSemanticErrorZ Invoice_check_signature(const MUST_USE_RES struct LDKCResult_InvoiceSemanticErrorZ Invoice_from_signed(struct LDKSignedRawInvoice signed_invoice); /** - * Returns the `Invoice`'s timestamp (should equal it's creation time) + * Returns the `Invoice`'s timestamp (should equal its creation time) */ MUST_USE_RES uint64_t Invoice_timestamp(const struct LDKInvoice *NONNULL_PTR this_arg); +/** + * Returns the `Invoice`'s timestamp as a duration since the Unix epoch + */ +MUST_USE_RES uint64_t Invoice_duration_since_epoch(const struct LDKInvoice *NONNULL_PTR this_arg); + /** * Returns the hash to which we will receive the preimage on completion of the payment */ @@ -24577,6 +26139,12 @@ MUST_USE_RES uint64_t Invoice_expiry_time(const struct LDKInvoice *NONNULL_PTR t */ MUST_USE_RES bool Invoice_is_expired(const struct LDKInvoice *NONNULL_PTR this_arg); +/** + * Returns whether the expiry time would pass at the given point in time. + * `at_time` is the timestamp as a duration since the Unix epoch. + */ +MUST_USE_RES bool Invoice_would_expire(const struct LDKInvoice *NONNULL_PTR this_arg, uint64_t at_time); + /** * Returns the invoice's `min_final_cltv_expiry` time, if present, otherwise * [`DEFAULT_MIN_FINAL_CLTV_EXPIRY`]. @@ -24617,18 +26185,14 @@ MUST_USE_RES struct LDKCResult_DescriptionCreationErrorZ Description_new(struct MUST_USE_RES struct LDKStr Description_into_inner(struct LDKDescription this_arg); /** - * Construct an `ExpiryTime` from seconds. If there exists a `PositiveTimestamp` which would - * overflow on adding the `EpiryTime` to it then this function will return a - * `CreationError::ExpiryTimeOutOfBounds`. + * Construct an `ExpiryTime` from seconds. */ -MUST_USE_RES struct LDKCResult_ExpiryTimeCreationErrorZ ExpiryTime_from_seconds(uint64_t seconds); +MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_seconds(uint64_t seconds); /** - * Construct an `ExpiryTime` from a `Duration`. If there exists a `PositiveTimestamp` which - * would overflow on adding the `EpiryTime` to it then this function will return a - * `CreationError::ExpiryTimeOutOfBounds`. + * Construct an `ExpiryTime` from a `Duration`. */ -MUST_USE_RES struct LDKCResult_ExpiryTimeCreationErrorZ ExpiryTime_from_duration(uint64_t duration); +MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_duration(uint64_t duration); /** * Returns the expiry time in seconds @@ -24671,14 +26235,14 @@ enum LDKCreationError CreationError_route_too_long(void); enum LDKCreationError CreationError_timestamp_out_of_bounds(void); /** - * Utility method to constructs a new ExpiryTimeOutOfBounds-variant CreationError + * Utility method to constructs a new InvalidAmount-variant CreationError */ -enum LDKCreationError CreationError_expiry_time_out_of_bounds(void); +enum LDKCreationError CreationError_invalid_amount(void); /** - * Utility method to constructs a new InvalidAmount-variant CreationError + * Utility method to constructs a new MissingRouteHints-variant CreationError */ -enum LDKCreationError CreationError_invalid_amount(void); +enum LDKCreationError CreationError_missing_route_hints(void); /** * Checks if two CreationErrors contain equal inner contents. @@ -24909,6 +26473,34 @@ void InvoicePayer_remove_cached_payment(const struct LDKInvoicePayer *NONNULL_PT */ struct LDKEventHandler InvoicePayer_as_EventHandler(const struct LDKInvoicePayer *NONNULL_PTR this_arg); +/** + * Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\" + * See [`PhantomKeysManager`] for more information on phantom node payments. + * + * `phantom_route_hints` parameter: + * * Contains channel info for all nodes participating in the phantom invoice + * * Entries are retrieved from a call to [`ChannelManager::get_phantom_route_hints`] on each + * participating node + * * It is fine to cache `phantom_route_hints` and reuse it across invoices, as long as the data is + * updated when a channel becomes disabled or closes + * * Note that if too many channels are included in [`PhantomRouteHints::channels`], the invoice + * may be too long for QR code scanning. To fix this, `PhantomRouteHints::channels` may be pared + * down + * + * `payment_hash` and `payment_secret` come from [`ChannelManager::create_inbound_payment`] or + * [`ChannelManager::create_inbound_payment_for_hash`]. These values can be retrieved from any + * participating node. + * + * Note that the provided `keys_manager`'s `KeysInterface` implementation must support phantom + * invoices in its `sign_invoice` implementation ([`PhantomKeysManager`] satisfies this + * requirement). + * + * [`PhantomKeysManager`]: lightning::chain::keysinterface::PhantomKeysManager + * [`ChannelManager::get_phantom_route_hints`]: lightning::ln::channelmanager::ChannelManager::get_phantom_route_hints + * [`PhantomRouteHints::channels`]: lightning::ln::channelmanager::PhantomRouteHints::channels + */ +struct LDKCResult_InvoiceSignOrCreationErrorZ create_phantom_invoice(struct LDKCOption_u64Z amt_msat, struct LDKStr description, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret, struct LDKCVec_PhantomRouteHintsZ phantom_route_hints, struct LDKKeysInterface keys_manager, enum LDKCurrency network); + /** * Utility to construct an invoice. Generally, unless you want to do something like a custom * cltv_expiry, this is what you should be using to create an invoice. The reason being, this @@ -24918,6 +26510,13 @@ struct LDKEventHandler InvoicePayer_as_EventHandler(const struct LDKInvoicePayer */ struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description); +/** + * See [`create_invoice_from_channelmanager`] + * This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not + * available and the current time is supplied by the caller. + */ +struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint64_t duration_since_epoch); + /** * Frees any resources used by the DefaultRouter, if is_owned is set and inner is non-NULL. */ diff --git a/xcode/LDKFramework_Mac/LDKFramework.xcodeproj/project.pbxproj b/xcode/LDKFramework_Mac/LDKFramework.xcodeproj/project.pbxproj index c52df3f0..b2c1c2d6 100644 --- a/xcode/LDKFramework_Mac/LDKFramework.xcodeproj/project.pbxproj +++ b/xcode/LDKFramework_Mac/LDKFramework.xcodeproj/project.pbxproj @@ -12,6 +12,337 @@ 07344C65264277ED001CD90E /* LDKFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = 07344C57264277ED001CD90E /* LDKFramework.h */; settings = {ATTRIBUTES = (Public, ); }; }; 07344C8726427F95001CD90E /* LDKExampleClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07344C8626427F95001CD90E /* LDKExampleClass.swift */; }; 07344C8826427F95001CD90E /* LDKExampleClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07344C8626427F95001CD90E /* LDKExampleClass.swift */; }; + 075178F027D600E50071110C /* PaymentSendFailure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A127D600E50071110C /* PaymentSendFailure.swift */; }; + 075178F127D600E50071110C /* Option_u64Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A227D600E50071110C /* Option_u64Z.swift */; }; + 075178F227D600E50071110C /* Fallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A327D600E50071110C /* Fallback.swift */; }; + 075178F327D600E50071110C /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A427D600E50071110C /* Option_C2Tuple_usizeTransactionZZ.swift */; }; + 075178F427D600E50071110C /* APIError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A527D600E50071110C /* APIError.swift */; }; + 075178F527D600E50071110C /* Option_TypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A627D600E50071110C /* Option_TypeZ.swift */; }; + 075178F627D600E50071110C /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A727D600E50071110C /* Event.swift */; }; + 075178F727D600E50071110C /* Option_AccessZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A827D600E50071110C /* Option_AccessZ.swift */; }; + 075178F827D600E50071110C /* PaymentPurpose.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177A927D600E50071110C /* PaymentPurpose.swift */; }; + 075178F927D600E50071110C /* PaymentError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AA27D600E50071110C /* PaymentError.swift */; }; + 075178FA27D600E50071110C /* Option_ClosureReasonZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AB27D600E50071110C /* Option_ClosureReasonZ.swift */; }; + 075178FB27D600E50071110C /* Option_FilterZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AC27D600E50071110C /* Option_FilterZ.swift */; }; + 075178FC27D600E50071110C /* EffectiveCapacity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AD27D600E50071110C /* EffectiveCapacity.swift */; }; + 075178FD27D600E50071110C /* Balance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AE27D600E50071110C /* Balance.swift */; }; + 075178FE27D600E50071110C /* ErrorAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177AF27D600E50071110C /* ErrorAction.swift */; }; + 075178FF27D600E50071110C /* Option_MonitorEventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B027D600E50071110C /* Option_MonitorEventZ.swift */; }; + 0751790027D600E50071110C /* Option_NetworkUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B127D600E50071110C /* Option_NetworkUpdateZ.swift */; }; + 0751790127D600E50071110C /* Option_u32Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B227D600E50071110C /* Option_u32Z.swift */; }; + 0751790227D600E50071110C /* Option_u16Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B327D600E50071110C /* Option_u16Z.swift */; }; + 0751790327D600E50071110C /* NetAddress.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B427D600E50071110C /* NetAddress.swift */; }; + 0751790427D600E50071110C /* SignOrCreationError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B527D600E50071110C /* SignOrCreationError.swift */; }; + 0751790527D600E50071110C /* NetworkUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B627D600E50071110C /* NetworkUpdate.swift */; }; + 0751790627D600E50071110C /* Option_EventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B727D600E50071110C /* Option_EventZ.swift */; }; + 0751790727D600E50071110C /* ClosureReason.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B827D600E50071110C /* ClosureReason.swift */; }; + 0751790827D600E50071110C /* MessageSendEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177B927D600E50071110C /* MessageSendEvent.swift */; }; + 0751790927D600E50071110C /* MonitorEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177BA27D600E50071110C /* MonitorEvent.swift */; }; + 0751790A27D600E50071110C /* SpendableOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177BB27D600E50071110C /* SpendableOutputDescriptor.swift */; }; + 0751790B27D600E50071110C /* Option_CVec_NetAddressZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177BC27D600E50071110C /* Option_CVec_NetAddressZZ.swift */; }; + 0751790C27D600E50071110C /* BaseSign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177BE27D600E50071110C /* BaseSign.swift */; }; + 0751790D27D600E50071110C /* Persist.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177BF27D600E50071110C /* Persist.swift */; }; + 0751790E27D600E50071110C /* Score.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C027D600E50071110C /* Score.swift */; }; + 0751790F27D600E50071110C /* KeysInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C127D600E50071110C /* KeysInterface.swift */; }; + 0751791027D600E50071110C /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C227D600E50071110C /* Logger.swift */; }; + 0751791127D600E50071110C /* Payer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C327D600E50071110C /* Payer.swift */; }; + 0751791227D600E50071110C /* SocketDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C427D600E50071110C /* SocketDescriptor.swift */; }; + 0751791327D600E50071110C /* FeeEstimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C527D600E50071110C /* FeeEstimator.swift */; }; + 0751791427D600E50071110C /* MessageSendEventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C627D600E50071110C /* MessageSendEventsProvider.swift */; }; + 0751791527D600E50071110C /* BroadcasterInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C727D600E50071110C /* BroadcasterInterface.swift */; }; + 0751791627D600E50071110C /* LockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C827D600E50071110C /* LockableScore.swift */; }; + 0751791727D600E50071110C /* Confirm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177C927D600E50071110C /* Confirm.swift */; }; + 0751791827D600E50071110C /* EventHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CA27D600E50071110C /* EventHandler.swift */; }; + 0751791927D600E50071110C /* RoutingMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CB27D600E50071110C /* RoutingMessageHandler.swift */; }; + 0751791A27D600E50071110C /* ChannelManagerPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CC27D600E50071110C /* ChannelManagerPersister.swift */; }; + 0751791B27D600E50071110C /* Listen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CD27D600E50071110C /* Listen.swift */; }; + 0751791C27D600E50071110C /* ChannelMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CE27D600E50071110C /* ChannelMessageHandler.swift */; }; + 0751791D27D600E50071110C /* Router.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177CF27D600E50071110C /* Router.swift */; }; + 0751791E27D600E50071110C /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D027D600E50071110C /* Filter.swift */; }; + 0751791F27D600E50071110C /* CustomMessageReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D127D600E50071110C /* CustomMessageReader.swift */; }; + 0751792027D600E50071110C /* BindingsType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D227D600E50071110C /* BindingsType.swift */; }; + 0751792127D600E50071110C /* Access.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D327D600E50071110C /* Access.swift */; }; + 0751792227D600E50071110C /* EventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D427D600E50071110C /* EventsProvider.swift */; }; + 0751792327D600E50071110C /* Watch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D527D600E50071110C /* Watch.swift */; }; + 0751792427D600E50071110C /* Sign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D627D600E50071110C /* Sign.swift */; }; + 0751792527D600E50071110C /* CustomMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D727D600E50071110C /* CustomMessageHandler.swift */; }; + 0751792627D600E50071110C /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177D927D600E50071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */; }; + 0751792727D600E50071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DA27D600E50071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */; }; + 0751792827D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DB27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */; }; + 0751792927D600E50071110C /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DC27D600E50071110C /* C2Tuple_BlockHashChannelManagerZ.swift */; }; + 0751792A27D600E50071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DD27D600E50071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */; }; + 0751792B27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DE27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */; }; + 0751792C27D600E50071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177DF27D600E50071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */; }; + 0751792D27D600E50071110C /* C2Tuple_u32TxOutZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E027D600E50071110C /* C2Tuple_u32TxOutZ.swift */; }; + 0751792E27D600E50071110C /* C2Tuple_OutPointScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E127D600E50071110C /* C2Tuple_OutPointScriptZ.swift */; }; + 0751792F27D600E50071110C /* C2Tuple_SignatureSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E227D600E50071110C /* C2Tuple_SignatureSignatureZ.swift */; }; + 0751793027D600E50071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E327D600E50071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */; }; + 0751793127D600E50071110C /* C2Tuple_PublicKeyTypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E427D600E50071110C /* C2Tuple_PublicKeyTypeZ.swift */; }; + 0751793227D600E50071110C /* C2Tuple_u32ScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E527D600E50071110C /* C2Tuple_u32ScriptZ.swift */; }; + 0751793327D600E50071110C /* C2Tuple_usizeTransactionZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E627D600E50071110C /* C2Tuple_usizeTransactionZ.swift */; }; + 0751793427D600E50071110C /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E727D600E50071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */; }; + 0751793527D600E50071110C /* Bindings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177E827D600E50071110C /* Bindings.swift */; }; + 0751793627D600E50071110C /* Result_ChannelConfigDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177EA27D600E50071110C /* Result_ChannelConfigDecodeErrorZ.swift */; }; + 0751793727D600E50071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177EB27D600E50071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */; }; + 0751793827D600E50071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177EC27D600E50071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */; }; + 0751793927D600E50071110C /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177ED27D600E50071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */; }; + 0751793A27D600E50071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177EE27D600E50071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */; }; + 0751793B27D600E50071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177EF27D600E50071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */; }; + 0751793C27D600E50071110C /* Result_ScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F027D600E50071110C /* Result_ScorerDecodeErrorZ.swift */; }; + 0751793D27D600E50071110C /* Result_FundingCreatedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F127D600E50071110C /* Result_FundingCreatedDecodeErrorZ.swift */; }; + 0751793E27D600E50071110C /* Result_TxCreationKeysErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F227D600E50071110C /* Result_TxCreationKeysErrorZ.swift */; }; + 0751793F27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F327D600E50071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */; }; + 0751794027D600E50071110C /* Result_LockedChannelMonitorNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F427D600E50071110C /* Result_LockedChannelMonitorNoneZ.swift */; }; + 0751794127D600E50071110C /* Result_PingDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F527D600E50071110C /* Result_PingDecodeErrorZ.swift */; }; + 0751794227D600E50071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F627D600E50071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */; }; + 0751794327D600E50071110C /* Result_NonePaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F727D600E50071110C /* Result_NonePaymentSendFailureZ.swift */; }; + 0751794427D600E50071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F827D600E50071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */; }; + 0751794527D600E50071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177F927D600E50071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */; }; + 0751794627D600E50071110C /* Result_RouteDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FA27D600E50071110C /* Result_RouteDecodeErrorZ.swift */; }; + 0751794727D600E50071110C /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FB27D600E50071110C /* Result_RevokeAndACKDecodeErrorZ.swift */; }; + 0751794827D600E50071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FC27D600E50071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */; }; + 0751794927D600E50071110C /* Result_OpenChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FD27D600E50071110C /* Result_OpenChannelDecodeErrorZ.swift */; }; + 0751794A27D600E50071110C /* Result_ChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FE27D600E50071110C /* Result_ChannelInfoDecodeErrorZ.swift */; }; + 0751794B27D600E50071110C /* Result_PongDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075177FF27D600E50071110C /* Result_PongDecodeErrorZ.swift */; }; + 0751794C27D600E50071110C /* Result__u832APIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780027D600E50071110C /* Result__u832APIErrorZ.swift */; }; + 0751794D27D600E50071110C /* Result_RouteHintHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780127D600E50071110C /* Result_RouteHintHopDecodeErrorZ.swift */; }; + 0751794E27D600E50071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780227D600E50071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */; }; + 0751794F27D600E50071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780327D600E50071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */; }; + 0751795027D600E50071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780427D600E50071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */; }; + 0751795127D600E50071110C /* Result_PaymentSecretAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780527D600E50071110C /* Result_PaymentSecretAPIErrorZ.swift */; }; + 0751795227D600E50071110C /* Result_RouteHintDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780627D600E50071110C /* Result_RouteHintDecodeErrorZ.swift */; }; + 0751795327D600E50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780727D600E50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */; }; + 0751795427D600E50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780827D600E50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */; }; + 0751795527D600E50071110C /* Result_ErrorMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780927D600E50071110C /* Result_ErrorMessageDecodeErrorZ.swift */; }; + 0751795627D600E50071110C /* Result_AcceptChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780A27D600E50071110C /* Result_AcceptChannelDecodeErrorZ.swift */; }; + 0751795727D600E50071110C /* Result_PaymentPreimageAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780B27D600E50071110C /* Result_PaymentPreimageAPIErrorZ.swift */; }; + 0751795827D600E50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780C27D600E50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */; }; + 0751795927D600E50071110C /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780D27D600E50071110C /* Result_NodeFeaturesDecodeErrorZ.swift */; }; + 0751795A27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */; }; + 0751795B27D600E50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751780F27D600E50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */; }; + 0751795C27D600E50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781027D600E50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */; }; + 0751795D27D600E50071110C /* Result_StringErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781127D600E50071110C /* Result_StringErrorZ.swift */; }; + 0751795E27D600E50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781227D600E50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */; }; + 0751795F27D600E50071110C /* Result_RouteHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781327D600E50071110C /* Result_RouteHopDecodeErrorZ.swift */; }; + 0751796027D600E50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781427D600E50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */; }; + 0751796127D600E50071110C /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781527D600E50071110C /* Result_CommitmentSignedDecodeErrorZ.swift */; }; + 0751796227D600E50071110C /* Result_NonePeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781627D600E50071110C /* Result_NonePeerHandleErrorZ.swift */; }; + 0751796327D600E50071110C /* Result_TxOutAccessErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781727D600E50071110C /* Result_TxOutAccessErrorZ.swift */; }; + 0751796427D600E50071110C /* Result_TrustedClosingTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781827D600E50071110C /* Result_TrustedClosingTransactionNoneZ.swift */; }; + 0751796527D600E50071110C /* Result_NoneLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781927D600E50071110C /* Result_NoneLightningErrorZ.swift */; }; + 0751796627D600E50071110C /* Result_NoneAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781A27D600E50071110C /* Result_NoneAPIErrorZ.swift */; }; + 0751796727D600E50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781B27D600E50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */; }; + 0751796827D600E50071110C /* Result_PublicKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781C27D600E50071110C /* Result_PublicKeyErrorZ.swift */; }; + 0751796927D600E50071110C /* Result_boolLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781D27D600E50071110C /* Result_boolLightningErrorZ.swift */; }; + 0751796A27D600E50071110C /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781E27D600E50071110C /* Result_ChannelUpdateDecodeErrorZ.swift */; }; + 0751796B27D600E50071110C /* Result_UpdateFeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751781F27D600E50071110C /* Result_UpdateFeeDecodeErrorZ.swift */; }; + 0751796C27D600E50071110C /* Result_DescriptionCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782027D600E50071110C /* Result_DescriptionCreationErrorZ.swift */; }; + 0751796D27D600E50071110C /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782127D600E50071110C /* Result_ShutdownScriptDecodeErrorZ.swift */; }; + 0751796E27D600E50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782227D600E50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */; }; + 0751796F27D600E50071110C /* Result_PaymentParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782327D600E50071110C /* Result_PaymentParametersDecodeErrorZ.swift */; }; + 0751797027D600E50071110C /* Result_SiPrefixNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782427D600E50071110C /* Result_SiPrefixNoneZ.swift */; }; + 0751797127D600E50071110C /* Result_FundingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782527D600E50071110C /* Result_FundingSignedDecodeErrorZ.swift */; }; + 0751797227D600E50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782627D600E50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */; }; + 0751797327D600E50071110C /* Result_TransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782727D600E50071110C /* Result_TransactionNoneZ.swift */; }; + 0751797427D600E50071110C /* Result_NetworkGraphDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782827D600E50071110C /* Result_NetworkGraphDecodeErrorZ.swift */; }; + 0751797527D600E50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782927D600E50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */; }; + 0751797627D600E50071110C /* Result_NoneSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782A27D600E50071110C /* Result_NoneSemanticErrorZ.swift */; }; + 0751797727D600E50071110C /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782B27D600E50071110C /* Result_InvoiceSignOrCreationErrorZ.swift */; }; + 0751797827D600E50071110C /* Result_InvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782C27D600E50071110C /* Result_InvoiceNoneZ.swift */; }; + 0751797927D600E50071110C /* Result_RoutingFeesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782D27D600E50071110C /* Result_RoutingFeesDecodeErrorZ.swift */; }; + 0751797A27D600E50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782E27D600E50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */; }; + 0751797B27D600E50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751782F27D600E50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */; }; + 0751797C27D600E50071110C /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783027D600E50071110C /* Result_ChannelReestablishDecodeErrorZ.swift */; }; + 0751797D27D600E50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783127D600E50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */; }; + 0751797E27D600E50071110C /* Result_RouteParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783227D600E50071110C /* Result_RouteParametersDecodeErrorZ.swift */; }; + 0751797F27D600E50071110C /* Result_ScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783327D600E50071110C /* Result_ScoringParametersDecodeErrorZ.swift */; }; + 0751798027D600E50071110C /* Result_COption_EventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783427D600E50071110C /* Result_COption_EventZDecodeErrorZ.swift */; }; + 0751798127D600E50071110C /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783527D600E50071110C /* Result_PaymentIdPaymentSendFailureZ.swift */; }; + 0751798227D600E50071110C /* Result_PaymentIdPaymentErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783627D600E50071110C /* Result_PaymentIdPaymentErrorZ.swift */; }; + 0751798327D600E50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783727D600E50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */; }; + 0751798427D600E50071110C /* Result_SecretKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783827D600E50071110C /* Result_SecretKeyErrorZ.swift */; }; + 0751798527D600E50071110C /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783927D600E50071110C /* Result_HTLCUpdateDecodeErrorZ.swift */; }; + 0751798627D600E50071110C /* Result_NodeIdDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783A27D600E50071110C /* Result_NodeIdDecodeErrorZ.swift */; }; + 0751798727D600E50071110C /* Result_RouteLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783B27D600E50071110C /* Result_RouteLightningErrorZ.swift */; }; + 0751798827D600E50071110C /* Result_InvoiceSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783C27D600E50071110C /* Result_InvoiceSemanticErrorZ.swift */; }; + 0751798927D600E50071110C /* Result_SignedRawInvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783D27D600E50071110C /* Result_SignedRawInvoiceNoneZ.swift */; }; + 0751798A27D600E50071110C /* Result_COption_TypeZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783E27D600E50071110C /* Result_COption_TypeZDecodeErrorZ.swift */; }; + 0751798B27D600E50071110C /* Result_InitFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751783F27D600E50071110C /* Result_InitFeaturesDecodeErrorZ.swift */; }; + 0751798C27D600E50071110C /* Result_NetAddressDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784027D600E50071110C /* Result_NetAddressDecodeErrorZ.swift */; }; + 0751798D27D600E50071110C /* Result_WarningMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784127D600E50071110C /* Result_WarningMessageDecodeErrorZ.swift */; }; + 0751798E27D600E50071110C /* Result_RecoverableSignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784227D600E50071110C /* Result_RecoverableSignatureNoneZ.swift */; }; + 0751798F27D600E50071110C /* Result_ChannelDetailsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784327D600E50071110C /* Result_ChannelDetailsDecodeErrorZ.swift */; }; + 0751799027D600E50071110C /* Result_CVec_SignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784427D600E50071110C /* Result_CVec_SignatureZNoneZ.swift */; }; + 0751799127D600E50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784527D600E50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */; }; + 0751799227D600E50071110C /* Result_SignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784627D600E50071110C /* Result_SignatureNoneZ.swift */; }; + 0751799327D600E50071110C /* Result_NoneErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784727D600E50071110C /* Result_NoneErrorZ.swift */; }; + 0751799427D600E50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784827D600E50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */; }; + 0751799527D600E50071110C /* Result_FundingLockedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784927D600E50071110C /* Result_FundingLockedDecodeErrorZ.swift */; }; + 0751799627D600E50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784A27D600E50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */; }; + 0751799727D600E50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784B27D600E50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */; }; + 0751799827D600E50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784C27D600E50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */; }; + 0751799927D600E50071110C /* Result_SecretKeyNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784D27D600E50071110C /* Result_SecretKeyNoneZ.swift */; }; + 0751799A27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */; }; + 0751799B27D600E50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751784F27D600E50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */; }; + 0751799C27D600E50071110C /* Result_SignDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785027D600E50071110C /* Result_SignDecodeErrorZ.swift */; }; + 0751799D27D600E50071110C /* Result_boolPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785127D600E50071110C /* Result_boolPeerHandleErrorZ.swift */; }; + 0751799E27D600E50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785227D600E50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */; }; + 0751799F27D600E50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785327D600E50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */; }; + 075179A027D600E50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785427D600E50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */; }; + 075179A127D600E50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785527D600E50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */; }; + 075179A227D600E50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785627D600E50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */; }; + 075179A327D600E50071110C /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785727D600E50071110C /* Result_TxCreationKeysDecodeErrorZ.swift */; }; + 075179A427D600E50071110C /* Result_NoneNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785827D600E50071110C /* Result_NoneNoneZ.swift */; }; + 075179A527D600E50071110C /* Result_PositiveTimestampCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785927D600E50071110C /* Result_PositiveTimestampCreationErrorZ.swift */; }; + 075179A627D600E50071110C /* Result_OutPointDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785A27D600E50071110C /* Result_OutPointDecodeErrorZ.swift */; }; + 075179A727D600E50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785B27D600E50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */; }; + 075179A827D600E50071110C /* Result_PayeePubKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785C27D600E50071110C /* Result_PayeePubKeyErrorZ.swift */; }; + 075179A927D600E50071110C /* Result_ShutdownDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785D27D600E50071110C /* Result_ShutdownDecodeErrorZ.swift */; }; + 075179AA27D600E50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785E27D600E50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */; }; + 075179AB27D600E50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751785F27D600E50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */; }; + 075179AC27D600E50071110C /* Result_NodeInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786027D600E50071110C /* Result_NodeInfoDecodeErrorZ.swift */; }; + 075179AD27D600E50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786127D600E50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */; }; + 075179AE27D600E50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786227D600E50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */; }; + 075179AF27D600E50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786327D600E50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */; }; + 075179B027D600E50071110C /* Result_PaymentSecretNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786427D600E50071110C /* Result_PaymentSecretNoneZ.swift */; }; + 075179B127D600E50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786527D600E50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */; }; + 075179B227D600E50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786627D600E50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */; }; + 075179B327D600E50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786727D600E50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */; }; + 075179B427D600E50071110C /* Result_InitDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786827D600E50071110C /* Result_InitDecodeErrorZ.swift */; }; + 075179B527D600E50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786927D600E50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */; }; + 075179B627D600E60071110C /* Result_PrivateRouteCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786A27D600E50071110C /* Result_PrivateRouteCreationErrorZ.swift */; }; + 075179B727D600E60071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786B27D600E50071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */; }; + 075179B827D600E60071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786C27D600E50071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */; }; + 075179B927D600E60071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786D27D600E50071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */; }; + 075179BA27D600E60071110C /* Result_ClosingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786E27D600E50071110C /* Result_ClosingSignedDecodeErrorZ.swift */; }; + 075179BB27D600E60071110C /* Result_InMemorySignerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751786F27D600E50071110C /* Result_InMemorySignerDecodeErrorZ.swift */; }; + 075179BC27D600E60071110C /* MessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787127D600E50071110C /* MessageHandler.swift */; }; + 075179BD27D600E60071110C /* ChainMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787227D600E50071110C /* ChainMonitor.swift */; }; + 075179BE27D600E60071110C /* PayeePubKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787327D600E50071110C /* PayeePubKey.swift */; }; + 075179BF27D600E60071110C /* Scorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787427D600E50071110C /* Scorer.swift */; }; + 075179C027D600E60071110C /* Description.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787527D600E50071110C /* Description.swift */; }; + 075179C127D600E60071110C /* RevokeAndACK.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787627D600E50071110C /* RevokeAndACK.swift */; }; + 075179C227D600E60071110C /* MonitorUpdateId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787727D600E50071110C /* MonitorUpdateId.swift */; }; + 075179C327D600E60071110C /* WarningMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787827D600E50071110C /* WarningMessage.swift */; }; + 075179C427D600E60071110C /* Ping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787927D600E50071110C /* Ping.swift */; }; + 075179C527D600E60071110C /* PositiveTimestamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787A27D600E50071110C /* PositiveTimestamp.swift */; }; + 075179C627D600E60071110C /* UpdateAddHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787B27D600E50071110C /* UpdateAddHTLC.swift */; }; + 075179C727D600E60071110C /* PhantomKeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787C27D600E50071110C /* PhantomKeysManager.swift */; }; + 075179C827D600E60071110C /* UpdateFailMalformedHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787D27D600E50071110C /* UpdateFailMalformedHTLC.swift */; }; + 075179C927D600E60071110C /* ChannelMonitorUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787E27D600E50071110C /* ChannelMonitorUpdate.swift */; }; + 075179CA27D600E60071110C /* RouteHint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751787F27D600E50071110C /* RouteHint.swift */; }; + 075179CB27D600E60071110C /* Sha256.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788027D600E50071110C /* Sha256.swift */; }; + 075179CC27D600E60071110C /* HTLCOutputInCommitment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788127D600E50071110C /* HTLCOutputInCommitment.swift */; }; + 075179CD27D600E60071110C /* ChannelReestablish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788227D600E50071110C /* ChannelReestablish.swift */; }; + 075179CE27D600E60071110C /* RouteHintHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788327D600E50071110C /* RouteHintHop.swift */; }; + 075179CF27D600E60071110C /* ChannelManagerReadArgs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788427D600E50071110C /* ChannelManagerReadArgs.swift */; }; + 075179D027D600E60071110C /* UpdateFulfillHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788527D600E50071110C /* UpdateFulfillHTLC.swift */; }; + 075179D127D600E60071110C /* NodeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788627D600E50071110C /* NodeFeatures.swift */; }; + 075179D227D600E60071110C /* NetGraphMsgHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788727D600E50071110C /* NetGraphMsgHandler.swift */; }; + 075179D327D600E60071110C /* InvoiceFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788827D600E50071110C /* InvoiceFeatures.swift */; }; + 075179D427D600E60071110C /* Invoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788927D600E50071110C /* Invoice.swift */; }; + 075179D527D600E60071110C /* RoutingFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788A27D600E50071110C /* RoutingFees.swift */; }; + 075179D627D600E60071110C /* ChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788B27D600E50071110C /* ChannelMonitor.swift */; }; + 075179D727D600E60071110C /* ClosingSignedFeeRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788C27D600E50071110C /* ClosingSignedFeeRange.swift */; }; + 075179D827D600E60071110C /* BestBlock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788D27D600E50071110C /* BestBlock.swift */; }; + 075179D927D600E60071110C /* UpdateFee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788E27D600E50071110C /* UpdateFee.swift */; }; + 075179DA27D600E60071110C /* UnsignedChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751788F27D600E50071110C /* UnsignedChannelUpdate.swift */; }; + 075179DB27D600E60071110C /* MultiThreadedLockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789027D600E50071110C /* MultiThreadedLockableScore.swift */; }; + 075179DC27D600E60071110C /* ChannelUpdateInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789127D600E50071110C /* ChannelUpdateInfo.swift */; }; + 075179DD27D600E60071110C /* QueryShortChannelIds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789227D600E50071110C /* QueryShortChannelIds.swift */; }; + 075179DE27D600E60071110C /* NetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789327D600E50071110C /* NetworkGraph.swift */; }; + 075179DF27D600E60071110C /* DirectedChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789427D600E50071110C /* DirectedChannelInfo.swift */; }; + 075179E027D600E60071110C /* InvalidShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789527D600E50071110C /* InvalidShutdownScript.swift */; }; + 075179E127D600E60071110C /* CommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789627D600E50071110C /* CommitmentTransaction.swift */; }; + 075179E227D600E60071110C /* KeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789727D600E50071110C /* KeysManager.swift */; }; + 075179E327D600E60071110C /* FundingCreated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789827D600E50071110C /* FundingCreated.swift */; }; + 075179E427D600E60071110C /* CounterpartyChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789927D600E50071110C /* CounterpartyChannelTransactionParameters.swift */; }; + 075179E527D600E60071110C /* ChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789A27D600E50071110C /* ChannelAnnouncement.swift */; }; + 075179E627D600E60071110C /* ReplyShortChannelIdsEnd.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789B27D600E50071110C /* ReplyShortChannelIdsEnd.swift */; }; + 075179E727D600E60071110C /* IgnoringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789C27D600E50071110C /* IgnoringMessageHandler.swift */; }; + 075179E827D600E60071110C /* ShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789D27D600E50071110C /* ShutdownScript.swift */; }; + 075179E927D600E60071110C /* PeerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789E27D600E50071110C /* PeerManager.swift */; }; + 075179EA27D600E60071110C /* UpdateFailHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0751789F27D600E50071110C /* UpdateFailHTLC.swift */; }; + 075179EB27D600E60071110C /* FundingLocked.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A027D600E50071110C /* FundingLocked.swift */; }; + 075179EC27D600E60071110C /* ScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A127D600E50071110C /* ScoringParameters.swift */; }; + 075179ED27D600E60071110C /* StaticPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A227D600E50071110C /* StaticPaymentOutputDescriptor.swift */; }; + 075179EE27D600E60071110C /* HTLCUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A327D600E50071110C /* HTLCUpdate.swift */; }; + 075179EF27D600E60071110C /* NodeId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A427D600E50071110C /* NodeId.swift */; }; + 075179F027D600E60071110C /* InMemorySigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A527D600E50071110C /* InMemorySigner.swift */; }; + 075179F127D600E60071110C /* GossipTimestampFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A627D600E50071110C /* GossipTimestampFilter.swift */; }; + 075179F227D600E60071110C /* PeerHandleError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A727D600E50071110C /* PeerHandleError.swift */; }; + 075179F327D600E60071110C /* ErroringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A827D600E50071110C /* ErroringMessageHandler.swift */; }; + 075179F427D600E60071110C /* CommitmentSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178A927D600E50071110C /* CommitmentSigned.swift */; }; + 075179F527D600E60071110C /* TxCreationKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AA27D600E50071110C /* TxCreationKeys.swift */; }; + 075179F627D600E60071110C /* RawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AB27D600E50071110C /* RawInvoice.swift */; }; + 075179F727D600E60071110C /* Pong.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AC27D600E50071110C /* Pong.swift */; }; + 075179F827D600E60071110C /* CounterpartyCommitmentSecrets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AD27D600E50071110C /* CounterpartyCommitmentSecrets.swift */; }; + 075179F927D600E60071110C /* ExpiryTime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AE27D600E50071110C /* ExpiryTime.swift */; }; + 075179FA27D600E60071110C /* ChannelConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178AF27D600E50071110C /* ChannelConfig.swift */; }; + 075179FB27D600E60071110C /* DecodeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B027D600E50071110C /* DecodeError.swift */; }; + 075179FC27D600E60071110C /* QueryChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B127D600E50071110C /* QueryChannelRange.swift */; }; + 075179FD27D600E60071110C /* HolderCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B227D600E50071110C /* HolderCommitmentTransaction.swift */; }; + 075179FE27D600E60071110C /* ChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B327D600E50071110C /* ChannelTransactionParameters.swift */; }; + 075179FF27D600E60071110C /* NodeInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B427D600E50071110C /* NodeInfo.swift */; }; + 07517A0027D600E60071110C /* BackgroundProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B527D600E50071110C /* BackgroundProcessor.swift */; }; + 07517A0127D600E60071110C /* DirectedChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B627D600E50071110C /* DirectedChannelTransactionParameters.swift */; }; + 07517A0227D600E60071110C /* ChannelHandshakeConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B727D600E50071110C /* ChannelHandshakeConfig.swift */; }; + 07517A0327D600E60071110C /* RouteParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B827D600E50071110C /* RouteParameters.swift */; }; + 07517A0427D600E60071110C /* ChannelManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178B927D600E50071110C /* ChannelManager.swift */; }; + 07517A0527D600E60071110C /* PrivateRoute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BA27D600E50071110C /* PrivateRoute.swift */; }; + 07517A0627D600E60071110C /* Shutdown.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BB27D600E50071110C /* Shutdown.swift */; }; + 07517A0727D600E60071110C /* ChainParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BC27D600E50071110C /* ChainParameters.swift */; }; + 07517A0827D600E60071110C /* AcceptChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BD27D600E50071110C /* AcceptChannel.swift */; }; + 07517A0927D600E60071110C /* FilesystemPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BE27D600E50071110C /* FilesystemPersister.swift */; }; + 07517A0A27D600E60071110C /* ChannelHandshakeLimits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178BF27D600E50071110C /* ChannelHandshakeLimits.swift */; }; + 07517A0B27D600E60071110C /* ProbabilisticScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C027D600E50071110C /* ProbabilisticScoringParameters.swift */; }; + 07517A0C27D600E60071110C /* PhantomRouteHints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C127D600E50071110C /* PhantomRouteHints.swift */; }; + 07517A0D27D600E60071110C /* PaymentParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C227D600E50071110C /* PaymentParameters.swift */; }; + 07517A0E27D600E60071110C /* AnnouncementSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C327D600E50071110C /* AnnouncementSignatures.swift */; }; + 07517A0F27D600E60071110C /* CommitmentUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C427D600E50071110C /* CommitmentUpdate.swift */; }; + 07517A1027D600E60071110C /* ClosingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C527D600E50071110C /* ClosingSigned.swift */; }; + 07517A1127D600E60071110C /* DefaultRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C627D600E50071110C /* DefaultRouter.swift */; }; + 07517A1227D600E60071110C /* ChannelDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C727D600E50071110C /* ChannelDetails.swift */; }; + 07517A1327D600E60071110C /* NodeAnnouncementInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C827D600E50071110C /* NodeAnnouncementInfo.swift */; }; + 07517A1427D600E60071110C /* UnsignedChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178C927D600E50071110C /* UnsignedChannelAnnouncement.swift */; }; + 07517A1527D600E60071110C /* TrustedClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CA27D600E50071110C /* TrustedClosingTransaction.swift */; }; + 07517A1627D600E60071110C /* LightningError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CB27D600E50071110C /* LightningError.swift */; }; + 07517A1727D600E60071110C /* MinFinalCltvExpiry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CC27D600E50071110C /* MinFinalCltvExpiry.swift */; }; + 07517A1827D600E60071110C /* DataLossProtect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CD27D600E50071110C /* DataLossProtect.swift */; }; + 07517A1927D600E60071110C /* TxOut.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CE27D600E50071110C /* TxOut.swift */; }; + 07517A1A27D600E60071110C /* ErrorMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178CF27D600E50071110C /* ErrorMessage.swift */; }; + 07517A1B27D600E60071110C /* ChannelCounterparty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D027D600E50071110C /* ChannelCounterparty.swift */; }; + 07517A1C27D600E60071110C /* RouteHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D127D600E50071110C /* RouteHop.swift */; }; + 07517A1D27D600E60071110C /* WatchedOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D227D600E50071110C /* WatchedOutput.swift */; }; + 07517A1E27D600E60071110C /* ChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D327D600E50071110C /* ChannelUpdate.swift */; }; + 07517A1F27D600E60071110C /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D427D600E50071110C /* Record.swift */; }; + 07517A2027D600E60071110C /* ReplyChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D527D600E50071110C /* ReplyChannelRange.swift */; }; + 07517A2127D600E60071110C /* InitFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D627D600E50071110C /* InitFeatures.swift */; }; + 07517A2227D600E60071110C /* NodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D727D600E50071110C /* NodeAnnouncement.swift */; }; + 07517A2327D600E60071110C /* RawDataPart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D827D600E50071110C /* RawDataPart.swift */; }; + 07517A2427D600E60071110C /* ChannelPublicKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178D927D600E50071110C /* ChannelPublicKeys.swift */; }; + 07517A2527D600E60071110C /* ChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DA27D600E50071110C /* ChannelInfo.swift */; }; + 07517A2627D600E60071110C /* InvoiceSignature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DB27D600E50071110C /* InvoiceSignature.swift */; }; + 07517A2727D600E60071110C /* OpenChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DC27D600E50071110C /* OpenChannel.swift */; }; + 07517A2827D600E60071110C /* FundingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DD27D600E50071110C /* FundingSigned.swift */; }; + 07517A2927D600E60071110C /* SignedRawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DE27D600E50071110C /* SignedRawInvoice.swift */; }; + 07517A2A27D600E60071110C /* ClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178DF27D600E50071110C /* ClosingTransaction.swift */; }; + 07517A2B27D600E60071110C /* LockedChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E027D600E50071110C /* LockedChannelMonitor.swift */; }; + 07517A2C27D600E60071110C /* CounterpartyForwardingInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E127D600E50071110C /* CounterpartyForwardingInfo.swift */; }; + 07517A2D27D600E60071110C /* FixedPenaltyScorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E227D600E50071110C /* FixedPenaltyScorer.swift */; }; + 07517A2E27D600E60071110C /* Init.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E327D600E50071110C /* Init.swift */; }; + 07517A2F27D600E60071110C /* ChannelTypeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E427D600E50071110C /* ChannelTypeFeatures.swift */; }; + 07517A3027D600E60071110C /* UnsignedNodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E527D600E50071110C /* UnsignedNodeAnnouncement.swift */; }; + 07517A3127D600E60071110C /* TrustedCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E627D600E50071110C /* TrustedCommitmentTransaction.swift */; }; + 07517A3227D600E60071110C /* ReadOnlyNetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E727D600E50071110C /* ReadOnlyNetworkGraph.swift */; }; + 07517A3327D600E60071110C /* RetryAttempts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E827D600E50071110C /* RetryAttempts.swift */; }; + 07517A3427D600E60071110C /* ChannelFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178E927D600E50071110C /* ChannelFeatures.swift */; }; + 07517A3527D600E60071110C /* BuiltCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178EA27D600E50071110C /* BuiltCommitmentTransaction.swift */; }; + 07517A3627D600E60071110C /* UserConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178EB27D600E50071110C /* UserConfig.swift */; }; + 07517A3727D600E60071110C /* Route.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178EC27D600E50071110C /* Route.swift */; }; + 07517A3827D600E60071110C /* OutPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178ED27D600E50071110C /* OutPoint.swift */; }; + 07517A3927D600E60071110C /* InvoicePayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178EE27D600E50071110C /* InvoicePayer.swift */; }; + 07517A3A27D600E60071110C /* DelayedPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075178EF27D600E50071110C /* DelayedPaymentOutputDescriptor.swift */; }; 075E294926FEFFAF0000A76B /* TCPPeerHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E294526FEFFAF0000A76B /* TCPPeerHandler.swift */; }; 075E294A26FEFFAF0000A76B /* TCPPeerHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E294526FEFFAF0000A76B /* TCPPeerHandler.swift */; }; 075E294B26FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 075E294626FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift */; }; @@ -27,319 +358,6 @@ 0767D03E2698BB9800BEB4CC /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 0767D0392698BB9800BEB4CC /* ldk_net.c */; }; 0767D03F2698BB9800BEB4CC /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 0767D0392698BB9800BEB4CC /* ldk_net.c */; }; 0767DFB526B09D7800BEB4CC /* libldk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0767DFB426B09D7800BEB4CC /* libldk.a */; platformFilter = maccatalyst; }; - 07F1B28C2786F94800680859 /* PaymentSendFailure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B14F2786F94700680859 /* PaymentSendFailure.swift */; }; - 07F1B28D2786F94800680859 /* Option_u64Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1502786F94700680859 /* Option_u64Z.swift */; }; - 07F1B28E2786F94800680859 /* Fallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1512786F94700680859 /* Fallback.swift */; }; - 07F1B28F2786F94800680859 /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1522786F94700680859 /* Option_C2Tuple_usizeTransactionZZ.swift */; }; - 07F1B2902786F94800680859 /* APIError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1532786F94700680859 /* APIError.swift */; }; - 07F1B2912786F94800680859 /* Option_TypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1542786F94700680859 /* Option_TypeZ.swift */; }; - 07F1B2922786F94800680859 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1552786F94700680859 /* Event.swift */; }; - 07F1B2932786F94800680859 /* Option_AccessZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1562786F94700680859 /* Option_AccessZ.swift */; }; - 07F1B2942786F94800680859 /* PaymentPurpose.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1572786F94700680859 /* PaymentPurpose.swift */; }; - 07F1B2952786F94800680859 /* PaymentError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1582786F94700680859 /* PaymentError.swift */; }; - 07F1B2962786F94800680859 /* Option_ClosureReasonZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1592786F94700680859 /* Option_ClosureReasonZ.swift */; }; - 07F1B2972786F94800680859 /* Option_FilterZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15A2786F94700680859 /* Option_FilterZ.swift */; }; - 07F1B2982786F94800680859 /* Balance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15B2786F94700680859 /* Balance.swift */; }; - 07F1B2992786F94800680859 /* ErrorAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15C2786F94700680859 /* ErrorAction.swift */; }; - 07F1B29A2786F94800680859 /* Option_MonitorEventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15D2786F94700680859 /* Option_MonitorEventZ.swift */; }; - 07F1B29B2786F94800680859 /* Option_NetworkUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15E2786F94700680859 /* Option_NetworkUpdateZ.swift */; }; - 07F1B29C2786F94800680859 /* Option_u32Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B15F2786F94700680859 /* Option_u32Z.swift */; }; - 07F1B29D2786F94800680859 /* Option_u16Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1602786F94700680859 /* Option_u16Z.swift */; }; - 07F1B29E2786F94800680859 /* NetAddress.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1612786F94700680859 /* NetAddress.swift */; }; - 07F1B29F2786F94800680859 /* SignOrCreationError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1622786F94700680859 /* SignOrCreationError.swift */; }; - 07F1B2A02786F94800680859 /* NetworkUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1632786F94700680859 /* NetworkUpdate.swift */; }; - 07F1B2A12786F94800680859 /* Option_EventZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1642786F94700680859 /* Option_EventZ.swift */; }; - 07F1B2A22786F94800680859 /* ClosureReason.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1652786F94700680859 /* ClosureReason.swift */; }; - 07F1B2A32786F94800680859 /* MessageSendEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1662786F94700680859 /* MessageSendEvent.swift */; }; - 07F1B2A42786F94800680859 /* MonitorEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1672786F94700680859 /* MonitorEvent.swift */; }; - 07F1B2A52786F94800680859 /* SpendableOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1682786F94700680859 /* SpendableOutputDescriptor.swift */; }; - 07F1B2A62786F94800680859 /* Option_CVec_NetAddressZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1692786F94700680859 /* Option_CVec_NetAddressZZ.swift */; }; - 07F1B2A72786F94800680859 /* BaseSign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B16B2786F94700680859 /* BaseSign.swift */; }; - 07F1B2A82786F94800680859 /* Persist.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B16C2786F94700680859 /* Persist.swift */; }; - 07F1B2A92786F94800680859 /* Score.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B16D2786F94700680859 /* Score.swift */; }; - 07F1B2AA2786F94800680859 /* KeysInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B16E2786F94700680859 /* KeysInterface.swift */; }; - 07F1B2AB2786F94800680859 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B16F2786F94700680859 /* Logger.swift */; }; - 07F1B2AC2786F94800680859 /* Payer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1702786F94700680859 /* Payer.swift */; }; - 07F1B2AD2786F94800680859 /* SocketDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1712786F94700680859 /* SocketDescriptor.swift */; }; - 07F1B2AE2786F94800680859 /* FeeEstimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1722786F94700680859 /* FeeEstimator.swift */; }; - 07F1B2AF2786F94800680859 /* MessageSendEventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1732786F94700680859 /* MessageSendEventsProvider.swift */; }; - 07F1B2B02786F94800680859 /* BroadcasterInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1742786F94700680859 /* BroadcasterInterface.swift */; }; - 07F1B2B12786F94800680859 /* LockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1752786F94700680859 /* LockableScore.swift */; }; - 07F1B2B22786F94800680859 /* Confirm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1762786F94700680859 /* Confirm.swift */; }; - 07F1B2B32786F94800680859 /* EventHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1772786F94700680859 /* EventHandler.swift */; }; - 07F1B2B42786F94800680859 /* RoutingMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1782786F94700680859 /* RoutingMessageHandler.swift */; }; - 07F1B2B52786F94800680859 /* ChannelManagerPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1792786F94700680859 /* ChannelManagerPersister.swift */; }; - 07F1B2B62786F94800680859 /* Listen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17A2786F94700680859 /* Listen.swift */; }; - 07F1B2B72786F94800680859 /* ChannelMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17B2786F94700680859 /* ChannelMessageHandler.swift */; }; - 07F1B2B82786F94800680859 /* Router.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17C2786F94700680859 /* Router.swift */; }; - 07F1B2B92786F94800680859 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17D2786F94700680859 /* Filter.swift */; }; - 07F1B2BA2786F94800680859 /* CustomMessageReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17E2786F94700680859 /* CustomMessageReader.swift */; }; - 07F1B2BB2786F94800680859 /* BindingsType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B17F2786F94700680859 /* BindingsType.swift */; }; - 07F1B2BC2786F94800680859 /* Access.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1802786F94700680859 /* Access.swift */; }; - 07F1B2BD2786F94800680859 /* EventsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1812786F94700680859 /* EventsProvider.swift */; }; - 07F1B2BE2786F94800680859 /* Watch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1822786F94700680859 /* Watch.swift */; }; - 07F1B2BF2786F94800680859 /* Sign.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1832786F94700680859 /* Sign.swift */; }; - 07F1B2C02786F94800680859 /* CustomMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1842786F94700680859 /* CustomMessageHandler.swift */; }; - 07F1B2C12786F94800680859 /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1862786F94700680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */; }; - 07F1B2C22786F94800680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1872786F94700680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */; }; - 07F1B2C32786F94800680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1882786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */; }; - 07F1B2C42786F94800680859 /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1892786F94700680859 /* C2Tuple_BlockHashChannelManagerZ.swift */; }; - 07F1B2C52786F94800680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18A2786F94700680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */; }; - 07F1B2C62786F94800680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18B2786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */; }; - 07F1B2C72786F94800680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18C2786F94700680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */; }; - 07F1B2C82786F94800680859 /* C2Tuple_u32TxOutZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18D2786F94700680859 /* C2Tuple_u32TxOutZ.swift */; }; - 07F1B2C92786F94800680859 /* C2Tuple_OutPointScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18E2786F94700680859 /* C2Tuple_OutPointScriptZ.swift */; }; - 07F1B2CA2786F94800680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B18F2786F94700680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */; }; - 07F1B2CB2786F94800680859 /* C2Tuple_PublicKeyTypeZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1902786F94700680859 /* C2Tuple_PublicKeyTypeZ.swift */; }; - 07F1B2CC2786F94800680859 /* C2Tuple_u32ScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1912786F94700680859 /* C2Tuple_u32ScriptZ.swift */; }; - 07F1B2CD2786F94800680859 /* C2Tuple_usizeTransactionZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1922786F94700680859 /* C2Tuple_usizeTransactionZ.swift */; }; - 07F1B2CE2786F94800680859 /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1932786F94700680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */; }; - 07F1B2CF2786F94800680859 /* Bindings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1942786F94700680859 /* Bindings.swift */; }; - 07F1B2D02786F94800680859 /* Result_ChannelConfigDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1962786F94700680859 /* Result_ChannelConfigDecodeErrorZ.swift */; }; - 07F1B2D12786F94800680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1972786F94700680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */; }; - 07F1B2D22786F94800680859 /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1982786F94700680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */; }; - 07F1B2D32786F94800680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1992786F94700680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */; }; - 07F1B2D42786F94800680859 /* Result_ScorerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19A2786F94700680859 /* Result_ScorerDecodeErrorZ.swift */; }; - 07F1B2D52786F94800680859 /* Result_FundingCreatedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19B2786F94700680859 /* Result_FundingCreatedDecodeErrorZ.swift */; }; - 07F1B2D62786F94800680859 /* Result_TxCreationKeysErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19C2786F94700680859 /* Result_TxCreationKeysErrorZ.swift */; }; - 07F1B2D72786F94800680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19D2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */; }; - 07F1B2D82786F94800680859 /* Result_LockedChannelMonitorNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19E2786F94700680859 /* Result_LockedChannelMonitorNoneZ.swift */; }; - 07F1B2D92786F94800680859 /* Result_PingDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B19F2786F94700680859 /* Result_PingDecodeErrorZ.swift */; }; - 07F1B2DA2786F94800680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A02786F94700680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */; }; - 07F1B2DB2786F94800680859 /* Result_NonePaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A12786F94700680859 /* Result_NonePaymentSendFailureZ.swift */; }; - 07F1B2DC2786F94800680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A22786F94700680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */; }; - 07F1B2DD2786F94800680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A32786F94700680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B2DE2786F94800680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A42786F94700680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */; }; - 07F1B2DF2786F94800680859 /* Result_RouteDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A52786F94700680859 /* Result_RouteDecodeErrorZ.swift */; }; - 07F1B2E02786F94800680859 /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A62786F94700680859 /* Result_RevokeAndACKDecodeErrorZ.swift */; }; - 07F1B2E12786F94800680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A72786F94700680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */; }; - 07F1B2E22786F94800680859 /* Result_OpenChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A82786F94700680859 /* Result_OpenChannelDecodeErrorZ.swift */; }; - 07F1B2E32786F94800680859 /* Result_ChannelInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1A92786F94700680859 /* Result_ChannelInfoDecodeErrorZ.swift */; }; - 07F1B2E42786F94800680859 /* Result_PongDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AA2786F94700680859 /* Result_PongDecodeErrorZ.swift */; }; - 07F1B2E52786F94800680859 /* Result__u832APIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AB2786F94700680859 /* Result__u832APIErrorZ.swift */; }; - 07F1B2E62786F94800680859 /* Result_RouteHintHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AC2786F94700680859 /* Result_RouteHintHopDecodeErrorZ.swift */; }; - 07F1B2E72786F94800680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AD2786F94700680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */; }; - 07F1B2E82786F94800680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AE2786F94700680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */; }; - 07F1B2E92786F94800680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1AF2786F94700680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B2EA2786F94800680859 /* Result_PaymentSecretAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B02786F94700680859 /* Result_PaymentSecretAPIErrorZ.swift */; }; - 07F1B2EB2786F94800680859 /* Result_RouteHintDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B12786F94700680859 /* Result_RouteHintDecodeErrorZ.swift */; }; - 07F1B2EC2786F94800680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B22786F94700680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B2ED2786F94800680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B32786F94700680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */; }; - 07F1B2EE2786F94800680859 /* Result_ErrorMessageDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B42786F94700680859 /* Result_ErrorMessageDecodeErrorZ.swift */; }; - 07F1B2EF2786F94800680859 /* Result_AcceptChannelDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B52786F94700680859 /* Result_AcceptChannelDecodeErrorZ.swift */; }; - 07F1B2F02786F94800680859 /* Result_PaymentPreimageAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B62786F94700680859 /* Result_PaymentPreimageAPIErrorZ.swift */; }; - 07F1B2F12786F94800680859 /* Result_PayeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B72786F94700680859 /* Result_PayeeDecodeErrorZ.swift */; }; - 07F1B2F22786F94800680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B82786F94700680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */; }; - 07F1B2F32786F94800680859 /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1B92786F94700680859 /* Result_NodeFeaturesDecodeErrorZ.swift */; }; - 07F1B2F42786F94800680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BA2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */; }; - 07F1B2F52786F94800680859 /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BB2786F94700680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */; }; - 07F1B2F62786F94800680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BC2786F94700680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */; }; - 07F1B2F72786F94800680859 /* Result_StringErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BD2786F94700680859 /* Result_StringErrorZ.swift */; }; - 07F1B2F82786F94800680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BE2786F94700680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B2F92786F94800680859 /* Result_RouteHopDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1BF2786F94700680859 /* Result_RouteHopDecodeErrorZ.swift */; }; - 07F1B2FA2786F94800680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C02786F94700680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */; }; - 07F1B2FB2786F94800680859 /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C12786F94700680859 /* Result_CommitmentSignedDecodeErrorZ.swift */; }; - 07F1B2FC2786F94800680859 /* Result_NonePeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C22786F94700680859 /* Result_NonePeerHandleErrorZ.swift */; }; - 07F1B2FD2786F94800680859 /* Result_TxOutAccessErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C32786F94700680859 /* Result_TxOutAccessErrorZ.swift */; }; - 07F1B2FE2786F94800680859 /* Result_TrustedClosingTransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C42786F94700680859 /* Result_TrustedClosingTransactionNoneZ.swift */; }; - 07F1B2FF2786F94800680859 /* Result_NoneLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C52786F94700680859 /* Result_NoneLightningErrorZ.swift */; }; - 07F1B3002786F94800680859 /* Result_NoneAPIErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C62786F94700680859 /* Result_NoneAPIErrorZ.swift */; }; - 07F1B3012786F94800680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C72786F94700680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */; }; - 07F1B3022786F94800680859 /* Result_PublicKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C82786F94700680859 /* Result_PublicKeyErrorZ.swift */; }; - 07F1B3032786F94800680859 /* Result_boolLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1C92786F94700680859 /* Result_boolLightningErrorZ.swift */; }; - 07F1B3042786F94800680859 /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CA2786F94700680859 /* Result_ChannelUpdateDecodeErrorZ.swift */; }; - 07F1B3052786F94800680859 /* Result_UpdateFeeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CB2786F94700680859 /* Result_UpdateFeeDecodeErrorZ.swift */; }; - 07F1B3062786F94800680859 /* Result_DescriptionCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CC2786F94700680859 /* Result_DescriptionCreationErrorZ.swift */; }; - 07F1B3072786F94800680859 /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CD2786F94700680859 /* Result_ShutdownScriptDecodeErrorZ.swift */; }; - 07F1B3082786F94800680859 /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CE2786F94700680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */; }; - 07F1B3092786F94800680859 /* Result_SiPrefixNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1CF2786F94700680859 /* Result_SiPrefixNoneZ.swift */; }; - 07F1B30A2786F94800680859 /* Result_FundingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D02786F94700680859 /* Result_FundingSignedDecodeErrorZ.swift */; }; - 07F1B30B2786F94800680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D12786F94700680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */; }; - 07F1B30C2786F94800680859 /* Result_TransactionNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D22786F94700680859 /* Result_TransactionNoneZ.swift */; }; - 07F1B30D2786F94800680859 /* Result_NetworkGraphDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D32786F94700680859 /* Result_NetworkGraphDecodeErrorZ.swift */; }; - 07F1B30E2786F94800680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D42786F94700680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */; }; - 07F1B30F2786F94800680859 /* Result_NoneSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D52786F94700680859 /* Result_NoneSemanticErrorZ.swift */; }; - 07F1B3102786F94800680859 /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D62786F94700680859 /* Result_InvoiceSignOrCreationErrorZ.swift */; }; - 07F1B3112786F94800680859 /* Result_InvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D72786F94700680859 /* Result_InvoiceNoneZ.swift */; }; - 07F1B3122786F94800680859 /* Result_RoutingFeesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D82786F94700680859 /* Result_RoutingFeesDecodeErrorZ.swift */; }; - 07F1B3132786F94800680859 /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1D92786F94700680859 /* Result_ChannelReestablishDecodeErrorZ.swift */; }; - 07F1B3142786F94800680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DA2786F94700680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */; }; - 07F1B3152786F94800680859 /* Result_RouteParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DB2786F94700680859 /* Result_RouteParametersDecodeErrorZ.swift */; }; - 07F1B3162786F94800680859 /* Result_ScoringParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DC2786F94700680859 /* Result_ScoringParametersDecodeErrorZ.swift */; }; - 07F1B3172786F94800680859 /* Result_COption_EventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DD2786F94700680859 /* Result_COption_EventZDecodeErrorZ.swift */; }; - 07F1B3182786F94800680859 /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DE2786F94700680859 /* Result_PaymentIdPaymentSendFailureZ.swift */; }; - 07F1B3192786F94800680859 /* Result_PaymentIdPaymentErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1DF2786F94700680859 /* Result_PaymentIdPaymentErrorZ.swift */; }; - 07F1B31A2786F94800680859 /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E02786F94700680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */; }; - 07F1B31B2786F94800680859 /* Result_SecretKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E12786F94700680859 /* Result_SecretKeyErrorZ.swift */; }; - 07F1B31C2786F94800680859 /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E22786F94700680859 /* Result_HTLCUpdateDecodeErrorZ.swift */; }; - 07F1B31D2786F94800680859 /* Result_NodeIdDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E32786F94700680859 /* Result_NodeIdDecodeErrorZ.swift */; }; - 07F1B31E2786F94800680859 /* Result_RouteLightningErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E42786F94700680859 /* Result_RouteLightningErrorZ.swift */; }; - 07F1B31F2786F94800680859 /* Result_InvoiceSemanticErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E52786F94700680859 /* Result_InvoiceSemanticErrorZ.swift */; }; - 07F1B3202786F94800680859 /* Result_SignedRawInvoiceNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E62786F94700680859 /* Result_SignedRawInvoiceNoneZ.swift */; }; - 07F1B3212786F94800680859 /* Result_COption_TypeZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E72786F94700680859 /* Result_COption_TypeZDecodeErrorZ.swift */; }; - 07F1B3222786F94800680859 /* Result_InitFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E82786F94700680859 /* Result_InitFeaturesDecodeErrorZ.swift */; }; - 07F1B3232786F94800680859 /* Result_NetAddressDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1E92786F94700680859 /* Result_NetAddressDecodeErrorZ.swift */; }; - 07F1B3242786F94800680859 /* Result_RecoverableSignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1EA2786F94700680859 /* Result_RecoverableSignatureNoneZ.swift */; }; - 07F1B3252786F94800680859 /* Result_CVec_SignatureZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1EB2786F94700680859 /* Result_CVec_SignatureZNoneZ.swift */; }; - 07F1B3262786F94800680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1EC2786F94700680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */; }; - 07F1B3272786F94800680859 /* Result_SignatureNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1ED2786F94700680859 /* Result_SignatureNoneZ.swift */; }; - 07F1B3282786F94800680859 /* Result_NoneErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1EE2786F94700680859 /* Result_NoneErrorZ.swift */; }; - 07F1B3292786F94800680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1EF2786F94700680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */; }; - 07F1B32A2786F94800680859 /* Result_FundingLockedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F02786F94700680859 /* Result_FundingLockedDecodeErrorZ.swift */; }; - 07F1B32B2786F94800680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F12786F94700680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */; }; - 07F1B32C2786F94800680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F22786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */; }; - 07F1B32D2786F94800680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F32786F94700680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */; }; - 07F1B32E2786F94800680859 /* Result_SignDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F42786F94700680859 /* Result_SignDecodeErrorZ.swift */; }; - 07F1B32F2786F94800680859 /* Result_boolPeerHandleErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F52786F94700680859 /* Result_boolPeerHandleErrorZ.swift */; }; - 07F1B3302786F94800680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F62786F94700680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */; }; - 07F1B3312786F94800680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F72786F94700680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */; }; - 07F1B3322786F94800680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F82786F94700680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */; }; - 07F1B3332786F94800680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1F92786F94700680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */; }; - 07F1B3342786F94800680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FA2786F94700680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */; }; - 07F1B3352786F94800680859 /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FB2786F94700680859 /* Result_TxCreationKeysDecodeErrorZ.swift */; }; - 07F1B3362786F94800680859 /* Result_NoneNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FC2786F94700680859 /* Result_NoneNoneZ.swift */; }; - 07F1B3372786F94800680859 /* Result_PositiveTimestampCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FD2786F94700680859 /* Result_PositiveTimestampCreationErrorZ.swift */; }; - 07F1B3382786F94800680859 /* Result_OutPointDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FE2786F94700680859 /* Result_OutPointDecodeErrorZ.swift */; }; - 07F1B3392786F94800680859 /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B1FF2786F94700680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */; }; - 07F1B33A2786F94800680859 /* Result_PayeePubKeyErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2002786F94700680859 /* Result_PayeePubKeyErrorZ.swift */; }; - 07F1B33B2786F94800680859 /* Result_ShutdownDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2012786F94700680859 /* Result_ShutdownDecodeErrorZ.swift */; }; - 07F1B33C2786F94800680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2022786F94700680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */; }; - 07F1B33D2786F94800680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2032786F94700680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */; }; - 07F1B33E2786F94800680859 /* Result_NodeInfoDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2042786F94700680859 /* Result_NodeInfoDecodeErrorZ.swift */; }; - 07F1B33F2786F94800680859 /* Result_ExpiryTimeCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2052786F94700680859 /* Result_ExpiryTimeCreationErrorZ.swift */; }; - 07F1B3402786F94800680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2062786F94700680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */; }; - 07F1B3412786F94800680859 /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2072786F94700680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */; }; - 07F1B3422786F94800680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2082786F94700680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */; }; - 07F1B3432786F94800680859 /* Result_PaymentSecretNoneZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2092786F94700680859 /* Result_PaymentSecretNoneZ.swift */; }; - 07F1B3442786F94800680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20A2786F94700680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */; }; - 07F1B3452786F94800680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20B2786F94700680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */; }; - 07F1B3462786F94800680859 /* Result_InitDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20C2786F94700680859 /* Result_InitDecodeErrorZ.swift */; }; - 07F1B3472786F94800680859 /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20D2786F94700680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */; }; - 07F1B3482786F94800680859 /* Result_PrivateRouteCreationErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20E2786F94700680859 /* Result_PrivateRouteCreationErrorZ.swift */; }; - 07F1B3492786F94800680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B20F2786F94700680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */; }; - 07F1B34A2786F94800680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2102786F94700680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */; }; - 07F1B34B2786F94800680859 /* Result_ClosingSignedDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2112786F94700680859 /* Result_ClosingSignedDecodeErrorZ.swift */; }; - 07F1B34C2786F94800680859 /* Result_InMemorySignerDecodeErrorZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2122786F94700680859 /* Result_InMemorySignerDecodeErrorZ.swift */; }; - 07F1B34D2786F94800680859 /* MessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2142786F94700680859 /* MessageHandler.swift */; }; - 07F1B34E2786F94800680859 /* ChainMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2152786F94700680859 /* ChainMonitor.swift */; }; - 07F1B34F2786F94800680859 /* PayeePubKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2162786F94700680859 /* PayeePubKey.swift */; }; - 07F1B3502786F94800680859 /* Scorer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2172786F94700680859 /* Scorer.swift */; }; - 07F1B3512786F94800680859 /* Description.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2182786F94700680859 /* Description.swift */; }; - 07F1B3522786F94800680859 /* RevokeAndACK.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2192786F94700680859 /* RevokeAndACK.swift */; }; - 07F1B3532786F94800680859 /* MonitorUpdateId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21A2786F94700680859 /* MonitorUpdateId.swift */; }; - 07F1B3542786F94800680859 /* Ping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21B2786F94700680859 /* Ping.swift */; }; - 07F1B3552786F94800680859 /* PositiveTimestamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21C2786F94700680859 /* PositiveTimestamp.swift */; }; - 07F1B3562786F94800680859 /* UpdateAddHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21D2786F94700680859 /* UpdateAddHTLC.swift */; }; - 07F1B3572786F94800680859 /* UpdateFailMalformedHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21E2786F94700680859 /* UpdateFailMalformedHTLC.swift */; }; - 07F1B3582786F94800680859 /* ChannelMonitorUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B21F2786F94700680859 /* ChannelMonitorUpdate.swift */; }; - 07F1B3592786F94800680859 /* RouteHint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2202786F94700680859 /* RouteHint.swift */; }; - 07F1B35A2786F94800680859 /* Sha256.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2212786F94700680859 /* Sha256.swift */; }; - 07F1B35B2786F94800680859 /* HTLCOutputInCommitment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2222786F94800680859 /* HTLCOutputInCommitment.swift */; }; - 07F1B35C2786F94800680859 /* ChannelReestablish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2232786F94800680859 /* ChannelReestablish.swift */; }; - 07F1B35D2786F94800680859 /* RouteHintHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2242786F94800680859 /* RouteHintHop.swift */; }; - 07F1B35E2786F94800680859 /* ChannelManagerReadArgs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2252786F94800680859 /* ChannelManagerReadArgs.swift */; }; - 07F1B35F2786F94800680859 /* UpdateFulfillHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2262786F94800680859 /* UpdateFulfillHTLC.swift */; }; - 07F1B3602786F94800680859 /* NodeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2272786F94800680859 /* NodeFeatures.swift */; }; - 07F1B3612786F94800680859 /* NetGraphMsgHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2282786F94800680859 /* NetGraphMsgHandler.swift */; }; - 07F1B3622786F94800680859 /* InvoiceFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2292786F94800680859 /* InvoiceFeatures.swift */; }; - 07F1B3632786F94800680859 /* Invoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22A2786F94800680859 /* Invoice.swift */; }; - 07F1B3642786F94800680859 /* RoutingFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22B2786F94800680859 /* RoutingFees.swift */; }; - 07F1B3652786F94800680859 /* ChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22C2786F94800680859 /* ChannelMonitor.swift */; }; - 07F1B3662786F94800680859 /* ClosingSignedFeeRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22D2786F94800680859 /* ClosingSignedFeeRange.swift */; }; - 07F1B3672786F94800680859 /* BestBlock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22E2786F94800680859 /* BestBlock.swift */; }; - 07F1B3682786F94800680859 /* UpdateFee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B22F2786F94800680859 /* UpdateFee.swift */; }; - 07F1B3692786F94800680859 /* UnsignedChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2302786F94800680859 /* UnsignedChannelUpdate.swift */; }; - 07F1B36A2786F94800680859 /* MultiThreadedLockableScore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2312786F94800680859 /* MultiThreadedLockableScore.swift */; }; - 07F1B36B2786F94800680859 /* QueryShortChannelIds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2322786F94800680859 /* QueryShortChannelIds.swift */; }; - 07F1B36C2786F94800680859 /* NetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2332786F94800680859 /* NetworkGraph.swift */; }; - 07F1B36D2786F94800680859 /* InvalidShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2342786F94800680859 /* InvalidShutdownScript.swift */; }; - 07F1B36E2786F94800680859 /* CommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2352786F94800680859 /* CommitmentTransaction.swift */; }; - 07F1B36F2786F94800680859 /* KeysManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2362786F94800680859 /* KeysManager.swift */; }; - 07F1B3702786F94800680859 /* FundingCreated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2372786F94800680859 /* FundingCreated.swift */; }; - 07F1B3712786F94800680859 /* CounterpartyChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2382786F94800680859 /* CounterpartyChannelTransactionParameters.swift */; }; - 07F1B3722786F94800680859 /* ChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2392786F94800680859 /* ChannelAnnouncement.swift */; }; - 07F1B3732786F94800680859 /* ReplyShortChannelIdsEnd.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23A2786F94800680859 /* ReplyShortChannelIdsEnd.swift */; }; - 07F1B3742786F94800680859 /* IgnoringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23B2786F94800680859 /* IgnoringMessageHandler.swift */; }; - 07F1B3752786F94900680859 /* ShutdownScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23C2786F94800680859 /* ShutdownScript.swift */; }; - 07F1B3762786F94900680859 /* PeerManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23D2786F94800680859 /* PeerManager.swift */; }; - 07F1B3772786F94900680859 /* UpdateFailHTLC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23E2786F94800680859 /* UpdateFailHTLC.swift */; }; - 07F1B3782786F94900680859 /* FundingLocked.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B23F2786F94800680859 /* FundingLocked.swift */; }; - 07F1B3792786F94900680859 /* ScoringParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2402786F94800680859 /* ScoringParameters.swift */; }; - 07F1B37A2786F94900680859 /* StaticPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2412786F94800680859 /* StaticPaymentOutputDescriptor.swift */; }; - 07F1B37B2786F94900680859 /* HTLCUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2422786F94800680859 /* HTLCUpdate.swift */; }; - 07F1B37C2786F94900680859 /* NodeId.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2432786F94800680859 /* NodeId.swift */; }; - 07F1B37D2786F94900680859 /* InMemorySigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2442786F94800680859 /* InMemorySigner.swift */; }; - 07F1B37E2786F94900680859 /* GossipTimestampFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2452786F94800680859 /* GossipTimestampFilter.swift */; }; - 07F1B37F2786F94900680859 /* PeerHandleError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2462786F94800680859 /* PeerHandleError.swift */; }; - 07F1B3802786F94900680859 /* ErroringMessageHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2472786F94800680859 /* ErroringMessageHandler.swift */; }; - 07F1B3812786F94900680859 /* CommitmentSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2482786F94800680859 /* CommitmentSigned.swift */; }; - 07F1B3822786F94900680859 /* TxCreationKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2492786F94800680859 /* TxCreationKeys.swift */; }; - 07F1B3832786F94900680859 /* RawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24A2786F94800680859 /* RawInvoice.swift */; }; - 07F1B3842786F94900680859 /* Pong.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24B2786F94800680859 /* Pong.swift */; }; - 07F1B3852786F94900680859 /* ExpiryTime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24C2786F94800680859 /* ExpiryTime.swift */; }; - 07F1B3862786F94900680859 /* ChannelConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24D2786F94800680859 /* ChannelConfig.swift */; }; - 07F1B3872786F94900680859 /* DecodeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24E2786F94800680859 /* DecodeError.swift */; }; - 07F1B3882786F94900680859 /* QueryChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B24F2786F94800680859 /* QueryChannelRange.swift */; }; - 07F1B3892786F94900680859 /* HolderCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2502786F94800680859 /* HolderCommitmentTransaction.swift */; }; - 07F1B38A2786F94900680859 /* ChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2512786F94800680859 /* ChannelTransactionParameters.swift */; }; - 07F1B38B2786F94900680859 /* NodeInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2522786F94800680859 /* NodeInfo.swift */; }; - 07F1B38C2786F94900680859 /* BackgroundProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2532786F94800680859 /* BackgroundProcessor.swift */; }; - 07F1B38D2786F94900680859 /* DirectedChannelTransactionParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2542786F94800680859 /* DirectedChannelTransactionParameters.swift */; }; - 07F1B38E2786F94900680859 /* ChannelHandshakeConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2552786F94800680859 /* ChannelHandshakeConfig.swift */; }; - 07F1B38F2786F94900680859 /* RouteParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2562786F94800680859 /* RouteParameters.swift */; }; - 07F1B3902786F94900680859 /* ChannelManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2572786F94800680859 /* ChannelManager.swift */; }; - 07F1B3912786F94900680859 /* PrivateRoute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2582786F94800680859 /* PrivateRoute.swift */; }; - 07F1B3922786F94900680859 /* Shutdown.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2592786F94800680859 /* Shutdown.swift */; }; - 07F1B3932786F94900680859 /* ChainParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25A2786F94800680859 /* ChainParameters.swift */; }; - 07F1B3942786F94900680859 /* AcceptChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25B2786F94800680859 /* AcceptChannel.swift */; }; - 07F1B3952786F94900680859 /* FilesystemPersister.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25C2786F94800680859 /* FilesystemPersister.swift */; }; - 07F1B3962786F94900680859 /* ChannelHandshakeLimits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25D2786F94800680859 /* ChannelHandshakeLimits.swift */; }; - 07F1B3972786F94900680859 /* AnnouncementSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25E2786F94800680859 /* AnnouncementSignatures.swift */; }; - 07F1B3982786F94900680859 /* CommitmentUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B25F2786F94800680859 /* CommitmentUpdate.swift */; }; - 07F1B3992786F94900680859 /* ClosingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2602786F94800680859 /* ClosingSigned.swift */; }; - 07F1B39A2786F94900680859 /* DirectionalChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2612786F94800680859 /* DirectionalChannelInfo.swift */; }; - 07F1B39B2786F94900680859 /* DefaultRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2622786F94800680859 /* DefaultRouter.swift */; }; - 07F1B39C2786F94900680859 /* ChannelDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2632786F94800680859 /* ChannelDetails.swift */; }; - 07F1B39D2786F94900680859 /* Payee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2642786F94800680859 /* Payee.swift */; }; - 07F1B39E2786F94900680859 /* NodeAnnouncementInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2652786F94800680859 /* NodeAnnouncementInfo.swift */; }; - 07F1B39F2786F94900680859 /* UnsignedChannelAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2662786F94800680859 /* UnsignedChannelAnnouncement.swift */; }; - 07F1B3A02786F94900680859 /* TrustedClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2672786F94800680859 /* TrustedClosingTransaction.swift */; }; - 07F1B3A12786F94900680859 /* LightningError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2682786F94800680859 /* LightningError.swift */; }; - 07F1B3A22786F94900680859 /* MinFinalCltvExpiry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2692786F94800680859 /* MinFinalCltvExpiry.swift */; }; - 07F1B3A32786F94900680859 /* DataLossProtect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26A2786F94800680859 /* DataLossProtect.swift */; }; - 07F1B3A42786F94900680859 /* TxOut.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26B2786F94800680859 /* TxOut.swift */; }; - 07F1B3A52786F94900680859 /* ErrorMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26C2786F94800680859 /* ErrorMessage.swift */; }; - 07F1B3A62786F94900680859 /* ChannelCounterparty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26D2786F94800680859 /* ChannelCounterparty.swift */; }; - 07F1B3A72786F94900680859 /* RouteHop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26E2786F94800680859 /* RouteHop.swift */; }; - 07F1B3A82786F94900680859 /* WatchedOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B26F2786F94800680859 /* WatchedOutput.swift */; }; - 07F1B3A92786F94900680859 /* ChannelUpdate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2702786F94800680859 /* ChannelUpdate.swift */; }; - 07F1B3AA2786F94900680859 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2712786F94800680859 /* Record.swift */; }; - 07F1B3AB2786F94900680859 /* ReplyChannelRange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2722786F94800680859 /* ReplyChannelRange.swift */; }; - 07F1B3AC2786F94900680859 /* InitFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2732786F94800680859 /* InitFeatures.swift */; }; - 07F1B3AD2786F94900680859 /* NodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2742786F94800680859 /* NodeAnnouncement.swift */; }; - 07F1B3AE2786F94900680859 /* RawDataPart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2752786F94800680859 /* RawDataPart.swift */; }; - 07F1B3AF2786F94900680859 /* ChannelPublicKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2762786F94800680859 /* ChannelPublicKeys.swift */; }; - 07F1B3B02786F94900680859 /* ChannelInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2772786F94800680859 /* ChannelInfo.swift */; }; - 07F1B3B12786F94900680859 /* InvoiceSignature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2782786F94800680859 /* InvoiceSignature.swift */; }; - 07F1B3B22786F94900680859 /* OpenChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2792786F94800680859 /* OpenChannel.swift */; }; - 07F1B3B32786F94900680859 /* FundingSigned.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27A2786F94800680859 /* FundingSigned.swift */; }; - 07F1B3B42786F94900680859 /* SignedRawInvoice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27B2786F94800680859 /* SignedRawInvoice.swift */; }; - 07F1B3B52786F94900680859 /* ClosingTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27C2786F94800680859 /* ClosingTransaction.swift */; }; - 07F1B3B62786F94900680859 /* LockedChannelMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27D2786F94800680859 /* LockedChannelMonitor.swift */; }; - 07F1B3B72786F94900680859 /* CounterpartyForwardingInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27E2786F94800680859 /* CounterpartyForwardingInfo.swift */; }; - 07F1B3B82786F94900680859 /* Init.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B27F2786F94800680859 /* Init.swift */; }; - 07F1B3B92786F94900680859 /* ChannelTypeFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2802786F94800680859 /* ChannelTypeFeatures.swift */; }; - 07F1B3BA2786F94900680859 /* UnsignedNodeAnnouncement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2812786F94800680859 /* UnsignedNodeAnnouncement.swift */; }; - 07F1B3BB2786F94900680859 /* TrustedCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2822786F94800680859 /* TrustedCommitmentTransaction.swift */; }; - 07F1B3BC2786F94900680859 /* ReadOnlyNetworkGraph.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2832786F94800680859 /* ReadOnlyNetworkGraph.swift */; }; - 07F1B3BD2786F94900680859 /* RetryAttempts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2842786F94800680859 /* RetryAttempts.swift */; }; - 07F1B3BE2786F94900680859 /* ChannelFeatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2852786F94800680859 /* ChannelFeatures.swift */; }; - 07F1B3BF2786F94900680859 /* BuiltCommitmentTransaction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2862786F94800680859 /* BuiltCommitmentTransaction.swift */; }; - 07F1B3C02786F94900680859 /* UserConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2872786F94800680859 /* UserConfig.swift */; }; - 07F1B3C12786F94900680859 /* Route.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2882786F94800680859 /* Route.swift */; }; - 07F1B3C22786F94900680859 /* OutPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B2892786F94800680859 /* OutPoint.swift */; }; - 07F1B3C32786F94900680859 /* InvoicePayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B28A2786F94800680859 /* InvoicePayer.swift */; }; - 07F1B3C42786F94900680859 /* DelayedPaymentOutputDescriptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F1B28B2786F94800680859 /* DelayedPaymentOutputDescriptor.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -361,6 +379,337 @@ 07344C64264277ED001CD90E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 07344C8626427F95001CD90E /* LDKExampleClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LDKExampleClass.swift; sourceTree = ""; }; 07344FCD26428DD2001CD90E /* LDKFramework.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = LDKFramework.modulemap; sourceTree = ""; }; + 075177A127D600E50071110C /* PaymentSendFailure.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSendFailure.swift; sourceTree = ""; }; + 075177A227D600E50071110C /* Option_u64Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u64Z.swift; sourceTree = ""; }; + 075177A327D600E50071110C /* Fallback.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Fallback.swift; sourceTree = ""; }; + 075177A427D600E50071110C /* Option_C2Tuple_usizeTransactionZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_C2Tuple_usizeTransactionZZ.swift; sourceTree = ""; }; + 075177A527D600E50071110C /* APIError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APIError.swift; sourceTree = ""; }; + 075177A627D600E50071110C /* Option_TypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_TypeZ.swift; sourceTree = ""; }; + 075177A727D600E50071110C /* Event.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; + 075177A827D600E50071110C /* Option_AccessZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_AccessZ.swift; sourceTree = ""; }; + 075177A927D600E50071110C /* PaymentPurpose.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentPurpose.swift; sourceTree = ""; }; + 075177AA27D600E50071110C /* PaymentError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentError.swift; sourceTree = ""; }; + 075177AB27D600E50071110C /* Option_ClosureReasonZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_ClosureReasonZ.swift; sourceTree = ""; }; + 075177AC27D600E50071110C /* Option_FilterZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_FilterZ.swift; sourceTree = ""; }; + 075177AD27D600E50071110C /* EffectiveCapacity.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EffectiveCapacity.swift; sourceTree = ""; }; + 075177AE27D600E50071110C /* Balance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Balance.swift; sourceTree = ""; }; + 075177AF27D600E50071110C /* ErrorAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorAction.swift; sourceTree = ""; }; + 075177B027D600E50071110C /* Option_MonitorEventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_MonitorEventZ.swift; sourceTree = ""; }; + 075177B127D600E50071110C /* Option_NetworkUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_NetworkUpdateZ.swift; sourceTree = ""; }; + 075177B227D600E50071110C /* Option_u32Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u32Z.swift; sourceTree = ""; }; + 075177B327D600E50071110C /* Option_u16Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u16Z.swift; sourceTree = ""; }; + 075177B427D600E50071110C /* NetAddress.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetAddress.swift; sourceTree = ""; }; + 075177B527D600E50071110C /* SignOrCreationError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignOrCreationError.swift; sourceTree = ""; }; + 075177B627D600E50071110C /* NetworkUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkUpdate.swift; sourceTree = ""; }; + 075177B727D600E50071110C /* Option_EventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_EventZ.swift; sourceTree = ""; }; + 075177B827D600E50071110C /* ClosureReason.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosureReason.swift; sourceTree = ""; }; + 075177B927D600E50071110C /* MessageSendEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEvent.swift; sourceTree = ""; }; + 075177BA27D600E50071110C /* MonitorEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorEvent.swift; sourceTree = ""; }; + 075177BB27D600E50071110C /* SpendableOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SpendableOutputDescriptor.swift; sourceTree = ""; }; + 075177BC27D600E50071110C /* Option_CVec_NetAddressZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_CVec_NetAddressZZ.swift; sourceTree = ""; }; + 075177BE27D600E50071110C /* BaseSign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseSign.swift; sourceTree = ""; }; + 075177BF27D600E50071110C /* Persist.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persist.swift; sourceTree = ""; }; + 075177C027D600E50071110C /* Score.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Score.swift; sourceTree = ""; }; + 075177C127D600E50071110C /* KeysInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysInterface.swift; sourceTree = ""; }; + 075177C227D600E50071110C /* Logger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; + 075177C327D600E50071110C /* Payer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payer.swift; sourceTree = ""; }; + 075177C427D600E50071110C /* SocketDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketDescriptor.swift; sourceTree = ""; }; + 075177C527D600E50071110C /* FeeEstimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeeEstimator.swift; sourceTree = ""; }; + 075177C627D600E50071110C /* MessageSendEventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEventsProvider.swift; sourceTree = ""; }; + 075177C727D600E50071110C /* BroadcasterInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BroadcasterInterface.swift; sourceTree = ""; }; + 075177C827D600E50071110C /* LockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockableScore.swift; sourceTree = ""; }; + 075177C927D600E50071110C /* Confirm.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Confirm.swift; sourceTree = ""; }; + 075177CA27D600E50071110C /* EventHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventHandler.swift; sourceTree = ""; }; + 075177CB27D600E50071110C /* RoutingMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingMessageHandler.swift; sourceTree = ""; }; + 075177CC27D600E50071110C /* ChannelManagerPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerPersister.swift; sourceTree = ""; }; + 075177CD27D600E50071110C /* Listen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Listen.swift; sourceTree = ""; }; + 075177CE27D600E50071110C /* ChannelMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMessageHandler.swift; sourceTree = ""; }; + 075177CF27D600E50071110C /* Router.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Router.swift; sourceTree = ""; }; + 075177D027D600E50071110C /* Filter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Filter.swift; sourceTree = ""; }; + 075177D127D600E50071110C /* CustomMessageReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageReader.swift; sourceTree = ""; }; + 075177D227D600E50071110C /* BindingsType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BindingsType.swift; sourceTree = ""; }; + 075177D327D600E50071110C /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = ""; }; + 075177D427D600E50071110C /* EventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventsProvider.swift; sourceTree = ""; }; + 075177D527D600E50071110C /* Watch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Watch.swift; sourceTree = ""; }; + 075177D627D600E50071110C /* Sign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sign.swift; sourceTree = ""; }; + 075177D727D600E50071110C /* CustomMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageHandler.swift; sourceTree = ""; }; + 075177D927D600E50071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelMonitorZ.swift; sourceTree = ""; }; + 075177DA27D600E50071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureCVec_SignatureZZ.swift; sourceTree = ""; }; + 075177DB27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift; sourceTree = ""; }; + 075177DC27D600E50071110C /* C2Tuple_BlockHashChannelManagerZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelManagerZ.swift; sourceTree = ""; }; + 075177DD27D600E50071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift; sourceTree = ""; }; + 075177DE27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift; sourceTree = ""; }; + 075177DF27D600E50071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentSecretZ.swift; sourceTree = ""; }; + 075177E027D600E50071110C /* C2Tuple_u32TxOutZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32TxOutZ.swift; sourceTree = ""; }; + 075177E127D600E50071110C /* C2Tuple_OutPointScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_OutPointScriptZ.swift; sourceTree = ""; }; + 075177E227D600E50071110C /* C2Tuple_SignatureSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureSignatureZ.swift; sourceTree = ""; }; + 075177E327D600E50071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift; sourceTree = ""; }; + 075177E427D600E50071110C /* C2Tuple_PublicKeyTypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PublicKeyTypeZ.swift; sourceTree = ""; }; + 075177E527D600E50071110C /* C2Tuple_u32ScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32ScriptZ.swift; sourceTree = ""; }; + 075177E627D600E50071110C /* C2Tuple_usizeTransactionZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_usizeTransactionZ.swift; sourceTree = ""; }; + 075177E727D600E50071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentIdZ.swift; sourceTree = ""; }; + 075177E827D600E50071110C /* Bindings.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Bindings.swift; sourceTree = ""; }; + 075177EA27D600E50071110C /* Result_ChannelConfigDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelConfigDecodeErrorZ.swift; sourceTree = ""; }; + 075177EB27D600E50071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FixedPenaltyScorerDecodeErrorZ.swift; sourceTree = ""; }; + 075177EC27D600E50071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; + 075177ED27D600E50071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; + 075177EE27D600E50071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureSignatureZNoneZ.swift; sourceTree = ""; }; + 075177EF27D600E50071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptInvalidShutdownScriptZ.swift; sourceTree = ""; }; + 075177F027D600E50071110C /* Result_ScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScorerDecodeErrorZ.swift; sourceTree = ""; }; + 075177F127D600E50071110C /* Result_FundingCreatedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingCreatedDecodeErrorZ.swift; sourceTree = ""; }; + 075177F227D600E50071110C /* Result_TxCreationKeysErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysErrorZ.swift; sourceTree = ""; }; + 075177F327D600E50071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift; sourceTree = ""; }; + 075177F427D600E50071110C /* Result_LockedChannelMonitorNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_LockedChannelMonitorNoneZ.swift; sourceTree = ""; }; + 075177F527D600E50071110C /* Result_PingDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PingDecodeErrorZ.swift; sourceTree = ""; }; + 075177F627D600E50071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFulfillHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 075177F727D600E50071110C /* Result_NonePaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePaymentSendFailureZ.swift; sourceTree = ""; }; + 075177F827D600E50071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_u8ZPeerHandleErrorZ.swift; sourceTree = ""; }; + 075177F927D600E50071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 075177FA27D600E50071110C /* Result_RouteDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteDecodeErrorZ.swift; sourceTree = ""; }; + 075177FB27D600E50071110C /* Result_RevokeAndACKDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RevokeAndACKDecodeErrorZ.swift; sourceTree = ""; }; + 075177FC27D600E50071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_ClosureReasonZDecodeErrorZ.swift; sourceTree = ""; }; + 075177FD27D600E50071110C /* Result_OpenChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OpenChannelDecodeErrorZ.swift; sourceTree = ""; }; + 075177FE27D600E50071110C /* Result_ChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; + 075177FF27D600E50071110C /* Result_PongDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PongDecodeErrorZ.swift; sourceTree = ""; }; + 0751780027D600E50071110C /* Result__u832APIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result__u832APIErrorZ.swift; sourceTree = ""; }; + 0751780127D600E50071110C /* Result_RouteHintHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintHopDecodeErrorZ.swift; sourceTree = ""; }; + 0751780227D600E50071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedFeeRangeDecodeErrorZ.swift; sourceTree = ""; }; + 0751780327D600E50071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelPublicKeysDecodeErrorZ.swift; sourceTree = ""; }; + 0751780427D600E50071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_BuiltCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751780527D600E50071110C /* Result_PaymentSecretAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretAPIErrorZ.swift; sourceTree = ""; }; + 0751780627D600E50071110C /* Result_RouteHintDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintDecodeErrorZ.swift; sourceTree = ""; }; + 0751780727D600E50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SpendableOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 0751780827D600E50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751780927D600E50071110C /* Result_ErrorMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ErrorMessageDecodeErrorZ.swift; sourceTree = ""; }; + 0751780A27D600E50071110C /* Result_AcceptChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AcceptChannelDecodeErrorZ.swift; sourceTree = ""; }; + 0751780B27D600E50071110C /* Result_PaymentPreimageAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentPreimageAPIErrorZ.swift; sourceTree = ""; }; + 0751780C27D600E50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedNodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751780D27D600E50071110C /* Result_NodeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751780E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift; sourceTree = ""; }; + 0751780F27D600E50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedCommitmentTransactionNoneZ.swift; sourceTree = ""; }; + 0751781027D600E50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AnnouncementSignaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751781127D600E50071110C /* Result_StringErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StringErrorZ.swift; sourceTree = ""; }; + 0751781227D600E50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HolderCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751781327D600E50071110C /* Result_RouteHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHopDecodeErrorZ.swift; sourceTree = ""; }; + 0751781427D600E50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751781527D600E50071110C /* Result_CommitmentSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentSignedDecodeErrorZ.swift; sourceTree = ""; }; + 0751781627D600E50071110C /* Result_NonePeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePeerHandleErrorZ.swift; sourceTree = ""; }; + 0751781727D600E50071110C /* Result_TxOutAccessErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxOutAccessErrorZ.swift; sourceTree = ""; }; + 0751781827D600E50071110C /* Result_TrustedClosingTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedClosingTransactionNoneZ.swift; sourceTree = ""; }; + 0751781927D600E50071110C /* Result_NoneLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneLightningErrorZ.swift; sourceTree = ""; }; + 0751781A27D600E50071110C /* Result_NoneAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneAPIErrorZ.swift; sourceTree = ""; }; + 0751781B27D600E50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTypeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751781C27D600E50071110C /* Result_PublicKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PublicKeyErrorZ.swift; sourceTree = ""; }; + 0751781D27D600E50071110C /* Result_boolLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolLightningErrorZ.swift; sourceTree = ""; }; + 0751781E27D600E50071110C /* Result_ChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751781F27D600E50071110C /* Result_UpdateFeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFeeDecodeErrorZ.swift; sourceTree = ""; }; + 0751782027D600E50071110C /* Result_DescriptionCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DescriptionCreationErrorZ.swift; sourceTree = ""; }; + 0751782127D600E50071110C /* Result_ShutdownScriptDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptDecodeErrorZ.swift; sourceTree = ""; }; + 0751782227D600E50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; + 0751782327D600E50071110C /* Result_PaymentParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751782427D600E50071110C /* Result_SiPrefixNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SiPrefixNoneZ.swift; sourceTree = ""; }; + 0751782527D600E50071110C /* Result_FundingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingSignedDecodeErrorZ.swift; sourceTree = ""; }; + 0751782627D600E50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751782727D600E50071110C /* Result_TransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TransactionNoneZ.swift; sourceTree = ""; }; + 0751782827D600E50071110C /* Result_NetworkGraphDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetworkGraphDecodeErrorZ.swift; sourceTree = ""; }; + 0751782927D600E50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751782A27D600E50071110C /* Result_NoneSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneSemanticErrorZ.swift; sourceTree = ""; }; + 0751782B27D600E50071110C /* Result_InvoiceSignOrCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSignOrCreationErrorZ.swift; sourceTree = ""; }; + 0751782C27D600E50071110C /* Result_InvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceNoneZ.swift; sourceTree = ""; }; + 0751782D27D600E50071110C /* Result_RoutingFeesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RoutingFeesDecodeErrorZ.swift; sourceTree = ""; }; + 0751782E27D600E50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift; sourceTree = ""; }; + 0751782F27D600E50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ProbabilisticScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751783027D600E50071110C /* Result_ChannelReestablishDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelReestablishDecodeErrorZ.swift; sourceTree = ""; }; + 0751783127D600E50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_GossipTimestampFilterDecodeErrorZ.swift; sourceTree = ""; }; + 0751783227D600E50071110C /* Result_RouteParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751783327D600E50071110C /* Result_ScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751783427D600E50071110C /* Result_COption_EventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_EventZDecodeErrorZ.swift; sourceTree = ""; }; + 0751783527D600E50071110C /* Result_PaymentIdPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentSendFailureZ.swift; sourceTree = ""; }; + 0751783627D600E50071110C /* Result_PaymentIdPaymentErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentErrorZ.swift; sourceTree = ""; }; + 0751783727D600E50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_CVec_u8ZZNoneZ.swift; sourceTree = ""; }; + 0751783827D600E50071110C /* Result_SecretKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyErrorZ.swift; sourceTree = ""; }; + 0751783927D600E50071110C /* Result_HTLCUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751783A27D600E50071110C /* Result_NodeIdDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeIdDecodeErrorZ.swift; sourceTree = ""; }; + 0751783B27D600E50071110C /* Result_RouteLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteLightningErrorZ.swift; sourceTree = ""; }; + 0751783C27D600E50071110C /* Result_InvoiceSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSemanticErrorZ.swift; sourceTree = ""; }; + 0751783D27D600E50071110C /* Result_SignedRawInvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignedRawInvoiceNoneZ.swift; sourceTree = ""; }; + 0751783E27D600E50071110C /* Result_COption_TypeZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_TypeZDecodeErrorZ.swift; sourceTree = ""; }; + 0751783F27D600E50071110C /* Result_InitFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751784027D600E50071110C /* Result_NetAddressDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetAddressDecodeErrorZ.swift; sourceTree = ""; }; + 0751784127D600E50071110C /* Result_WarningMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_WarningMessageDecodeErrorZ.swift; sourceTree = ""; }; + 0751784227D600E50071110C /* Result_RecoverableSignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RecoverableSignatureNoneZ.swift; sourceTree = ""; }; + 0751784327D600E50071110C /* Result_ChannelDetailsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelDetailsDecodeErrorZ.swift; sourceTree = ""; }; + 0751784427D600E50071110C /* Result_CVec_SignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_SignatureZNoneZ.swift; sourceTree = ""; }; + 0751784527D600E50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelMonitorUpdateDecodeErrorZ.swift; sourceTree = ""; }; + 0751784627D600E50071110C /* Result_SignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignatureNoneZ.swift; sourceTree = ""; }; + 0751784727D600E50071110C /* Result_NoneErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneErrorZ.swift; sourceTree = ""; }; + 0751784827D600E50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateAddHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 0751784927D600E50071110C /* Result_FundingLockedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingLockedDecodeErrorZ.swift; sourceTree = ""; }; + 0751784A27D600E50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PhantomRouteHintsDecodeErrorZ.swift; sourceTree = ""; }; + 0751784B27D600E50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateInfoDecodeErrorZ.swift; sourceTree = ""; }; + 0751784C27D600E50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift; sourceTree = ""; }; + 0751784D27D600E50071110C /* Result_SecretKeyNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyNoneZ.swift; sourceTree = ""; }; + 0751784E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift; sourceTree = ""; }; + 0751784F27D600E50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryShortChannelIdsDecodeErrorZ.swift; sourceTree = ""; }; + 0751785027D600E50071110C /* Result_SignDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignDecodeErrorZ.swift; sourceTree = ""; }; + 0751785127D600E50071110C /* Result_boolPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolPeerHandleErrorZ.swift; sourceTree = ""; }; + 0751785227D600E50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; + 0751785327D600E50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift; sourceTree = ""; }; + 0751785427D600E50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; + 0751785527D600E50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailMalformedHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 0751785627D600E50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailHTLCDecodeErrorZ.swift; sourceTree = ""; }; + 0751785727D600E50071110C /* Result_TxCreationKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysDecodeErrorZ.swift; sourceTree = ""; }; + 0751785827D600E50071110C /* Result_NoneNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneNoneZ.swift; sourceTree = ""; }; + 0751785927D600E50071110C /* Result_PositiveTimestampCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PositiveTimestampCreationErrorZ.swift; sourceTree = ""; }; + 0751785A27D600E50071110C /* Result_OutPointDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OutPointDecodeErrorZ.swift; sourceTree = ""; }; + 0751785B27D600E50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; + 0751785C27D600E50071110C /* Result_PayeePubKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeePubKeyErrorZ.swift; sourceTree = ""; }; + 0751785D27D600E50071110C /* Result_ShutdownDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownDecodeErrorZ.swift; sourceTree = ""; }; + 0751785E27D600E50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift; sourceTree = ""; }; + 0751785F27D600E50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementInfoDecodeErrorZ.swift; sourceTree = ""; }; + 0751786027D600E50071110C /* Result_NodeInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeInfoDecodeErrorZ.swift; sourceTree = ""; }; + 0751786127D600E50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_NetworkUpdateZDecodeErrorZ.swift; sourceTree = ""; }; + 0751786227D600E50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelFeaturesDecodeErrorZ.swift; sourceTree = ""; }; + 0751786327D600E50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; + 0751786427D600E50071110C /* Result_PaymentSecretNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretNoneZ.swift; sourceTree = ""; }; + 0751786527D600E50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyForwardingInfoDecodeErrorZ.swift; sourceTree = ""; }; + 0751786627D600E50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_MonitorEventZDecodeErrorZ.swift; sourceTree = ""; }; + 0751786727D600E50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCOutputInCommitmentDecodeErrorZ.swift; sourceTree = ""; }; + 0751786827D600E50071110C /* Result_InitDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitDecodeErrorZ.swift; sourceTree = ""; }; + 0751786927D600E50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneChannelMonitorUpdateErrZ.swift; sourceTree = ""; }; + 0751786A27D600E50071110C /* Result_PrivateRouteCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PrivateRouteCreationErrorZ.swift; sourceTree = ""; }; + 0751786B27D600E50071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift; sourceTree = ""; }; + 0751786C27D600E50071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyShortChannelIdsEndDecodeErrorZ.swift; sourceTree = ""; }; + 0751786D27D600E50071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelCounterpartyDecodeErrorZ.swift; sourceTree = ""; }; + 0751786E27D600E50071110C /* Result_ClosingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedDecodeErrorZ.swift; sourceTree = ""; }; + 0751786F27D600E50071110C /* Result_InMemorySignerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InMemorySignerDecodeErrorZ.swift; sourceTree = ""; }; + 0751787127D600E50071110C /* MessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageHandler.swift; sourceTree = ""; }; + 0751787227D600E50071110C /* ChainMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainMonitor.swift; sourceTree = ""; }; + 0751787327D600E50071110C /* PayeePubKey.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PayeePubKey.swift; sourceTree = ""; }; + 0751787427D600E50071110C /* Scorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Scorer.swift; sourceTree = ""; }; + 0751787527D600E50071110C /* Description.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Description.swift; sourceTree = ""; }; + 0751787627D600E50071110C /* RevokeAndACK.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RevokeAndACK.swift; sourceTree = ""; }; + 0751787727D600E50071110C /* MonitorUpdateId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorUpdateId.swift; sourceTree = ""; }; + 0751787827D600E50071110C /* WarningMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WarningMessage.swift; sourceTree = ""; }; + 0751787927D600E50071110C /* Ping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Ping.swift; sourceTree = ""; }; + 0751787A27D600E50071110C /* PositiveTimestamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PositiveTimestamp.swift; sourceTree = ""; }; + 0751787B27D600E50071110C /* UpdateAddHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateAddHTLC.swift; sourceTree = ""; }; + 0751787C27D600E50071110C /* PhantomKeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhantomKeysManager.swift; sourceTree = ""; }; + 0751787D27D600E50071110C /* UpdateFailMalformedHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailMalformedHTLC.swift; sourceTree = ""; }; + 0751787E27D600E50071110C /* ChannelMonitorUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitorUpdate.swift; sourceTree = ""; }; + 0751787F27D600E50071110C /* RouteHint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHint.swift; sourceTree = ""; }; + 0751788027D600E50071110C /* Sha256.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sha256.swift; sourceTree = ""; }; + 0751788127D600E50071110C /* HTLCOutputInCommitment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCOutputInCommitment.swift; sourceTree = ""; }; + 0751788227D600E50071110C /* ChannelReestablish.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelReestablish.swift; sourceTree = ""; }; + 0751788327D600E50071110C /* RouteHintHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHintHop.swift; sourceTree = ""; }; + 0751788427D600E50071110C /* ChannelManagerReadArgs.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerReadArgs.swift; sourceTree = ""; }; + 0751788527D600E50071110C /* UpdateFulfillHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFulfillHTLC.swift; sourceTree = ""; }; + 0751788627D600E50071110C /* NodeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeFeatures.swift; sourceTree = ""; }; + 0751788727D600E50071110C /* NetGraphMsgHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandler.swift; sourceTree = ""; }; + 0751788827D600E50071110C /* InvoiceFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceFeatures.swift; sourceTree = ""; }; + 0751788927D600E50071110C /* Invoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Invoice.swift; sourceTree = ""; }; + 0751788A27D600E50071110C /* RoutingFees.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingFees.swift; sourceTree = ""; }; + 0751788B27D600E50071110C /* ChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitor.swift; sourceTree = ""; }; + 0751788C27D600E50071110C /* ClosingSignedFeeRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSignedFeeRange.swift; sourceTree = ""; }; + 0751788D27D600E50071110C /* BestBlock.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BestBlock.swift; sourceTree = ""; }; + 0751788E27D600E50071110C /* UpdateFee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFee.swift; sourceTree = ""; }; + 0751788F27D600E50071110C /* UnsignedChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelUpdate.swift; sourceTree = ""; }; + 0751789027D600E50071110C /* MultiThreadedLockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultiThreadedLockableScore.swift; sourceTree = ""; }; + 0751789127D600E50071110C /* ChannelUpdateInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdateInfo.swift; sourceTree = ""; }; + 0751789227D600E50071110C /* QueryShortChannelIds.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryShortChannelIds.swift; sourceTree = ""; }; + 0751789327D600E50071110C /* NetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkGraph.swift; sourceTree = ""; }; + 0751789427D600E50071110C /* DirectedChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelInfo.swift; sourceTree = ""; }; + 0751789527D600E50071110C /* InvalidShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvalidShutdownScript.swift; sourceTree = ""; }; + 0751789627D600E50071110C /* CommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentTransaction.swift; sourceTree = ""; }; + 0751789727D600E50071110C /* KeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysManager.swift; sourceTree = ""; }; + 0751789827D600E50071110C /* FundingCreated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingCreated.swift; sourceTree = ""; }; + 0751789927D600E50071110C /* CounterpartyChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyChannelTransactionParameters.swift; sourceTree = ""; }; + 0751789A27D600E50071110C /* ChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelAnnouncement.swift; sourceTree = ""; }; + 0751789B27D600E50071110C /* ReplyShortChannelIdsEnd.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyShortChannelIdsEnd.swift; sourceTree = ""; }; + 0751789C27D600E50071110C /* IgnoringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IgnoringMessageHandler.swift; sourceTree = ""; }; + 0751789D27D600E50071110C /* ShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShutdownScript.swift; sourceTree = ""; }; + 0751789E27D600E50071110C /* PeerManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerManager.swift; sourceTree = ""; }; + 0751789F27D600E50071110C /* UpdateFailHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailHTLC.swift; sourceTree = ""; }; + 075178A027D600E50071110C /* FundingLocked.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingLocked.swift; sourceTree = ""; }; + 075178A127D600E50071110C /* ScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScoringParameters.swift; sourceTree = ""; }; + 075178A227D600E50071110C /* StaticPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StaticPaymentOutputDescriptor.swift; sourceTree = ""; }; + 075178A327D600E50071110C /* HTLCUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCUpdate.swift; sourceTree = ""; }; + 075178A427D600E50071110C /* NodeId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeId.swift; sourceTree = ""; }; + 075178A527D600E50071110C /* InMemorySigner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InMemorySigner.swift; sourceTree = ""; }; + 075178A627D600E50071110C /* GossipTimestampFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GossipTimestampFilter.swift; sourceTree = ""; }; + 075178A727D600E50071110C /* PeerHandleError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerHandleError.swift; sourceTree = ""; }; + 075178A827D600E50071110C /* ErroringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErroringMessageHandler.swift; sourceTree = ""; }; + 075178A927D600E50071110C /* CommitmentSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentSigned.swift; sourceTree = ""; }; + 075178AA27D600E50071110C /* TxCreationKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxCreationKeys.swift; sourceTree = ""; }; + 075178AB27D600E50071110C /* RawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawInvoice.swift; sourceTree = ""; }; + 075178AC27D600E50071110C /* Pong.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pong.swift; sourceTree = ""; }; + 075178AD27D600E50071110C /* CounterpartyCommitmentSecrets.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyCommitmentSecrets.swift; sourceTree = ""; }; + 075178AE27D600E50071110C /* ExpiryTime.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpiryTime.swift; sourceTree = ""; }; + 075178AF27D600E50071110C /* ChannelConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelConfig.swift; sourceTree = ""; }; + 075178B027D600E50071110C /* DecodeError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodeError.swift; sourceTree = ""; }; + 075178B127D600E50071110C /* QueryChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryChannelRange.swift; sourceTree = ""; }; + 075178B227D600E50071110C /* HolderCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HolderCommitmentTransaction.swift; sourceTree = ""; }; + 075178B327D600E50071110C /* ChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTransactionParameters.swift; sourceTree = ""; }; + 075178B427D600E50071110C /* NodeInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeInfo.swift; sourceTree = ""; }; + 075178B527D600E50071110C /* BackgroundProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BackgroundProcessor.swift; sourceTree = ""; }; + 075178B627D600E50071110C /* DirectedChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelTransactionParameters.swift; sourceTree = ""; }; + 075178B727D600E50071110C /* ChannelHandshakeConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeConfig.swift; sourceTree = ""; }; + 075178B827D600E50071110C /* RouteParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteParameters.swift; sourceTree = ""; }; + 075178B927D600E50071110C /* ChannelManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManager.swift; sourceTree = ""; }; + 075178BA27D600E50071110C /* PrivateRoute.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrivateRoute.swift; sourceTree = ""; }; + 075178BB27D600E50071110C /* Shutdown.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Shutdown.swift; sourceTree = ""; }; + 075178BC27D600E50071110C /* ChainParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainParameters.swift; sourceTree = ""; }; + 075178BD27D600E50071110C /* AcceptChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AcceptChannel.swift; sourceTree = ""; }; + 075178BE27D600E50071110C /* FilesystemPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilesystemPersister.swift; sourceTree = ""; }; + 075178BF27D600E50071110C /* ChannelHandshakeLimits.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeLimits.swift; sourceTree = ""; }; + 075178C027D600E50071110C /* ProbabilisticScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProbabilisticScoringParameters.swift; sourceTree = ""; }; + 075178C127D600E50071110C /* PhantomRouteHints.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhantomRouteHints.swift; sourceTree = ""; }; + 075178C227D600E50071110C /* PaymentParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentParameters.swift; sourceTree = ""; }; + 075178C327D600E50071110C /* AnnouncementSignatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnnouncementSignatures.swift; sourceTree = ""; }; + 075178C427D600E50071110C /* CommitmentUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentUpdate.swift; sourceTree = ""; }; + 075178C527D600E50071110C /* ClosingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSigned.swift; sourceTree = ""; }; + 075178C627D600E50071110C /* DefaultRouter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultRouter.swift; sourceTree = ""; }; + 075178C727D600E50071110C /* ChannelDetails.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelDetails.swift; sourceTree = ""; }; + 075178C827D600E50071110C /* NodeAnnouncementInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncementInfo.swift; sourceTree = ""; }; + 075178C927D600E50071110C /* UnsignedChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelAnnouncement.swift; sourceTree = ""; }; + 075178CA27D600E50071110C /* TrustedClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedClosingTransaction.swift; sourceTree = ""; }; + 075178CB27D600E50071110C /* LightningError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LightningError.swift; sourceTree = ""; }; + 075178CC27D600E50071110C /* MinFinalCltvExpiry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MinFinalCltvExpiry.swift; sourceTree = ""; }; + 075178CD27D600E50071110C /* DataLossProtect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataLossProtect.swift; sourceTree = ""; }; + 075178CE27D600E50071110C /* TxOut.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxOut.swift; sourceTree = ""; }; + 075178CF27D600E50071110C /* ErrorMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorMessage.swift; sourceTree = ""; }; + 075178D027D600E50071110C /* ChannelCounterparty.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelCounterparty.swift; sourceTree = ""; }; + 075178D127D600E50071110C /* RouteHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHop.swift; sourceTree = ""; }; + 075178D227D600E50071110C /* WatchedOutput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WatchedOutput.swift; sourceTree = ""; }; + 075178D327D600E50071110C /* ChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdate.swift; sourceTree = ""; }; + 075178D427D600E50071110C /* Record.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Record.swift; sourceTree = ""; }; + 075178D527D600E50071110C /* ReplyChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyChannelRange.swift; sourceTree = ""; }; + 075178D627D600E50071110C /* InitFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InitFeatures.swift; sourceTree = ""; }; + 075178D727D600E50071110C /* NodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncement.swift; sourceTree = ""; }; + 075178D827D600E50071110C /* RawDataPart.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawDataPart.swift; sourceTree = ""; }; + 075178D927D600E50071110C /* ChannelPublicKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelPublicKeys.swift; sourceTree = ""; }; + 075178DA27D600E50071110C /* ChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelInfo.swift; sourceTree = ""; }; + 075178DB27D600E50071110C /* InvoiceSignature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceSignature.swift; sourceTree = ""; }; + 075178DC27D600E50071110C /* OpenChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenChannel.swift; sourceTree = ""; }; + 075178DD27D600E50071110C /* FundingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingSigned.swift; sourceTree = ""; }; + 075178DE27D600E50071110C /* SignedRawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignedRawInvoice.swift; sourceTree = ""; }; + 075178DF27D600E50071110C /* ClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingTransaction.swift; sourceTree = ""; }; + 075178E027D600E50071110C /* LockedChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockedChannelMonitor.swift; sourceTree = ""; }; + 075178E127D600E50071110C /* CounterpartyForwardingInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyForwardingInfo.swift; sourceTree = ""; }; + 075178E227D600E50071110C /* FixedPenaltyScorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FixedPenaltyScorer.swift; sourceTree = ""; }; + 075178E327D600E50071110C /* Init.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Init.swift; sourceTree = ""; }; + 075178E427D600E50071110C /* ChannelTypeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTypeFeatures.swift; sourceTree = ""; }; + 075178E527D600E50071110C /* UnsignedNodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedNodeAnnouncement.swift; sourceTree = ""; }; + 075178E627D600E50071110C /* TrustedCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedCommitmentTransaction.swift; sourceTree = ""; }; + 075178E727D600E50071110C /* ReadOnlyNetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadOnlyNetworkGraph.swift; sourceTree = ""; }; + 075178E827D600E50071110C /* RetryAttempts.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RetryAttempts.swift; sourceTree = ""; }; + 075178E927D600E50071110C /* ChannelFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelFeatures.swift; sourceTree = ""; }; + 075178EA27D600E50071110C /* BuiltCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuiltCommitmentTransaction.swift; sourceTree = ""; }; + 075178EB27D600E50071110C /* UserConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserConfig.swift; sourceTree = ""; }; + 075178EC27D600E50071110C /* Route.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Route.swift; sourceTree = ""; }; + 075178ED27D600E50071110C /* OutPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OutPoint.swift; sourceTree = ""; }; + 075178EE27D600E50071110C /* InvoicePayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoicePayer.swift; sourceTree = ""; }; + 075178EF27D600E50071110C /* DelayedPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DelayedPaymentOutputDescriptor.swift; sourceTree = ""; }; 075E294526FEFFAF0000A76B /* TCPPeerHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TCPPeerHandler.swift; sourceTree = ""; }; 075E294626FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandlerConstructor.swift; sourceTree = ""; }; 075E294726FEFFAF0000A76B /* ChannelManagerConstructor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerConstructor.swift; sourceTree = ""; }; @@ -374,319 +723,6 @@ 0767DB2F26A0964800BEB4CC /* LDKFramework copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "LDKFramework copy-Info.plist"; path = "/Users/arik/Developer/ldk-swift-generator/xcode/LDKFramework/LDKFramework copy-Info.plist"; sourceTree = ""; }; 0767DB4226A09F4900BEB4CC /* LDKFramework_Mac.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = LDKFramework_Mac.modulemap; sourceTree = ""; }; 0767DFB426B09D7800BEB4CC /* libldk.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libldk.a; path = "../../../ldk-c-bindings/lightning-c-bindings/target/x86_64-apple-darwin/release/libldk.a"; sourceTree = ""; }; - 07F1B14F2786F94700680859 /* PaymentSendFailure.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSendFailure.swift; sourceTree = ""; }; - 07F1B1502786F94700680859 /* Option_u64Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u64Z.swift; sourceTree = ""; }; - 07F1B1512786F94700680859 /* Fallback.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Fallback.swift; sourceTree = ""; }; - 07F1B1522786F94700680859 /* Option_C2Tuple_usizeTransactionZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_C2Tuple_usizeTransactionZZ.swift; sourceTree = ""; }; - 07F1B1532786F94700680859 /* APIError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APIError.swift; sourceTree = ""; }; - 07F1B1542786F94700680859 /* Option_TypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_TypeZ.swift; sourceTree = ""; }; - 07F1B1552786F94700680859 /* Event.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; - 07F1B1562786F94700680859 /* Option_AccessZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_AccessZ.swift; sourceTree = ""; }; - 07F1B1572786F94700680859 /* PaymentPurpose.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentPurpose.swift; sourceTree = ""; }; - 07F1B1582786F94700680859 /* PaymentError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentError.swift; sourceTree = ""; }; - 07F1B1592786F94700680859 /* Option_ClosureReasonZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_ClosureReasonZ.swift; sourceTree = ""; }; - 07F1B15A2786F94700680859 /* Option_FilterZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_FilterZ.swift; sourceTree = ""; }; - 07F1B15B2786F94700680859 /* Balance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Balance.swift; sourceTree = ""; }; - 07F1B15C2786F94700680859 /* ErrorAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorAction.swift; sourceTree = ""; }; - 07F1B15D2786F94700680859 /* Option_MonitorEventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_MonitorEventZ.swift; sourceTree = ""; }; - 07F1B15E2786F94700680859 /* Option_NetworkUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_NetworkUpdateZ.swift; sourceTree = ""; }; - 07F1B15F2786F94700680859 /* Option_u32Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u32Z.swift; sourceTree = ""; }; - 07F1B1602786F94700680859 /* Option_u16Z.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_u16Z.swift; sourceTree = ""; }; - 07F1B1612786F94700680859 /* NetAddress.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetAddress.swift; sourceTree = ""; }; - 07F1B1622786F94700680859 /* SignOrCreationError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignOrCreationError.swift; sourceTree = ""; }; - 07F1B1632786F94700680859 /* NetworkUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkUpdate.swift; sourceTree = ""; }; - 07F1B1642786F94700680859 /* Option_EventZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_EventZ.swift; sourceTree = ""; }; - 07F1B1652786F94700680859 /* ClosureReason.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosureReason.swift; sourceTree = ""; }; - 07F1B1662786F94700680859 /* MessageSendEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEvent.swift; sourceTree = ""; }; - 07F1B1672786F94700680859 /* MonitorEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorEvent.swift; sourceTree = ""; }; - 07F1B1682786F94700680859 /* SpendableOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SpendableOutputDescriptor.swift; sourceTree = ""; }; - 07F1B1692786F94700680859 /* Option_CVec_NetAddressZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option_CVec_NetAddressZZ.swift; sourceTree = ""; }; - 07F1B16B2786F94700680859 /* BaseSign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseSign.swift; sourceTree = ""; }; - 07F1B16C2786F94700680859 /* Persist.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Persist.swift; sourceTree = ""; }; - 07F1B16D2786F94700680859 /* Score.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Score.swift; sourceTree = ""; }; - 07F1B16E2786F94700680859 /* KeysInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysInterface.swift; sourceTree = ""; }; - 07F1B16F2786F94700680859 /* Logger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; - 07F1B1702786F94700680859 /* Payer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payer.swift; sourceTree = ""; }; - 07F1B1712786F94700680859 /* SocketDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketDescriptor.swift; sourceTree = ""; }; - 07F1B1722786F94700680859 /* FeeEstimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeeEstimator.swift; sourceTree = ""; }; - 07F1B1732786F94700680859 /* MessageSendEventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSendEventsProvider.swift; sourceTree = ""; }; - 07F1B1742786F94700680859 /* BroadcasterInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BroadcasterInterface.swift; sourceTree = ""; }; - 07F1B1752786F94700680859 /* LockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockableScore.swift; sourceTree = ""; }; - 07F1B1762786F94700680859 /* Confirm.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Confirm.swift; sourceTree = ""; }; - 07F1B1772786F94700680859 /* EventHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventHandler.swift; sourceTree = ""; }; - 07F1B1782786F94700680859 /* RoutingMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingMessageHandler.swift; sourceTree = ""; }; - 07F1B1792786F94700680859 /* ChannelManagerPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerPersister.swift; sourceTree = ""; }; - 07F1B17A2786F94700680859 /* Listen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Listen.swift; sourceTree = ""; }; - 07F1B17B2786F94700680859 /* ChannelMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMessageHandler.swift; sourceTree = ""; }; - 07F1B17C2786F94700680859 /* Router.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Router.swift; sourceTree = ""; }; - 07F1B17D2786F94700680859 /* Filter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Filter.swift; sourceTree = ""; }; - 07F1B17E2786F94700680859 /* CustomMessageReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageReader.swift; sourceTree = ""; }; - 07F1B17F2786F94700680859 /* BindingsType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BindingsType.swift; sourceTree = ""; }; - 07F1B1802786F94700680859 /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = ""; }; - 07F1B1812786F94700680859 /* EventsProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventsProvider.swift; sourceTree = ""; }; - 07F1B1822786F94700680859 /* Watch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Watch.swift; sourceTree = ""; }; - 07F1B1832786F94700680859 /* Sign.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sign.swift; sourceTree = ""; }; - 07F1B1842786F94700680859 /* CustomMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomMessageHandler.swift; sourceTree = ""; }; - 07F1B1862786F94700680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelMonitorZ.swift; sourceTree = ""; }; - 07F1B1872786F94700680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_SignatureCVec_SignatureZZ.swift; sourceTree = ""; }; - 07F1B1882786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift; sourceTree = ""; }; - 07F1B1892786F94700680859 /* C2Tuple_BlockHashChannelManagerZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_BlockHashChannelManagerZ.swift; sourceTree = ""; }; - 07F1B18A2786F94700680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift; sourceTree = ""; }; - 07F1B18B2786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift; sourceTree = ""; }; - 07F1B18C2786F94700680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentSecretZ.swift; sourceTree = ""; }; - 07F1B18D2786F94700680859 /* C2Tuple_u32TxOutZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32TxOutZ.swift; sourceTree = ""; }; - 07F1B18E2786F94700680859 /* C2Tuple_OutPointScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_OutPointScriptZ.swift; sourceTree = ""; }; - 07F1B18F2786F94700680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift; sourceTree = ""; }; - 07F1B1902786F94700680859 /* C2Tuple_PublicKeyTypeZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PublicKeyTypeZ.swift; sourceTree = ""; }; - 07F1B1912786F94700680859 /* C2Tuple_u32ScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_u32ScriptZ.swift; sourceTree = ""; }; - 07F1B1922786F94700680859 /* C2Tuple_usizeTransactionZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_usizeTransactionZ.swift; sourceTree = ""; }; - 07F1B1932786F94700680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = C2Tuple_PaymentHashPaymentIdZ.swift; sourceTree = ""; }; - 07F1B1942786F94700680859 /* Bindings.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Bindings.swift; sourceTree = ""; }; - 07F1B1962786F94700680859 /* Result_ChannelConfigDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelConfigDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1972786F94700680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1982786F94700680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1992786F94700680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptInvalidShutdownScriptZ.swift; sourceTree = ""; }; - 07F1B19A2786F94700680859 /* Result_ScorerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScorerDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B19B2786F94700680859 /* Result_FundingCreatedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingCreatedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B19C2786F94700680859 /* Result_TxCreationKeysErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysErrorZ.swift; sourceTree = ""; }; - 07F1B19D2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1B19E2786F94700680859 /* Result_LockedChannelMonitorNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_LockedChannelMonitorNoneZ.swift; sourceTree = ""; }; - 07F1B19F2786F94700680859 /* Result_PingDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PingDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A02786F94700680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFulfillHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A12786F94700680859 /* Result_NonePaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1B1A22786F94700680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_u8ZPeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1B1A32786F94700680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A42786F94700680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DirectionalChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A52786F94700680859 /* Result_RouteDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A62786F94700680859 /* Result_RevokeAndACKDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RevokeAndACKDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A72786F94700680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_ClosureReasonZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A82786F94700680859 /* Result_OpenChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OpenChannelDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1A92786F94700680859 /* Result_ChannelInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1AA2786F94700680859 /* Result_PongDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PongDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1AB2786F94700680859 /* Result__u832APIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result__u832APIErrorZ.swift; sourceTree = ""; }; - 07F1B1AC2786F94700680859 /* Result_RouteHintHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintHopDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1AD2786F94700680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedFeeRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1AE2786F94700680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelPublicKeysDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1AF2786F94700680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_BuiltCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B02786F94700680859 /* Result_PaymentSecretAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretAPIErrorZ.swift; sourceTree = ""; }; - 07F1B1B12786F94700680859 /* Result_RouteHintDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHintDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B22786F94700680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SpendableOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B32786F94700680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B42786F94700680859 /* Result_ErrorMessageDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ErrorMessageDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B52786F94700680859 /* Result_AcceptChannelDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AcceptChannelDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B62786F94700680859 /* Result_PaymentPreimageAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentPreimageAPIErrorZ.swift; sourceTree = ""; }; - 07F1B1B72786F94700680859 /* Result_PayeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B82786F94700680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedNodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1B92786F94700680859 /* Result_NodeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1BA2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift; sourceTree = ""; }; - 07F1B1BB2786F94700680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedCommitmentTransactionNoneZ.swift; sourceTree = ""; }; - 07F1B1BC2786F94700680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_AnnouncementSignaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1BD2786F94700680859 /* Result_StringErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_StringErrorZ.swift; sourceTree = ""; }; - 07F1B1BE2786F94700680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HolderCommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1BF2786F94700680859 /* Result_RouteHopDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteHopDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1C02786F94700680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UnsignedChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1C12786F94700680859 /* Result_CommitmentSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1C22786F94700680859 /* Result_NonePeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NonePeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1B1C32786F94700680859 /* Result_TxOutAccessErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxOutAccessErrorZ.swift; sourceTree = ""; }; - 07F1B1C42786F94700680859 /* Result_TrustedClosingTransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TrustedClosingTransactionNoneZ.swift; sourceTree = ""; }; - 07F1B1C52786F94700680859 /* Result_NoneLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneLightningErrorZ.swift; sourceTree = ""; }; - 07F1B1C62786F94700680859 /* Result_NoneAPIErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneAPIErrorZ.swift; sourceTree = ""; }; - 07F1B1C72786F94700680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelTypeFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1C82786F94700680859 /* Result_PublicKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PublicKeyErrorZ.swift; sourceTree = ""; }; - 07F1B1C92786F94700680859 /* Result_boolLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolLightningErrorZ.swift; sourceTree = ""; }; - 07F1B1CA2786F94700680859 /* Result_ChannelUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1CB2786F94700680859 /* Result_UpdateFeeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFeeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1CC2786F94700680859 /* Result_DescriptionCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DescriptionCreationErrorZ.swift; sourceTree = ""; }; - 07F1B1CD2786F94700680859 /* Result_ShutdownScriptDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownScriptDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1CE2786F94700680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CommitmentTransactionDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1CF2786F94700680859 /* Result_SiPrefixNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SiPrefixNoneZ.swift; sourceTree = ""; }; - 07F1B1D02786F94700680859 /* Result_FundingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1D12786F94700680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1D22786F94700680859 /* Result_TransactionNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TransactionNoneZ.swift; sourceTree = ""; }; - 07F1B1D32786F94700680859 /* Result_NetworkGraphDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetworkGraphDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1D42786F94700680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1D52786F94700680859 /* Result_NoneSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneSemanticErrorZ.swift; sourceTree = ""; }; - 07F1B1D62786F94700680859 /* Result_InvoiceSignOrCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSignOrCreationErrorZ.swift; sourceTree = ""; }; - 07F1B1D72786F94700680859 /* Result_InvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceNoneZ.swift; sourceTree = ""; }; - 07F1B1D82786F94700680859 /* Result_RoutingFeesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RoutingFeesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1D92786F94700680859 /* Result_ChannelReestablishDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelReestablishDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1DA2786F94700680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_GossipTimestampFilterDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1DB2786F94700680859 /* Result_RouteParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1DC2786F94700680859 /* Result_ScoringParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ScoringParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1DD2786F94700680859 /* Result_COption_EventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_EventZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1DE2786F94700680859 /* Result_PaymentIdPaymentSendFailureZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentSendFailureZ.swift; sourceTree = ""; }; - 07F1B1DF2786F94700680859 /* Result_PaymentIdPaymentErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentIdPaymentErrorZ.swift; sourceTree = ""; }; - 07F1B1E02786F94700680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_CVec_u8ZZNoneZ.swift; sourceTree = ""; }; - 07F1B1E12786F94700680859 /* Result_SecretKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SecretKeyErrorZ.swift; sourceTree = ""; }; - 07F1B1E22786F94700680859 /* Result_HTLCUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1E32786F94700680859 /* Result_NodeIdDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeIdDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1E42786F94700680859 /* Result_RouteLightningErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RouteLightningErrorZ.swift; sourceTree = ""; }; - 07F1B1E52786F94700680859 /* Result_InvoiceSemanticErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InvoiceSemanticErrorZ.swift; sourceTree = ""; }; - 07F1B1E62786F94700680859 /* Result_SignedRawInvoiceNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignedRawInvoiceNoneZ.swift; sourceTree = ""; }; - 07F1B1E72786F94700680859 /* Result_COption_TypeZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_TypeZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1E82786F94700680859 /* Result_InitFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1E92786F94700680859 /* Result_NetAddressDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NetAddressDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1EA2786F94700680859 /* Result_RecoverableSignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_RecoverableSignatureNoneZ.swift; sourceTree = ""; }; - 07F1B1EB2786F94700680859 /* Result_CVec_SignatureZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_SignatureZNoneZ.swift; sourceTree = ""; }; - 07F1B1EC2786F94700680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelMonitorUpdateDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1ED2786F94700680859 /* Result_SignatureNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignatureNoneZ.swift; sourceTree = ""; }; - 07F1B1EE2786F94700680859 /* Result_NoneErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneErrorZ.swift; sourceTree = ""; }; - 07F1B1EF2786F94700680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateAddHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F02786F94700680859 /* Result_FundingLockedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_FundingLockedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F12786F94700680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F22786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift; sourceTree = ""; }; - 07F1B1F32786F94700680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_QueryShortChannelIdsDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F42786F94700680859 /* Result_SignDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_SignDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F52786F94700680859 /* Result_boolPeerHandleErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_boolPeerHandleErrorZ.swift; sourceTree = ""; }; - 07F1B1F62786F94700680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F72786F94700680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift; sourceTree = ""; }; - 07F1B1F82786F94700680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyChannelRangeDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1F92786F94700680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailMalformedHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1FA2786F94700680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_UpdateFailHTLCDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1FB2786F94700680859 /* Result_TxCreationKeysDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_TxCreationKeysDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1FC2786F94700680859 /* Result_NoneNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneNoneZ.swift; sourceTree = ""; }; - 07F1B1FD2786F94700680859 /* Result_PositiveTimestampCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PositiveTimestampCreationErrorZ.swift; sourceTree = ""; }; - 07F1B1FE2786F94700680859 /* Result_OutPointDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_OutPointDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B1FF2786F94700680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2002786F94700680859 /* Result_PayeePubKeyErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PayeePubKeyErrorZ.swift; sourceTree = ""; }; - 07F1B2012786F94700680859 /* Result_ShutdownDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ShutdownDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2022786F94700680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2032786F94700680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeAnnouncementInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2042786F94700680859 /* Result_NodeInfoDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NodeInfoDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2052786F94700680859 /* Result_ExpiryTimeCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ExpiryTimeCreationErrorZ.swift; sourceTree = ""; }; - 07F1B2062786F94700680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_NetworkUpdateZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2072786F94700680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ChannelFeaturesDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2082786F94700680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2092786F94700680859 /* Result_PaymentSecretNoneZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PaymentSecretNoneZ.swift; sourceTree = ""; }; - 07F1B20A2786F94700680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_COption_MonitorEventZDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B20B2786F94700680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_HTLCOutputInCommitmentDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B20C2786F94700680859 /* Result_InitDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InitDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B20D2786F94700680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_NoneChannelMonitorUpdateErrZ.swift; sourceTree = ""; }; - 07F1B20E2786F94700680859 /* Result_PrivateRouteCreationErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_PrivateRouteCreationErrorZ.swift; sourceTree = ""; }; - 07F1B20F2786F94700680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift; sourceTree = ""; }; - 07F1B2102786F94700680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ReplyShortChannelIdsEndDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2112786F94700680859 /* Result_ClosingSignedDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_ClosingSignedDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2122786F94700680859 /* Result_InMemorySignerDecodeErrorZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result_InMemorySignerDecodeErrorZ.swift; sourceTree = ""; }; - 07F1B2142786F94700680859 /* MessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageHandler.swift; sourceTree = ""; }; - 07F1B2152786F94700680859 /* ChainMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainMonitor.swift; sourceTree = ""; }; - 07F1B2162786F94700680859 /* PayeePubKey.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PayeePubKey.swift; sourceTree = ""; }; - 07F1B2172786F94700680859 /* Scorer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Scorer.swift; sourceTree = ""; }; - 07F1B2182786F94700680859 /* Description.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Description.swift; sourceTree = ""; }; - 07F1B2192786F94700680859 /* RevokeAndACK.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RevokeAndACK.swift; sourceTree = ""; }; - 07F1B21A2786F94700680859 /* MonitorUpdateId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MonitorUpdateId.swift; sourceTree = ""; }; - 07F1B21B2786F94700680859 /* Ping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Ping.swift; sourceTree = ""; }; - 07F1B21C2786F94700680859 /* PositiveTimestamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PositiveTimestamp.swift; sourceTree = ""; }; - 07F1B21D2786F94700680859 /* UpdateAddHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateAddHTLC.swift; sourceTree = ""; }; - 07F1B21E2786F94700680859 /* UpdateFailMalformedHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailMalformedHTLC.swift; sourceTree = ""; }; - 07F1B21F2786F94700680859 /* ChannelMonitorUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitorUpdate.swift; sourceTree = ""; }; - 07F1B2202786F94700680859 /* RouteHint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHint.swift; sourceTree = ""; }; - 07F1B2212786F94700680859 /* Sha256.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Sha256.swift; sourceTree = ""; }; - 07F1B2222786F94800680859 /* HTLCOutputInCommitment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCOutputInCommitment.swift; sourceTree = ""; }; - 07F1B2232786F94800680859 /* ChannelReestablish.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelReestablish.swift; sourceTree = ""; }; - 07F1B2242786F94800680859 /* RouteHintHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHintHop.swift; sourceTree = ""; }; - 07F1B2252786F94800680859 /* ChannelManagerReadArgs.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerReadArgs.swift; sourceTree = ""; }; - 07F1B2262786F94800680859 /* UpdateFulfillHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFulfillHTLC.swift; sourceTree = ""; }; - 07F1B2272786F94800680859 /* NodeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeFeatures.swift; sourceTree = ""; }; - 07F1B2282786F94800680859 /* NetGraphMsgHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetGraphMsgHandler.swift; sourceTree = ""; }; - 07F1B2292786F94800680859 /* InvoiceFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceFeatures.swift; sourceTree = ""; }; - 07F1B22A2786F94800680859 /* Invoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Invoice.swift; sourceTree = ""; }; - 07F1B22B2786F94800680859 /* RoutingFees.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutingFees.swift; sourceTree = ""; }; - 07F1B22C2786F94800680859 /* ChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelMonitor.swift; sourceTree = ""; }; - 07F1B22D2786F94800680859 /* ClosingSignedFeeRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSignedFeeRange.swift; sourceTree = ""; }; - 07F1B22E2786F94800680859 /* BestBlock.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BestBlock.swift; sourceTree = ""; }; - 07F1B22F2786F94800680859 /* UpdateFee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFee.swift; sourceTree = ""; }; - 07F1B2302786F94800680859 /* UnsignedChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelUpdate.swift; sourceTree = ""; }; - 07F1B2312786F94800680859 /* MultiThreadedLockableScore.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultiThreadedLockableScore.swift; sourceTree = ""; }; - 07F1B2322786F94800680859 /* QueryShortChannelIds.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryShortChannelIds.swift; sourceTree = ""; }; - 07F1B2332786F94800680859 /* NetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkGraph.swift; sourceTree = ""; }; - 07F1B2342786F94800680859 /* InvalidShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvalidShutdownScript.swift; sourceTree = ""; }; - 07F1B2352786F94800680859 /* CommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentTransaction.swift; sourceTree = ""; }; - 07F1B2362786F94800680859 /* KeysManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeysManager.swift; sourceTree = ""; }; - 07F1B2372786F94800680859 /* FundingCreated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingCreated.swift; sourceTree = ""; }; - 07F1B2382786F94800680859 /* CounterpartyChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1B2392786F94800680859 /* ChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelAnnouncement.swift; sourceTree = ""; }; - 07F1B23A2786F94800680859 /* ReplyShortChannelIdsEnd.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyShortChannelIdsEnd.swift; sourceTree = ""; }; - 07F1B23B2786F94800680859 /* IgnoringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IgnoringMessageHandler.swift; sourceTree = ""; }; - 07F1B23C2786F94800680859 /* ShutdownScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShutdownScript.swift; sourceTree = ""; }; - 07F1B23D2786F94800680859 /* PeerManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerManager.swift; sourceTree = ""; }; - 07F1B23E2786F94800680859 /* UpdateFailHTLC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UpdateFailHTLC.swift; sourceTree = ""; }; - 07F1B23F2786F94800680859 /* FundingLocked.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingLocked.swift; sourceTree = ""; }; - 07F1B2402786F94800680859 /* ScoringParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScoringParameters.swift; sourceTree = ""; }; - 07F1B2412786F94800680859 /* StaticPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StaticPaymentOutputDescriptor.swift; sourceTree = ""; }; - 07F1B2422786F94800680859 /* HTLCUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTLCUpdate.swift; sourceTree = ""; }; - 07F1B2432786F94800680859 /* NodeId.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeId.swift; sourceTree = ""; }; - 07F1B2442786F94800680859 /* InMemorySigner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InMemorySigner.swift; sourceTree = ""; }; - 07F1B2452786F94800680859 /* GossipTimestampFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GossipTimestampFilter.swift; sourceTree = ""; }; - 07F1B2462786F94800680859 /* PeerHandleError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeerHandleError.swift; sourceTree = ""; }; - 07F1B2472786F94800680859 /* ErroringMessageHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErroringMessageHandler.swift; sourceTree = ""; }; - 07F1B2482786F94800680859 /* CommitmentSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentSigned.swift; sourceTree = ""; }; - 07F1B2492786F94800680859 /* TxCreationKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxCreationKeys.swift; sourceTree = ""; }; - 07F1B24A2786F94800680859 /* RawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawInvoice.swift; sourceTree = ""; }; - 07F1B24B2786F94800680859 /* Pong.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Pong.swift; sourceTree = ""; }; - 07F1B24C2786F94800680859 /* ExpiryTime.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpiryTime.swift; sourceTree = ""; }; - 07F1B24D2786F94800680859 /* ChannelConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelConfig.swift; sourceTree = ""; }; - 07F1B24E2786F94800680859 /* DecodeError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodeError.swift; sourceTree = ""; }; - 07F1B24F2786F94800680859 /* QueryChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QueryChannelRange.swift; sourceTree = ""; }; - 07F1B2502786F94800680859 /* HolderCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HolderCommitmentTransaction.swift; sourceTree = ""; }; - 07F1B2512786F94800680859 /* ChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1B2522786F94800680859 /* NodeInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeInfo.swift; sourceTree = ""; }; - 07F1B2532786F94800680859 /* BackgroundProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BackgroundProcessor.swift; sourceTree = ""; }; - 07F1B2542786F94800680859 /* DirectedChannelTransactionParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectedChannelTransactionParameters.swift; sourceTree = ""; }; - 07F1B2552786F94800680859 /* ChannelHandshakeConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeConfig.swift; sourceTree = ""; }; - 07F1B2562786F94800680859 /* RouteParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteParameters.swift; sourceTree = ""; }; - 07F1B2572786F94800680859 /* ChannelManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManager.swift; sourceTree = ""; }; - 07F1B2582786F94800680859 /* PrivateRoute.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrivateRoute.swift; sourceTree = ""; }; - 07F1B2592786F94800680859 /* Shutdown.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Shutdown.swift; sourceTree = ""; }; - 07F1B25A2786F94800680859 /* ChainParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChainParameters.swift; sourceTree = ""; }; - 07F1B25B2786F94800680859 /* AcceptChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AcceptChannel.swift; sourceTree = ""; }; - 07F1B25C2786F94800680859 /* FilesystemPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilesystemPersister.swift; sourceTree = ""; }; - 07F1B25D2786F94800680859 /* ChannelHandshakeLimits.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelHandshakeLimits.swift; sourceTree = ""; }; - 07F1B25E2786F94800680859 /* AnnouncementSignatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnnouncementSignatures.swift; sourceTree = ""; }; - 07F1B25F2786F94800680859 /* CommitmentUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommitmentUpdate.swift; sourceTree = ""; }; - 07F1B2602786F94800680859 /* ClosingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingSigned.swift; sourceTree = ""; }; - 07F1B2612786F94800680859 /* DirectionalChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DirectionalChannelInfo.swift; sourceTree = ""; }; - 07F1B2622786F94800680859 /* DefaultRouter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultRouter.swift; sourceTree = ""; }; - 07F1B2632786F94800680859 /* ChannelDetails.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelDetails.swift; sourceTree = ""; }; - 07F1B2642786F94800680859 /* Payee.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Payee.swift; sourceTree = ""; }; - 07F1B2652786F94800680859 /* NodeAnnouncementInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncementInfo.swift; sourceTree = ""; }; - 07F1B2662786F94800680859 /* UnsignedChannelAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedChannelAnnouncement.swift; sourceTree = ""; }; - 07F1B2672786F94800680859 /* TrustedClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedClosingTransaction.swift; sourceTree = ""; }; - 07F1B2682786F94800680859 /* LightningError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LightningError.swift; sourceTree = ""; }; - 07F1B2692786F94800680859 /* MinFinalCltvExpiry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MinFinalCltvExpiry.swift; sourceTree = ""; }; - 07F1B26A2786F94800680859 /* DataLossProtect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataLossProtect.swift; sourceTree = ""; }; - 07F1B26B2786F94800680859 /* TxOut.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TxOut.swift; sourceTree = ""; }; - 07F1B26C2786F94800680859 /* ErrorMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ErrorMessage.swift; sourceTree = ""; }; - 07F1B26D2786F94800680859 /* ChannelCounterparty.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelCounterparty.swift; sourceTree = ""; }; - 07F1B26E2786F94800680859 /* RouteHop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RouteHop.swift; sourceTree = ""; }; - 07F1B26F2786F94800680859 /* WatchedOutput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WatchedOutput.swift; sourceTree = ""; }; - 07F1B2702786F94800680859 /* ChannelUpdate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelUpdate.swift; sourceTree = ""; }; - 07F1B2712786F94800680859 /* Record.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Record.swift; sourceTree = ""; }; - 07F1B2722786F94800680859 /* ReplyChannelRange.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyChannelRange.swift; sourceTree = ""; }; - 07F1B2732786F94800680859 /* InitFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InitFeatures.swift; sourceTree = ""; }; - 07F1B2742786F94800680859 /* NodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodeAnnouncement.swift; sourceTree = ""; }; - 07F1B2752786F94800680859 /* RawDataPart.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawDataPart.swift; sourceTree = ""; }; - 07F1B2762786F94800680859 /* ChannelPublicKeys.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelPublicKeys.swift; sourceTree = ""; }; - 07F1B2772786F94800680859 /* ChannelInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelInfo.swift; sourceTree = ""; }; - 07F1B2782786F94800680859 /* InvoiceSignature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoiceSignature.swift; sourceTree = ""; }; - 07F1B2792786F94800680859 /* OpenChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenChannel.swift; sourceTree = ""; }; - 07F1B27A2786F94800680859 /* FundingSigned.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FundingSigned.swift; sourceTree = ""; }; - 07F1B27B2786F94800680859 /* SignedRawInvoice.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignedRawInvoice.swift; sourceTree = ""; }; - 07F1B27C2786F94800680859 /* ClosingTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ClosingTransaction.swift; sourceTree = ""; }; - 07F1B27D2786F94800680859 /* LockedChannelMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockedChannelMonitor.swift; sourceTree = ""; }; - 07F1B27E2786F94800680859 /* CounterpartyForwardingInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CounterpartyForwardingInfo.swift; sourceTree = ""; }; - 07F1B27F2786F94800680859 /* Init.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Init.swift; sourceTree = ""; }; - 07F1B2802786F94800680859 /* ChannelTypeFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelTypeFeatures.swift; sourceTree = ""; }; - 07F1B2812786F94800680859 /* UnsignedNodeAnnouncement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsignedNodeAnnouncement.swift; sourceTree = ""; }; - 07F1B2822786F94800680859 /* TrustedCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustedCommitmentTransaction.swift; sourceTree = ""; }; - 07F1B2832786F94800680859 /* ReadOnlyNetworkGraph.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReadOnlyNetworkGraph.swift; sourceTree = ""; }; - 07F1B2842786F94800680859 /* RetryAttempts.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RetryAttempts.swift; sourceTree = ""; }; - 07F1B2852786F94800680859 /* ChannelFeatures.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelFeatures.swift; sourceTree = ""; }; - 07F1B2862786F94800680859 /* BuiltCommitmentTransaction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BuiltCommitmentTransaction.swift; sourceTree = ""; }; - 07F1B2872786F94800680859 /* UserConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserConfig.swift; sourceTree = ""; }; - 07F1B2882786F94800680859 /* Route.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Route.swift; sourceTree = ""; }; - 07F1B2892786F94800680859 /* OutPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OutPoint.swift; sourceTree = ""; }; - 07F1B28A2786F94800680859 /* InvoicePayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InvoicePayer.swift; sourceTree = ""; }; - 07F1B28B2786F94800680859 /* DelayedPaymentOutputDescriptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DelayedPaymentOutputDescriptor.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -734,7 +770,7 @@ 07344C56264277EC001CD90E /* LDKFramework */ = { isa = PBXGroup; children = ( - 07F1B14D2786F94700680859 /* LDK */, + 0751779F27D600E50071110C /* LDK */, 075E294426FEFFAF0000A76B /* batteries */, 0767D0312698BB8800BEB4CC /* headers */, 07344C57264277ED001CD90E /* LDKFramework.h */, @@ -761,390 +797,408 @@ name = Frameworks; sourceTree = ""; }; - 075E294426FEFFAF0000A76B /* batteries */ = { + 0751779F27D600E50071110C /* LDK */ = { isa = PBXGroup; children = ( - 075E294526FEFFAF0000A76B /* TCPPeerHandler.swift */, - 075E294626FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift */, - 075E294726FEFFAF0000A76B /* ChannelManagerConstructor.swift */, - 075E294826FEFFAF0000A76B /* UtilMethods.swift */, + 075177A027D600E50071110C /* options */, + 075177BD27D600E50071110C /* traits */, + 075177D827D600E50071110C /* tuples */, + 075177E827D600E50071110C /* Bindings.swift */, + 075177E927D600E50071110C /* results */, + 0751787027D600E50071110C /* structs */, ); - name = batteries; - path = ../../../bindings/batteries; + name = LDK; + path = ../../../bindings/LDK; sourceTree = ""; }; - 0767D0312698BB8800BEB4CC /* headers */ = { + 075177A027D600E50071110C /* options */ = { isa = PBXGroup; children = ( - 0767D0392698BB9800BEB4CC /* ldk_net.c */, - 0767D0352698BB9700BEB4CC /* ldk_net.h */, - 0767D0372698BB9700BEB4CC /* ldk_rust_types.h */, - 0767D0382698BB9700BEB4CC /* ldk_ver.h */, - 0767D0362698BB9700BEB4CC /* lightning.h */, - 0767D0322698BB9600BEB4CC /* LDKFrameworkTests-Bridging-Header.h */, + 075177A127D600E50071110C /* PaymentSendFailure.swift */, + 075177A227D600E50071110C /* Option_u64Z.swift */, + 075177A327D600E50071110C /* Fallback.swift */, + 075177A427D600E50071110C /* Option_C2Tuple_usizeTransactionZZ.swift */, + 075177A527D600E50071110C /* APIError.swift */, + 075177A627D600E50071110C /* Option_TypeZ.swift */, + 075177A727D600E50071110C /* Event.swift */, + 075177A827D600E50071110C /* Option_AccessZ.swift */, + 075177A927D600E50071110C /* PaymentPurpose.swift */, + 075177AA27D600E50071110C /* PaymentError.swift */, + 075177AB27D600E50071110C /* Option_ClosureReasonZ.swift */, + 075177AC27D600E50071110C /* Option_FilterZ.swift */, + 075177AD27D600E50071110C /* EffectiveCapacity.swift */, + 075177AE27D600E50071110C /* Balance.swift */, + 075177AF27D600E50071110C /* ErrorAction.swift */, + 075177B027D600E50071110C /* Option_MonitorEventZ.swift */, + 075177B127D600E50071110C /* Option_NetworkUpdateZ.swift */, + 075177B227D600E50071110C /* Option_u32Z.swift */, + 075177B327D600E50071110C /* Option_u16Z.swift */, + 075177B427D600E50071110C /* NetAddress.swift */, + 075177B527D600E50071110C /* SignOrCreationError.swift */, + 075177B627D600E50071110C /* NetworkUpdate.swift */, + 075177B727D600E50071110C /* Option_EventZ.swift */, + 075177B827D600E50071110C /* ClosureReason.swift */, + 075177B927D600E50071110C /* MessageSendEvent.swift */, + 075177BA27D600E50071110C /* MonitorEvent.swift */, + 075177BB27D600E50071110C /* SpendableOutputDescriptor.swift */, + 075177BC27D600E50071110C /* Option_CVec_NetAddressZZ.swift */, ); - name = headers; + path = options; sourceTree = ""; }; - 07F1B14D2786F94700680859 /* LDK */ = { + 075177BD27D600E50071110C /* traits */ = { isa = PBXGroup; children = ( - 07F1B14E2786F94700680859 /* options */, - 07F1B16A2786F94700680859 /* traits */, - 07F1B1852786F94700680859 /* tuples */, - 07F1B1942786F94700680859 /* Bindings.swift */, - 07F1B1952786F94700680859 /* results */, - 07F1B2132786F94700680859 /* structs */, + 075177BE27D600E50071110C /* BaseSign.swift */, + 075177BF27D600E50071110C /* Persist.swift */, + 075177C027D600E50071110C /* Score.swift */, + 075177C127D600E50071110C /* KeysInterface.swift */, + 075177C227D600E50071110C /* Logger.swift */, + 075177C327D600E50071110C /* Payer.swift */, + 075177C427D600E50071110C /* SocketDescriptor.swift */, + 075177C527D600E50071110C /* FeeEstimator.swift */, + 075177C627D600E50071110C /* MessageSendEventsProvider.swift */, + 075177C727D600E50071110C /* BroadcasterInterface.swift */, + 075177C827D600E50071110C /* LockableScore.swift */, + 075177C927D600E50071110C /* Confirm.swift */, + 075177CA27D600E50071110C /* EventHandler.swift */, + 075177CB27D600E50071110C /* RoutingMessageHandler.swift */, + 075177CC27D600E50071110C /* ChannelManagerPersister.swift */, + 075177CD27D600E50071110C /* Listen.swift */, + 075177CE27D600E50071110C /* ChannelMessageHandler.swift */, + 075177CF27D600E50071110C /* Router.swift */, + 075177D027D600E50071110C /* Filter.swift */, + 075177D127D600E50071110C /* CustomMessageReader.swift */, + 075177D227D600E50071110C /* BindingsType.swift */, + 075177D327D600E50071110C /* Access.swift */, + 075177D427D600E50071110C /* EventsProvider.swift */, + 075177D527D600E50071110C /* Watch.swift */, + 075177D627D600E50071110C /* Sign.swift */, + 075177D727D600E50071110C /* CustomMessageHandler.swift */, ); - name = LDK; - path = ../../../bindings/LDK; + path = traits; sourceTree = ""; }; - 07F1B14E2786F94700680859 /* options */ = { + 075177D827D600E50071110C /* tuples */ = { isa = PBXGroup; children = ( - 07F1B14F2786F94700680859 /* PaymentSendFailure.swift */, - 07F1B1502786F94700680859 /* Option_u64Z.swift */, - 07F1B1512786F94700680859 /* Fallback.swift */, - 07F1B1522786F94700680859 /* Option_C2Tuple_usizeTransactionZZ.swift */, - 07F1B1532786F94700680859 /* APIError.swift */, - 07F1B1542786F94700680859 /* Option_TypeZ.swift */, - 07F1B1552786F94700680859 /* Event.swift */, - 07F1B1562786F94700680859 /* Option_AccessZ.swift */, - 07F1B1572786F94700680859 /* PaymentPurpose.swift */, - 07F1B1582786F94700680859 /* PaymentError.swift */, - 07F1B1592786F94700680859 /* Option_ClosureReasonZ.swift */, - 07F1B15A2786F94700680859 /* Option_FilterZ.swift */, - 07F1B15B2786F94700680859 /* Balance.swift */, - 07F1B15C2786F94700680859 /* ErrorAction.swift */, - 07F1B15D2786F94700680859 /* Option_MonitorEventZ.swift */, - 07F1B15E2786F94700680859 /* Option_NetworkUpdateZ.swift */, - 07F1B15F2786F94700680859 /* Option_u32Z.swift */, - 07F1B1602786F94700680859 /* Option_u16Z.swift */, - 07F1B1612786F94700680859 /* NetAddress.swift */, - 07F1B1622786F94700680859 /* SignOrCreationError.swift */, - 07F1B1632786F94700680859 /* NetworkUpdate.swift */, - 07F1B1642786F94700680859 /* Option_EventZ.swift */, - 07F1B1652786F94700680859 /* ClosureReason.swift */, - 07F1B1662786F94700680859 /* MessageSendEvent.swift */, - 07F1B1672786F94700680859 /* MonitorEvent.swift */, - 07F1B1682786F94700680859 /* SpendableOutputDescriptor.swift */, - 07F1B1692786F94700680859 /* Option_CVec_NetAddressZZ.swift */, + 075177D927D600E50071110C /* C2Tuple_BlockHashChannelMonitorZ.swift */, + 075177DA27D600E50071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift */, + 075177DB27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */, + 075177DC27D600E50071110C /* C2Tuple_BlockHashChannelManagerZ.swift */, + 075177DD27D600E50071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */, + 075177DE27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */, + 075177DF27D600E50071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift */, + 075177E027D600E50071110C /* C2Tuple_u32TxOutZ.swift */, + 075177E127D600E50071110C /* C2Tuple_OutPointScriptZ.swift */, + 075177E227D600E50071110C /* C2Tuple_SignatureSignatureZ.swift */, + 075177E327D600E50071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */, + 075177E427D600E50071110C /* C2Tuple_PublicKeyTypeZ.swift */, + 075177E527D600E50071110C /* C2Tuple_u32ScriptZ.swift */, + 075177E627D600E50071110C /* C2Tuple_usizeTransactionZ.swift */, + 075177E727D600E50071110C /* C2Tuple_PaymentHashPaymentIdZ.swift */, ); - path = options; + path = tuples; sourceTree = ""; }; - 07F1B16A2786F94700680859 /* traits */ = { + 075177E927D600E50071110C /* results */ = { isa = PBXGroup; children = ( - 07F1B16B2786F94700680859 /* BaseSign.swift */, - 07F1B16C2786F94700680859 /* Persist.swift */, - 07F1B16D2786F94700680859 /* Score.swift */, - 07F1B16E2786F94700680859 /* KeysInterface.swift */, - 07F1B16F2786F94700680859 /* Logger.swift */, - 07F1B1702786F94700680859 /* Payer.swift */, - 07F1B1712786F94700680859 /* SocketDescriptor.swift */, - 07F1B1722786F94700680859 /* FeeEstimator.swift */, - 07F1B1732786F94700680859 /* MessageSendEventsProvider.swift */, - 07F1B1742786F94700680859 /* BroadcasterInterface.swift */, - 07F1B1752786F94700680859 /* LockableScore.swift */, - 07F1B1762786F94700680859 /* Confirm.swift */, - 07F1B1772786F94700680859 /* EventHandler.swift */, - 07F1B1782786F94700680859 /* RoutingMessageHandler.swift */, - 07F1B1792786F94700680859 /* ChannelManagerPersister.swift */, - 07F1B17A2786F94700680859 /* Listen.swift */, - 07F1B17B2786F94700680859 /* ChannelMessageHandler.swift */, - 07F1B17C2786F94700680859 /* Router.swift */, - 07F1B17D2786F94700680859 /* Filter.swift */, - 07F1B17E2786F94700680859 /* CustomMessageReader.swift */, - 07F1B17F2786F94700680859 /* BindingsType.swift */, - 07F1B1802786F94700680859 /* Access.swift */, - 07F1B1812786F94700680859 /* EventsProvider.swift */, - 07F1B1822786F94700680859 /* Watch.swift */, - 07F1B1832786F94700680859 /* Sign.swift */, - 07F1B1842786F94700680859 /* CustomMessageHandler.swift */, + 075177EA27D600E50071110C /* Result_ChannelConfigDecodeErrorZ.swift */, + 075177EB27D600E50071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift */, + 075177EC27D600E50071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift */, + 075177ED27D600E50071110C /* Result_QueryChannelRangeDecodeErrorZ.swift */, + 075177EE27D600E50071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift */, + 075177EF27D600E50071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */, + 075177F027D600E50071110C /* Result_ScorerDecodeErrorZ.swift */, + 075177F127D600E50071110C /* Result_FundingCreatedDecodeErrorZ.swift */, + 075177F227D600E50071110C /* Result_TxCreationKeysErrorZ.swift */, + 075177F327D600E50071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */, + 075177F427D600E50071110C /* Result_LockedChannelMonitorNoneZ.swift */, + 075177F527D600E50071110C /* Result_PingDecodeErrorZ.swift */, + 075177F627D600E50071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */, + 075177F727D600E50071110C /* Result_NonePaymentSendFailureZ.swift */, + 075177F827D600E50071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift */, + 075177F927D600E50071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */, + 075177FA27D600E50071110C /* Result_RouteDecodeErrorZ.swift */, + 075177FB27D600E50071110C /* Result_RevokeAndACKDecodeErrorZ.swift */, + 075177FC27D600E50071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift */, + 075177FD27D600E50071110C /* Result_OpenChannelDecodeErrorZ.swift */, + 075177FE27D600E50071110C /* Result_ChannelInfoDecodeErrorZ.swift */, + 075177FF27D600E50071110C /* Result_PongDecodeErrorZ.swift */, + 0751780027D600E50071110C /* Result__u832APIErrorZ.swift */, + 0751780127D600E50071110C /* Result_RouteHintHopDecodeErrorZ.swift */, + 0751780227D600E50071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */, + 0751780327D600E50071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift */, + 0751780427D600E50071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */, + 0751780527D600E50071110C /* Result_PaymentSecretAPIErrorZ.swift */, + 0751780627D600E50071110C /* Result_RouteHintDecodeErrorZ.swift */, + 0751780727D600E50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */, + 0751780827D600E50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */, + 0751780927D600E50071110C /* Result_ErrorMessageDecodeErrorZ.swift */, + 0751780A27D600E50071110C /* Result_AcceptChannelDecodeErrorZ.swift */, + 0751780B27D600E50071110C /* Result_PaymentPreimageAPIErrorZ.swift */, + 0751780C27D600E50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */, + 0751780D27D600E50071110C /* Result_NodeFeaturesDecodeErrorZ.swift */, + 0751780E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */, + 0751780F27D600E50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift */, + 0751781027D600E50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift */, + 0751781127D600E50071110C /* Result_StringErrorZ.swift */, + 0751781227D600E50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */, + 0751781327D600E50071110C /* Result_RouteHopDecodeErrorZ.swift */, + 0751781427D600E50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */, + 0751781527D600E50071110C /* Result_CommitmentSignedDecodeErrorZ.swift */, + 0751781627D600E50071110C /* Result_NonePeerHandleErrorZ.swift */, + 0751781727D600E50071110C /* Result_TxOutAccessErrorZ.swift */, + 0751781827D600E50071110C /* Result_TrustedClosingTransactionNoneZ.swift */, + 0751781927D600E50071110C /* Result_NoneLightningErrorZ.swift */, + 0751781A27D600E50071110C /* Result_NoneAPIErrorZ.swift */, + 0751781B27D600E50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */, + 0751781C27D600E50071110C /* Result_PublicKeyErrorZ.swift */, + 0751781D27D600E50071110C /* Result_boolLightningErrorZ.swift */, + 0751781E27D600E50071110C /* Result_ChannelUpdateDecodeErrorZ.swift */, + 0751781F27D600E50071110C /* Result_UpdateFeeDecodeErrorZ.swift */, + 0751782027D600E50071110C /* Result_DescriptionCreationErrorZ.swift */, + 0751782127D600E50071110C /* Result_ShutdownScriptDecodeErrorZ.swift */, + 0751782227D600E50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift */, + 0751782327D600E50071110C /* Result_PaymentParametersDecodeErrorZ.swift */, + 0751782427D600E50071110C /* Result_SiPrefixNoneZ.swift */, + 0751782527D600E50071110C /* Result_FundingSignedDecodeErrorZ.swift */, + 0751782627D600E50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift */, + 0751782727D600E50071110C /* Result_TransactionNoneZ.swift */, + 0751782827D600E50071110C /* Result_NetworkGraphDecodeErrorZ.swift */, + 0751782927D600E50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift */, + 0751782A27D600E50071110C /* Result_NoneSemanticErrorZ.swift */, + 0751782B27D600E50071110C /* Result_InvoiceSignOrCreationErrorZ.swift */, + 0751782C27D600E50071110C /* Result_InvoiceNoneZ.swift */, + 0751782D27D600E50071110C /* Result_RoutingFeesDecodeErrorZ.swift */, + 0751782E27D600E50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift */, + 0751782F27D600E50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift */, + 0751783027D600E50071110C /* Result_ChannelReestablishDecodeErrorZ.swift */, + 0751783127D600E50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift */, + 0751783227D600E50071110C /* Result_RouteParametersDecodeErrorZ.swift */, + 0751783327D600E50071110C /* Result_ScoringParametersDecodeErrorZ.swift */, + 0751783427D600E50071110C /* Result_COption_EventZDecodeErrorZ.swift */, + 0751783527D600E50071110C /* Result_PaymentIdPaymentSendFailureZ.swift */, + 0751783627D600E50071110C /* Result_PaymentIdPaymentErrorZ.swift */, + 0751783727D600E50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift */, + 0751783827D600E50071110C /* Result_SecretKeyErrorZ.swift */, + 0751783927D600E50071110C /* Result_HTLCUpdateDecodeErrorZ.swift */, + 0751783A27D600E50071110C /* Result_NodeIdDecodeErrorZ.swift */, + 0751783B27D600E50071110C /* Result_RouteLightningErrorZ.swift */, + 0751783C27D600E50071110C /* Result_InvoiceSemanticErrorZ.swift */, + 0751783D27D600E50071110C /* Result_SignedRawInvoiceNoneZ.swift */, + 0751783E27D600E50071110C /* Result_COption_TypeZDecodeErrorZ.swift */, + 0751783F27D600E50071110C /* Result_InitFeaturesDecodeErrorZ.swift */, + 0751784027D600E50071110C /* Result_NetAddressDecodeErrorZ.swift */, + 0751784127D600E50071110C /* Result_WarningMessageDecodeErrorZ.swift */, + 0751784227D600E50071110C /* Result_RecoverableSignatureNoneZ.swift */, + 0751784327D600E50071110C /* Result_ChannelDetailsDecodeErrorZ.swift */, + 0751784427D600E50071110C /* Result_CVec_SignatureZNoneZ.swift */, + 0751784527D600E50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */, + 0751784627D600E50071110C /* Result_SignatureNoneZ.swift */, + 0751784727D600E50071110C /* Result_NoneErrorZ.swift */, + 0751784827D600E50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift */, + 0751784927D600E50071110C /* Result_FundingLockedDecodeErrorZ.swift */, + 0751784A27D600E50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift */, + 0751784B27D600E50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift */, + 0751784C27D600E50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */, + 0751784D27D600E50071110C /* Result_SecretKeyNoneZ.swift */, + 0751784E27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */, + 0751784F27D600E50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift */, + 0751785027D600E50071110C /* Result_SignDecodeErrorZ.swift */, + 0751785127D600E50071110C /* Result_boolPeerHandleErrorZ.swift */, + 0751785227D600E50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */, + 0751785327D600E50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */, + 0751785427D600E50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift */, + 0751785527D600E50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */, + 0751785627D600E50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift */, + 0751785727D600E50071110C /* Result_TxCreationKeysDecodeErrorZ.swift */, + 0751785827D600E50071110C /* Result_NoneNoneZ.swift */, + 0751785927D600E50071110C /* Result_PositiveTimestampCreationErrorZ.swift */, + 0751785A27D600E50071110C /* Result_OutPointDecodeErrorZ.swift */, + 0751785B27D600E50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift */, + 0751785C27D600E50071110C /* Result_PayeePubKeyErrorZ.swift */, + 0751785D27D600E50071110C /* Result_ShutdownDecodeErrorZ.swift */, + 0751785E27D600E50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */, + 0751785F27D600E50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */, + 0751786027D600E50071110C /* Result_NodeInfoDecodeErrorZ.swift */, + 0751786127D600E50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */, + 0751786227D600E50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift */, + 0751786327D600E50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */, + 0751786427D600E50071110C /* Result_PaymentSecretNoneZ.swift */, + 0751786527D600E50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift */, + 0751786627D600E50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift */, + 0751786727D600E50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */, + 0751786827D600E50071110C /* Result_InitDecodeErrorZ.swift */, + 0751786927D600E50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift */, + 0751786A27D600E50071110C /* Result_PrivateRouteCreationErrorZ.swift */, + 0751786B27D600E50071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */, + 0751786C27D600E50071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */, + 0751786D27D600E50071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift */, + 0751786E27D600E50071110C /* Result_ClosingSignedDecodeErrorZ.swift */, + 0751786F27D600E50071110C /* Result_InMemorySignerDecodeErrorZ.swift */, ); - path = traits; + path = results; sourceTree = ""; }; - 07F1B1852786F94700680859 /* tuples */ = { + 0751787027D600E50071110C /* structs */ = { isa = PBXGroup; children = ( - 07F1B1862786F94700680859 /* C2Tuple_BlockHashChannelMonitorZ.swift */, - 07F1B1872786F94700680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift */, - 07F1B1882786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift */, - 07F1B1892786F94700680859 /* C2Tuple_BlockHashChannelManagerZ.swift */, - 07F1B18A2786F94700680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift */, - 07F1B18B2786F94700680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift */, - 07F1B18C2786F94700680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift */, - 07F1B18D2786F94700680859 /* C2Tuple_u32TxOutZ.swift */, - 07F1B18E2786F94700680859 /* C2Tuple_OutPointScriptZ.swift */, - 07F1B18F2786F94700680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift */, - 07F1B1902786F94700680859 /* C2Tuple_PublicKeyTypeZ.swift */, - 07F1B1912786F94700680859 /* C2Tuple_u32ScriptZ.swift */, - 07F1B1922786F94700680859 /* C2Tuple_usizeTransactionZ.swift */, - 07F1B1932786F94700680859 /* C2Tuple_PaymentHashPaymentIdZ.swift */, + 0751787127D600E50071110C /* MessageHandler.swift */, + 0751787227D600E50071110C /* ChainMonitor.swift */, + 0751787327D600E50071110C /* PayeePubKey.swift */, + 0751787427D600E50071110C /* Scorer.swift */, + 0751787527D600E50071110C /* Description.swift */, + 0751787627D600E50071110C /* RevokeAndACK.swift */, + 0751787727D600E50071110C /* MonitorUpdateId.swift */, + 0751787827D600E50071110C /* WarningMessage.swift */, + 0751787927D600E50071110C /* Ping.swift */, + 0751787A27D600E50071110C /* PositiveTimestamp.swift */, + 0751787B27D600E50071110C /* UpdateAddHTLC.swift */, + 0751787C27D600E50071110C /* PhantomKeysManager.swift */, + 0751787D27D600E50071110C /* UpdateFailMalformedHTLC.swift */, + 0751787E27D600E50071110C /* ChannelMonitorUpdate.swift */, + 0751787F27D600E50071110C /* RouteHint.swift */, + 0751788027D600E50071110C /* Sha256.swift */, + 0751788127D600E50071110C /* HTLCOutputInCommitment.swift */, + 0751788227D600E50071110C /* ChannelReestablish.swift */, + 0751788327D600E50071110C /* RouteHintHop.swift */, + 0751788427D600E50071110C /* ChannelManagerReadArgs.swift */, + 0751788527D600E50071110C /* UpdateFulfillHTLC.swift */, + 0751788627D600E50071110C /* NodeFeatures.swift */, + 0751788727D600E50071110C /* NetGraphMsgHandler.swift */, + 0751788827D600E50071110C /* InvoiceFeatures.swift */, + 0751788927D600E50071110C /* Invoice.swift */, + 0751788A27D600E50071110C /* RoutingFees.swift */, + 0751788B27D600E50071110C /* ChannelMonitor.swift */, + 0751788C27D600E50071110C /* ClosingSignedFeeRange.swift */, + 0751788D27D600E50071110C /* BestBlock.swift */, + 0751788E27D600E50071110C /* UpdateFee.swift */, + 0751788F27D600E50071110C /* UnsignedChannelUpdate.swift */, + 0751789027D600E50071110C /* MultiThreadedLockableScore.swift */, + 0751789127D600E50071110C /* ChannelUpdateInfo.swift */, + 0751789227D600E50071110C /* QueryShortChannelIds.swift */, + 0751789327D600E50071110C /* NetworkGraph.swift */, + 0751789427D600E50071110C /* DirectedChannelInfo.swift */, + 0751789527D600E50071110C /* InvalidShutdownScript.swift */, + 0751789627D600E50071110C /* CommitmentTransaction.swift */, + 0751789727D600E50071110C /* KeysManager.swift */, + 0751789827D600E50071110C /* FundingCreated.swift */, + 0751789927D600E50071110C /* CounterpartyChannelTransactionParameters.swift */, + 0751789A27D600E50071110C /* ChannelAnnouncement.swift */, + 0751789B27D600E50071110C /* ReplyShortChannelIdsEnd.swift */, + 0751789C27D600E50071110C /* IgnoringMessageHandler.swift */, + 0751789D27D600E50071110C /* ShutdownScript.swift */, + 0751789E27D600E50071110C /* PeerManager.swift */, + 0751789F27D600E50071110C /* UpdateFailHTLC.swift */, + 075178A027D600E50071110C /* FundingLocked.swift */, + 075178A127D600E50071110C /* ScoringParameters.swift */, + 075178A227D600E50071110C /* StaticPaymentOutputDescriptor.swift */, + 075178A327D600E50071110C /* HTLCUpdate.swift */, + 075178A427D600E50071110C /* NodeId.swift */, + 075178A527D600E50071110C /* InMemorySigner.swift */, + 075178A627D600E50071110C /* GossipTimestampFilter.swift */, + 075178A727D600E50071110C /* PeerHandleError.swift */, + 075178A827D600E50071110C /* ErroringMessageHandler.swift */, + 075178A927D600E50071110C /* CommitmentSigned.swift */, + 075178AA27D600E50071110C /* TxCreationKeys.swift */, + 075178AB27D600E50071110C /* RawInvoice.swift */, + 075178AC27D600E50071110C /* Pong.swift */, + 075178AD27D600E50071110C /* CounterpartyCommitmentSecrets.swift */, + 075178AE27D600E50071110C /* ExpiryTime.swift */, + 075178AF27D600E50071110C /* ChannelConfig.swift */, + 075178B027D600E50071110C /* DecodeError.swift */, + 075178B127D600E50071110C /* QueryChannelRange.swift */, + 075178B227D600E50071110C /* HolderCommitmentTransaction.swift */, + 075178B327D600E50071110C /* ChannelTransactionParameters.swift */, + 075178B427D600E50071110C /* NodeInfo.swift */, + 075178B527D600E50071110C /* BackgroundProcessor.swift */, + 075178B627D600E50071110C /* DirectedChannelTransactionParameters.swift */, + 075178B727D600E50071110C /* ChannelHandshakeConfig.swift */, + 075178B827D600E50071110C /* RouteParameters.swift */, + 075178B927D600E50071110C /* ChannelManager.swift */, + 075178BA27D600E50071110C /* PrivateRoute.swift */, + 075178BB27D600E50071110C /* Shutdown.swift */, + 075178BC27D600E50071110C /* ChainParameters.swift */, + 075178BD27D600E50071110C /* AcceptChannel.swift */, + 075178BE27D600E50071110C /* FilesystemPersister.swift */, + 075178BF27D600E50071110C /* ChannelHandshakeLimits.swift */, + 075178C027D600E50071110C /* ProbabilisticScoringParameters.swift */, + 075178C127D600E50071110C /* PhantomRouteHints.swift */, + 075178C227D600E50071110C /* PaymentParameters.swift */, + 075178C327D600E50071110C /* AnnouncementSignatures.swift */, + 075178C427D600E50071110C /* CommitmentUpdate.swift */, + 075178C527D600E50071110C /* ClosingSigned.swift */, + 075178C627D600E50071110C /* DefaultRouter.swift */, + 075178C727D600E50071110C /* ChannelDetails.swift */, + 075178C827D600E50071110C /* NodeAnnouncementInfo.swift */, + 075178C927D600E50071110C /* UnsignedChannelAnnouncement.swift */, + 075178CA27D600E50071110C /* TrustedClosingTransaction.swift */, + 075178CB27D600E50071110C /* LightningError.swift */, + 075178CC27D600E50071110C /* MinFinalCltvExpiry.swift */, + 075178CD27D600E50071110C /* DataLossProtect.swift */, + 075178CE27D600E50071110C /* TxOut.swift */, + 075178CF27D600E50071110C /* ErrorMessage.swift */, + 075178D027D600E50071110C /* ChannelCounterparty.swift */, + 075178D127D600E50071110C /* RouteHop.swift */, + 075178D227D600E50071110C /* WatchedOutput.swift */, + 075178D327D600E50071110C /* ChannelUpdate.swift */, + 075178D427D600E50071110C /* Record.swift */, + 075178D527D600E50071110C /* ReplyChannelRange.swift */, + 075178D627D600E50071110C /* InitFeatures.swift */, + 075178D727D600E50071110C /* NodeAnnouncement.swift */, + 075178D827D600E50071110C /* RawDataPart.swift */, + 075178D927D600E50071110C /* ChannelPublicKeys.swift */, + 075178DA27D600E50071110C /* ChannelInfo.swift */, + 075178DB27D600E50071110C /* InvoiceSignature.swift */, + 075178DC27D600E50071110C /* OpenChannel.swift */, + 075178DD27D600E50071110C /* FundingSigned.swift */, + 075178DE27D600E50071110C /* SignedRawInvoice.swift */, + 075178DF27D600E50071110C /* ClosingTransaction.swift */, + 075178E027D600E50071110C /* LockedChannelMonitor.swift */, + 075178E127D600E50071110C /* CounterpartyForwardingInfo.swift */, + 075178E227D600E50071110C /* FixedPenaltyScorer.swift */, + 075178E327D600E50071110C /* Init.swift */, + 075178E427D600E50071110C /* ChannelTypeFeatures.swift */, + 075178E527D600E50071110C /* UnsignedNodeAnnouncement.swift */, + 075178E627D600E50071110C /* TrustedCommitmentTransaction.swift */, + 075178E727D600E50071110C /* ReadOnlyNetworkGraph.swift */, + 075178E827D600E50071110C /* RetryAttempts.swift */, + 075178E927D600E50071110C /* ChannelFeatures.swift */, + 075178EA27D600E50071110C /* BuiltCommitmentTransaction.swift */, + 075178EB27D600E50071110C /* UserConfig.swift */, + 075178EC27D600E50071110C /* Route.swift */, + 075178ED27D600E50071110C /* OutPoint.swift */, + 075178EE27D600E50071110C /* InvoicePayer.swift */, + 075178EF27D600E50071110C /* DelayedPaymentOutputDescriptor.swift */, ); - path = tuples; + path = structs; sourceTree = ""; }; - 07F1B1952786F94700680859 /* results */ = { + 075E294426FEFFAF0000A76B /* batteries */ = { isa = PBXGroup; children = ( - 07F1B1962786F94700680859 /* Result_ChannelConfigDecodeErrorZ.swift */, - 07F1B1972786F94700680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift */, - 07F1B1982786F94700680859 /* Result_QueryChannelRangeDecodeErrorZ.swift */, - 07F1B1992786F94700680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift */, - 07F1B19A2786F94700680859 /* Result_ScorerDecodeErrorZ.swift */, - 07F1B19B2786F94700680859 /* Result_FundingCreatedDecodeErrorZ.swift */, - 07F1B19C2786F94700680859 /* Result_TxCreationKeysErrorZ.swift */, - 07F1B19D2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift */, - 07F1B19E2786F94700680859 /* Result_LockedChannelMonitorNoneZ.swift */, - 07F1B19F2786F94700680859 /* Result_PingDecodeErrorZ.swift */, - 07F1B1A02786F94700680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift */, - 07F1B1A12786F94700680859 /* Result_NonePaymentSendFailureZ.swift */, - 07F1B1A22786F94700680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift */, - 07F1B1A32786F94700680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift */, - 07F1B1A42786F94700680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift */, - 07F1B1A52786F94700680859 /* Result_RouteDecodeErrorZ.swift */, - 07F1B1A62786F94700680859 /* Result_RevokeAndACKDecodeErrorZ.swift */, - 07F1B1A72786F94700680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift */, - 07F1B1A82786F94700680859 /* Result_OpenChannelDecodeErrorZ.swift */, - 07F1B1A92786F94700680859 /* Result_ChannelInfoDecodeErrorZ.swift */, - 07F1B1AA2786F94700680859 /* Result_PongDecodeErrorZ.swift */, - 07F1B1AB2786F94700680859 /* Result__u832APIErrorZ.swift */, - 07F1B1AC2786F94700680859 /* Result_RouteHintHopDecodeErrorZ.swift */, - 07F1B1AD2786F94700680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift */, - 07F1B1AE2786F94700680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift */, - 07F1B1AF2786F94700680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift */, - 07F1B1B02786F94700680859 /* Result_PaymentSecretAPIErrorZ.swift */, - 07F1B1B12786F94700680859 /* Result_RouteHintDecodeErrorZ.swift */, - 07F1B1B22786F94700680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift */, - 07F1B1B32786F94700680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift */, - 07F1B1B42786F94700680859 /* Result_ErrorMessageDecodeErrorZ.swift */, - 07F1B1B52786F94700680859 /* Result_AcceptChannelDecodeErrorZ.swift */, - 07F1B1B62786F94700680859 /* Result_PaymentPreimageAPIErrorZ.swift */, - 07F1B1B72786F94700680859 /* Result_PayeeDecodeErrorZ.swift */, - 07F1B1B82786F94700680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift */, - 07F1B1B92786F94700680859 /* Result_NodeFeaturesDecodeErrorZ.swift */, - 07F1B1BA2786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift */, - 07F1B1BB2786F94700680859 /* Result_TrustedCommitmentTransactionNoneZ.swift */, - 07F1B1BC2786F94700680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift */, - 07F1B1BD2786F94700680859 /* Result_StringErrorZ.swift */, - 07F1B1BE2786F94700680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift */, - 07F1B1BF2786F94700680859 /* Result_RouteHopDecodeErrorZ.swift */, - 07F1B1C02786F94700680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift */, - 07F1B1C12786F94700680859 /* Result_CommitmentSignedDecodeErrorZ.swift */, - 07F1B1C22786F94700680859 /* Result_NonePeerHandleErrorZ.swift */, - 07F1B1C32786F94700680859 /* Result_TxOutAccessErrorZ.swift */, - 07F1B1C42786F94700680859 /* Result_TrustedClosingTransactionNoneZ.swift */, - 07F1B1C52786F94700680859 /* Result_NoneLightningErrorZ.swift */, - 07F1B1C62786F94700680859 /* Result_NoneAPIErrorZ.swift */, - 07F1B1C72786F94700680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift */, - 07F1B1C82786F94700680859 /* Result_PublicKeyErrorZ.swift */, - 07F1B1C92786F94700680859 /* Result_boolLightningErrorZ.swift */, - 07F1B1CA2786F94700680859 /* Result_ChannelUpdateDecodeErrorZ.swift */, - 07F1B1CB2786F94700680859 /* Result_UpdateFeeDecodeErrorZ.swift */, - 07F1B1CC2786F94700680859 /* Result_DescriptionCreationErrorZ.swift */, - 07F1B1CD2786F94700680859 /* Result_ShutdownScriptDecodeErrorZ.swift */, - 07F1B1CE2786F94700680859 /* Result_CommitmentTransactionDecodeErrorZ.swift */, - 07F1B1CF2786F94700680859 /* Result_SiPrefixNoneZ.swift */, - 07F1B1D02786F94700680859 /* Result_FundingSignedDecodeErrorZ.swift */, - 07F1B1D12786F94700680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift */, - 07F1B1D22786F94700680859 /* Result_TransactionNoneZ.swift */, - 07F1B1D32786F94700680859 /* Result_NetworkGraphDecodeErrorZ.swift */, - 07F1B1D42786F94700680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift */, - 07F1B1D52786F94700680859 /* Result_NoneSemanticErrorZ.swift */, - 07F1B1D62786F94700680859 /* Result_InvoiceSignOrCreationErrorZ.swift */, - 07F1B1D72786F94700680859 /* Result_InvoiceNoneZ.swift */, - 07F1B1D82786F94700680859 /* Result_RoutingFeesDecodeErrorZ.swift */, - 07F1B1D92786F94700680859 /* Result_ChannelReestablishDecodeErrorZ.swift */, - 07F1B1DA2786F94700680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift */, - 07F1B1DB2786F94700680859 /* Result_RouteParametersDecodeErrorZ.swift */, - 07F1B1DC2786F94700680859 /* Result_ScoringParametersDecodeErrorZ.swift */, - 07F1B1DD2786F94700680859 /* Result_COption_EventZDecodeErrorZ.swift */, - 07F1B1DE2786F94700680859 /* Result_PaymentIdPaymentSendFailureZ.swift */, - 07F1B1DF2786F94700680859 /* Result_PaymentIdPaymentErrorZ.swift */, - 07F1B1E02786F94700680859 /* Result_CVec_CVec_u8ZZNoneZ.swift */, - 07F1B1E12786F94700680859 /* Result_SecretKeyErrorZ.swift */, - 07F1B1E22786F94700680859 /* Result_HTLCUpdateDecodeErrorZ.swift */, - 07F1B1E32786F94700680859 /* Result_NodeIdDecodeErrorZ.swift */, - 07F1B1E42786F94700680859 /* Result_RouteLightningErrorZ.swift */, - 07F1B1E52786F94700680859 /* Result_InvoiceSemanticErrorZ.swift */, - 07F1B1E62786F94700680859 /* Result_SignedRawInvoiceNoneZ.swift */, - 07F1B1E72786F94700680859 /* Result_COption_TypeZDecodeErrorZ.swift */, - 07F1B1E82786F94700680859 /* Result_InitFeaturesDecodeErrorZ.swift */, - 07F1B1E92786F94700680859 /* Result_NetAddressDecodeErrorZ.swift */, - 07F1B1EA2786F94700680859 /* Result_RecoverableSignatureNoneZ.swift */, - 07F1B1EB2786F94700680859 /* Result_CVec_SignatureZNoneZ.swift */, - 07F1B1EC2786F94700680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift */, - 07F1B1ED2786F94700680859 /* Result_SignatureNoneZ.swift */, - 07F1B1EE2786F94700680859 /* Result_NoneErrorZ.swift */, - 07F1B1EF2786F94700680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift */, - 07F1B1F02786F94700680859 /* Result_FundingLockedDecodeErrorZ.swift */, - 07F1B1F12786F94700680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift */, - 07F1B1F22786F94700680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift */, - 07F1B1F32786F94700680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift */, - 07F1B1F42786F94700680859 /* Result_SignDecodeErrorZ.swift */, - 07F1B1F52786F94700680859 /* Result_boolPeerHandleErrorZ.swift */, - 07F1B1F62786F94700680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift */, - 07F1B1F72786F94700680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift */, - 07F1B1F82786F94700680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift */, - 07F1B1F92786F94700680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift */, - 07F1B1FA2786F94700680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift */, - 07F1B1FB2786F94700680859 /* Result_TxCreationKeysDecodeErrorZ.swift */, - 07F1B1FC2786F94700680859 /* Result_NoneNoneZ.swift */, - 07F1B1FD2786F94700680859 /* Result_PositiveTimestampCreationErrorZ.swift */, - 07F1B1FE2786F94700680859 /* Result_OutPointDecodeErrorZ.swift */, - 07F1B1FF2786F94700680859 /* Result_NodeAnnouncementDecodeErrorZ.swift */, - 07F1B2002786F94700680859 /* Result_PayeePubKeyErrorZ.swift */, - 07F1B2012786F94700680859 /* Result_ShutdownDecodeErrorZ.swift */, - 07F1B2022786F94700680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift */, - 07F1B2032786F94700680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift */, - 07F1B2042786F94700680859 /* Result_NodeInfoDecodeErrorZ.swift */, - 07F1B2052786F94700680859 /* Result_ExpiryTimeCreationErrorZ.swift */, - 07F1B2062786F94700680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift */, - 07F1B2072786F94700680859 /* Result_ChannelFeaturesDecodeErrorZ.swift */, - 07F1B2082786F94700680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift */, - 07F1B2092786F94700680859 /* Result_PaymentSecretNoneZ.swift */, - 07F1B20A2786F94700680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift */, - 07F1B20B2786F94700680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift */, - 07F1B20C2786F94700680859 /* Result_InitDecodeErrorZ.swift */, - 07F1B20D2786F94700680859 /* Result_NoneChannelMonitorUpdateErrZ.swift */, - 07F1B20E2786F94700680859 /* Result_PrivateRouteCreationErrorZ.swift */, - 07F1B20F2786F94700680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift */, - 07F1B2102786F94700680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift */, - 07F1B2112786F94700680859 /* Result_ClosingSignedDecodeErrorZ.swift */, - 07F1B2122786F94700680859 /* Result_InMemorySignerDecodeErrorZ.swift */, + 075E294526FEFFAF0000A76B /* TCPPeerHandler.swift */, + 075E294626FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift */, + 075E294726FEFFAF0000A76B /* ChannelManagerConstructor.swift */, + 075E294826FEFFAF0000A76B /* UtilMethods.swift */, ); - path = results; + name = batteries; + path = ../../../bindings/batteries; sourceTree = ""; }; - 07F1B2132786F94700680859 /* structs */ = { + 0767D0312698BB8800BEB4CC /* headers */ = { isa = PBXGroup; children = ( - 07F1B2142786F94700680859 /* MessageHandler.swift */, - 07F1B2152786F94700680859 /* ChainMonitor.swift */, - 07F1B2162786F94700680859 /* PayeePubKey.swift */, - 07F1B2172786F94700680859 /* Scorer.swift */, - 07F1B2182786F94700680859 /* Description.swift */, - 07F1B2192786F94700680859 /* RevokeAndACK.swift */, - 07F1B21A2786F94700680859 /* MonitorUpdateId.swift */, - 07F1B21B2786F94700680859 /* Ping.swift */, - 07F1B21C2786F94700680859 /* PositiveTimestamp.swift */, - 07F1B21D2786F94700680859 /* UpdateAddHTLC.swift */, - 07F1B21E2786F94700680859 /* UpdateFailMalformedHTLC.swift */, - 07F1B21F2786F94700680859 /* ChannelMonitorUpdate.swift */, - 07F1B2202786F94700680859 /* RouteHint.swift */, - 07F1B2212786F94700680859 /* Sha256.swift */, - 07F1B2222786F94800680859 /* HTLCOutputInCommitment.swift */, - 07F1B2232786F94800680859 /* ChannelReestablish.swift */, - 07F1B2242786F94800680859 /* RouteHintHop.swift */, - 07F1B2252786F94800680859 /* ChannelManagerReadArgs.swift */, - 07F1B2262786F94800680859 /* UpdateFulfillHTLC.swift */, - 07F1B2272786F94800680859 /* NodeFeatures.swift */, - 07F1B2282786F94800680859 /* NetGraphMsgHandler.swift */, - 07F1B2292786F94800680859 /* InvoiceFeatures.swift */, - 07F1B22A2786F94800680859 /* Invoice.swift */, - 07F1B22B2786F94800680859 /* RoutingFees.swift */, - 07F1B22C2786F94800680859 /* ChannelMonitor.swift */, - 07F1B22D2786F94800680859 /* ClosingSignedFeeRange.swift */, - 07F1B22E2786F94800680859 /* BestBlock.swift */, - 07F1B22F2786F94800680859 /* UpdateFee.swift */, - 07F1B2302786F94800680859 /* UnsignedChannelUpdate.swift */, - 07F1B2312786F94800680859 /* MultiThreadedLockableScore.swift */, - 07F1B2322786F94800680859 /* QueryShortChannelIds.swift */, - 07F1B2332786F94800680859 /* NetworkGraph.swift */, - 07F1B2342786F94800680859 /* InvalidShutdownScript.swift */, - 07F1B2352786F94800680859 /* CommitmentTransaction.swift */, - 07F1B2362786F94800680859 /* KeysManager.swift */, - 07F1B2372786F94800680859 /* FundingCreated.swift */, - 07F1B2382786F94800680859 /* CounterpartyChannelTransactionParameters.swift */, - 07F1B2392786F94800680859 /* ChannelAnnouncement.swift */, - 07F1B23A2786F94800680859 /* ReplyShortChannelIdsEnd.swift */, - 07F1B23B2786F94800680859 /* IgnoringMessageHandler.swift */, - 07F1B23C2786F94800680859 /* ShutdownScript.swift */, - 07F1B23D2786F94800680859 /* PeerManager.swift */, - 07F1B23E2786F94800680859 /* UpdateFailHTLC.swift */, - 07F1B23F2786F94800680859 /* FundingLocked.swift */, - 07F1B2402786F94800680859 /* ScoringParameters.swift */, - 07F1B2412786F94800680859 /* StaticPaymentOutputDescriptor.swift */, - 07F1B2422786F94800680859 /* HTLCUpdate.swift */, - 07F1B2432786F94800680859 /* NodeId.swift */, - 07F1B2442786F94800680859 /* InMemorySigner.swift */, - 07F1B2452786F94800680859 /* GossipTimestampFilter.swift */, - 07F1B2462786F94800680859 /* PeerHandleError.swift */, - 07F1B2472786F94800680859 /* ErroringMessageHandler.swift */, - 07F1B2482786F94800680859 /* CommitmentSigned.swift */, - 07F1B2492786F94800680859 /* TxCreationKeys.swift */, - 07F1B24A2786F94800680859 /* RawInvoice.swift */, - 07F1B24B2786F94800680859 /* Pong.swift */, - 07F1B24C2786F94800680859 /* ExpiryTime.swift */, - 07F1B24D2786F94800680859 /* ChannelConfig.swift */, - 07F1B24E2786F94800680859 /* DecodeError.swift */, - 07F1B24F2786F94800680859 /* QueryChannelRange.swift */, - 07F1B2502786F94800680859 /* HolderCommitmentTransaction.swift */, - 07F1B2512786F94800680859 /* ChannelTransactionParameters.swift */, - 07F1B2522786F94800680859 /* NodeInfo.swift */, - 07F1B2532786F94800680859 /* BackgroundProcessor.swift */, - 07F1B2542786F94800680859 /* DirectedChannelTransactionParameters.swift */, - 07F1B2552786F94800680859 /* ChannelHandshakeConfig.swift */, - 07F1B2562786F94800680859 /* RouteParameters.swift */, - 07F1B2572786F94800680859 /* ChannelManager.swift */, - 07F1B2582786F94800680859 /* PrivateRoute.swift */, - 07F1B2592786F94800680859 /* Shutdown.swift */, - 07F1B25A2786F94800680859 /* ChainParameters.swift */, - 07F1B25B2786F94800680859 /* AcceptChannel.swift */, - 07F1B25C2786F94800680859 /* FilesystemPersister.swift */, - 07F1B25D2786F94800680859 /* ChannelHandshakeLimits.swift */, - 07F1B25E2786F94800680859 /* AnnouncementSignatures.swift */, - 07F1B25F2786F94800680859 /* CommitmentUpdate.swift */, - 07F1B2602786F94800680859 /* ClosingSigned.swift */, - 07F1B2612786F94800680859 /* DirectionalChannelInfo.swift */, - 07F1B2622786F94800680859 /* DefaultRouter.swift */, - 07F1B2632786F94800680859 /* ChannelDetails.swift */, - 07F1B2642786F94800680859 /* Payee.swift */, - 07F1B2652786F94800680859 /* NodeAnnouncementInfo.swift */, - 07F1B2662786F94800680859 /* UnsignedChannelAnnouncement.swift */, - 07F1B2672786F94800680859 /* TrustedClosingTransaction.swift */, - 07F1B2682786F94800680859 /* LightningError.swift */, - 07F1B2692786F94800680859 /* MinFinalCltvExpiry.swift */, - 07F1B26A2786F94800680859 /* DataLossProtect.swift */, - 07F1B26B2786F94800680859 /* TxOut.swift */, - 07F1B26C2786F94800680859 /* ErrorMessage.swift */, - 07F1B26D2786F94800680859 /* ChannelCounterparty.swift */, - 07F1B26E2786F94800680859 /* RouteHop.swift */, - 07F1B26F2786F94800680859 /* WatchedOutput.swift */, - 07F1B2702786F94800680859 /* ChannelUpdate.swift */, - 07F1B2712786F94800680859 /* Record.swift */, - 07F1B2722786F94800680859 /* ReplyChannelRange.swift */, - 07F1B2732786F94800680859 /* InitFeatures.swift */, - 07F1B2742786F94800680859 /* NodeAnnouncement.swift */, - 07F1B2752786F94800680859 /* RawDataPart.swift */, - 07F1B2762786F94800680859 /* ChannelPublicKeys.swift */, - 07F1B2772786F94800680859 /* ChannelInfo.swift */, - 07F1B2782786F94800680859 /* InvoiceSignature.swift */, - 07F1B2792786F94800680859 /* OpenChannel.swift */, - 07F1B27A2786F94800680859 /* FundingSigned.swift */, - 07F1B27B2786F94800680859 /* SignedRawInvoice.swift */, - 07F1B27C2786F94800680859 /* ClosingTransaction.swift */, - 07F1B27D2786F94800680859 /* LockedChannelMonitor.swift */, - 07F1B27E2786F94800680859 /* CounterpartyForwardingInfo.swift */, - 07F1B27F2786F94800680859 /* Init.swift */, - 07F1B2802786F94800680859 /* ChannelTypeFeatures.swift */, - 07F1B2812786F94800680859 /* UnsignedNodeAnnouncement.swift */, - 07F1B2822786F94800680859 /* TrustedCommitmentTransaction.swift */, - 07F1B2832786F94800680859 /* ReadOnlyNetworkGraph.swift */, - 07F1B2842786F94800680859 /* RetryAttempts.swift */, - 07F1B2852786F94800680859 /* ChannelFeatures.swift */, - 07F1B2862786F94800680859 /* BuiltCommitmentTransaction.swift */, - 07F1B2872786F94800680859 /* UserConfig.swift */, - 07F1B2882786F94800680859 /* Route.swift */, - 07F1B2892786F94800680859 /* OutPoint.swift */, - 07F1B28A2786F94800680859 /* InvoicePayer.swift */, - 07F1B28B2786F94800680859 /* DelayedPaymentOutputDescriptor.swift */, + 0767D0392698BB9800BEB4CC /* ldk_net.c */, + 0767D0352698BB9700BEB4CC /* ldk_net.h */, + 0767D0372698BB9700BEB4CC /* ldk_rust_types.h */, + 0767D0382698BB9700BEB4CC /* ldk_ver.h */, + 0767D0362698BB9700BEB4CC /* lightning.h */, + 0767D0322698BB9600BEB4CC /* LDKFrameworkTests-Bridging-Header.h */, ); - path = structs; + name = headers; sourceTree = ""; }; /* End PBXGroup section */ @@ -1261,325 +1315,343 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 07F1B3702786F94800680859 /* FundingCreated.swift in Sources */, - 07F1B3AC2786F94900680859 /* InitFeatures.swift in Sources */, - 07F1B3822786F94900680859 /* TxCreationKeys.swift in Sources */, - 07F1B28C2786F94800680859 /* PaymentSendFailure.swift in Sources */, - 07F1B2BA2786F94800680859 /* CustomMessageReader.swift in Sources */, - 07F1B2AD2786F94800680859 /* SocketDescriptor.swift in Sources */, - 07F1B2A42786F94800680859 /* MonitorEvent.swift in Sources */, - 07F1B31F2786F94800680859 /* Result_InvoiceSemanticErrorZ.swift in Sources */, - 07F1B2E62786F94800680859 /* Result_RouteHintHopDecodeErrorZ.swift in Sources */, - 07F1B2F82786F94800680859 /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */, - 07F1B39A2786F94900680859 /* DirectionalChannelInfo.swift in Sources */, - 07F1B3472786F94800680859 /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */, - 07F1B3602786F94800680859 /* NodeFeatures.swift in Sources */, - 07F1B2AC2786F94800680859 /* Payer.swift in Sources */, - 07F1B2E02786F94800680859 /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */, - 07F1B3692786F94800680859 /* UnsignedChannelUpdate.swift in Sources */, - 07F1B3242786F94800680859 /* Result_RecoverableSignatureNoneZ.swift in Sources */, - 07F1B2912786F94800680859 /* Option_TypeZ.swift in Sources */, + 0751797927D600E50071110C /* Result_RoutingFeesDecodeErrorZ.swift in Sources */, + 0751795F27D600E50071110C /* Result_RouteHopDecodeErrorZ.swift in Sources */, + 0751799D27D600E50071110C /* Result_boolPeerHandleErrorZ.swift in Sources */, + 075179EB27D600E60071110C /* FundingLocked.swift in Sources */, + 0751797F27D600E50071110C /* Result_ScoringParametersDecodeErrorZ.swift in Sources */, + 07517A1227D600E60071110C /* ChannelDetails.swift in Sources */, + 0751792427D600E50071110C /* Sign.swift in Sources */, + 075179C827D600E60071110C /* UpdateFailMalformedHTLC.swift in Sources */, + 075179E627D600E60071110C /* ReplyShortChannelIdsEnd.swift in Sources */, + 0751794227D600E50071110C /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */, + 0751793727D600E50071110C /* Result_FixedPenaltyScorerDecodeErrorZ.swift in Sources */, + 075179C027D600E60071110C /* Description.swift in Sources */, + 0751793427D600E50071110C /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */, + 0751797827D600E50071110C /* Result_InvoiceNoneZ.swift in Sources */, + 075179DC27D600E60071110C /* ChannelUpdateInfo.swift in Sources */, + 075179EC27D600E60071110C /* ScoringParameters.swift in Sources */, + 075179FF27D600E60071110C /* NodeInfo.swift in Sources */, + 075178F027D600E50071110C /* PaymentSendFailure.swift in Sources */, + 0751798B27D600E50071110C /* Result_InitFeaturesDecodeErrorZ.swift in Sources */, + 0751797327D600E50071110C /* Result_TransactionNoneZ.swift in Sources */, + 0751792F27D600E50071110C /* C2Tuple_SignatureSignatureZ.swift in Sources */, + 07517A1727D600E60071110C /* MinFinalCltvExpiry.swift in Sources */, + 07517A2027D600E60071110C /* ReplyChannelRange.swift in Sources */, + 075178F527D600E50071110C /* Option_TypeZ.swift in Sources */, + 07517A0727D600E60071110C /* ChainParameters.swift in Sources */, + 07517A2427D600E60071110C /* ChannelPublicKeys.swift in Sources */, + 0751790627D600E50071110C /* Option_EventZ.swift in Sources */, + 075179E827D600E60071110C /* ShutdownScript.swift in Sources */, + 075179B427D600E50071110C /* Result_InitDecodeErrorZ.swift in Sources */, + 0751794727D600E50071110C /* Result_RevokeAndACKDecodeErrorZ.swift in Sources */, + 07517A2327D600E60071110C /* RawDataPart.swift in Sources */, + 075179FB27D600E60071110C /* DecodeError.swift in Sources */, + 0751798E27D600E50071110C /* Result_RecoverableSignatureNoneZ.swift in Sources */, + 0751791A27D600E50071110C /* ChannelManagerPersister.swift in Sources */, + 0751792C27D600E50071110C /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */, + 0751794E27D600E50071110C /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */, + 075179EA27D600E60071110C /* UpdateFailHTLC.swift in Sources */, + 07517A3827D600E60071110C /* OutPoint.swift in Sources */, + 07517A1027D600E60071110C /* ClosingSigned.swift in Sources */, + 075179F127D600E60071110C /* GossipTimestampFilter.swift in Sources */, 075E294F26FEFFAF0000A76B /* UtilMethods.swift in Sources */, - 07F1B3322786F94800680859 /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */, - 07F1B39E2786F94900680859 /* NodeAnnouncementInfo.swift in Sources */, - 07F1B2BD2786F94800680859 /* EventsProvider.swift in Sources */, - 07F1B3572786F94800680859 /* UpdateFailMalformedHTLC.swift in Sources */, - 07F1B36E2786F94800680859 /* CommitmentTransaction.swift in Sources */, - 07F1B3A42786F94900680859 /* TxOut.swift in Sources */, - 07F1B2A02786F94800680859 /* NetworkUpdate.swift in Sources */, - 07F1B2A82786F94800680859 /* Persist.swift in Sources */, - 07F1B3912786F94900680859 /* PrivateRoute.swift in Sources */, + 0751795A27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */, + 0751794427D600E50071110C /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */, + 07517A2D27D600E60071110C /* FixedPenaltyScorer.swift in Sources */, + 0751790027D600E50071110C /* Option_NetworkUpdateZ.swift in Sources */, + 0751793827D600E50071110C /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */, + 0751796527D600E50071110C /* Result_NoneLightningErrorZ.swift in Sources */, + 07517A0A27D600E60071110C /* ChannelHandshakeLimits.swift in Sources */, + 075179BA27D600E60071110C /* Result_ClosingSignedDecodeErrorZ.swift in Sources */, 0767D03E2698BB9800BEB4CC /* ldk_net.c in Sources */, - 07F1B3872786F94900680859 /* DecodeError.swift in Sources */, - 07F1B2C92786F94800680859 /* C2Tuple_OutPointScriptZ.swift in Sources */, - 07F1B2C82786F94800680859 /* C2Tuple_u32TxOutZ.swift in Sources */, - 07F1B2FE2786F94800680859 /* Result_TrustedClosingTransactionNoneZ.swift in Sources */, - 07F1B39F2786F94900680859 /* UnsignedChannelAnnouncement.swift in Sources */, - 07F1B2992786F94800680859 /* ErrorAction.swift in Sources */, - 07F1B2BB2786F94800680859 /* BindingsType.swift in Sources */, - 07F1B3B12786F94900680859 /* InvoiceSignature.swift in Sources */, - 07F1B3C12786F94900680859 /* Route.swift in Sources */, - 07F1B3132786F94800680859 /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */, - 07F1B3B42786F94900680859 /* SignedRawInvoice.swift in Sources */, - 07F1B3062786F94800680859 /* Result_DescriptionCreationErrorZ.swift in Sources */, - 07F1B39D2786F94900680859 /* Payee.swift in Sources */, - 07F1B3AE2786F94900680859 /* RawDataPart.swift in Sources */, - 07F1B3012786F94800680859 /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */, - 07F1B3302786F94800680859 /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */, - 07F1B2EB2786F94800680859 /* Result_RouteHintDecodeErrorZ.swift in Sources */, - 07F1B36C2786F94800680859 /* NetworkGraph.swift in Sources */, - 07F1B2B82786F94800680859 /* Router.swift in Sources */, - 07F1B3082786F94800680859 /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */, - 07F1B3782786F94900680859 /* FundingLocked.swift in Sources */, - 07F1B2F22786F94800680859 /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B31C2786F94800680859 /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */, - 07F1B37D2786F94900680859 /* InMemorySigner.swift in Sources */, - 07F1B33F2786F94800680859 /* Result_ExpiryTimeCreationErrorZ.swift in Sources */, - 07F1B3832786F94900680859 /* RawInvoice.swift in Sources */, - 07F1B32C2786F94800680859 /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */, - 07F1B3C02786F94900680859 /* UserConfig.swift in Sources */, - 07F1B2EC2786F94800680859 /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B2EF2786F94800680859 /* Result_AcceptChannelDecodeErrorZ.swift in Sources */, - 07F1B3532786F94800680859 /* MonitorUpdateId.swift in Sources */, - 07F1B38A2786F94900680859 /* ChannelTransactionParameters.swift in Sources */, - 07F1B2A12786F94800680859 /* Option_EventZ.swift in Sources */, + 07517A3A27D600E60071110C /* DelayedPaymentOutputDescriptor.swift in Sources */, + 0751794927D600E50071110C /* Result_OpenChannelDecodeErrorZ.swift in Sources */, + 07517A3327D600E60071110C /* RetryAttempts.swift in Sources */, 07344C8726427F95001CD90E /* LDKExampleClass.swift in Sources */, - 07F1B3802786F94900680859 /* ErroringMessageHandler.swift in Sources */, - 07F1B3BD2786F94900680859 /* RetryAttempts.swift in Sources */, - 07F1B2FB2786F94800680859 /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */, - 07F1B3622786F94800680859 /* InvoiceFeatures.swift in Sources */, - 07F1B3352786F94800680859 /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */, - 07F1B3172786F94800680859 /* Result_COption_EventZDecodeErrorZ.swift in Sources */, - 07F1B3542786F94800680859 /* Ping.swift in Sources */, - 07F1B35E2786F94800680859 /* ChannelManagerReadArgs.swift in Sources */, - 07F1B3182786F94800680859 /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */, - 07F1B36F2786F94800680859 /* KeysManager.swift in Sources */, - 07F1B3652786F94800680859 /* ChannelMonitor.swift in Sources */, - 07F1B3BA2786F94900680859 /* UnsignedNodeAnnouncement.swift in Sources */, - 07F1B2B72786F94800680859 /* ChannelMessageHandler.swift in Sources */, - 07F1B35D2786F94800680859 /* RouteHintHop.swift in Sources */, - 07F1B2D72786F94800680859 /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */, - 07F1B2F42786F94800680859 /* Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.swift in Sources */, - 07F1B3122786F94800680859 /* Result_RoutingFeesDecodeErrorZ.swift in Sources */, - 07F1B3AB2786F94900680859 /* ReplyChannelRange.swift in Sources */, - 07F1B2982786F94800680859 /* Balance.swift in Sources */, - 07F1B3682786F94800680859 /* UpdateFee.swift in Sources */, - 07F1B2DD2786F94800680859 /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B3A02786F94900680859 /* TrustedClosingTransaction.swift in Sources */, - 07F1B2AF2786F94800680859 /* MessageSendEventsProvider.swift in Sources */, - 07F1B2E42786F94800680859 /* Result_PongDecodeErrorZ.swift in Sources */, - 07F1B38F2786F94900680859 /* RouteParameters.swift in Sources */, - 07F1B3752786F94900680859 /* ShutdownScript.swift in Sources */, - 07F1B2D42786F94800680859 /* Result_ScorerDecodeErrorZ.swift in Sources */, - 07F1B2952786F94800680859 /* PaymentError.swift in Sources */, - 07F1B3C22786F94900680859 /* OutPoint.swift in Sources */, - 07F1B3882786F94900680859 /* QueryChannelRange.swift in Sources */, - 07F1B3A32786F94900680859 /* DataLossProtect.swift in Sources */, - 07F1B3B02786F94900680859 /* ChannelInfo.swift in Sources */, - 07F1B2F12786F94800680859 /* Result_PayeeDecodeErrorZ.swift in Sources */, - 07F1B3522786F94800680859 /* RevokeAndACK.swift in Sources */, - 07F1B3BF2786F94900680859 /* BuiltCommitmentTransaction.swift in Sources */, - 07F1B3762786F94900680859 /* PeerManager.swift in Sources */, - 07F1B2B12786F94800680859 /* LockableScore.swift in Sources */, - 07F1B36A2786F94800680859 /* MultiThreadedLockableScore.swift in Sources */, - 07F1B2FA2786F94800680859 /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B3152786F94800680859 /* Result_RouteParametersDecodeErrorZ.swift in Sources */, - 07F1B3292786F94800680859 /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */, - 07F1B2A32786F94800680859 /* MessageSendEvent.swift in Sources */, - 07F1B2C42786F94800680859 /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */, - 07F1B2932786F94800680859 /* Option_AccessZ.swift in Sources */, - 07F1B34B2786F94800680859 /* Result_ClosingSignedDecodeErrorZ.swift in Sources */, - 07F1B31B2786F94800680859 /* Result_SecretKeyErrorZ.swift in Sources */, - 07F1B33E2786F94800680859 /* Result_NodeInfoDecodeErrorZ.swift in Sources */, - 07F1B3B62786F94900680859 /* LockedChannelMonitor.swift in Sources */, - 07F1B3812786F94900680859 /* CommitmentSigned.swift in Sources */, - 07F1B2F62786F94800680859 /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */, - 07F1B2D92786F94800680859 /* Result_PingDecodeErrorZ.swift in Sources */, - 07F1B2E22786F94800680859 /* Result_OpenChannelDecodeErrorZ.swift in Sources */, - 07F1B37B2786F94900680859 /* HTLCUpdate.swift in Sources */, - 07F1B30F2786F94800680859 /* Result_NoneSemanticErrorZ.swift in Sources */, - 07F1B34E2786F94800680859 /* ChainMonitor.swift in Sources */, - 07F1B2D52786F94800680859 /* Result_FundingCreatedDecodeErrorZ.swift in Sources */, - 07F1B3BE2786F94900680859 /* ChannelFeatures.swift in Sources */, - 07F1B2FC2786F94800680859 /* Result_NonePeerHandleErrorZ.swift in Sources */, - 07F1B3B92786F94900680859 /* ChannelTypeFeatures.swift in Sources */, - 07F1B37C2786F94900680859 /* NodeId.swift in Sources */, - 07F1B32F2786F94800680859 /* Result_boolPeerHandleErrorZ.swift in Sources */, - 07F1B2C62786F94800680859 /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */, - 07F1B39C2786F94900680859 /* ChannelDetails.swift in Sources */, - 07F1B2E52786F94800680859 /* Result__u832APIErrorZ.swift in Sources */, - 07F1B2E32786F94800680859 /* Result_ChannelInfoDecodeErrorZ.swift in Sources */, - 07F1B3212786F94800680859 /* Result_COption_TypeZDecodeErrorZ.swift in Sources */, - 07F1B2FD2786F94800680859 /* Result_TxOutAccessErrorZ.swift in Sources */, - 07F1B32A2786F94800680859 /* Result_FundingLockedDecodeErrorZ.swift in Sources */, - 07F1B3362786F94800680859 /* Result_NoneNoneZ.swift in Sources */, - 07F1B3442786F94800680859 /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */, - 07F1B30E2786F94800680859 /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B2AA2786F94800680859 /* KeysInterface.swift in Sources */, - 07F1B3942786F94900680859 /* AcceptChannel.swift in Sources */, - 07F1B36D2786F94800680859 /* InvalidShutdownScript.swift in Sources */, - 07F1B3392786F94800680859 /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */, - 07F1B3502786F94800680859 /* Scorer.swift in Sources */, - 07F1B34A2786F94800680859 /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */, - 07F1B3AF2786F94900680859 /* ChannelPublicKeys.swift in Sources */, - 07F1B34D2786F94800680859 /* MessageHandler.swift in Sources */, - 07F1B3312786F94800680859 /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */, - 07F1B3972786F94900680859 /* AnnouncementSignatures.swift in Sources */, - 07F1B2FF2786F94800680859 /* Result_NoneLightningErrorZ.swift in Sources */, - 07F1B3A82786F94900680859 /* WatchedOutput.swift in Sources */, - 07F1B3402786F94800680859 /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */, - 07F1B3B82786F94900680859 /* Init.swift in Sources */, - 07F1B2B32786F94800680859 /* EventHandler.swift in Sources */, - 07F1B3A72786F94900680859 /* RouteHop.swift in Sources */, - 07F1B2C22786F94800680859 /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */, - 07F1B3032786F94800680859 /* Result_boolLightningErrorZ.swift in Sources */, - 07F1B2CC2786F94800680859 /* C2Tuple_u32ScriptZ.swift in Sources */, - 07F1B36B2786F94800680859 /* QueryShortChannelIds.swift in Sources */, - 07F1B2A22786F94800680859 /* ClosureReason.swift in Sources */, - 07F1B38D2786F94900680859 /* DirectedChannelTransactionParameters.swift in Sources */, - 07F1B2CB2786F94800680859 /* C2Tuple_PublicKeyTypeZ.swift in Sources */, - 07F1B33B2786F94800680859 /* Result_ShutdownDecodeErrorZ.swift in Sources */, - 07F1B3852786F94900680859 /* ExpiryTime.swift in Sources */, - 07F1B37E2786F94900680859 /* GossipTimestampFilter.swift in Sources */, - 07F1B3202786F94800680859 /* Result_SignedRawInvoiceNoneZ.swift in Sources */, - 07F1B29F2786F94800680859 /* SignOrCreationError.swift in Sources */, - 07F1B2D22786F94800680859 /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */, - 07F1B3672786F94800680859 /* BestBlock.swift in Sources */, - 07F1B37F2786F94900680859 /* PeerHandleError.swift in Sources */, - 07F1B2DF2786F94800680859 /* Result_RouteDecodeErrorZ.swift in Sources */, - 07F1B3042786F94800680859 /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */, - 07F1B3462786F94800680859 /* Result_InitDecodeErrorZ.swift in Sources */, - 07F1B3282786F94800680859 /* Result_NoneErrorZ.swift in Sources */, - 07F1B30D2786F94800680859 /* Result_NetworkGraphDecodeErrorZ.swift in Sources */, - 07F1B3272786F94800680859 /* Result_SignatureNoneZ.swift in Sources */, - 07F1B38B2786F94900680859 /* NodeInfo.swift in Sources */, - 07F1B2E92786F94800680859 /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */, + 07517A0627D600E60071110C /* Shutdown.swift in Sources */, + 07517A0F27D600E60071110C /* CommitmentUpdate.swift in Sources */, + 0751795627D600E50071110C /* Result_AcceptChannelDecodeErrorZ.swift in Sources */, + 0751792827D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */, + 0751798227D600E50071110C /* Result_PaymentIdPaymentErrorZ.swift in Sources */, + 0751796E27D600E50071110C /* Result_CommitmentTransactionDecodeErrorZ.swift in Sources */, + 075179F327D600E60071110C /* ErroringMessageHandler.swift in Sources */, + 0751799027D600E50071110C /* Result_CVec_SignatureZNoneZ.swift in Sources */, + 075179AF27D600E50071110C /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, + 0751792027D600E50071110C /* BindingsType.swift in Sources */, + 075179A327D600E50071110C /* Result_TxCreationKeysDecodeErrorZ.swift in Sources */, + 075179BC27D600E60071110C /* MessageHandler.swift in Sources */, + 075179DB27D600E60071110C /* MultiThreadedLockableScore.swift in Sources */, + 07517A3427D600E60071110C /* ChannelFeatures.swift in Sources */, + 075179D327D600E60071110C /* InvoiceFeatures.swift in Sources */, + 0751793227D600E50071110C /* C2Tuple_u32ScriptZ.swift in Sources */, + 075179CE27D600E60071110C /* RouteHintHop.swift in Sources */, + 0751796927D600E50071110C /* Result_boolLightningErrorZ.swift in Sources */, + 0751792327D600E50071110C /* Watch.swift in Sources */, + 07517A2227D600E60071110C /* NodeAnnouncement.swift in Sources */, + 075179AA27D600E50071110C /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */, + 075179C427D600E60071110C /* Ping.swift in Sources */, + 0751791B27D600E50071110C /* Listen.swift in Sources */, + 075179FC27D600E60071110C /* QueryChannelRange.swift in Sources */, + 0751791C27D600E50071110C /* ChannelMessageHandler.swift in Sources */, + 0751797D27D600E50071110C /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */, + 0751791127D600E50071110C /* Payer.swift in Sources */, + 0751799C27D600E50071110C /* Result_SignDecodeErrorZ.swift in Sources */, + 075179AB27D600E50071110C /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */, + 0751793627D600E50071110C /* Result_ChannelConfigDecodeErrorZ.swift in Sources */, + 075179D627D600E60071110C /* ChannelMonitor.swift in Sources */, + 0751795E27D600E50071110C /* Result_HolderCommitmentTransactionDecodeErrorZ.swift in Sources */, + 0751794B27D600E50071110C /* Result_PongDecodeErrorZ.swift in Sources */, + 0751796427D600E50071110C /* Result_TrustedClosingTransactionNoneZ.swift in Sources */, + 075179B127D600E50071110C /* Result_CounterpartyForwardingInfoDecodeErrorZ.swift in Sources */, + 0751799B27D600E50071110C /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */, + 07517A1327D600E60071110C /* NodeAnnouncementInfo.swift in Sources */, + 075178F927D600E50071110C /* PaymentError.swift in Sources */, + 075179F627D600E60071110C /* RawInvoice.swift in Sources */, + 0751793927D600E50071110C /* Result_QueryChannelRangeDecodeErrorZ.swift in Sources */, + 07517A1C27D600E60071110C /* RouteHop.swift in Sources */, + 07517A0D27D600E60071110C /* PaymentParameters.swift in Sources */, + 07517A2127D600E60071110C /* InitFeatures.swift in Sources */, + 0751796D27D600E50071110C /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */, + 0751797C27D600E50071110C /* Result_ChannelReestablishDecodeErrorZ.swift in Sources */, + 0751799A27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.swift in Sources */, + 075179CC27D600E60071110C /* HTLCOutputInCommitment.swift in Sources */, + 07517A0227D600E60071110C /* ChannelHandshakeConfig.swift in Sources */, + 0751791D27D600E50071110C /* Router.swift in Sources */, + 0751793F27D600E50071110C /* Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.swift in Sources */, + 07517A0B27D600E60071110C /* ProbabilisticScoringParameters.swift in Sources */, + 0751794027D600E50071110C /* Result_LockedChannelMonitorNoneZ.swift in Sources */, + 07517A1127D600E60071110C /* DefaultRouter.swift in Sources */, + 07517A3127D600E60071110C /* TrustedCommitmentTransaction.swift in Sources */, + 0751795527D600E50071110C /* Result_ErrorMessageDecodeErrorZ.swift in Sources */, + 0751790427D600E50071110C /* SignOrCreationError.swift in Sources */, + 0751797727D600E50071110C /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */, + 0751791727D600E50071110C /* Confirm.swift in Sources */, + 0751799327D600E50071110C /* Result_NoneErrorZ.swift in Sources */, + 07517A1E27D600E60071110C /* ChannelUpdate.swift in Sources */, + 0751797A27D600E50071110C /* Result_CounterpartyCommitmentSecretsDecodeErrorZ.swift in Sources */, + 0751793A27D600E50071110C /* Result_C2Tuple_SignatureSignatureZNoneZ.swift in Sources */, + 075179F427D600E60071110C /* CommitmentSigned.swift in Sources */, + 0751799127D600E50071110C /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */, + 075179E127D600E60071110C /* CommitmentTransaction.swift in Sources */, + 075179BD27D600E60071110C /* ChainMonitor.swift in Sources */, + 075179B927D600E60071110C /* Result_ChannelCounterpartyDecodeErrorZ.swift in Sources */, + 075178FD27D600E50071110C /* Balance.swift in Sources */, + 075179DD27D600E60071110C /* QueryShortChannelIds.swift in Sources */, + 07517A1F27D600E60071110C /* Record.swift in Sources */, + 075179DF27D600E60071110C /* DirectedChannelInfo.swift in Sources */, + 075178F727D600E50071110C /* Option_AccessZ.swift in Sources */, 075E294926FEFFAF0000A76B /* TCPPeerHandler.swift in Sources */, - 07F1B29D2786F94800680859 /* Option_u16Z.swift in Sources */, - 07F1B2F32786F94800680859 /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */, - 07F1B3BC2786F94900680859 /* ReadOnlyNetworkGraph.swift in Sources */, - 07F1B3B32786F94900680859 /* FundingSigned.swift in Sources */, - 07F1B2AB2786F94800680859 /* Logger.swift in Sources */, - 07F1B35B2786F94800680859 /* HTLCOutputInCommitment.swift in Sources */, - 07F1B28D2786F94800680859 /* Option_u64Z.swift in Sources */, - 07F1B33D2786F94800680859 /* Result_NodeAnnouncementInfoDecodeErrorZ.swift in Sources */, - 07F1B3262786F94800680859 /* Result_ChannelMonitorUpdateDecodeErrorZ.swift in Sources */, - 07F1B2C32786F94800680859 /* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ.swift in Sources */, - 07F1B3952786F94900680859 /* FilesystemPersister.swift in Sources */, - 07F1B2962786F94800680859 /* Option_ClosureReasonZ.swift in Sources */, - 07F1B2CD2786F94800680859 /* C2Tuple_usizeTransactionZ.swift in Sources */, - 07F1B38C2786F94900680859 /* BackgroundProcessor.swift in Sources */, - 07F1B2DC2786F94800680859 /* Result_CVec_u8ZPeerHandleErrorZ.swift in Sources */, - 07F1B34C2786F94800680859 /* Result_InMemorySignerDecodeErrorZ.swift in Sources */, - 07F1B2AE2786F94800680859 /* FeeEstimator.swift in Sources */, - 07F1B3552786F94800680859 /* PositiveTimestamp.swift in Sources */, - 07F1B3772786F94900680859 /* UpdateFailHTLC.swift in Sources */, - 07F1B35F2786F94800680859 /* UpdateFulfillHTLC.swift in Sources */, - 07F1B30B2786F94800680859 /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */, - 07F1B3612786F94800680859 /* NetGraphMsgHandler.swift in Sources */, - 07F1B3112786F94800680859 /* Result_InvoiceNoneZ.swift in Sources */, - 07F1B2B02786F94800680859 /* BroadcasterInterface.swift in Sources */, - 07F1B2BC2786F94800680859 /* Access.swift in Sources */, - 07F1B2D32786F94800680859 /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */, - 07F1B3842786F94900680859 /* Pong.swift in Sources */, - 07F1B3072786F94800680859 /* Result_ShutdownScriptDecodeErrorZ.swift in Sources */, - 07F1B3052786F94800680859 /* Result_UpdateFeeDecodeErrorZ.swift in Sources */, - 07F1B2E12786F94800680859 /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */, - 07F1B3142786F94800680859 /* Result_GossipTimestampFilterDecodeErrorZ.swift in Sources */, - 07F1B2EE2786F94800680859 /* Result_ErrorMessageDecodeErrorZ.swift in Sources */, - 07F1B2DA2786F94800680859 /* Result_UpdateFulfillHTLCDecodeErrorZ.swift in Sources */, - 07F1B3C32786F94900680859 /* InvoicePayer.swift in Sources */, - 07F1B2B52786F94800680859 /* ChannelManagerPersister.swift in Sources */, - 07F1B30C2786F94800680859 /* Result_TransactionNoneZ.swift in Sources */, - 07F1B2CA2786F94800680859 /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */, - 07F1B29E2786F94800680859 /* NetAddress.swift in Sources */, - 07F1B3422786F94800680859 /* Result_DelayedPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, - 07F1B2BE2786F94800680859 /* Watch.swift in Sources */, - 07F1B34F2786F94800680859 /* PayeePubKey.swift in Sources */, - 07F1B3962786F94900680859 /* ChannelHandshakeLimits.swift in Sources */, - 07F1B3372786F94800680859 /* Result_PositiveTimestampCreationErrorZ.swift in Sources */, - 07F1B2B62786F94800680859 /* Listen.swift in Sources */, - 07F1B3B22786F94900680859 /* OpenChannel.swift in Sources */, - 07F1B2B22786F94800680859 /* Confirm.swift in Sources */, - 07F1B39B2786F94900680859 /* DefaultRouter.swift in Sources */, - 07F1B2942786F94800680859 /* PaymentPurpose.swift in Sources */, - 07F1B2CF2786F94800680859 /* Bindings.swift in Sources */, - 07F1B3BB2786F94900680859 /* TrustedCommitmentTransaction.swift in Sources */, - 07F1B32E2786F94800680859 /* Result_SignDecodeErrorZ.swift in Sources */, - 07F1B33A2786F94800680859 /* Result_PayeePubKeyErrorZ.swift in Sources */, - 07F1B31D2786F94800680859 /* Result_NodeIdDecodeErrorZ.swift in Sources */, - 07F1B3512786F94800680859 /* Description.swift in Sources */, - 07F1B2C52786F94800680859 /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */, - 07F1B33C2786F94800680859 /* Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.swift in Sources */, - 07F1B3892786F94900680859 /* HolderCommitmentTransaction.swift in Sources */, - 07F1B3592786F94800680859 /* RouteHint.swift in Sources */, - 07F1B3642786F94800680859 /* RoutingFees.swift in Sources */, - 07F1B28E2786F94800680859 /* Fallback.swift in Sources */, - 07F1B29C2786F94800680859 /* Option_u32Z.swift in Sources */, - 07F1B37A2786F94900680859 /* StaticPaymentOutputDescriptor.swift in Sources */, - 07F1B3432786F94800680859 /* Result_PaymentSecretNoneZ.swift in Sources */, - 07F1B3342786F94800680859 /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */, - 07F1B2E82786F94800680859 /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */, - 07F1B32B2786F94800680859 /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */, - 07F1B3232786F94800680859 /* Result_NetAddressDecodeErrorZ.swift in Sources */, - 07F1B2F92786F94800680859 /* Result_RouteHopDecodeErrorZ.swift in Sources */, - 07F1B32D2786F94800680859 /* Result_QueryShortChannelIdsDecodeErrorZ.swift in Sources */, - 07F1B29A2786F94800680859 /* Option_MonitorEventZ.swift in Sources */, - 07F1B3A52786F94900680859 /* ErrorMessage.swift in Sources */, - 07F1B35C2786F94800680859 /* ChannelReestablish.swift in Sources */, - 07F1B3982786F94900680859 /* CommitmentUpdate.swift in Sources */, - 07F1B3792786F94900680859 /* ScoringParameters.swift in Sources */, - 07F1B3A62786F94900680859 /* ChannelCounterparty.swift in Sources */, - 07F1B38E2786F94900680859 /* ChannelHandshakeConfig.swift in Sources */, - 07F1B2A52786F94800680859 /* SpendableOutputDescriptor.swift in Sources */, - 07F1B3712786F94800680859 /* CounterpartyChannelTransactionParameters.swift in Sources */, - 07F1B3482786F94800680859 /* Result_PrivateRouteCreationErrorZ.swift in Sources */, - 07F1B2F72786F94800680859 /* Result_StringErrorZ.swift in Sources */, - 07F1B3742786F94800680859 /* IgnoringMessageHandler.swift in Sources */, - 07F1B3AA2786F94900680859 /* Record.swift in Sources */, + 07517A2527D600E60071110C /* ChannelInfo.swift in Sources */, + 07517A0827D600E60071110C /* AcceptChannel.swift in Sources */, + 0751799427D600E50071110C /* Result_UpdateAddHTLCDecodeErrorZ.swift in Sources */, + 075179E327D600E60071110C /* FundingCreated.swift in Sources */, + 07517A1627D600E60071110C /* LightningError.swift in Sources */, + 0751799527D600E50071110C /* Result_FundingLockedDecodeErrorZ.swift in Sources */, + 07517A3027D600E60071110C /* UnsignedNodeAnnouncement.swift in Sources */, + 0751795827D600E50071110C /* Result_UnsignedNodeAnnouncementDecodeErrorZ.swift in Sources */, + 0751790E27D600E50071110C /* Score.swift in Sources */, + 0751795427D600E50071110C /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */, + 07517A2927D600E60071110C /* SignedRawInvoice.swift in Sources */, + 0751798027D600E50071110C /* Result_COption_EventZDecodeErrorZ.swift in Sources */, + 0751792727D600E50071110C /* C2Tuple_SignatureCVec_SignatureZZ.swift in Sources */, + 075179A727D600E50071110C /* Result_NodeAnnouncementDecodeErrorZ.swift in Sources */, + 075178FF27D600E50071110C /* Option_MonitorEventZ.swift in Sources */, + 075179D927D600E60071110C /* UpdateFee.swift in Sources */, + 075179C927D600E60071110C /* ChannelMonitorUpdate.swift in Sources */, + 075179AC27D600E50071110C /* Result_NodeInfoDecodeErrorZ.swift in Sources */, + 0751798127D600E50071110C /* Result_PaymentIdPaymentSendFailureZ.swift in Sources */, + 075179A427D600E50071110C /* Result_NoneNoneZ.swift in Sources */, + 075179BE27D600E60071110C /* PayeePubKey.swift in Sources */, + 0751796327D600E50071110C /* Result_TxOutAccessErrorZ.swift in Sources */, + 0751794127D600E50071110C /* Result_PingDecodeErrorZ.swift in Sources */, + 075178F127D600E50071110C /* Option_u64Z.swift in Sources */, + 0751799827D600E50071110C /* Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.swift in Sources */, + 0751797B27D600E50071110C /* Result_ProbabilisticScoringParametersDecodeErrorZ.swift in Sources */, + 075179C527D600E60071110C /* PositiveTimestamp.swift in Sources */, + 07517A3527D600E60071110C /* BuiltCommitmentTransaction.swift in Sources */, + 075179B627D600E60071110C /* Result_PrivateRouteCreationErrorZ.swift in Sources */, + 075179B027D600E50071110C /* Result_PaymentSecretNoneZ.swift in Sources */, + 075179BB27D600E60071110C /* Result_InMemorySignerDecodeErrorZ.swift in Sources */, + 0751798F27D600E50071110C /* Result_ChannelDetailsDecodeErrorZ.swift in Sources */, + 07517A0427D600E60071110C /* ChannelManager.swift in Sources */, + 075179CB27D600E60071110C /* Sha256.swift in Sources */, + 0751791927D600E50071110C /* RoutingMessageHandler.swift in Sources */, + 0751792627D600E50071110C /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */, + 0751792927D600E50071110C /* C2Tuple_BlockHashChannelManagerZ.swift in Sources */, + 0751790D27D600E50071110C /* Persist.swift in Sources */, + 0751791427D600E50071110C /* MessageSendEventsProvider.swift in Sources */, + 075179A927D600E50071110C /* Result_ShutdownDecodeErrorZ.swift in Sources */, + 0751798C27D600E50071110C /* Result_NetAddressDecodeErrorZ.swift in Sources */, + 075179DA27D600E60071110C /* UnsignedChannelUpdate.swift in Sources */, + 075179E227D600E60071110C /* KeysManager.swift in Sources */, + 0751790327D600E50071110C /* NetAddress.swift in Sources */, + 0751795227D600E50071110C /* Result_RouteHintDecodeErrorZ.swift in Sources */, + 0751799227D600E50071110C /* Result_SignatureNoneZ.swift in Sources */, + 075179AD27D600E50071110C /* Result_COption_NetworkUpdateZDecodeErrorZ.swift in Sources */, + 0751794627D600E50071110C /* Result_RouteDecodeErrorZ.swift in Sources */, + 0751796227D600E50071110C /* Result_NonePeerHandleErrorZ.swift in Sources */, + 0751799627D600E50071110C /* Result_PhantomRouteHintsDecodeErrorZ.swift in Sources */, + 0751795D27D600E50071110C /* Result_StringErrorZ.swift in Sources */, + 0751790F27D600E50071110C /* KeysInterface.swift in Sources */, + 0751795327D600E50071110C /* Result_SpendableOutputDescriptorDecodeErrorZ.swift in Sources */, + 0751796F27D600E50071110C /* Result_PaymentParametersDecodeErrorZ.swift in Sources */, + 0751791527D600E50071110C /* BroadcasterInterface.swift in Sources */, + 0751794A27D600E50071110C /* Result_ChannelInfoDecodeErrorZ.swift in Sources */, + 0751798327D600E50071110C /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */, + 075179C727D600E60071110C /* PhantomKeysManager.swift in Sources */, + 075179A227D600E50071110C /* Result_UpdateFailHTLCDecodeErrorZ.swift in Sources */, + 0751795127D600E50071110C /* Result_PaymentSecretAPIErrorZ.swift in Sources */, + 07517A0327D600E60071110C /* RouteParameters.swift in Sources */, + 0751795C27D600E50071110C /* Result_AnnouncementSignaturesDecodeErrorZ.swift in Sources */, + 075178FA27D600E50071110C /* Option_ClosureReasonZ.swift in Sources */, + 0751793E27D600E50071110C /* Result_TxCreationKeysErrorZ.swift in Sources */, + 075178F827D600E50071110C /* PaymentPurpose.swift in Sources */, + 0751794827D600E50071110C /* Result_COption_ClosureReasonZDecodeErrorZ.swift in Sources */, + 075179A827D600E50071110C /* Result_PayeePubKeyErrorZ.swift in Sources */, + 0751798A27D600E50071110C /* Result_COption_TypeZDecodeErrorZ.swift in Sources */, + 0751797E27D600E50071110C /* Result_RouteParametersDecodeErrorZ.swift in Sources */, + 075179F727D600E60071110C /* Pong.swift in Sources */, + 0751798D27D600E50071110C /* Result_WarningMessageDecodeErrorZ.swift in Sources */, + 075179CF27D600E60071110C /* ChannelManagerReadArgs.swift in Sources */, + 0751792B27D600E50071110C /* C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ.swift in Sources */, + 075179D727D600E60071110C /* ClosingSignedFeeRange.swift in Sources */, + 075179C227D600E60071110C /* MonitorUpdateId.swift in Sources */, + 075178F227D600E50071110C /* Fallback.swift in Sources */, + 075179CA27D600E60071110C /* RouteHint.swift in Sources */, + 0751799F27D600E50071110C /* Result_C2Tuple_SignatureCVec_SignatureZZNoneZ.swift in Sources */, + 0751794D27D600E50071110C /* Result_RouteHintHopDecodeErrorZ.swift in Sources */, + 0751799E27D600E50071110C /* Result_CounterpartyChannelTransactionParametersDecodeErrorZ.swift in Sources */, + 0751796B27D600E50071110C /* Result_UpdateFeeDecodeErrorZ.swift in Sources */, + 0751795027D600E50071110C /* Result_BuiltCommitmentTransactionDecodeErrorZ.swift in Sources */, + 0751790C27D600E50071110C /* BaseSign.swift in Sources */, + 07517A2A27D600E60071110C /* ClosingTransaction.swift in Sources */, + 075179ED27D600E60071110C /* StaticPaymentOutputDescriptor.swift in Sources */, + 0751792227D600E50071110C /* EventsProvider.swift in Sources */, + 0751793027D600E50071110C /* C3Tuple_RawInvoice_u832InvoiceSignatureZ.swift in Sources */, + 0751791227D600E50071110C /* SocketDescriptor.swift in Sources */, + 07517A3727D600E60071110C /* Route.swift in Sources */, + 07517A0527D600E60071110C /* PrivateRoute.swift in Sources */, + 07517A0127D600E60071110C /* DirectedChannelTransactionParameters.swift in Sources */, + 075179E427D600E60071110C /* CounterpartyChannelTransactionParameters.swift in Sources */, + 075179B327D600E50071110C /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */, + 0751791027D600E50071110C /* Logger.swift in Sources */, + 075179A127D600E50071110C /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */, + 075179FD27D600E60071110C /* HolderCommitmentTransaction.swift in Sources */, + 07517A2627D600E60071110C /* InvoiceSignature.swift in Sources */, + 075179F027D600E60071110C /* InMemorySigner.swift in Sources */, + 0751795B27D600E50071110C /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */, + 075178FE27D600E50071110C /* ErrorAction.swift in Sources */, + 075179A027D600E50071110C /* Result_ReplyChannelRangeDecodeErrorZ.swift in Sources */, + 07517A1B27D600E60071110C /* ChannelCounterparty.swift in Sources */, + 07517A3627D600E60071110C /* UserConfig.swift in Sources */, + 0751790127D600E50071110C /* Option_u32Z.swift in Sources */, + 075179D427D600E60071110C /* Invoice.swift in Sources */, + 0751792A27D600E50071110C /* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.swift in Sources */, + 0751798527D600E50071110C /* Result_HTLCUpdateDecodeErrorZ.swift in Sources */, + 075179E927D600E60071110C /* PeerManager.swift in Sources */, + 0751795727D600E50071110C /* Result_PaymentPreimageAPIErrorZ.swift in Sources */, + 07517A0C27D600E60071110C /* PhantomRouteHints.swift in Sources */, + 07517A2F27D600E60071110C /* ChannelTypeFeatures.swift in Sources */, + 07517A2827D600E60071110C /* FundingSigned.swift in Sources */, + 0751794F27D600E50071110C /* Result_ChannelPublicKeysDecodeErrorZ.swift in Sources */, + 0751798727D600E50071110C /* Result_RouteLightningErrorZ.swift in Sources */, + 0751793D27D600E50071110C /* Result_FundingCreatedDecodeErrorZ.swift in Sources */, + 0751790527D600E50071110C /* NetworkUpdate.swift in Sources */, + 0751796027D600E50071110C /* Result_UnsignedChannelAnnouncementDecodeErrorZ.swift in Sources */, + 075179D827D600E60071110C /* BestBlock.swift in Sources */, + 075179BF27D600E60071110C /* Scorer.swift in Sources */, 075E294B26FEFFAF0000A76B /* NetGraphMsgHandlerConstructor.swift in Sources */, - 07F1B3902786F94900680859 /* ChannelManager.swift in Sources */, - 07F1B2972786F94800680859 /* Option_FilterZ.swift in Sources */, - 07F1B2ED2786F94800680859 /* Result_UnsignedChannelUpdateDecodeErrorZ.swift in Sources */, - 07F1B3B72786F94900680859 /* CounterpartyForwardingInfo.swift in Sources */, - 07F1B2F02786F94800680859 /* Result_PaymentPreimageAPIErrorZ.swift in Sources */, - 07F1B3A92786F94900680859 /* ChannelUpdate.swift in Sources */, - 07F1B3922786F94900680859 /* Shutdown.swift in Sources */, - 07F1B3332786F94800680859 /* Result_UpdateFailMalformedHTLCDecodeErrorZ.swift in Sources */, - 07F1B28F2786F94800680859 /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */, - 07F1B31E2786F94800680859 /* Result_RouteLightningErrorZ.swift in Sources */, - 07F1B3412786F94800680859 /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */, - 07F1B3382786F94800680859 /* Result_OutPointDecodeErrorZ.swift in Sources */, - 07F1B3102786F94800680859 /* Result_InvoiceSignOrCreationErrorZ.swift in Sources */, - 07F1B2B42786F94800680859 /* RoutingMessageHandler.swift in Sources */, - 07F1B3AD2786F94900680859 /* NodeAnnouncement.swift in Sources */, - 07F1B3C42786F94900680859 /* DelayedPaymentOutputDescriptor.swift in Sources */, - 07F1B3452786F94800680859 /* Result_HTLCOutputInCommitmentDecodeErrorZ.swift in Sources */, - 07F1B2C12786F94800680859 /* C2Tuple_BlockHashChannelMonitorZ.swift in Sources */, - 07F1B2DB2786F94800680859 /* Result_NonePaymentSendFailureZ.swift in Sources */, - 07F1B2EA2786F94800680859 /* Result_PaymentSecretAPIErrorZ.swift in Sources */, - 07F1B2A62786F94800680859 /* Option_CVec_NetAddressZZ.swift in Sources */, - 07F1B3A12786F94900680859 /* LightningError.swift in Sources */, - 07F1B3722786F94800680859 /* ChannelAnnouncement.swift in Sources */, + 07517A1A27D600E60071110C /* ErrorMessage.swift in Sources */, + 0751798627D600E50071110C /* Result_NodeIdDecodeErrorZ.swift in Sources */, + 075179FA27D600E60071110C /* ChannelConfig.swift in Sources */, + 0751796127D600E50071110C /* Result_CommitmentSignedDecodeErrorZ.swift in Sources */, + 075178FB27D600E50071110C /* Option_FilterZ.swift in Sources */, + 075179F527D600E60071110C /* TxCreationKeys.swift in Sources */, + 0751791827D600E50071110C /* EventHandler.swift in Sources */, + 075179B727D600E60071110C /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */, + 0751796A27D600E50071110C /* Result_ChannelUpdateDecodeErrorZ.swift in Sources */, + 0751792527D600E50071110C /* CustomMessageHandler.swift in Sources */, + 0751790A27D600E50071110C /* SpendableOutputDescriptor.swift in Sources */, + 075179B827D600E60071110C /* Result_ReplyShortChannelIdsEndDecodeErrorZ.swift in Sources */, + 07517A2C27D600E60071110C /* CounterpartyForwardingInfo.swift in Sources */, + 075179C327D600E60071110C /* WarningMessage.swift in Sources */, + 075179E727D600E60071110C /* IgnoringMessageHandler.swift in Sources */, + 0751790927D600E50071110C /* MonitorEvent.swift in Sources */, + 075179DE27D600E60071110C /* NetworkGraph.swift in Sources */, + 0751793C27D600E50071110C /* Result_ScorerDecodeErrorZ.swift in Sources */, + 075179C127D600E60071110C /* RevokeAndACK.swift in Sources */, + 075179EF27D600E60071110C /* NodeId.swift in Sources */, + 0751794327D600E50071110C /* Result_NonePaymentSendFailureZ.swift in Sources */, + 07517A3927D600E60071110C /* InvoicePayer.swift in Sources */, + 075178FC27D600E50071110C /* EffectiveCapacity.swift in Sources */, + 0751798827D600E50071110C /* Result_InvoiceSemanticErrorZ.swift in Sources */, + 075179F927D600E60071110C /* ExpiryTime.swift in Sources */, + 0751797527D600E50071110C /* Result_ChannelAnnouncementDecodeErrorZ.swift in Sources */, + 0751791E27D600E50071110C /* Filter.swift in Sources */, + 075179F827D600E60071110C /* CounterpartyCommitmentSecrets.swift in Sources */, + 0751795927D600E50071110C /* Result_NodeFeaturesDecodeErrorZ.swift in Sources */, + 0751793127D600E50071110C /* C2Tuple_PublicKeyTypeZ.swift in Sources */, + 0751793B27D600E50071110C /* Result_ShutdownScriptInvalidShutdownScriptZ.swift in Sources */, + 07517A1927D600E60071110C /* TxOut.swift in Sources */, + 075178F327D600E50071110C /* Option_C2Tuple_usizeTransactionZZ.swift in Sources */, + 075179A527D600E50071110C /* Result_PositiveTimestampCreationErrorZ.swift in Sources */, + 0751790227D600E50071110C /* Option_u16Z.swift in Sources */, + 0751791627D600E50071110C /* LockableScore.swift in Sources */, 075E294D26FEFFAF0000A76B /* ChannelManagerConstructor.swift in Sources */, - 07F1B2F52786F94800680859 /* Result_TrustedCommitmentTransactionNoneZ.swift in Sources */, - 07F1B2CE2786F94800680859 /* C2Tuple_PaymentHashPaymentIdZ.swift in Sources */, - 07F1B3632786F94800680859 /* Invoice.swift in Sources */, - 07F1B3002786F94800680859 /* Result_NoneAPIErrorZ.swift in Sources */, - 07F1B3022786F94800680859 /* Result_PublicKeyErrorZ.swift in Sources */, - 07F1B3192786F94800680859 /* Result_PaymentIdPaymentErrorZ.swift in Sources */, - 07F1B3162786F94800680859 /* Result_ScoringParametersDecodeErrorZ.swift in Sources */, - 07F1B2902786F94800680859 /* APIError.swift in Sources */, - 07F1B3932786F94900680859 /* ChainParameters.swift in Sources */, - 07F1B3582786F94800680859 /* ChannelMonitorUpdate.swift in Sources */, - 07F1B2D82786F94800680859 /* Result_LockedChannelMonitorNoneZ.swift in Sources */, - 07F1B30A2786F94800680859 /* Result_FundingSignedDecodeErrorZ.swift in Sources */, - 07F1B2E72786F94800680859 /* Result_ClosingSignedFeeRangeDecodeErrorZ.swift in Sources */, - 07F1B3252786F94800680859 /* Result_CVec_SignatureZNoneZ.swift in Sources */, - 07F1B3B52786F94900680859 /* ClosingTransaction.swift in Sources */, - 07F1B3492786F94800680859 /* Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ.swift in Sources */, - 07F1B3992786F94900680859 /* ClosingSigned.swift in Sources */, - 07F1B2922786F94800680859 /* Event.swift in Sources */, - 07F1B2DE2786F94800680859 /* Result_DirectionalChannelInfoDecodeErrorZ.swift in Sources */, - 07F1B29B2786F94800680859 /* Option_NetworkUpdateZ.swift in Sources */, - 07F1B2B92786F94800680859 /* Filter.swift in Sources */, - 07F1B2D12786F94800680859 /* Result_ChannelTransactionParametersDecodeErrorZ.swift in Sources */, - 07F1B3562786F94800680859 /* UpdateAddHTLC.swift in Sources */, - 07F1B3A22786F94900680859 /* MinFinalCltvExpiry.swift in Sources */, - 07F1B2C02786F94800680859 /* CustomMessageHandler.swift in Sources */, - 07F1B2D62786F94800680859 /* Result_TxCreationKeysErrorZ.swift in Sources */, - 07F1B3662786F94800680859 /* ClosingSignedFeeRange.swift in Sources */, - 07F1B3222786F94800680859 /* Result_InitFeaturesDecodeErrorZ.swift in Sources */, - 07F1B2C72786F94800680859 /* C2Tuple_PaymentHashPaymentSecretZ.swift in Sources */, - 07F1B2A92786F94800680859 /* Score.swift in Sources */, - 07F1B2BF2786F94800680859 /* Sign.swift in Sources */, - 07F1B2A72786F94800680859 /* BaseSign.swift in Sources */, - 07F1B35A2786F94800680859 /* Sha256.swift in Sources */, - 07F1B3732786F94800680859 /* ReplyShortChannelIdsEnd.swift in Sources */, - 07F1B31A2786F94800680859 /* Result_CVec_CVec_u8ZZNoneZ.swift in Sources */, - 07F1B2D02786F94800680859 /* Result_ChannelConfigDecodeErrorZ.swift in Sources */, - 07F1B3092786F94800680859 /* Result_SiPrefixNoneZ.swift in Sources */, - 07F1B3862786F94900680859 /* ChannelConfig.swift in Sources */, + 07517A2E27D600E60071110C /* Init.swift in Sources */, + 07517A0027D600E60071110C /* BackgroundProcessor.swift in Sources */, + 075179FE27D600E60071110C /* ChannelTransactionParameters.swift in Sources */, + 0751790727D600E50071110C /* ClosureReason.swift in Sources */, + 0751792D27D600E50071110C /* C2Tuple_u32TxOutZ.swift in Sources */, + 0751792127D600E50071110C /* Access.swift in Sources */, + 07517A1527D600E60071110C /* TrustedClosingTransaction.swift in Sources */, + 0751797027D600E50071110C /* Result_SiPrefixNoneZ.swift in Sources */, + 07517A0927D600E60071110C /* FilesystemPersister.swift in Sources */, + 0751797427D600E50071110C /* Result_NetworkGraphDecodeErrorZ.swift in Sources */, + 075179E027D600E60071110C /* InvalidShutdownScript.swift in Sources */, + 075179D127D600E60071110C /* NodeFeatures.swift in Sources */, + 07517A1827D600E60071110C /* DataLossProtect.swift in Sources */, + 0751797627D600E50071110C /* Result_NoneSemanticErrorZ.swift in Sources */, + 075179AE27D600E50071110C /* Result_ChannelFeaturesDecodeErrorZ.swift in Sources */, + 075179D527D600E60071110C /* RoutingFees.swift in Sources */, + 075179F227D600E60071110C /* PeerHandleError.swift in Sources */, + 075179A627D600E50071110C /* Result_OutPointDecodeErrorZ.swift in Sources */, + 07517A2B27D600E60071110C /* LockedChannelMonitor.swift in Sources */, + 07517A2727D600E60071110C /* OpenChannel.swift in Sources */, + 0751796827D600E50071110C /* Result_PublicKeyErrorZ.swift in Sources */, + 075179D227D600E60071110C /* NetGraphMsgHandler.swift in Sources */, + 0751799727D600E50071110C /* Result_ChannelUpdateInfoDecodeErrorZ.swift in Sources */, + 075179EE27D600E60071110C /* HTLCUpdate.swift in Sources */, + 075179B227D600E50071110C /* Result_COption_MonitorEventZDecodeErrorZ.swift in Sources */, + 0751799927D600E50071110C /* Result_SecretKeyNoneZ.swift in Sources */, + 0751798927D600E50071110C /* Result_SignedRawInvoiceNoneZ.swift in Sources */, + 0751793527D600E50071110C /* Bindings.swift in Sources */, + 0751797227D600E50071110C /* Result_InvoiceFeaturesDecodeErrorZ.swift in Sources */, + 075179C627D600E60071110C /* UpdateAddHTLC.swift in Sources */, + 0751796627D600E50071110C /* Result_NoneAPIErrorZ.swift in Sources */, + 07517A0E27D600E60071110C /* AnnouncementSignatures.swift in Sources */, + 075179D027D600E60071110C /* UpdateFulfillHTLC.swift in Sources */, + 0751791327D600E50071110C /* FeeEstimator.swift in Sources */, + 075179E527D600E60071110C /* ChannelAnnouncement.swift in Sources */, + 07517A1D27D600E60071110C /* WatchedOutput.swift in Sources */, + 0751797127D600E50071110C /* Result_FundingSignedDecodeErrorZ.swift in Sources */, + 0751791F27D600E50071110C /* CustomMessageReader.swift in Sources */, + 07517A3227D600E60071110C /* ReadOnlyNetworkGraph.swift in Sources */, + 0751792E27D600E50071110C /* C2Tuple_OutPointScriptZ.swift in Sources */, + 075178F427D600E50071110C /* APIError.swift in Sources */, + 0751793327D600E50071110C /* C2Tuple_usizeTransactionZ.swift in Sources */, + 075179CD27D600E60071110C /* ChannelReestablish.swift in Sources */, + 075178F627D600E50071110C /* Event.swift in Sources */, + 0751794527D600E50071110C /* Result_StaticPaymentOutputDescriptorDecodeErrorZ.swift in Sources */, + 075179B527D600E50071110C /* Result_NoneChannelMonitorUpdateErrZ.swift in Sources */, + 0751796C27D600E50071110C /* Result_DescriptionCreationErrorZ.swift in Sources */, + 0751798427D600E50071110C /* Result_SecretKeyErrorZ.swift in Sources */, + 07517A1427D600E60071110C /* UnsignedChannelAnnouncement.swift in Sources */, + 0751790B27D600E50071110C /* Option_CVec_NetAddressZZ.swift in Sources */, + 0751790827D600E50071110C /* MessageSendEvent.swift in Sources */, + 0751794C27D600E50071110C /* Result__u832APIErrorZ.swift in Sources */, + 0751796727D600E50071110C /* Result_ChannelTypeFeaturesDecodeErrorZ.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/xcode/LDKFramework_Mac/ldk_rust_types.h b/xcode/LDKFramework_Mac/ldk_rust_types.h index 7ef9dd9d..eb35dae1 100644 --- a/xcode/LDKFramework_Mac/ldk_rust_types.h +++ b/xcode/LDKFramework_Mac/ldk_rust_types.h @@ -10,6 +10,8 @@ #else #define NONNULL_PTR #endif +struct nativeCounterpartyCommitmentSecretsOpaque; +typedef struct nativeCounterpartyCommitmentSecretsOpaque LDKnativeCounterpartyCommitmentSecrets; struct nativeTxCreationKeysOpaque; typedef struct nativeTxCreationKeysOpaque LDKnativeTxCreationKeys; struct nativeChannelPublicKeysOpaque; @@ -46,8 +48,8 @@ struct nativeRouteOpaque; typedef struct nativeRouteOpaque LDKnativeRoute; struct nativeRouteParametersOpaque; typedef struct nativeRouteParametersOpaque LDKnativeRouteParameters; -struct nativePayeeOpaque; -typedef struct nativePayeeOpaque LDKnativePayee; +struct nativePaymentParametersOpaque; +typedef struct nativePaymentParametersOpaque LDKnativePaymentParameters; struct nativeRouteHintOpaque; typedef struct nativeRouteHintOpaque LDKnativeRouteHint; struct nativeRouteHintHopOpaque; @@ -58,10 +60,14 @@ struct nativeWatchedOutputOpaque; typedef struct nativeWatchedOutputOpaque LDKnativeWatchedOutput; struct nativeMultiThreadedLockableScoreOpaque; typedef struct nativeMultiThreadedLockableScoreOpaque LDKnativeMultiThreadedLockableScore; +struct nativeFixedPenaltyScorerOpaque; +typedef struct nativeFixedPenaltyScorerOpaque LDKnativeFixedPenaltyScorer; struct nativeScorerOpaque; typedef struct nativeScorerOpaque LDKnativeScorer; struct nativeScoringParametersOpaque; typedef struct nativeScoringParametersOpaque LDKnativeScoringParameters; +struct nativeProbabilisticScoringParametersOpaque; +typedef struct nativeProbabilisticScoringParametersOpaque LDKnativeProbabilisticScoringParameters; struct nativeInitFeaturesOpaque; typedef struct nativeInitFeaturesOpaque LDKnativeInitFeatures; struct nativeNodeFeaturesOpaque; @@ -81,6 +87,8 @@ struct nativeInMemorySignerOpaque; typedef struct nativeInMemorySignerOpaque LDKnativeInMemorySigner; struct nativeKeysManagerOpaque; typedef struct nativeKeysManagerOpaque LDKnativeKeysManager; +struct nativePhantomKeysManagerOpaque; +typedef struct nativePhantomKeysManagerOpaque LDKnativePhantomKeysManager; struct nativeFilesystemPersisterOpaque; typedef struct nativeFilesystemPersisterOpaque LDKnativeFilesystemPersister; struct nativeChannelManagerOpaque; @@ -93,6 +101,8 @@ struct nativeChannelCounterpartyOpaque; typedef struct nativeChannelCounterpartyOpaque LDKnativeChannelCounterparty; struct nativeChannelDetailsOpaque; typedef struct nativeChannelDetailsOpaque LDKnativeChannelDetails; +struct nativePhantomRouteHintsOpaque; +typedef struct nativePhantomRouteHintsOpaque LDKnativePhantomRouteHints; struct nativeChannelManagerReadArgsOpaque; typedef struct nativeChannelManagerReadArgsOpaque LDKnativeChannelManagerReadArgs; struct nativeChannelHandshakeConfigOpaque; @@ -157,10 +167,12 @@ struct nativeReadOnlyNetworkGraphOpaque; typedef struct nativeReadOnlyNetworkGraphOpaque LDKnativeReadOnlyNetworkGraph; struct nativeNetGraphMsgHandlerOpaque; typedef struct nativeNetGraphMsgHandlerOpaque LDKnativeNetGraphMsgHandler; -struct nativeDirectionalChannelInfoOpaque; -typedef struct nativeDirectionalChannelInfoOpaque LDKnativeDirectionalChannelInfo; +struct nativeChannelUpdateInfoOpaque; +typedef struct nativeChannelUpdateInfoOpaque LDKnativeChannelUpdateInfo; struct nativeChannelInfoOpaque; typedef struct nativeChannelInfoOpaque LDKnativeChannelInfo; +struct nativeDirectedChannelInfoOpaque; +typedef struct nativeDirectedChannelInfoOpaque LDKnativeDirectedChannelInfo; struct nativeRoutingFeesOpaque; typedef struct nativeRoutingFeesOpaque LDKnativeRoutingFees; struct nativeNodeAnnouncementInfoOpaque; @@ -173,6 +185,8 @@ struct nativeInitOpaque; typedef struct nativeInitOpaque LDKnativeInit; struct nativeErrorMessageOpaque; typedef struct nativeErrorMessageOpaque LDKnativeErrorMessage; +struct nativeWarningMessageOpaque; +typedef struct nativeWarningMessageOpaque LDKnativeWarningMessage; struct nativePingOpaque; typedef struct nativePingOpaque LDKnativePing; struct nativePongOpaque; diff --git a/xcode/LDKFramework_Mac/ldk_ver.h b/xcode/LDKFramework_Mac/ldk_ver.h index e8211e51..a35e88fb 100644 --- a/xcode/LDKFramework_Mac/ldk_ver.h +++ b/xcode/LDKFramework_Mac/ldk_ver.h @@ -8,8 +8,8 @@ static inline int _ldk_strncmp(const char *s1, const char *s2, uint64_t n) { return 0; } -#define _LDK_HEADER_VER "v0.0.104-7-g557c7143fddde4a3" -#define _LDK_C_BINDINGS_HEADER_VER "v0.0.104.0-1-g66ae845b5d7a8e94-dirty" +#define _LDK_HEADER_VER "v0.0.105-9-gc3c5f88fe8e62ed9" +#define _LDK_C_BINDINGS_HEADER_VER "v0.0.105.1-dirty" static inline const char* check_get_ldk_version() { LDKStr bin_ver = _ldk_get_compiled_version(); if (_ldk_strncmp(_LDK_HEADER_VER, (const char*)bin_ver.chars, bin_ver.len) != 0) { diff --git a/xcode/LDKFramework_Mac/lightning.h b/xcode/LDKFramework_Mac/lightning.h index 32bd2837..f77ea4a0 100644 --- a/xcode/LDKFramework_Mac/lightning.h +++ b/xcode/LDKFramework_Mac/lightning.h @@ -156,17 +156,20 @@ typedef enum LDKCreationError { */ LDKCreationError_RouteTooLong, /** - * The unix timestamp of the supplied date is <0 or can't be represented as `SystemTime` + * The Unix timestamp of the supplied date is less than zero or greater than 35-bits */ LDKCreationError_TimestampOutOfBounds, - /** - * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp` - */ - LDKCreationError_ExpiryTimeOutOfBounds, /** * The supplied millisatoshi amount was greater than the total bitcoin supply. */ LDKCreationError_InvalidAmount, + /** + * Route hints were required for this invoice and were missing. Applies to + * [phantom invoices]. + * + * [phantom invoices]: crate::utils::create_phantom_invoice + */ + LDKCreationError_MissingRouteHints, /** * Must be last for serialization purposes */ @@ -291,6 +294,28 @@ typedef enum LDKNetwork { LDKNetwork_Sentinel, } LDKNetwork; +/** + * Specifies the recipient of an invoice, to indicate to [`KeysInterface::sign_invoice`] what node + * secret key should be used to sign the invoice. + */ +typedef enum LDKRecipient { + /** + * The invoice should be signed with the local node secret key. + */ + LDKRecipient_Node, + /** + * The invoice should be signed with the phantom node secret key. This secret key must be the + * same for all nodes participating in the [phantom node payment]. + * + * [phantom node payment]: PhantomKeysManager + */ + LDKRecipient_PhantomNode, + /** + * Must be last for serialization purposes + */ + LDKRecipient_Sentinel, +} LDKRecipient; + /** * Represents an error returned from libsecp256k1 during validation of some secp256k1 data */ @@ -497,6 +522,114 @@ typedef struct LDKTxOut { uint64_t value; } LDKTxOut; +/** + * The contents of CResult_NoneNoneZ + */ +typedef union LDKCResult_NoneNoneZPtr { + /** + * Note that this value is always NULL, as there are no contents in the OK variant + */ + void *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_NoneNoneZPtr; + +/** + * A CResult_NoneNoneZ represents the result of a fallible operation, + * containing a () on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_NoneNoneZ { + /** + * The contents of this CResult_NoneNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_NoneNoneZPtr contents; + /** + * Whether this CResult_NoneNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_NoneNoneZ; + + + +/** + * Implements the per-commitment secret storage scheme from + * [BOLT 3](https://github.com/lightningnetwork/lightning-rfc/blob/dcbf8583976df087c79c3ce0b535311212e6812d/03-transactions.md#efficient-per-commitment-secret-storage). + * + * Allows us to keep track of all of the revocation secrets of our counterparty in just 50*32 bytes + * or so. + */ +typedef struct MUST_USE_STRUCT LDKCounterpartyCommitmentSecrets { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeCounterpartyCommitmentSecrets *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKCounterpartyCommitmentSecrets; + + + +/** + * An error in decoding a message or struct. + */ +typedef struct MUST_USE_STRUCT LDKDecodeError { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeDecodeError *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKDecodeError; + +/** + * The contents of CResult_CounterpartyCommitmentSecretsDecodeErrorZ + */ +typedef union LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKCounterpartyCommitmentSecrets *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr; + +/** + * A CResult_CounterpartyCommitmentSecretsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::chan_utils::CounterpartyCommitmentSecrets on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ { + /** + * The contents of this CResult_CounterpartyCommitmentSecretsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZPtr contents; + /** + * Whether this CResult_CounterpartyCommitmentSecretsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ; + /** * Represents a valid secp256k1 secret key serialized as a 32 byte array. */ @@ -613,26 +746,6 @@ typedef struct MUST_USE_STRUCT LDKTxCreationKeys { bool is_owned; } LDKTxCreationKeys; - - -/** - * An error in decoding a message or struct. - */ -typedef struct MUST_USE_STRUCT LDKDecodeError { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeDecodeError *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKDecodeError; - /** * The contents of CResult_TxCreationKeysDecodeErrorZ */ @@ -1562,7 +1675,7 @@ typedef struct LDKCResult_RouteDecodeErrorZ { /** - * Parameters needed to find a [`Route`] for paying a [`Payee`]. + * Parameters needed to find a [`Route`]. * * Passed to [`find_route`] and also provided in [`Event::PaymentPathFailed`] for retrying a failed * payment path. @@ -1685,53 +1798,53 @@ typedef struct LDKCOption_u64Z { /** * The recipient of a payment. */ -typedef struct MUST_USE_STRUCT LDKPayee { +typedef struct MUST_USE_STRUCT LDKPaymentParameters { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativePayee *inner; + LDKnativePaymentParameters *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKPayee; +} LDKPaymentParameters; /** - * The contents of CResult_PayeeDecodeErrorZ + * The contents of CResult_PaymentParametersDecodeErrorZ */ -typedef union LDKCResult_PayeeDecodeErrorZPtr { +typedef union LDKCResult_PaymentParametersDecodeErrorZPtr { /** * A pointer to the contents in the success state. * Reading from this pointer when `result_ok` is not set is undefined. */ - struct LDKPayee *result; + struct LDKPaymentParameters *result; /** * A pointer to the contents in the error state. * Reading from this pointer when `result_ok` is set is undefined. */ struct LDKDecodeError *err; -} LDKCResult_PayeeDecodeErrorZPtr; +} LDKCResult_PaymentParametersDecodeErrorZPtr; /** - * A CResult_PayeeDecodeErrorZ represents the result of a fallible operation, - * containing a crate::lightning::routing::router::Payee on success and a crate::lightning::ln::msgs::DecodeError on failure. + * A CResult_PaymentParametersDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::router::PaymentParameters on success and a crate::lightning::ln::msgs::DecodeError on failure. * `result_ok` indicates the overall state, and the contents are provided via `contents`. */ -typedef struct LDKCResult_PayeeDecodeErrorZ { +typedef struct LDKCResult_PaymentParametersDecodeErrorZ { /** - * The contents of this CResult_PayeeDecodeErrorZ, accessible via either + * The contents of this CResult_PaymentParametersDecodeErrorZ, accessible via either * `err` or `result` depending on the state of `result_ok`. */ - union LDKCResult_PayeeDecodeErrorZPtr contents; + union LDKCResult_PaymentParametersDecodeErrorZPtr contents; /** - * Whether this CResult_PayeeDecodeErrorZ represents a success state. + * Whether this CResult_PaymentParametersDecodeErrorZ represents a success state. */ bool result_ok; -} LDKCResult_PayeeDecodeErrorZ; +} LDKCResult_PaymentParametersDecodeErrorZ; @@ -2707,7 +2820,7 @@ typedef enum LDKEvent_Tag { * Note that this does *not* indicate that all paths for an MPP payment have failed, see * [`Event::PaymentFailed`] and [`all_paths_failed`]. * - * [`all_paths_failed`]: Self::all_paths_failed + * [`all_paths_failed`]: Self::PaymentPathFailed::all_paths_failed */ LDKEvent_PaymentPathFailed, /** @@ -2757,6 +2870,20 @@ typedef enum LDKEvent_Tag { * [`Event::PaymentSent`] for obtaining the payment preimage. */ LDKEvent_PaymentPathSuccessful, + /** + * Indicates a request to open a new channel by a peer. + * + * To accept the request, call [`ChannelManager::accept_inbound_channel`]. To reject the + * request, call [`ChannelManager::force_close_channel`]. + * + * The event is only triggered when a new open channel request is received and the + * [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. + * + * [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel + * [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel + * [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels + */ + LDKEvent_OpenChannelRequest, /** * Must be last for serialization purposes */ @@ -3034,6 +3161,32 @@ typedef struct LDKEvent_LDKPaymentPathSuccessful_Body { struct LDKCVec_RouteHopZ path; } LDKEvent_LDKPaymentPathSuccessful_Body; +typedef struct LDKEvent_LDKOpenChannelRequest_Body { + /** + * The temporary channel ID of the channel requested to be opened. + * + * When responding to the request, the `temporary_channel_id` should be passed + * back to the ChannelManager with [`ChannelManager::accept_inbound_channel`] to accept, + * or to [`ChannelManager::force_close_channel`] to reject. + * + * [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel + * [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel + */ + struct LDKThirtyTwoBytes temporary_channel_id; + /** + * The node_id of the counterparty requesting to open the channel. + */ + struct LDKPublicKey counterparty_node_id; + /** + * The channel value of the requested channel. + */ + uint64_t funding_satoshis; + /** + * Our starting balance in the channel if the request is accepted, in milli-satoshi. + */ + uint64_t push_msat; +} LDKEvent_LDKOpenChannelRequest_Body; + typedef struct MUST_USE_STRUCT LDKEvent { LDKEvent_Tag tag; union { @@ -3048,6 +3201,7 @@ typedef struct MUST_USE_STRUCT LDKEvent { LDKEvent_LDKChannelClosed_Body channel_closed; LDKEvent_LDKDiscardFunding_Body discard_funding; LDKEvent_LDKPaymentPathSuccessful_Body payment_path_successful; + LDKEvent_LDKOpenChannelRequest_Body open_channel_request; }; } LDKEvent; @@ -3392,6 +3546,26 @@ typedef struct MUST_USE_STRUCT LDKErrorMessage { bool is_owned; } LDKErrorMessage; + + +/** + * A warning message to be sent or received from a peer + */ +typedef struct MUST_USE_STRUCT LDKWarningMessage { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeWarningMessage *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKWarningMessage; + /** * Used to put an error message in a LightningError */ @@ -3419,6 +3593,10 @@ typedef enum LDKErrorAction_Tag { * The peer did something incorrect. Tell them. */ LDKErrorAction_SendErrorMessage, + /** + * The peer did something incorrect. Tell them without closing any channels. + */ + LDKErrorAction_SendWarningMessage, /** * Must be last for serialization purposes */ @@ -3441,6 +3619,19 @@ typedef struct LDKErrorAction_LDKSendErrorMessage_Body { struct LDKErrorMessage msg; } LDKErrorAction_LDKSendErrorMessage_Body; +typedef struct LDKErrorAction_LDKSendWarningMessage_Body { + /** + * The message to send. + */ + struct LDKWarningMessage msg; + /** + * The peer may have done something harmless that we weren't able to meaningfully process, + * though we should still tell them about it. + * If this event is logged, log it at the given level. + */ + enum LDKLevel log_level; +} LDKErrorAction_LDKSendWarningMessage_Body; + typedef struct MUST_USE_STRUCT LDKErrorAction { LDKErrorAction_Tag tag; union { @@ -3449,6 +3640,7 @@ typedef struct MUST_USE_STRUCT LDKErrorAction { enum LDKLevel ignore_and_log; }; LDKErrorAction_LDKSendErrorMessage_Body send_error_message; + LDKErrorAction_LDKSendWarningMessage_Body send_warning_message; }; } LDKErrorAction; @@ -3874,6 +4066,59 @@ typedef struct LDKCVec_MessageSendEventZ { +/** + * [`Score`] implementation that uses a fixed penalty. + */ +typedef struct MUST_USE_STRUCT LDKFixedPenaltyScorer { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeFixedPenaltyScorer *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKFixedPenaltyScorer; + +/** + * The contents of CResult_FixedPenaltyScorerDecodeErrorZ + */ +typedef union LDKCResult_FixedPenaltyScorerDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKFixedPenaltyScorer *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_FixedPenaltyScorerDecodeErrorZPtr; + +/** + * A CResult_FixedPenaltyScorerDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::scoring::FixedPenaltyScorer on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_FixedPenaltyScorerDecodeErrorZ { + /** + * The contents of this CResult_FixedPenaltyScorerDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_FixedPenaltyScorerDecodeErrorZPtr contents; + /** + * Whether this CResult_FixedPenaltyScorerDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_FixedPenaltyScorerDecodeErrorZ; + + + /** * Parameters for configuring [`Scorer`]. */ @@ -3933,7 +4178,12 @@ typedef struct LDKCResult_ScoringParametersDecodeErrorZ { * Used to apply a fixed penalty to each channel, thus avoiding long paths when shorter paths with * slightly higher fees are available. Will further penalize channels that fail to relay payments. * - * See [module-level documentation] for usage. + * See [module-level documentation] for usage and [`ScoringParameters`] for customization. + * + * # Note + * + * Mixing the `no-std` feature between serialization and deserialization results in undefined + * behavior. * * [module-level documentation]: crate::routing::scoring */ @@ -3987,6 +4237,59 @@ typedef struct LDKCResult_ScorerDecodeErrorZ { +/** + * Parameters for configuring [`ProbabilisticScorer`]. + */ +typedef struct MUST_USE_STRUCT LDKProbabilisticScoringParameters { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeProbabilisticScoringParameters *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKProbabilisticScoringParameters; + +/** + * The contents of CResult_ProbabilisticScoringParametersDecodeErrorZ + */ +typedef union LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKProbabilisticScoringParameters *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr; + +/** + * A CResult_ProbabilisticScoringParametersDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::scoring::ProbabilisticScoringParameters on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ { + /** + * The contents of this CResult_ProbabilisticScoringParametersDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ProbabilisticScoringParametersDecodeErrorZPtr contents; + /** + * Whether this CResult_ProbabilisticScoringParametersDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ProbabilisticScoringParametersDecodeErrorZ; + + + /** * Features used within an `init` message. */ @@ -4359,35 +4662,20 @@ typedef struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ { } LDKCResult_SpendableOutputDescriptorDecodeErrorZ; /** - * The contents of CResult_NoneNoneZ + * A dynamically-allocated array of crate::c_types::ThirtyTwoBytess of arbitrary size. + * This corresponds to std::vector in C++ */ -typedef union LDKCResult_NoneNoneZPtr { +typedef struct LDKCVec_PaymentPreimageZ { /** - * Note that this value is always NULL, as there are no contents in the OK variant + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). */ - void *result; + struct LDKThirtyTwoBytes *data; /** - * Note that this value is always NULL, as there are no contents in the Err variant - */ - void *err; -} LDKCResult_NoneNoneZPtr; - -/** - * A CResult_NoneNoneZ represents the result of a fallible operation, - * containing a () on success and a () on failure. - * `result_ok` indicates the overall state, and the contents are provided via `contents`. - */ -typedef struct LDKCResult_NoneNoneZ { - /** - * The contents of this CResult_NoneNoneZ, accessible via either - * `err` or `result` depending on the state of `result_ok`. - */ - union LDKCResult_NoneNoneZPtr contents; - /** - * Whether this CResult_NoneNoneZ represents a success state. + * The number of elements pointed to by `data`. */ - bool result_ok; -} LDKCResult_NoneNoneZ; + uintptr_t datalen; +} LDKCVec_PaymentPreimageZ; /** * A tuple of 2 elements. See the individual fields for the types contained. @@ -4467,6 +4755,84 @@ typedef struct LDKCResult_SignatureNoneZ { bool result_ok; } LDKCResult_SignatureNoneZ; +/** + * A tuple of 2 elements. See the individual fields for the types contained. + */ +typedef struct LDKC2Tuple_SignatureSignatureZ { + /** + * The element at position 0 + */ + struct LDKSignature a; + /** + * The element at position 1 + */ + struct LDKSignature b; +} LDKC2Tuple_SignatureSignatureZ; + +/** + * The contents of CResult_C2Tuple_SignatureSignatureZNoneZ + */ +typedef union LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKC2Tuple_SignatureSignatureZ *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr; + +/** + * A CResult_C2Tuple_SignatureSignatureZNoneZ represents the result of a fallible operation, + * containing a crate::c_types::derived::C2Tuple_SignatureSignatureZ on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ { + /** + * The contents of this CResult_C2Tuple_SignatureSignatureZNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_C2Tuple_SignatureSignatureZNoneZPtr contents; + /** + * Whether this CResult_C2Tuple_SignatureSignatureZNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_C2Tuple_SignatureSignatureZNoneZ; + +/** + * The contents of CResult_SecretKeyNoneZ + */ +typedef union LDKCResult_SecretKeyNoneZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKSecretKey *result; + /** + * Note that this value is always NULL, as there are no contents in the Err variant + */ + void *err; +} LDKCResult_SecretKeyNoneZPtr; + +/** + * A CResult_SecretKeyNoneZ represents the result of a fallible operation, + * containing a crate::c_types::SecretKey on success and a () on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_SecretKeyNoneZ { + /** + * The contents of this CResult_SecretKeyNoneZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_SecretKeyNoneZPtr contents; + /** + * Whether this CResult_SecretKeyNoneZ represents a success state. + */ + bool result_ok; +} LDKCResult_SecretKeyNoneZ; + /** @@ -4560,8 +4926,15 @@ typedef struct LDKBaseSign { * secret won't leave us without a broadcastable holder transaction. * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. + * + * The preimages of outgoing HTLCs that were fulfilled since the last commitment are provided. + * A validating signer should ensure that an HTLC output is removed only when the matching + * preimage is provided, or when the value to holder is restored. + * + * NOTE: all the relevant preimages will be provided, but there may also be additional + * irrelevant or duplicate preimages. */ - struct LDKCResult_NoneNoneZ (*validate_holder_commitment)(const void *this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR holder_tx); + struct LDKCResult_NoneNoneZ (*validate_holder_commitment)(const void *this_arg, const struct LDKHolderCommitmentTransaction *NONNULL_PTR holder_tx, struct LDKCVec_PaymentPreimageZ preimages); /** * Gets the holder's channel public keys and basepoints */ @@ -4585,8 +4958,15 @@ typedef struct LDKBaseSign { * * Policy checks should be implemented in this function, including checking the amount * sent to us and checking the HTLCs. + * + * The preimages of outgoing HTLCs that were fulfilled since the last commitment are provided. + * A validating signer should ensure that an HTLC output is removed only when the matching + * preimage is provided, or when the value to holder is restored. + * + * NOTE: all the relevant preimages will be provided, but there may also be additional + * irrelevant or duplicate preimages. */ - struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ (*sign_counterparty_commitment)(const void *this_arg, const struct LDKCommitmentTransaction *NONNULL_PTR commitment_tx); + struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ (*sign_counterparty_commitment)(const void *this_arg, const struct LDKCommitmentTransaction *NONNULL_PTR commitment_tx, struct LDKCVec_PaymentPreimageZ preimages); /** * Validate the counterparty's revocation. * @@ -4673,14 +5053,17 @@ typedef struct LDKBaseSign { */ struct LDKCResult_SignatureNoneZ (*sign_closing_transaction)(const void *this_arg, const struct LDKClosingTransaction *NONNULL_PTR closing_tx); /** - * Signs a channel announcement message with our funding key, proving it comes from one - * of the channel participants. + * Signs a channel announcement message with our funding key and our node secret key (aka + * node_id or network_key), proving it comes from one of the channel participants. + * + * The first returned signature should be from our node secret key, the second from our + * funding key. * * Note that if this fails or is rejected, the channel will not be publicly announced and * our counterparty may (though likely will not) close the channel on us for violating the * protocol. */ - struct LDKCResult_SignatureNoneZ (*sign_channel_announcement)(const void *this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg); + struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ (*sign_channel_announcement)(const void *this_arg, const struct LDKUnsignedChannelAnnouncement *NONNULL_PTR msg); /** * Set the counterparty static channel data, including basepoints, * counterparty_selected/holder_selected_contest_delay and funding outpoint. @@ -4768,6 +5151,29 @@ typedef struct LDKCResult_SignDecodeErrorZ { bool result_ok; } LDKCResult_SignDecodeErrorZ; +/** + * Integer in the range `0..32` + */ +typedef struct LDKu5 { + uint8_t _0; +} LDKu5; + +/** + * A dynamically-allocated array of crate::c_types::u5s of arbitrary size. + * This corresponds to std::vector in C++ + */ +typedef struct LDKCVec_u5Z { + /** + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). + */ + struct LDKu5 *data; + /** + * The number of elements pointed to by `data`. + */ + uintptr_t datalen; +} LDKCVec_u5Z; + /** * Represents a secp256k1 signature serialized as two 32-byte numbers as well as a tag which * allows recovering the exact public key which created the signature given the message. @@ -5788,6 +6194,201 @@ typedef struct LDKCResult_PaymentPreimageAPIErrorZ { bool result_ok; } LDKCResult_PaymentPreimageAPIErrorZ; + + +/** + * Information needed for constructing an invoice route hint for this channel. + */ +typedef struct MUST_USE_STRUCT LDKCounterpartyForwardingInfo { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeCounterpartyForwardingInfo *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKCounterpartyForwardingInfo; + +/** + * The contents of CResult_CounterpartyForwardingInfoDecodeErrorZ + */ +typedef union LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKCounterpartyForwardingInfo *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr; + +/** + * A CResult_CounterpartyForwardingInfoDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::CounterpartyForwardingInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ { + /** + * The contents of this CResult_CounterpartyForwardingInfoDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_CounterpartyForwardingInfoDecodeErrorZPtr contents; + /** + * Whether this CResult_CounterpartyForwardingInfoDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_CounterpartyForwardingInfoDecodeErrorZ; + + + +/** + * Channel parameters which apply to our counterparty. These are split out from [`ChannelDetails`] + * to better separate parameters. + */ +typedef struct MUST_USE_STRUCT LDKChannelCounterparty { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeChannelCounterparty *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKChannelCounterparty; + +/** + * The contents of CResult_ChannelCounterpartyDecodeErrorZ + */ +typedef union LDKCResult_ChannelCounterpartyDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKChannelCounterparty *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ChannelCounterpartyDecodeErrorZPtr; + +/** + * A CResult_ChannelCounterpartyDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::ChannelCounterparty on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ChannelCounterpartyDecodeErrorZ { + /** + * The contents of this CResult_ChannelCounterpartyDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ChannelCounterpartyDecodeErrorZPtr contents; + /** + * Whether this CResult_ChannelCounterpartyDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ChannelCounterpartyDecodeErrorZ; + +/** + * The contents of CResult_ChannelDetailsDecodeErrorZ + */ +typedef union LDKCResult_ChannelDetailsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKChannelDetails *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_ChannelDetailsDecodeErrorZPtr; + +/** + * A CResult_ChannelDetailsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::ChannelDetails on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_ChannelDetailsDecodeErrorZ { + /** + * The contents of this CResult_ChannelDetailsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_ChannelDetailsDecodeErrorZPtr contents; + /** + * Whether this CResult_ChannelDetailsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_ChannelDetailsDecodeErrorZ; + + + +/** + * Route hints used in constructing invoices for [phantom node payents]. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +typedef struct MUST_USE_STRUCT LDKPhantomRouteHints { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativePhantomRouteHints *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKPhantomRouteHints; + +/** + * The contents of CResult_PhantomRouteHintsDecodeErrorZ + */ +typedef union LDKCResult_PhantomRouteHintsDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKPhantomRouteHints *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_PhantomRouteHintsDecodeErrorZPtr; + +/** + * A CResult_PhantomRouteHintsDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::channelmanager::PhantomRouteHints on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_PhantomRouteHintsDecodeErrorZ { + /** + * The contents of this CResult_PhantomRouteHintsDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_PhantomRouteHintsDecodeErrorZPtr contents; + /** + * Whether this CResult_PhantomRouteHintsDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_PhantomRouteHintsDecodeErrorZ; + /** * A dynamically-allocated array of crate::lightning::chain::channelmonitor::ChannelMonitors of arbitrary size. * This corresponds to std::vector in C++ @@ -5940,11 +6541,12 @@ typedef struct LDKKeysInterface { */ void *this_arg; /** - * Get node secret key (aka node_id or network_key). + * Get node secret key (aka node_id or network_key) based on the provided [`Recipient`]. * - * This method must return the same value each time it is called. + * This method must return the same value each time it is called with a given `Recipient` + * parameter. */ - struct LDKSecretKey (*get_node_secret)(const void *this_arg); + struct LDKCResult_SecretKeyNoneZ (*get_node_secret)(const void *this_arg, enum LDKRecipient recipient); /** * Get a script pubkey which we send funds to when claiming on-chain contestable outputs. * @@ -5984,16 +6586,25 @@ typedef struct LDKKeysInterface { */ struct LDKCResult_SignDecodeErrorZ (*read_chan_signer)(const void *this_arg, struct LDKu8slice reader); /** - * Sign an invoice's preimage (note that this is the preimage of the invoice, not the HTLC's - * preimage). By parameterizing by the preimage instead of the hash, we allow implementors of + * Sign an invoice. + * By parameterizing by the raw invoice bytes instead of the hash, we allow implementors of * this trait to parse the invoice and make sure they're signing what they expect, rather than * blindly signing the hash. + * The hrp is ascii bytes, while the invoice data is base32. + * + * The secret key used to sign the invoice is dependent on the [`Recipient`]. */ - struct LDKCResult_RecoverableSignatureNoneZ (*sign_invoice)(const void *this_arg, struct LDKCVec_u8Z invoice_preimage); + struct LDKCResult_RecoverableSignatureNoneZ (*sign_invoice)(const void *this_arg, struct LDKu8slice hrp_bytes, struct LDKCVec_u5Z invoice_data, enum LDKRecipient receipient); /** * Get secret key material as bytes for use in encrypting and decrypting inbound payment data. * + * If the implementor of this trait supports [phantom node payments], then every node that is + * intended to be included in the phantom invoice route hints must return the same value from + * this method. + * * This method must return the same value each time it is called. + * + * [phantom node payments]: PhantomKeysManager */ struct LDKThirtyTwoBytes (*get_inbound_payment_key_material)(const void *this_arg); /** @@ -6733,12 +7344,12 @@ typedef struct LDKCVec_PrivateRouteZ { /** - * A timestamp that refers to a date after 1 January 1970 which means its representation as UNIX - * timestamp is positive. + * A timestamp that refers to a date after 1 January 1970. * * # Invariants - * The UNIX timestamp representing the stored time has to be positive and small enough so that - * a `EpiryTime` can be added to it without an overflow. + * + * The Unix timestamp representing the stored time has to be positive and no greater than + * [`MAX_TIMESTAMP`]. */ typedef struct MUST_USE_STRUCT LDKPositiveTimestamp { /** @@ -6909,65 +7520,6 @@ typedef struct LDKCResult_DescriptionCreationErrorZ { bool result_ok; } LDKCResult_DescriptionCreationErrorZ; - - -/** - * Positive duration that defines when (relatively to the timestamp) in the future the invoice - * expires - * - * # Invariants - * The number of seconds this expiry time represents has to be in the range - * `0...(SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME)` to avoid overflows when adding it to a - * timestamp - */ -typedef struct MUST_USE_STRUCT LDKExpiryTime { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeExpiryTime *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKExpiryTime; - -/** - * The contents of CResult_ExpiryTimeCreationErrorZ - */ -typedef union LDKCResult_ExpiryTimeCreationErrorZPtr { - /** - * A pointer to the contents in the success state. - * Reading from this pointer when `result_ok` is not set is undefined. - */ - struct LDKExpiryTime *result; - /** - * A pointer to the contents in the error state. - * Reading from this pointer when `result_ok` is set is undefined. - */ - enum LDKCreationError *err; -} LDKCResult_ExpiryTimeCreationErrorZPtr; - -/** - * A CResult_ExpiryTimeCreationErrorZ represents the result of a fallible operation, - * containing a crate::lightning_invoice::ExpiryTime on success and a crate::lightning_invoice::CreationError on failure. - * `result_ok` indicates the overall state, and the contents are provided via `contents`. - */ -typedef struct LDKCResult_ExpiryTimeCreationErrorZ { - /** - * The contents of this CResult_ExpiryTimeCreationErrorZ, accessible via either - * `err` or `result` depending on the state of `result_ok`. - */ - union LDKCResult_ExpiryTimeCreationErrorZPtr contents; - /** - * Whether this CResult_ExpiryTimeCreationErrorZ represents a success state. - */ - bool result_ok; -} LDKCResult_ExpiryTimeCreationErrorZ; - /** * The contents of CResult_PrivateRouteCreationErrorZ */ @@ -7894,56 +8446,55 @@ typedef struct LDKCOption_AccessZ { /** - * Details about one direction of a channel. Received - * within a channel update. + * Details about one direction of a channel as received within a [`ChannelUpdate`]. */ -typedef struct MUST_USE_STRUCT LDKDirectionalChannelInfo { +typedef struct MUST_USE_STRUCT LDKChannelUpdateInfo { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeDirectionalChannelInfo *inner; + LDKnativeChannelUpdateInfo *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKDirectionalChannelInfo; +} LDKChannelUpdateInfo; /** - * The contents of CResult_DirectionalChannelInfoDecodeErrorZ + * The contents of CResult_ChannelUpdateInfoDecodeErrorZ */ -typedef union LDKCResult_DirectionalChannelInfoDecodeErrorZPtr { +typedef union LDKCResult_ChannelUpdateInfoDecodeErrorZPtr { /** * A pointer to the contents in the success state. * Reading from this pointer when `result_ok` is not set is undefined. */ - struct LDKDirectionalChannelInfo *result; + struct LDKChannelUpdateInfo *result; /** * A pointer to the contents in the error state. * Reading from this pointer when `result_ok` is set is undefined. */ struct LDKDecodeError *err; -} LDKCResult_DirectionalChannelInfoDecodeErrorZPtr; +} LDKCResult_ChannelUpdateInfoDecodeErrorZPtr; /** - * A CResult_DirectionalChannelInfoDecodeErrorZ represents the result of a fallible operation, - * containing a crate::lightning::routing::network_graph::DirectionalChannelInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. + * A CResult_ChannelUpdateInfoDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::routing::network_graph::ChannelUpdateInfo on success and a crate::lightning::ln::msgs::DecodeError on failure. * `result_ok` indicates the overall state, and the contents are provided via `contents`. */ -typedef struct LDKCResult_DirectionalChannelInfoDecodeErrorZ { +typedef struct LDKCResult_ChannelUpdateInfoDecodeErrorZ { /** - * The contents of this CResult_DirectionalChannelInfoDecodeErrorZ, accessible via either + * The contents of this CResult_ChannelUpdateInfoDecodeErrorZ, accessible via either * `err` or `result` depending on the state of `result_ok`. */ - union LDKCResult_DirectionalChannelInfoDecodeErrorZPtr contents; + union LDKCResult_ChannelUpdateInfoDecodeErrorZPtr contents; /** - * Whether this CResult_DirectionalChannelInfoDecodeErrorZ represents a success state. + * Whether this CResult_ChannelUpdateInfoDecodeErrorZ represents a success state. */ bool result_ok; -} LDKCResult_DirectionalChannelInfoDecodeErrorZ; +} LDKCResult_ChannelUpdateInfoDecodeErrorZ; @@ -9398,6 +9949,39 @@ typedef struct LDKCResult_ErrorMessageDecodeErrorZ { bool result_ok; } LDKCResult_ErrorMessageDecodeErrorZ; +/** + * The contents of CResult_WarningMessageDecodeErrorZ + */ +typedef union LDKCResult_WarningMessageDecodeErrorZPtr { + /** + * A pointer to the contents in the success state. + * Reading from this pointer when `result_ok` is not set is undefined. + */ + struct LDKWarningMessage *result; + /** + * A pointer to the contents in the error state. + * Reading from this pointer when `result_ok` is set is undefined. + */ + struct LDKDecodeError *err; +} LDKCResult_WarningMessageDecodeErrorZPtr; + +/** + * A CResult_WarningMessageDecodeErrorZ represents the result of a fallible operation, + * containing a crate::lightning::ln::msgs::WarningMessage on success and a crate::lightning::ln::msgs::DecodeError on failure. + * `result_ok` indicates the overall state, and the contents are provided via `contents`. + */ +typedef struct LDKCResult_WarningMessageDecodeErrorZ { + /** + * The contents of this CResult_WarningMessageDecodeErrorZ, accessible via either + * `err` or `result` depending on the state of `result_ok`. + */ + union LDKCResult_WarningMessageDecodeErrorZPtr contents; + /** + * Whether this CResult_WarningMessageDecodeErrorZ represents a success state. + */ + bool result_ok; +} LDKCResult_WarningMessageDecodeErrorZ; + /** @@ -9694,6 +10278,22 @@ typedef struct LDKCResult_GossipTimestampFilterDecodeErrorZ { bool result_ok; } LDKCResult_GossipTimestampFilterDecodeErrorZ; +/** + * A dynamically-allocated array of crate::lightning::ln::channelmanager::PhantomRouteHintss of arbitrary size. + * This corresponds to std::vector in C++ + */ +typedef struct LDKCVec_PhantomRouteHintsZ { + /** + * The elements in the array. + * If datalen is non-0 this must be a valid, non-NULL pointer allocated by malloc(). + */ + struct LDKPhantomRouteHints *data; + /** + * The number of elements pointed to by `data`. + */ + uintptr_t datalen; +} LDKCVec_PhantomRouteHintsZ; + /** * When signing using a fallible method either an user-supplied `SignError` or a `CreationError` * may occur. @@ -10395,6 +10995,12 @@ typedef struct MUST_USE_STRUCT LDKChainMonitor { * ChannelMonitor closes may use seed/1' * Cooperative closes may use seed/2' * The two close keys may be needed to claim on-chain funds! + * + * This struct cannot be used for nodes that wish to support receiving phantom payments; + * [`PhantomKeysManager`] must be used instead. + * + * Note that switching between this struct and [`PhantomKeysManager`] will invalidate any + * previously issued invoices and attempts to pay previous invoices will fail. */ typedef struct MUST_USE_STRUCT LDKKeysManager { /** @@ -10414,67 +11020,60 @@ typedef struct MUST_USE_STRUCT LDKKeysManager { /** - * Chain-related parameters used to construct a new `ChannelManager`. + * Similar to [`KeysManager`], but allows the node using this struct to receive phantom node + * payments. * - * Typically, the block-specific parameters are derived from the best block hash for the network, - * as a newly constructed `ChannelManager` will not have created any channels yet. These parameters - * are not needed when deserializing a previously constructed `ChannelManager`. - */ -typedef struct MUST_USE_STRUCT LDKChainParameters { - /** - * A pointer to the opaque Rust object. - * Nearly everywhere, inner must be non-null, however in places where - * the Rust equivalent takes an Option, it may be set to null to indicate None. - */ - LDKnativeChainParameters *inner; - /** - * Indicates that this is the only struct which contains the same pointer. - * Rust functions which take ownership of an object provided via an argument require - * this to be true and invalidate the object pointed to by inner. - */ - bool is_owned; -} LDKChainParameters; - - - -/** - * Information needed for constructing an invoice route hint for this channel. + * A phantom node payment is a payment made to a phantom invoice, which is an invoice that can be + * paid to one of multiple nodes. This works because we encode the invoice route hints such that + * LDK will recognize an incoming payment as destined for a phantom node, and collect the payment + * itself without ever needing to forward to this fake node. + * + * Phantom node payments are useful for load balancing between multiple LDK nodes. They also + * provide some fault tolerance, because payers will automatically retry paying other provided + * nodes in the case that one node goes down. + * + * Note that multi-path payments are not supported in phantom invoices for security reasons. + * Switching between this struct and [`KeysManager`] will invalidate any previously issued + * invoices and attempts to pay previous invoices will fail. */ -typedef struct MUST_USE_STRUCT LDKCounterpartyForwardingInfo { +typedef struct MUST_USE_STRUCT LDKPhantomKeysManager { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeCounterpartyForwardingInfo *inner; + LDKnativePhantomKeysManager *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKCounterpartyForwardingInfo; +} LDKPhantomKeysManager; /** - * Channel parameters which apply to our counterparty. These are split out from [`ChannelDetails`] - * to better separate parameters. + * Chain-related parameters used to construct a new `ChannelManager`. + * + * Typically, the block-specific parameters are derived from the best block hash for the network, + * as a newly constructed `ChannelManager` will not have created any channels yet. These parameters + * are not needed when deserializing a previously constructed `ChannelManager`. */ -typedef struct MUST_USE_STRUCT LDKChannelCounterparty { +typedef struct MUST_USE_STRUCT LDKChainParameters { /** * A pointer to the opaque Rust object. * Nearly everywhere, inner must be non-null, however in places where * the Rust equivalent takes an Option, it may be set to null to indicate None. */ - LDKnativeChannelCounterparty *inner; + LDKnativeChainParameters *inner; /** * Indicates that this is the only struct which contains the same pointer. * Rust functions which take ownership of an object provided via an argument require * this to be true and invalidate the object pointed to by inner. */ bool is_owned; -} LDKChannelCounterparty; +} LDKChainParameters; /** * A 3-byte byte array. @@ -11047,6 +11646,94 @@ typedef struct MUST_USE_STRUCT LDKNetGraphMsgHandler { bool is_owned; } LDKNetGraphMsgHandler; + + +/** + * A wrapper around [`ChannelInfo`] representing information about the channel as directed from a + * source node to a target node. + */ +typedef struct MUST_USE_STRUCT LDKDirectedChannelInfo { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeDirectedChannelInfo *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKDirectedChannelInfo; + +/** + * The effective capacity of a channel for routing purposes. + * + * While this may be smaller than the actual channel capacity, amounts greater than + * [`Self::as_msat`] should not be routed through the channel. + */ +typedef enum LDKEffectiveCapacity_Tag { + /** + * The available liquidity in the channel known from being a channel counterparty, and thus a + * direct hop. + */ + LDKEffectiveCapacity_ExactLiquidity, + /** + * The maximum HTLC amount in one direction as advertised on the gossip network. + */ + LDKEffectiveCapacity_MaximumHTLC, + /** + * The total capacity of the channel as determined by the funding transaction. + */ + LDKEffectiveCapacity_Total, + /** + * A capacity sufficient to route any payment, typically used for private channels provided by + * an invoice. + */ + LDKEffectiveCapacity_Infinite, + /** + * A capacity that is unknown possibly because either the chain state is unavailable to know + * the total capacity or the `htlc_maximum_msat` was not advertised on the gossip network. + */ + LDKEffectiveCapacity_Unknown, + /** + * Must be last for serialization purposes + */ + LDKEffectiveCapacity_Sentinel, +} LDKEffectiveCapacity_Tag; + +typedef struct LDKEffectiveCapacity_LDKExactLiquidity_Body { + /** + * Either the inbound or outbound liquidity depending on the direction, denominated in + * millisatoshi. + */ + uint64_t liquidity_msat; +} LDKEffectiveCapacity_LDKExactLiquidity_Body; + +typedef struct LDKEffectiveCapacity_LDKMaximumHTLC_Body { + /** + * The maximum HTLC amount denominated in millisatoshi. + */ + uint64_t amount_msat; +} LDKEffectiveCapacity_LDKMaximumHTLC_Body; + +typedef struct LDKEffectiveCapacity_LDKTotal_Body { + /** + * The funding amount denominated in millisatoshi. + */ + uint64_t capacity_msat; +} LDKEffectiveCapacity_LDKTotal_Body; + +typedef struct MUST_USE_STRUCT LDKEffectiveCapacity { + LDKEffectiveCapacity_Tag tag; + union { + LDKEffectiveCapacity_LDKExactLiquidity_Body exact_liquidity; + LDKEffectiveCapacity_LDKMaximumHTLC_Body maximum_htlc; + LDKEffectiveCapacity_LDKTotal_Body total; + }; +} LDKEffectiveCapacity; + /** * An interface used to score payment channels for path finding. * @@ -11062,17 +11749,13 @@ typedef struct LDKScore { * Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the * given channel in the direction from `source` to `target`. * - * The channel's capacity (less any other MPP parts which are also being considered for use in - * the same payment) is given by `channel_capacity_msat`. It may be guessed from various - * sources or assumed from no data at all. - * - * For hints provided in the invoice, we assume the channel has sufficient capacity to accept - * the invoice's full amount, and provide a `channel_capacity_msat` of `None`. In all other - * cases it is set to `Some`, even if we're guessing at the channel value. - * - * Your code should be overflow-safe through a `channel_capacity_msat` of 21 million BTC. + * The channel's capacity (less any other MPP parts that are also being considered for use in + * the same payment) is given by `capacity_msat`. It may be determined from various sources + * such as a chain data, network gossip, or invoice hints. For invoice hints, a capacity near + * [`u64::max_value`] is given to indicate sufficient capacity for the invoice's full amount. + * Thus, implementations should be overflow-safe. */ - uint64_t (*channel_penalty_msat)(const void *this_arg, uint64_t short_channel_id, uint64_t send_amt_msat, struct LDKCOption_u64Z channel_capacity_msat, const struct LDKNodeId *NONNULL_PTR source, const struct LDKNodeId *NONNULL_PTR target); + uint64_t (*channel_penalty_msat)(const void *this_arg, uint64_t short_channel_id, uint64_t send_amt_msat, uint64_t capacity_msat, const struct LDKNodeId *NONNULL_PTR source, const struct LDKNodeId *NONNULL_PTR target); /** * Handles updating channel penalties after failing to route through a channel. */ @@ -11281,6 +11964,27 @@ typedef struct MUST_USE_STRUCT LDKSha256 { +/** + * Positive duration that defines when (relatively to the timestamp) in the future the invoice + * expires + */ +typedef struct MUST_USE_STRUCT LDKExpiryTime { + /** + * A pointer to the opaque Rust object. + * Nearly everywhere, inner must be non-null, however in places where + * the Rust equivalent takes an Option, it may be set to null to indicate None. + */ + LDKnativeExpiryTime *inner; + /** + * Indicates that this is the only struct which contains the same pointer. + * Rust functions which take ownership of an object provided via an argument require + * this to be true and invalidate the object pointed to by inner. + */ + bool is_owned; +} LDKExpiryTime; + + + /** * `min_final_cltv_expiry` to use for the last HTLC in the route */ @@ -11299,13 +12003,6 @@ typedef struct MUST_USE_STRUCT LDKMinFinalCltvExpiry { bool is_owned; } LDKMinFinalCltvExpiry; -/** - * Integer in the range `0..32` - */ -typedef struct LDKu5 { - uint8_t _0; -} LDKu5; - /** * A 20-byte byte array. */ @@ -11403,7 +12100,7 @@ typedef struct LDKRouter { * * Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None */ - struct LDKCResult_RouteLightningErrorZ (*find_route)(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR params, const uint8_t (*payment_hash)[32], struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKScore *NONNULL_PTR scorer); + struct LDKCResult_RouteLightningErrorZ (*find_route)(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, const uint8_t (*payment_hash)[32], struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKScore *NONNULL_PTR scorer); /** * Frees any resources associated with this object given its this_arg pointer. * Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed. @@ -11495,6 +12192,12 @@ extern const uint32_t MIN_FINAL_CLTV_EXPIRY; extern const uintptr_t REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH; +extern const uint64_t UNKNOWN_CHANNEL_CAPACITY_MSAT; + +extern const uint32_t DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA; + +extern const uint64_t MAX_TIMESTAMP; + extern const uint64_t DEFAULT_EXPIRY_TIME; extern const uint64_t DEFAULT_MIN_FINAL_CLTV_EXPIRY; @@ -11556,6 +12259,58 @@ void Str_free(struct LDKStr _res); const void *__unmangle_inner_ptr(const void *ptr); #endif +/** + * Creates a new CResult_NoneNoneZ in the success state. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_ok(void); + +/** + * Creates a new CResult_NoneNoneZ in the error state. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_err(void); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_NoneNoneZ_is_ok(const struct LDKCResult_NoneNoneZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_NoneNoneZ. + */ +void CResult_NoneNoneZ_free(struct LDKCResult_NoneNoneZ _res); + +/** + * Creates a new CResult_NoneNoneZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_clone(const struct LDKCResult_NoneNoneZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ in the success state. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_ok(struct LDKCounterpartyCommitmentSecrets o); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ in the error state. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_CounterpartyCommitmentSecretsDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_CounterpartyCommitmentSecretsDecodeErrorZ. + */ +void CResult_CounterpartyCommitmentSecretsDecodeErrorZ_free(struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ _res); + +/** + * Creates a new CResult_CounterpartyCommitmentSecretsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CResult_CounterpartyCommitmentSecretsDecodeErrorZ_clone(const struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_SecretKeyErrorZ in the success state. */ @@ -11576,6 +12331,12 @@ bool CResult_SecretKeyErrorZ_is_ok(const struct LDKCResult_SecretKeyErrorZ *NONN */ void CResult_SecretKeyErrorZ_free(struct LDKCResult_SecretKeyErrorZ _res); +/** + * Creates a new CResult_SecretKeyErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_SecretKeyErrorZ CResult_SecretKeyErrorZ_clone(const struct LDKCResult_SecretKeyErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_PublicKeyErrorZ in the success state. */ @@ -12136,30 +12897,30 @@ void COption_u64Z_free(struct LDKCOption_u64Z _res); struct LDKCOption_u64Z COption_u64Z_clone(const struct LDKCOption_u64Z *NONNULL_PTR orig); /** - * Creates a new CResult_PayeeDecodeErrorZ in the success state. + * Creates a new CResult_PaymentParametersDecodeErrorZ in the success state. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_ok(struct LDKPayee o); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_ok(struct LDKPaymentParameters o); /** - * Creates a new CResult_PayeeDecodeErrorZ in the error state. + * Creates a new CResult_PaymentParametersDecodeErrorZ in the error state. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_err(struct LDKDecodeError e); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_err(struct LDKDecodeError e); /** * Checks if the given object is currently in the success state */ -bool CResult_PayeeDecodeErrorZ_is_ok(const struct LDKCResult_PayeeDecodeErrorZ *NONNULL_PTR o); +bool CResult_PaymentParametersDecodeErrorZ_is_ok(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_PayeeDecodeErrorZ. + * Frees any resources used by the CResult_PaymentParametersDecodeErrorZ. */ -void CResult_PayeeDecodeErrorZ_free(struct LDKCResult_PayeeDecodeErrorZ _res); +void CResult_PaymentParametersDecodeErrorZ_free(struct LDKCResult_PaymentParametersDecodeErrorZ _res); /** - * Creates a new CResult_PayeeDecodeErrorZ which has the same data as `orig` + * Creates a new CResult_PaymentParametersDecodeErrorZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_PayeeDecodeErrorZ CResult_PayeeDecodeErrorZ_clone(const struct LDKCResult_PayeeDecodeErrorZ *NONNULL_PTR orig); +struct LDKCResult_PaymentParametersDecodeErrorZ CResult_PaymentParametersDecodeErrorZ_clone(const struct LDKCResult_PaymentParametersDecodeErrorZ *NONNULL_PTR orig); /** * Frees the buffer pointed to by `data` if `datalen` is non-0. @@ -12478,6 +13239,32 @@ struct LDKCResult_COption_EventZDecodeErrorZ CResult_COption_EventZDecodeErrorZ_ */ void CVec_MessageSendEventZ_free(struct LDKCVec_MessageSendEventZ _res); +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the success state. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_ok(struct LDKFixedPenaltyScorer o); + +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ in the error state. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_FixedPenaltyScorerDecodeErrorZ_is_ok(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_FixedPenaltyScorerDecodeErrorZ. + */ +void CResult_FixedPenaltyScorerDecodeErrorZ_free(struct LDKCResult_FixedPenaltyScorerDecodeErrorZ _res); + +/** + * Creates a new CResult_FixedPenaltyScorerDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ CResult_FixedPenaltyScorerDecodeErrorZ_clone(const struct LDKCResult_FixedPenaltyScorerDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_ScoringParametersDecodeErrorZ in the success state. */ @@ -12498,6 +13285,12 @@ bool CResult_ScoringParametersDecodeErrorZ_is_ok(const struct LDKCResult_Scoring */ void CResult_ScoringParametersDecodeErrorZ_free(struct LDKCResult_ScoringParametersDecodeErrorZ _res); +/** + * Creates a new CResult_ScoringParametersDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ScoringParametersDecodeErrorZ CResult_ScoringParametersDecodeErrorZ_clone(const struct LDKCResult_ScoringParametersDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_ScorerDecodeErrorZ in the success state. */ @@ -12518,6 +13311,32 @@ bool CResult_ScorerDecodeErrorZ_is_ok(const struct LDKCResult_ScorerDecodeErrorZ */ void CResult_ScorerDecodeErrorZ_free(struct LDKCResult_ScorerDecodeErrorZ _res); +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ in the success state. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_ok(struct LDKProbabilisticScoringParameters o); + +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ in the error state. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ProbabilisticScoringParametersDecodeErrorZ_is_ok(const struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ProbabilisticScoringParametersDecodeErrorZ. + */ +void CResult_ProbabilisticScoringParametersDecodeErrorZ_free(struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ _res); + +/** + * Creates a new CResult_ProbabilisticScoringParametersDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ CResult_ProbabilisticScoringParametersDecodeErrorZ_clone(const struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_InitFeaturesDecodeErrorZ in the success state. */ @@ -12697,98 +13516,145 @@ void CResult_SpendableOutputDescriptorDecodeErrorZ_free(struct LDKCResult_Spenda struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_clone(const struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ *NONNULL_PTR orig); /** - * Creates a new CResult_NoneNoneZ in the success state. + * Frees the buffer pointed to by `data` if `datalen` is non-0. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_ok(void); +void CVec_PaymentPreimageZ_free(struct LDKCVec_PaymentPreimageZ _res); /** - * Creates a new CResult_NoneNoneZ in the error state. + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_err(void); +struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone(const struct LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR orig); + +/** + * Creates a new C2Tuple_SignatureCVec_SignatureZZ from the contained elements. + */ +struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new(struct LDKSignature a, struct LDKCVec_SignatureZ b); + +/** + * Frees any resources used by the C2Tuple_SignatureCVec_SignatureZZ. + */ +void C2Tuple_SignatureCVec_SignatureZZ_free(struct LDKC2Tuple_SignatureCVec_SignatureZZ _res); + +/** + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the success state. + */ +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(struct LDKC2Tuple_SignatureCVec_SignatureZZ o); + +/** + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the error state. + */ +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_NoneNoneZ_is_ok(const struct LDKCResult_NoneNoneZ *NONNULL_PTR o); +bool CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_NoneNoneZ. + * Frees any resources used by the CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ. */ -void CResult_NoneNoneZ_free(struct LDKCResult_NoneNoneZ _res); +void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res); /** - * Creates a new CResult_NoneNoneZ which has the same data as `orig` + * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_NoneNoneZ CResult_NoneNoneZ_clone(const struct LDKCResult_NoneNoneZ *NONNULL_PTR orig); +struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_SignatureNoneZ in the success state. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok(struct LDKSignature o); + +/** + * Creates a new CResult_SignatureNoneZ in the error state. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err(void); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_SignatureNoneZ_is_ok(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_SignatureNoneZ. + */ +void CResult_SignatureNoneZ_free(struct LDKCResult_SignatureNoneZ _res); + +/** + * Creates a new CResult_SignatureNoneZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_clone(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR orig); /** * Creates a new tuple which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone(const struct LDKC2Tuple_SignatureCVec_SignatureZZ *NONNULL_PTR orig); +struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_clone(const struct LDKC2Tuple_SignatureSignatureZ *NONNULL_PTR orig); /** - * Creates a new C2Tuple_SignatureCVec_SignatureZZ from the contained elements. + * Creates a new C2Tuple_SignatureSignatureZ from the contained elements. */ -struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new(struct LDKSignature a, struct LDKCVec_SignatureZ b); +struct LDKC2Tuple_SignatureSignatureZ C2Tuple_SignatureSignatureZ_new(struct LDKSignature a, struct LDKSignature b); /** - * Frees any resources used by the C2Tuple_SignatureCVec_SignatureZZ. + * Frees any resources used by the C2Tuple_SignatureSignatureZ. */ -void C2Tuple_SignatureCVec_SignatureZZ_free(struct LDKC2Tuple_SignatureCVec_SignatureZZ _res); +void C2Tuple_SignatureSignatureZ_free(struct LDKC2Tuple_SignatureSignatureZ _res); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the success state. + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ in the success state. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(struct LDKC2Tuple_SignatureCVec_SignatureZZ o); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_ok(struct LDKC2Tuple_SignatureSignatureZ o); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ in the error state. + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ in the error state. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err(void); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR o); +bool CResult_C2Tuple_SignatureSignatureZNoneZ_is_ok(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ. + * Frees any resources used by the CResult_C2Tuple_SignatureSignatureZNoneZ. */ -void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res); +void CResult_C2Tuple_SignatureSignatureZNoneZ_free(struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ _res); /** - * Creates a new CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ which has the same data as `orig` + * Creates a new CResult_C2Tuple_SignatureSignatureZNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ *NONNULL_PTR orig); +struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ CResult_C2Tuple_SignatureSignatureZNoneZ_clone(const struct LDKCResult_C2Tuple_SignatureSignatureZNoneZ *NONNULL_PTR orig); /** - * Creates a new CResult_SignatureNoneZ in the success state. + * Creates a new CResult_SecretKeyNoneZ in the success state. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok(struct LDKSignature o); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_ok(struct LDKSecretKey o); /** - * Creates a new CResult_SignatureNoneZ in the error state. + * Creates a new CResult_SecretKeyNoneZ in the error state. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err(void); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_err(void); /** * Checks if the given object is currently in the success state */ -bool CResult_SignatureNoneZ_is_ok(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR o); +bool CResult_SecretKeyNoneZ_is_ok(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_SignatureNoneZ. + * Frees any resources used by the CResult_SecretKeyNoneZ. */ -void CResult_SignatureNoneZ_free(struct LDKCResult_SignatureNoneZ _res); +void CResult_SecretKeyNoneZ_free(struct LDKCResult_SecretKeyNoneZ _res); /** - * Creates a new CResult_SignatureNoneZ which has the same data as `orig` + * Creates a new CResult_SecretKeyNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_clone(const struct LDKCResult_SignatureNoneZ *NONNULL_PTR orig); +struct LDKCResult_SecretKeyNoneZ CResult_SecretKeyNoneZ_clone(const struct LDKCResult_SecretKeyNoneZ *NONNULL_PTR orig); /** * Creates a new CResult_SignDecodeErrorZ in the success state. @@ -12819,7 +13685,7 @@ struct LDKCResult_SignDecodeErrorZ CResult_SignDecodeErrorZ_clone(const struct L /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ -void CVec_u8Z_free(struct LDKCVec_u8Z _res); +void CVec_u5Z_free(struct LDKCVec_u5Z _res); /** * Creates a new CResult_RecoverableSignatureNoneZ in the success state. @@ -12847,6 +13713,11 @@ void CResult_RecoverableSignatureNoneZ_free(struct LDKCResult_RecoverableSignatu */ struct LDKCResult_RecoverableSignatureNoneZ CResult_RecoverableSignatureNoneZ_clone(const struct LDKCResult_RecoverableSignatureNoneZ *NONNULL_PTR orig); +/** + * Frees the buffer pointed to by `data` if `datalen` is non-0. + */ +void CVec_u8Z_free(struct LDKCVec_u8Z _res); + /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ @@ -13310,6 +14181,110 @@ void CResult_PaymentPreimageAPIErrorZ_free(struct LDKCResult_PaymentPreimageAPIE */ struct LDKCResult_PaymentPreimageAPIErrorZ CResult_PaymentPreimageAPIErrorZ_clone(const struct LDKCResult_PaymentPreimageAPIErrorZ *NONNULL_PTR orig); +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ in the success state. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_ok(struct LDKCounterpartyForwardingInfo o); + +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ in the error state. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_CounterpartyForwardingInfoDecodeErrorZ_is_ok(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_CounterpartyForwardingInfoDecodeErrorZ. + */ +void CResult_CounterpartyForwardingInfoDecodeErrorZ_free(struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ _res); + +/** + * Creates a new CResult_CounterpartyForwardingInfoDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CResult_CounterpartyForwardingInfoDecodeErrorZ_clone(const struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ in the success state. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_ok(struct LDKChannelCounterparty o); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ in the error state. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ChannelCounterpartyDecodeErrorZ_is_ok(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ChannelCounterpartyDecodeErrorZ. + */ +void CResult_ChannelCounterpartyDecodeErrorZ_free(struct LDKCResult_ChannelCounterpartyDecodeErrorZ _res); + +/** + * Creates a new CResult_ChannelCounterpartyDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ CResult_ChannelCounterpartyDecodeErrorZ_clone(const struct LDKCResult_ChannelCounterpartyDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ in the success state. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_ok(struct LDKChannelDetails o); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ in the error state. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_ChannelDetailsDecodeErrorZ_is_ok(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_ChannelDetailsDecodeErrorZ. + */ +void CResult_ChannelDetailsDecodeErrorZ_free(struct LDKCResult_ChannelDetailsDecodeErrorZ _res); + +/** + * Creates a new CResult_ChannelDetailsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ CResult_ChannelDetailsDecodeErrorZ_clone(const struct LDKCResult_ChannelDetailsDecodeErrorZ *NONNULL_PTR orig); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ in the success state. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_ok(struct LDKPhantomRouteHints o); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ in the error state. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_PhantomRouteHintsDecodeErrorZ_is_ok(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_PhantomRouteHintsDecodeErrorZ. + */ +void CResult_PhantomRouteHintsDecodeErrorZ_free(struct LDKCResult_PhantomRouteHintsDecodeErrorZ _res); + +/** + * Creates a new CResult_PhantomRouteHintsDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_PhantomRouteHintsDecodeErrorZ CResult_PhantomRouteHintsDecodeErrorZ_clone(const struct LDKCResult_PhantomRouteHintsDecodeErrorZ *NONNULL_PTR orig); + /** * Frees the buffer pointed to by `data` if `datalen` is non-0. */ @@ -13699,32 +14674,6 @@ void CResult_DescriptionCreationErrorZ_free(struct LDKCResult_DescriptionCreatio */ struct LDKCResult_DescriptionCreationErrorZ CResult_DescriptionCreationErrorZ_clone(const struct LDKCResult_DescriptionCreationErrorZ *NONNULL_PTR orig); -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ in the success state. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_ok(struct LDKExpiryTime o); - -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ in the error state. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_err(enum LDKCreationError e); - -/** - * Checks if the given object is currently in the success state - */ -bool CResult_ExpiryTimeCreationErrorZ_is_ok(const struct LDKCResult_ExpiryTimeCreationErrorZ *NONNULL_PTR o); - -/** - * Frees any resources used by the CResult_ExpiryTimeCreationErrorZ. - */ -void CResult_ExpiryTimeCreationErrorZ_free(struct LDKCResult_ExpiryTimeCreationErrorZ _res); - -/** - * Creates a new CResult_ExpiryTimeCreationErrorZ which has the same data as `orig` - * but with all dynamically-allocated buffers duplicated in new buffers. - */ -struct LDKCResult_ExpiryTimeCreationErrorZ CResult_ExpiryTimeCreationErrorZ_clone(const struct LDKCResult_ExpiryTimeCreationErrorZ *NONNULL_PTR orig); - /** * Creates a new CResult_PrivateRouteCreationErrorZ in the success state. */ @@ -14261,30 +15210,30 @@ struct LDKCOption_AccessZ COption_AccessZ_none(void); void COption_AccessZ_free(struct LDKCOption_AccessZ _res); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the success state. + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ in the success state. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_ok(struct LDKDirectionalChannelInfo o); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_ok(struct LDKChannelUpdateInfo o); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the error state. + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ in the error state. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_err(struct LDKDecodeError e); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_err(struct LDKDecodeError e); /** * Checks if the given object is currently in the success state */ -bool CResult_DirectionalChannelInfoDecodeErrorZ_is_ok(const struct LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR o); +bool CResult_ChannelUpdateInfoDecodeErrorZ_is_ok(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR o); /** - * Frees any resources used by the CResult_DirectionalChannelInfoDecodeErrorZ. + * Frees any resources used by the CResult_ChannelUpdateInfoDecodeErrorZ. */ -void CResult_DirectionalChannelInfoDecodeErrorZ_free(struct LDKCResult_DirectionalChannelInfoDecodeErrorZ _res); +void CResult_ChannelUpdateInfoDecodeErrorZ_free(struct LDKCResult_ChannelUpdateInfoDecodeErrorZ _res); /** - * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ which has the same data as `orig` + * Creates a new CResult_ChannelUpdateInfoDecodeErrorZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ CResult_DirectionalChannelInfoDecodeErrorZ_clone(const struct LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR orig); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ CResult_ChannelUpdateInfoDecodeErrorZ_clone(const struct LDKCResult_ChannelUpdateInfoDecodeErrorZ *NONNULL_PTR orig); /** * Creates a new CResult_ChannelInfoDecodeErrorZ in the success state. @@ -15138,6 +16087,32 @@ void CResult_ErrorMessageDecodeErrorZ_free(struct LDKCResult_ErrorMessageDecodeE */ struct LDKCResult_ErrorMessageDecodeErrorZ CResult_ErrorMessageDecodeErrorZ_clone(const struct LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR orig); +/** + * Creates a new CResult_WarningMessageDecodeErrorZ in the success state. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_ok(struct LDKWarningMessage o); + +/** + * Creates a new CResult_WarningMessageDecodeErrorZ in the error state. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_err(struct LDKDecodeError e); + +/** + * Checks if the given object is currently in the success state + */ +bool CResult_WarningMessageDecodeErrorZ_is_ok(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR o); + +/** + * Frees any resources used by the CResult_WarningMessageDecodeErrorZ. + */ +void CResult_WarningMessageDecodeErrorZ_free(struct LDKCResult_WarningMessageDecodeErrorZ _res); + +/** + * Creates a new CResult_WarningMessageDecodeErrorZ which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ +struct LDKCResult_WarningMessageDecodeErrorZ CResult_WarningMessageDecodeErrorZ_clone(const struct LDKCResult_WarningMessageDecodeErrorZ *NONNULL_PTR orig); + /** * Creates a new CResult_UnsignedNodeAnnouncementDecodeErrorZ in the success state. */ @@ -15320,6 +16295,11 @@ void CResult_GossipTimestampFilterDecodeErrorZ_free(struct LDKCResult_GossipTime */ struct LDKCResult_GossipTimestampFilterDecodeErrorZ CResult_GossipTimestampFilterDecodeErrorZ_clone(const struct LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR orig); +/** + * Frees the buffer pointed to by `data` if `datalen` is non-0. + */ +void CVec_PhantomRouteHintsZ_free(struct LDKCVec_PhantomRouteHintsZ _res); + /** * Creates a new CResult_InvoiceSignOrCreationErrorZ in the success state. */ @@ -15531,6 +16511,11 @@ struct LDKEvent Event_discard_funding(struct LDKThirtyTwoBytes channel_id, struc */ struct LDKEvent Event_payment_path_successful(struct LDKThirtyTwoBytes payment_id, struct LDKThirtyTwoBytes payment_hash, struct LDKCVec_RouteHopZ path); +/** + * Utility method to constructs a new OpenChannelRequest-variant Event + */ +struct LDKEvent Event_open_channel_request(struct LDKThirtyTwoBytes temporary_channel_id, struct LDKPublicKey counterparty_node_id, uint64_t funding_satoshis, uint64_t push_msat); + /** * Serialize the Event object into a byte array which can be read by Event_read */ @@ -15719,6 +16704,11 @@ struct LDKCResult_PublicKeyErrorZ recover_pk(struct LDKu8slice msg, struct LDKSt */ bool verify(struct LDKu8slice msg, struct LDKStr sig, struct LDKPublicKey pk); +/** + * Construct the invoice's HRP and signatureless data into a preimage to be hashed. + */ +struct LDKCVec_u8Z construct_invoice_preimage(struct LDKu8slice hrp_bytes, struct LDKCVec_u5Z data_without_signature); + /** * Creates a copy of the Level */ @@ -16466,10 +17456,44 @@ bool UserConfig_get_accept_inbound_channels(const struct LDKUserConfig *NONNULL_ */ void UserConfig_set_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val); +/** + * If this is set to true, the user needs to manually accept inbound requests to open a new + * channel. + * + * When set to true, [`Event::OpenChannelRequest`] will be triggered once a request to open a + * new inbound channel is received through a [`msgs::OpenChannel`] message. In that case, a + * [`msgs::AcceptChannel`] message will not be sent back to the counterparty node unless the + * user explicitly chooses to accept the request. + * + * Default value: false. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + * [`msgs::OpenChannel`]: crate::ln::msgs::OpenChannel + * [`msgs::AcceptChannel`]: crate::ln::msgs::AcceptChannel + */ +bool UserConfig_get_manually_accept_inbound_channels(const struct LDKUserConfig *NONNULL_PTR this_ptr); + +/** + * If this is set to true, the user needs to manually accept inbound requests to open a new + * channel. + * + * When set to true, [`Event::OpenChannelRequest`] will be triggered once a request to open a + * new inbound channel is received through a [`msgs::OpenChannel`] message. In that case, a + * [`msgs::AcceptChannel`] message will not be sent back to the counterparty node unless the + * user explicitly chooses to accept the request. + * + * Default value: false. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + * [`msgs::OpenChannel`]: crate::ln::msgs::OpenChannel + * [`msgs::AcceptChannel`]: crate::ln::msgs::AcceptChannel + */ +void UserConfig_set_manually_accept_inbound_channels(struct LDKUserConfig *NONNULL_PTR this_ptr, bool val); + /** * Constructs a new UserConfig given each field */ -MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig own_channel_config_arg, struct LDKChannelHandshakeLimits peer_channel_config_limits_arg, struct LDKChannelConfig channel_options_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg); +MUST_USE_RES struct LDKUserConfig UserConfig_new(struct LDKChannelHandshakeConfig own_channel_config_arg, struct LDKChannelHandshakeLimits peer_channel_config_limits_arg, struct LDKChannelConfig channel_options_arg, bool accept_forwards_to_priv_channels_arg, bool accept_inbound_channels_arg, bool manually_accept_inbound_channels_arg); /** * Creates a copy of the UserConfig @@ -17359,6 +18383,21 @@ struct LDKSign Sign_clone(const struct LDKSign *NONNULL_PTR orig); */ void Sign_free(struct LDKSign this_ptr); +/** + * Creates a copy of the Recipient + */ +enum LDKRecipient Recipient_clone(const enum LDKRecipient *NONNULL_PTR orig); + +/** + * Utility method to constructs a new Node-variant Recipient + */ +enum LDKRecipient Recipient_node(void); + +/** + * Utility method to constructs a new PhantomNode-variant Recipient + */ +enum LDKRecipient Recipient_phantom_node(void); + /** * Calls the free function if one is set */ @@ -17437,7 +18476,7 @@ struct LDKInMemorySigner InMemorySigner_clone(const struct LDKInMemorySigner *NO /** * Create a new InMemorySigner */ -MUST_USE_RES struct LDKInMemorySigner InMemorySigner_new(struct LDKSecretKey funding_key, struct LDKSecretKey revocation_base_key, struct LDKSecretKey payment_key, struct LDKSecretKey delayed_payment_base_key, struct LDKSecretKey htlc_base_key, struct LDKThirtyTwoBytes commitment_seed, uint64_t channel_value_satoshis, struct LDKThirtyTwoBytes channel_keys_id); +MUST_USE_RES struct LDKInMemorySigner InMemorySigner_new(struct LDKSecretKey node_secret, struct LDKSecretKey funding_key, struct LDKSecretKey revocation_base_key, struct LDKSecretKey payment_key, struct LDKSecretKey delayed_payment_base_key, struct LDKSecretKey htlc_base_key, struct LDKThirtyTwoBytes commitment_seed, uint64_t channel_value_satoshis, struct LDKThirtyTwoBytes channel_keys_id); /** * Counterparty pubkeys. @@ -17492,7 +18531,8 @@ MUST_USE_RES bool InMemorySigner_opt_anchors(const struct LDKInMemorySigner *NON * described by descriptor, returning the witness stack for the input. * * Returns an Err if the input at input_idx does not exist, has a non-empty script_sig, - * or is not spending the outpoint described by `descriptor.outpoint`. + * is not spending the outpoint described by `descriptor.outpoint`, + * or if an output descriptor script_pubkey does not match the one we can spend. */ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_counterparty_payment_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKStaticPaymentOutputDescriptor *NONNULL_PTR descriptor); @@ -17501,8 +18541,9 @@ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_counterpa * described by descriptor, returning the witness stack for the input. * * Returns an Err if the input at input_idx does not exist, has a non-empty script_sig, - * is not spending the outpoint described by `descriptor.outpoint`, or does not have a - * sequence set to `descriptor.to_self_delay`. + * is not spending the outpoint described by `descriptor.outpoint`, does not have a + * sequence set to `descriptor.to_self_delay`, or if an output descriptor + * script_pubkey does not match the one we can spend. */ MUST_USE_RES struct LDKCResult_CVec_CVec_u8ZZNoneZ InMemorySigner_sign_dynamic_p2wsh_input(const struct LDKInMemorySigner *NONNULL_PTR this_arg, struct LDKTransaction spend_tx, uintptr_t input_idx, const struct LDKDelayedPaymentOutputDescriptor *NONNULL_PTR descriptor); @@ -17526,7 +18567,7 @@ struct LDKCVec_u8Z InMemorySigner_write(const struct LDKInMemorySigner *NONNULL_ /** * Read a InMemorySigner from a byte array, created by InMemorySigner_write */ -struct LDKCResult_InMemorySignerDecodeErrorZ InMemorySigner_read(struct LDKu8slice ser); +struct LDKCResult_InMemorySignerDecodeErrorZ InMemorySigner_read(struct LDKu8slice ser, struct LDKSecretKey arg); /** * Frees any resources used by the KeysManager, if is_owned is set and inner is non-NULL. @@ -17570,8 +18611,9 @@ MUST_USE_RES struct LDKInMemorySigner KeysManager_derive_channel_keys(const stru * output to the given change destination (if sufficient change value remains). The * transaction will have a feerate, at least, of the given value. * - * Returns `Err(())` if the output value is greater than the input value minus required fee or - * if a descriptor was duplicated. + * Returns `Err(())` if the output value is greater than the input value minus required fee, + * if a descriptor was duplicated, or if an output descriptor `script_pubkey` + * does not match the one we can spend. * * We do not enforce that outputs meet the dust limit or that any output scripts are standard. * @@ -17586,6 +18628,41 @@ MUST_USE_RES struct LDKCResult_TransactionNoneZ KeysManager_spend_spendable_outp */ struct LDKKeysInterface KeysManager_as_KeysInterface(const struct LDKKeysManager *NONNULL_PTR this_arg); +/** + * Frees any resources used by the PhantomKeysManager, if is_owned is set and inner is non-NULL. + */ +void PhantomKeysManager_free(struct LDKPhantomKeysManager this_obj); + +/** + * Constructs a new KeysInterface which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned KeysInterface must be freed before this_arg is + */ +struct LDKKeysInterface PhantomKeysManager_as_KeysInterface(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg); + +/** + * Constructs a `PhantomKeysManager` given a 32-byte seed and an additional `cross_node_seed` + * that is shared across all nodes that intend to participate in [phantom node payments] together. + * + * See [`KeysManager::new`] for more information on `seed`, `starting_time_secs`, and + * `starting_time_nanos`. + * + * `cross_node_seed` must be the same across all phantom payment-receiving nodes and also the + * same across restarts, or else inbound payments may fail. + * + * [phantom node payments]: PhantomKeysManager + */ +MUST_USE_RES struct LDKPhantomKeysManager PhantomKeysManager_new(const uint8_t (*seed)[32], uint64_t starting_time_secs, uint32_t starting_time_nanos, const uint8_t (*cross_node_seed)[32]); + +/** + * See [`KeysManager::spend_spendable_outputs`] for documentation on this method. + */ +MUST_USE_RES struct LDKCResult_TransactionNoneZ PhantomKeysManager_spend_spendable_outputs(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, struct LDKCVec_SpendableOutputDescriptorZ descriptors, struct LDKCVec_TxOutZ outputs, struct LDKCVec_u8Z change_destination_script, uint32_t feerate_sat_per_1000_weight); + +/** + * See [`KeysManager::derive_channel_keys`] for documentation on this method. + */ +MUST_USE_RES struct LDKInMemorySigner PhantomKeysManager_derive_channel_keys(const struct LDKPhantomKeysManager *NONNULL_PTR this_arg, uint64_t channel_value_satoshis, const uint8_t (*params)[32]); + /** * Frees any resources used by the ChannelManager, if is_owned is set and inner is non-NULL. */ @@ -18099,6 +19176,53 @@ struct LDKPaymentSendFailure PaymentSendFailure_all_failed_retry_safe(struct LDK */ struct LDKPaymentSendFailure PaymentSendFailure_partial_failure(struct LDKCVec_CResult_NoneAPIErrorZZ results, struct LDKRouteParameters failed_paths_retry, struct LDKThirtyTwoBytes payment_id); +/** + * Frees any resources used by the PhantomRouteHints, if is_owned is set and inner is non-NULL. + */ +void PhantomRouteHints_free(struct LDKPhantomRouteHints this_obj); + +/** + * The list of channels to be included in the invoice route hints. + */ +struct LDKCVec_ChannelDetailsZ PhantomRouteHints_get_channels(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * The list of channels to be included in the invoice route hints. + */ +void PhantomRouteHints_set_channels(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKCVec_ChannelDetailsZ val); + +/** + * A fake scid used for representing the phantom node's fake channel in generating the invoice + * route hints. + */ +uint64_t PhantomRouteHints_get_phantom_scid(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * A fake scid used for representing the phantom node's fake channel in generating the invoice + * route hints. + */ +void PhantomRouteHints_set_phantom_scid(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, uint64_t val); + +/** + * The pubkey of the real backing node that would ultimately receive the payment. + */ +struct LDKPublicKey PhantomRouteHints_get_real_node_pubkey(const struct LDKPhantomRouteHints *NONNULL_PTR this_ptr); + +/** + * The pubkey of the real backing node that would ultimately receive the payment. + */ +void PhantomRouteHints_set_real_node_pubkey(struct LDKPhantomRouteHints *NONNULL_PTR this_ptr, struct LDKPublicKey val); + +/** + * Constructs a new PhantomRouteHints given each field + */ +MUST_USE_RES struct LDKPhantomRouteHints PhantomRouteHints_new(struct LDKCVec_ChannelDetailsZ channels_arg, uint64_t phantom_scid_arg, struct LDKPublicKey real_node_pubkey_arg); + +/** + * Creates a copy of the PhantomRouteHints + */ +struct LDKPhantomRouteHints PhantomRouteHints_clone(const struct LDKPhantomRouteHints *NONNULL_PTR orig); + /** * Constructs a new ChannelManager to hold several channels and route between them. * @@ -18424,6 +19548,16 @@ MUST_USE_RES bool ChannelManager_claim_funds(const struct LDKChannelManager *NON */ MUST_USE_RES struct LDKPublicKey ChannelManager_get_our_node_id(const struct LDKChannelManager *NONNULL_PTR this_arg); +/** + * Called to accept a request to open a channel after [`Event::OpenChannelRequest`] has been + * triggered. + * + * The `temporary_channel_id` parameter indicates which inbound channel should be accepted. + * + * [`Event::OpenChannelRequest`]: crate::util::events::Event::OpenChannelRequest + */ +MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_accept_inbound_channel(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*temporary_channel_id)[32]); + /** * Gets a payment secret and payment hash for use in an invoice given to a third party wishing * to pay us. @@ -18533,6 +19667,21 @@ MUST_USE_RES struct LDKCResult_PaymentSecretAPIErrorZ ChannelManager_create_inbo */ MUST_USE_RES struct LDKCResult_PaymentPreimageAPIErrorZ ChannelManager_get_payment_preimage(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret); +/** + * Gets a fake short channel id for use in receiving [phantom node payments]. These fake scids + * are used when constructing the phantom invoice's route hints. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +MUST_USE_RES uint64_t ChannelManager_get_phantom_scid(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Gets route hints for use in receiving [phantom node payments]. + * + * [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager + */ +MUST_USE_RES struct LDKPhantomRouteHints ChannelManager_get_phantom_route_hints(const struct LDKChannelManager *NONNULL_PTR this_arg); + /** * Constructs a new MessageSendEventsProvider which calls the relevant methods on this_arg. * This copies the `inner` pointer in this_arg and thus the returned MessageSendEventsProvider must be freed before this_arg is @@ -18572,19 +19721,59 @@ MUST_USE_RES bool ChannelManager_await_persistable_update_timeout(const struct L * `await_persistable_update` or `await_persistable_update_timeout` is guaranteed to be woken * up. */ -void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg); +void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Gets the latest best block which was connected either via the [`chain::Listen`] or + * [`chain::Confirm`] interfaces. + */ +MUST_USE_RES struct LDKBestBlock ChannelManager_current_best_block(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Constructs a new ChannelMessageHandler which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned ChannelMessageHandler must be freed before this_arg is + */ +struct LDKChannelMessageHandler ChannelManager_as_ChannelMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg); + +/** + * Serialize the CounterpartyForwardingInfo object into a byte array which can be read by CounterpartyForwardingInfo_read + */ +struct LDKCVec_u8Z CounterpartyForwardingInfo_write(const struct LDKCounterpartyForwardingInfo *NONNULL_PTR obj); + +/** + * Read a CounterpartyForwardingInfo from a byte array, created by CounterpartyForwardingInfo_write + */ +struct LDKCResult_CounterpartyForwardingInfoDecodeErrorZ CounterpartyForwardingInfo_read(struct LDKu8slice ser); + +/** + * Serialize the ChannelCounterparty object into a byte array which can be read by ChannelCounterparty_read + */ +struct LDKCVec_u8Z ChannelCounterparty_write(const struct LDKChannelCounterparty *NONNULL_PTR obj); + +/** + * Read a ChannelCounterparty from a byte array, created by ChannelCounterparty_write + */ +struct LDKCResult_ChannelCounterpartyDecodeErrorZ ChannelCounterparty_read(struct LDKu8slice ser); + +/** + * Serialize the ChannelDetails object into a byte array which can be read by ChannelDetails_read + */ +struct LDKCVec_u8Z ChannelDetails_write(const struct LDKChannelDetails *NONNULL_PTR obj); + +/** + * Read a ChannelDetails from a byte array, created by ChannelDetails_write + */ +struct LDKCResult_ChannelDetailsDecodeErrorZ ChannelDetails_read(struct LDKu8slice ser); /** - * Gets the latest best block which was connected either via the [`chain::Listen`] or - * [`chain::Confirm`] interfaces. + * Serialize the PhantomRouteHints object into a byte array which can be read by PhantomRouteHints_read */ -MUST_USE_RES struct LDKBestBlock ChannelManager_current_best_block(const struct LDKChannelManager *NONNULL_PTR this_arg); +struct LDKCVec_u8Z PhantomRouteHints_write(const struct LDKPhantomRouteHints *NONNULL_PTR obj); /** - * Constructs a new ChannelMessageHandler which calls the relevant methods on this_arg. - * This copies the `inner` pointer in this_arg and thus the returned ChannelMessageHandler must be freed before this_arg is + * Read a PhantomRouteHints from a byte array, created by PhantomRouteHints_write */ -struct LDKChannelMessageHandler ChannelManager_as_ChannelMessageHandler(const struct LDKChannelManager *NONNULL_PTR this_arg); +struct LDKCResult_PhantomRouteHintsDecodeErrorZ PhantomRouteHints_read(struct LDKu8slice ser); /** * Serialize the ChannelManager object into a byte array which can be read by ChannelManager_read @@ -18733,28 +19922,34 @@ struct LDKInit Init_clone(const struct LDKInit *NONNULL_PTR orig); void ErrorMessage_free(struct LDKErrorMessage this_obj); /** - * The channel ID involved in the error + * The channel ID involved in the error. + * + * All-0s indicates a general error unrelated to a specific channel, after which all channels + * with the sending peer should be closed. */ const uint8_t (*ErrorMessage_get_channel_id(const struct LDKErrorMessage *NONNULL_PTR this_ptr))[32]; /** - * The channel ID involved in the error + * The channel ID involved in the error. + * + * All-0s indicates a general error unrelated to a specific channel, after which all channels + * with the sending peer should be closed. */ void ErrorMessage_set_channel_id(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); /** * A possibly human-readable error description. - * The string should be sanitized before it is used (e.g. emitted to logs - * or printed to stdout). Otherwise, a well crafted error message may trigger a security - * vulnerability in the terminal emulator or the logging subsystem. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. */ struct LDKStr ErrorMessage_get_data(const struct LDKErrorMessage *NONNULL_PTR this_ptr); /** * A possibly human-readable error description. - * The string should be sanitized before it is used (e.g. emitted to logs - * or printed to stdout). Otherwise, a well crafted error message may trigger a security - * vulnerability in the terminal emulator or the logging subsystem. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. */ void ErrorMessage_set_data(struct LDKErrorMessage *NONNULL_PTR this_ptr, struct LDKStr val); @@ -18768,6 +19963,51 @@ MUST_USE_RES struct LDKErrorMessage ErrorMessage_new(struct LDKThirtyTwoBytes ch */ struct LDKErrorMessage ErrorMessage_clone(const struct LDKErrorMessage *NONNULL_PTR orig); +/** + * Frees any resources used by the WarningMessage, if is_owned is set and inner is non-NULL. + */ +void WarningMessage_free(struct LDKWarningMessage this_obj); + +/** + * The channel ID involved in the warning. + * + * All-0s indicates a warning unrelated to a specific channel. + */ +const uint8_t (*WarningMessage_get_channel_id(const struct LDKWarningMessage *NONNULL_PTR this_ptr))[32]; + +/** + * The channel ID involved in the warning. + * + * All-0s indicates a warning unrelated to a specific channel. + */ +void WarningMessage_set_channel_id(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKThirtyTwoBytes val); + +/** + * A possibly human-readable warning description. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. + */ +struct LDKStr WarningMessage_get_data(const struct LDKWarningMessage *NONNULL_PTR this_ptr); + +/** + * A possibly human-readable warning description. + * The string should be sanitized before it is used (e.g. emitted to logs or printed to + * stdout). Otherwise, a well crafted error message may trigger a security vulnerability in + * the terminal emulator or the logging subsystem. + */ +void WarningMessage_set_data(struct LDKWarningMessage *NONNULL_PTR this_ptr, struct LDKStr val); + +/** + * Constructs a new WarningMessage given each field + */ +MUST_USE_RES struct LDKWarningMessage WarningMessage_new(struct LDKThirtyTwoBytes channel_id_arg, struct LDKStr data_arg); + +/** + * Creates a copy of the WarningMessage + */ +struct LDKWarningMessage WarningMessage_clone(const struct LDKWarningMessage *NONNULL_PTR orig); + /** * Frees any resources used by the Ping, if is_owned is set and inner is non-NULL. */ @@ -19185,6 +20425,28 @@ struct LDKPublicKey AcceptChannel_get_first_per_commitment_point(const struct LD */ void AcceptChannel_set_first_per_commitment_point(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKPublicKey val); +/** + * The channel type that this channel will represent. If none is set, we derive the channel + * type from the intersection of our feature bits with our counterparty's feature bits from + * the Init message. + * + * This is required to match the equivalent field in [`OpenChannel::channel_type`]. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +struct LDKChannelTypeFeatures AcceptChannel_get_channel_type(const struct LDKAcceptChannel *NONNULL_PTR this_ptr); + +/** + * The channel type that this channel will represent. If none is set, we derive the channel + * type from the intersection of our feature bits with our counterparty's feature bits from + * the Init message. + * + * This is required to match the equivalent field in [`OpenChannel::channel_type`]. + * + * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +void AcceptChannel_set_channel_type(struct LDKAcceptChannel *NONNULL_PTR this_ptr, struct LDKChannelTypeFeatures val); + /** * Creates a copy of the AcceptChannel */ @@ -20559,6 +21821,11 @@ struct LDKErrorAction ErrorAction_ignore_duplicate_gossip(void); */ struct LDKErrorAction ErrorAction_send_error_message(struct LDKErrorMessage msg); +/** + * Utility method to constructs a new SendWarningMessage-variant ErrorAction + */ +struct LDKErrorAction ErrorAction_send_warning_message(struct LDKWarningMessage msg, enum LDKLevel log_level); + /** * Frees any resources used by the LightningError, if is_owned is set and inner is non-NULL. */ @@ -20933,6 +22200,16 @@ struct LDKCVec_u8Z ErrorMessage_write(const struct LDKErrorMessage *NONNULL_PTR */ struct LDKCResult_ErrorMessageDecodeErrorZ ErrorMessage_read(struct LDKu8slice ser); +/** + * Serialize the WarningMessage object into a byte array which can be read by WarningMessage_read + */ +struct LDKCVec_u8Z WarningMessage_write(const struct LDKWarningMessage *NONNULL_PTR obj); + +/** + * Read a WarningMessage from a byte array, created by WarningMessage_write + */ +struct LDKCResult_WarningMessageDecodeErrorZ WarningMessage_read(struct LDKu8slice ser); + /** * Serialize the UnsignedNodeAnnouncement object into a byte array which can be read by UnsignedNodeAnnouncement_read */ @@ -21311,6 +22588,51 @@ struct LDKThirtyTwoBytes build_commitment_secret(const uint8_t (*commitment_seed */ struct LDKTransaction build_closing_transaction(uint64_t to_holder_value_sat, uint64_t to_counterparty_value_sat, struct LDKCVec_u8Z to_holder_script, struct LDKCVec_u8Z to_counterparty_script, struct LDKOutPoint funding_outpoint); +/** + * Frees any resources used by the CounterpartyCommitmentSecrets, if is_owned is set and inner is non-NULL. + */ +void CounterpartyCommitmentSecrets_free(struct LDKCounterpartyCommitmentSecrets this_obj); + +/** + * Creates a copy of the CounterpartyCommitmentSecrets + */ +struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_clone(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR orig); + +/** + * Creates a new empty `CounterpartyCommitmentSecrets` structure. + */ +MUST_USE_RES struct LDKCounterpartyCommitmentSecrets CounterpartyCommitmentSecrets_new(void); + +/** + * Returns the minimum index of all stored secrets. Note that indexes start + * at 1 << 48 and get decremented by one for each new secret. + */ +MUST_USE_RES uint64_t CounterpartyCommitmentSecrets_get_min_seen_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg); + +/** + * Inserts the `secret` at `idx`. Returns `Ok(())` if the secret + * was generated in accordance with BOLT 3 and is consistent with previous secrets. + */ +MUST_USE_RES struct LDKCResult_NoneNoneZ CounterpartyCommitmentSecrets_provide_secret(struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx, struct LDKThirtyTwoBytes secret); + +/** + * Returns the secret at `idx`. + * Returns `None` if `idx` is < [`CounterpartyCommitmentSecrets::get_min_seen_secret`]. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +MUST_USE_RES struct LDKThirtyTwoBytes CounterpartyCommitmentSecrets_get_secret(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR this_arg, uint64_t idx); + +/** + * Serialize the CounterpartyCommitmentSecrets object into a byte array which can be read by CounterpartyCommitmentSecrets_read + */ +struct LDKCVec_u8Z CounterpartyCommitmentSecrets_write(const struct LDKCounterpartyCommitmentSecrets *NONNULL_PTR obj); + +/** + * Read a CounterpartyCommitmentSecrets from a byte array, created by CounterpartyCommitmentSecrets_write + */ +struct LDKCResult_CounterpartyCommitmentSecretsDecodeErrorZ CounterpartyCommitmentSecrets_read(struct LDKu8slice ser); + /** * Derives a per-commitment-transaction private key (eg an htlc key or delayed_payment key) * from the base secret and the per_commitment_point. @@ -22149,6 +23471,8 @@ MUST_USE_RES bool TrustedCommitmentTransaction_opt_anchors(const struct LDKTrust * which HTLCOutputInCommitment::transaction_output_index.is_some()). * * The returned Vec has one entry for each HTLC, and in the same order. + * + * This function is only valid in the holder commitment context, it always uses SigHashType::All. */ MUST_USE_RES struct LDKCResult_CVec_SignatureZNoneZ TrustedCommitmentTransaction_get_htlc_sigs(const struct LDKTrustedCommitmentTransaction *NONNULL_PTR this_arg, const uint8_t (*htlc_base_key)[32], const struct LDKDirectedChannelTransactionParameters *NONNULL_PTR channel_parameters); @@ -22607,71 +23931,71 @@ struct LDKRoutingMessageHandler NetGraphMsgHandler_as_RoutingMessageHandler(cons struct LDKMessageSendEventsProvider NetGraphMsgHandler_as_MessageSendEventsProvider(const struct LDKNetGraphMsgHandler *NONNULL_PTR this_arg); /** - * Frees any resources used by the DirectionalChannelInfo, if is_owned is set and inner is non-NULL. + * Frees any resources used by the ChannelUpdateInfo, if is_owned is set and inner is non-NULL. */ -void DirectionalChannelInfo_free(struct LDKDirectionalChannelInfo this_obj); +void ChannelUpdateInfo_free(struct LDKChannelUpdateInfo this_obj); /** * When the last update to the channel direction was issued. * Value is opaque, as set in the announcement. */ -uint32_t DirectionalChannelInfo_get_last_update(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint32_t ChannelUpdateInfo_get_last_update(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * When the last update to the channel direction was issued. * Value is opaque, as set in the announcement. */ -void DirectionalChannelInfo_set_last_update(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint32_t val); +void ChannelUpdateInfo_set_last_update(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint32_t val); /** * Whether the channel can be currently used for payments (in this one direction). */ -bool DirectionalChannelInfo_get_enabled(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +bool ChannelUpdateInfo_get_enabled(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Whether the channel can be currently used for payments (in this one direction). */ -void DirectionalChannelInfo_set_enabled(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, bool val); +void ChannelUpdateInfo_set_enabled(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, bool val); /** * The difference in CLTV values that you must have when routing through this channel. */ -uint16_t DirectionalChannelInfo_get_cltv_expiry_delta(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint16_t ChannelUpdateInfo_get_cltv_expiry_delta(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The difference in CLTV values that you must have when routing through this channel. */ -void DirectionalChannelInfo_set_cltv_expiry_delta(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint16_t val); +void ChannelUpdateInfo_set_cltv_expiry_delta(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint16_t val); /** * The minimum value, which must be relayed to the next hop via the channel */ -uint64_t DirectionalChannelInfo_get_htlc_minimum_msat(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +uint64_t ChannelUpdateInfo_get_htlc_minimum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The minimum value, which must be relayed to the next hop via the channel */ -void DirectionalChannelInfo_set_htlc_minimum_msat(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, uint64_t val); +void ChannelUpdateInfo_set_htlc_minimum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, uint64_t val); /** * The maximum value which may be relayed to the next hop via the channel. */ -struct LDKCOption_u64Z DirectionalChannelInfo_get_htlc_maximum_msat(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKCOption_u64Z ChannelUpdateInfo_get_htlc_maximum_msat(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * The maximum value which may be relayed to the next hop via the channel. */ -void DirectionalChannelInfo_set_htlc_maximum_msat(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); +void ChannelUpdateInfo_set_htlc_maximum_msat(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); /** * Fees charged when the channel is used for routing */ -struct LDKRoutingFees DirectionalChannelInfo_get_fees(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKRoutingFees ChannelUpdateInfo_get_fees(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Fees charged when the channel is used for routing */ -void DirectionalChannelInfo_set_fees(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val); +void ChannelUpdateInfo_set_fees(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKRoutingFees val); /** * Most recent update for the channel received from the network @@ -22681,7 +24005,7 @@ void DirectionalChannelInfo_set_fees(struct LDKDirectionalChannelInfo *NONNULL_P * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKChannelUpdate DirectionalChannelInfo_get_last_update_message(const struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdate ChannelUpdateInfo_get_last_update_message(const struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr); /** * Most recent update for the channel received from the network @@ -22691,27 +24015,27 @@ struct LDKChannelUpdate DirectionalChannelInfo_get_last_update_message(const str * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void DirectionalChannelInfo_set_last_update_message(struct LDKDirectionalChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdate val); +void ChannelUpdateInfo_set_last_update_message(struct LDKChannelUpdateInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdate val); /** - * Constructs a new DirectionalChannelInfo given each field + * Constructs a new ChannelUpdateInfo given each field */ -MUST_USE_RES struct LDKDirectionalChannelInfo DirectionalChannelInfo_new(uint32_t last_update_arg, bool enabled_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, struct LDKCOption_u64Z htlc_maximum_msat_arg, struct LDKRoutingFees fees_arg, struct LDKChannelUpdate last_update_message_arg); +MUST_USE_RES struct LDKChannelUpdateInfo ChannelUpdateInfo_new(uint32_t last_update_arg, bool enabled_arg, uint16_t cltv_expiry_delta_arg, uint64_t htlc_minimum_msat_arg, struct LDKCOption_u64Z htlc_maximum_msat_arg, struct LDKRoutingFees fees_arg, struct LDKChannelUpdate last_update_message_arg); /** - * Creates a copy of the DirectionalChannelInfo + * Creates a copy of the ChannelUpdateInfo */ -struct LDKDirectionalChannelInfo DirectionalChannelInfo_clone(const struct LDKDirectionalChannelInfo *NONNULL_PTR orig); +struct LDKChannelUpdateInfo ChannelUpdateInfo_clone(const struct LDKChannelUpdateInfo *NONNULL_PTR orig); /** - * Serialize the DirectionalChannelInfo object into a byte array which can be read by DirectionalChannelInfo_read + * Serialize the ChannelUpdateInfo object into a byte array which can be read by ChannelUpdateInfo_read */ -struct LDKCVec_u8Z DirectionalChannelInfo_write(const struct LDKDirectionalChannelInfo *NONNULL_PTR obj); +struct LDKCVec_u8Z ChannelUpdateInfo_write(const struct LDKChannelUpdateInfo *NONNULL_PTR obj); /** - * Read a DirectionalChannelInfo from a byte array, created by DirectionalChannelInfo_write + * Read a ChannelUpdateInfo from a byte array, created by ChannelUpdateInfo_write */ -struct LDKCResult_DirectionalChannelInfoDecodeErrorZ DirectionalChannelInfo_read(struct LDKu8slice ser); +struct LDKCResult_ChannelUpdateInfoDecodeErrorZ ChannelUpdateInfo_read(struct LDKu8slice ser); /** * Frees any resources used by the ChannelInfo, if is_owned is set and inner is non-NULL. @@ -22743,14 +24067,14 @@ void ChannelInfo_set_node_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struc * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKDirectionalChannelInfo ChannelInfo_get_one_to_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdateInfo ChannelInfo_get_one_to_two(const struct LDKChannelInfo *NONNULL_PTR this_ptr); /** * Details about the first direction of a channel * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void ChannelInfo_set_one_to_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKDirectionalChannelInfo val); +void ChannelInfo_set_one_to_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val); /** * Source node of the second direction of a channel @@ -22767,14 +24091,14 @@ void ChannelInfo_set_node_two(struct LDKChannelInfo *NONNULL_PTR this_ptr, struc * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKDirectionalChannelInfo ChannelInfo_get_two_to_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr); +struct LDKChannelUpdateInfo ChannelInfo_get_two_to_one(const struct LDKChannelInfo *NONNULL_PTR this_ptr); /** * Details about the second direction of a channel * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void ChannelInfo_set_two_to_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKDirectionalChannelInfo val); +void ChannelInfo_set_two_to_one(struct LDKChannelInfo *NONNULL_PTR this_ptr, struct LDKChannelUpdateInfo val); /** * The channel capacity as seen on-chain, if chain lookup is available. @@ -22821,6 +24145,77 @@ struct LDKCVec_u8Z ChannelInfo_write(const struct LDKChannelInfo *NONNULL_PTR ob */ struct LDKCResult_ChannelInfoDecodeErrorZ ChannelInfo_read(struct LDKu8slice ser); +/** + * Frees any resources used by the DirectedChannelInfo, if is_owned is set and inner is non-NULL. + */ +void DirectedChannelInfo_free(struct LDKDirectedChannelInfo this_obj); + +/** + * Creates a copy of the DirectedChannelInfo + */ +struct LDKDirectedChannelInfo DirectedChannelInfo_clone(const struct LDKDirectedChannelInfo *NONNULL_PTR orig); + +/** + * Returns information for the channel. + */ +MUST_USE_RES struct LDKChannelInfo DirectedChannelInfo_channel(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Returns information for the direction. + * + * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None + */ +MUST_USE_RES struct LDKChannelUpdateInfo DirectedChannelInfo_direction(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Returns the [`EffectiveCapacity`] of the channel in the direction. + * + * This is either the total capacity from the funding transaction, if known, or the + * `htlc_maximum_msat` for the direction as advertised by the gossip network, if known, + * whichever is smaller. + */ +MUST_USE_RES struct LDKEffectiveCapacity DirectedChannelInfo_effective_capacity(const struct LDKDirectedChannelInfo *NONNULL_PTR this_arg); + +/** + * Frees any resources used by the EffectiveCapacity + */ +void EffectiveCapacity_free(struct LDKEffectiveCapacity this_ptr); + +/** + * Creates a copy of the EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_clone(const struct LDKEffectiveCapacity *NONNULL_PTR orig); + +/** + * Utility method to constructs a new ExactLiquidity-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_exact_liquidity(uint64_t liquidity_msat); + +/** + * Utility method to constructs a new MaximumHTLC-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_maximum_htlc(uint64_t amount_msat); + +/** + * Utility method to constructs a new Total-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_total(uint64_t capacity_msat); + +/** + * Utility method to constructs a new Infinite-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_infinite(void); + +/** + * Utility method to constructs a new Unknown-variant EffectiveCapacity + */ +struct LDKEffectiveCapacity EffectiveCapacity_unknown(void); + +/** + * Returns the effective capacity denominated in millisatoshi. + */ +MUST_USE_RES uint64_t EffectiveCapacity_as_msat(const struct LDKEffectiveCapacity *NONNULL_PTR this_arg); + /** * Frees any resources used by the RoutingFees, if is_owned is set and inner is non-NULL. */ @@ -23115,6 +24510,23 @@ void NetworkGraph_close_channel_from_update(const struct LDKNetworkGraph *NONNUL */ void NetworkGraph_fail_node(const struct LDKNetworkGraph *NONNULL_PTR this_arg, struct LDKPublicKey _node_id, bool is_permanent); +/** + * Removes information about channels that we haven't heard any updates about in some time. + * This can be used regularly to prune the network graph of channels that likely no longer + * exist. + * + * While there is no formal requirement that nodes regularly re-broadcast their channel + * updates every two weeks, the non-normative section of BOLT 7 currently suggests that + * pruning occur for updates which are at least two weeks old, which we implement here. + * + * Note that for users of the `lightning-background-processor` crate this method may be + * automatically called regularly for you. + * + * This method is only available with the `std` feature. See + * [`NetworkGraph::remove_stale_channels_with_time`] for `no-std` use. + */ +void NetworkGraph_remove_stale_channels(const struct LDKNetworkGraph *NONNULL_PTR this_arg); + /** * Removes information about channels that we haven't heard any updates about in some time. * This can be used regularly to prune the network graph of channels that likely no longer @@ -23292,7 +24704,7 @@ struct LDKCVec_CVec_RouteHopZZ Route_get_paths(const struct LDKRoute *NONNULL_PT void Route_set_paths(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKCVec_CVec_RouteHopZZ val); /** - * The `payee` parameter passed to [`find_route`]. + * The `payment_params` parameter passed to [`find_route`]. * This is used by `ChannelManager` to track information which may be required for retries, * provided back to you via [`Event::PaymentPathFailed`]. * @@ -23300,10 +24712,10 @@ void Route_set_paths(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKCVec_CVec_ * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKPayee Route_get_payee(const struct LDKRoute *NONNULL_PTR this_ptr); +struct LDKPaymentParameters Route_get_payment_params(const struct LDKRoute *NONNULL_PTR this_ptr); /** - * The `payee` parameter passed to [`find_route`]. + * The `payment_params` parameter passed to [`find_route`]. * This is used by `ChannelManager` to track information which may be required for retries, * provided back to you via [`Event::PaymentPathFailed`]. * @@ -23311,12 +24723,12 @@ struct LDKPayee Route_get_payee(const struct LDKRoute *NONNULL_PTR this_ptr); * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void Route_set_payee(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKPayee val); +void Route_set_payment_params(struct LDKRoute *NONNULL_PTR this_ptr, struct LDKPaymentParameters val); /** * Constructs a new Route given each field */ -MUST_USE_RES struct LDKRoute Route_new(struct LDKCVec_CVec_RouteHopZZ paths_arg, struct LDKPayee payee_arg); +MUST_USE_RES struct LDKRoute Route_new(struct LDKCVec_CVec_RouteHopZZ paths_arg, struct LDKPaymentParameters payment_params_arg); /** * Creates a copy of the Route @@ -23364,14 +24776,14 @@ struct LDKCResult_RouteDecodeErrorZ Route_read(struct LDKu8slice ser); void RouteParameters_free(struct LDKRouteParameters this_obj); /** - * The recipient of the failed payment path. + * The parameters of the failed payment path. */ -struct LDKPayee RouteParameters_get_payee(const struct LDKRouteParameters *NONNULL_PTR this_ptr); +struct LDKPaymentParameters RouteParameters_get_payment_params(const struct LDKRouteParameters *NONNULL_PTR this_ptr); /** - * The recipient of the failed payment path. + * The parameters of the failed payment path. */ -void RouteParameters_set_payee(struct LDKRouteParameters *NONNULL_PTR this_ptr, struct LDKPayee val); +void RouteParameters_set_payment_params(struct LDKRouteParameters *NONNULL_PTR this_ptr, struct LDKPaymentParameters val); /** * The amount in msats sent on the failed payment path. @@ -23396,7 +24808,7 @@ void RouteParameters_set_final_cltv_expiry_delta(struct LDKRouteParameters *NONN /** * Constructs a new RouteParameters given each field */ -MUST_USE_RES struct LDKRouteParameters RouteParameters_new(struct LDKPayee payee_arg, uint64_t final_value_msat_arg, uint32_t final_cltv_expiry_delta_arg); +MUST_USE_RES struct LDKRouteParameters RouteParameters_new(struct LDKPaymentParameters payment_params_arg, uint64_t final_value_msat_arg, uint32_t final_cltv_expiry_delta_arg); /** * Creates a copy of the RouteParameters @@ -23414,19 +24826,19 @@ struct LDKCVec_u8Z RouteParameters_write(const struct LDKRouteParameters *NONNUL struct LDKCResult_RouteParametersDecodeErrorZ RouteParameters_read(struct LDKu8slice ser); /** - * Frees any resources used by the Payee, if is_owned is set and inner is non-NULL. + * Frees any resources used by the PaymentParameters, if is_owned is set and inner is non-NULL. */ -void Payee_free(struct LDKPayee this_obj); +void PaymentParameters_free(struct LDKPaymentParameters this_obj); /** * The node id of the payee. */ -struct LDKPublicKey Payee_get_pubkey(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKPublicKey PaymentParameters_get_payee_pubkey(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * The node id of the payee. */ -void Payee_set_pubkey(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKPublicKey val); +void PaymentParameters_set_payee_pubkey(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKPublicKey val); /** * Features supported by the payee. @@ -23438,7 +24850,7 @@ void Payee_set_pubkey(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKPublicKey * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKInvoiceFeatures Payee_get_features(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKInvoiceFeatures PaymentParameters_get_features(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Features supported by the payee. @@ -23450,69 +24862,79 @@ struct LDKInvoiceFeatures Payee_get_features(const struct LDKPayee *NONNULL_PTR * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ -void Payee_set_features(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKInvoiceFeatures val); +void PaymentParameters_set_features(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKInvoiceFeatures val); /** * Hints for routing to the payee, containing channels connecting the payee to public nodes. */ -struct LDKCVec_RouteHintZ Payee_get_route_hints(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKCVec_RouteHintZ PaymentParameters_get_route_hints(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Hints for routing to the payee, containing channels connecting the payee to public nodes. */ -void Payee_set_route_hints(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintZ val); +void PaymentParameters_set_route_hints(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCVec_RouteHintZ val); /** * Expiration of a payment to the payee, in seconds relative to the UNIX epoch. */ -struct LDKCOption_u64Z Payee_get_expiry_time(const struct LDKPayee *NONNULL_PTR this_ptr); +struct LDKCOption_u64Z PaymentParameters_get_expiry_time(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** * Expiration of a payment to the payee, in seconds relative to the UNIX epoch. */ -void Payee_set_expiry_time(struct LDKPayee *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); +void PaymentParameters_set_expiry_time(struct LDKPaymentParameters *NONNULL_PTR this_ptr, struct LDKCOption_u64Z val); + +/** + * The maximum total CLTV delta we accept for the route. + */ +uint32_t PaymentParameters_get_max_total_cltv_expiry_delta(const struct LDKPaymentParameters *NONNULL_PTR this_ptr); /** - * Constructs a new Payee given each field + * The maximum total CLTV delta we accept for the route. */ -MUST_USE_RES struct LDKPayee Payee_new(struct LDKPublicKey pubkey_arg, struct LDKInvoiceFeatures features_arg, struct LDKCVec_RouteHintZ route_hints_arg, struct LDKCOption_u64Z expiry_time_arg); +void PaymentParameters_set_max_total_cltv_expiry_delta(struct LDKPaymentParameters *NONNULL_PTR this_ptr, uint32_t val); /** - * Creates a copy of the Payee + * Constructs a new PaymentParameters given each field */ -struct LDKPayee Payee_clone(const struct LDKPayee *NONNULL_PTR orig); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_new(struct LDKPublicKey payee_pubkey_arg, struct LDKInvoiceFeatures features_arg, struct LDKCVec_RouteHintZ route_hints_arg, struct LDKCOption_u64Z expiry_time_arg, uint32_t max_total_cltv_expiry_delta_arg); /** - * Checks if two Payees contain equal inner contents. + * Creates a copy of the PaymentParameters */ -uint64_t Payee_hash(const struct LDKPayee *NONNULL_PTR o); +struct LDKPaymentParameters PaymentParameters_clone(const struct LDKPaymentParameters *NONNULL_PTR orig); /** - * Checks if two Payees contain equal inner contents. + * Checks if two PaymentParameterss contain equal inner contents. + */ +uint64_t PaymentParameters_hash(const struct LDKPaymentParameters *NONNULL_PTR o); + +/** + * Checks if two PaymentParameterss contain equal inner contents. * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ -bool Payee_eq(const struct LDKPayee *NONNULL_PTR a, const struct LDKPayee *NONNULL_PTR b); +bool PaymentParameters_eq(const struct LDKPaymentParameters *NONNULL_PTR a, const struct LDKPaymentParameters *NONNULL_PTR b); /** - * Serialize the Payee object into a byte array which can be read by Payee_read + * Serialize the PaymentParameters object into a byte array which can be read by PaymentParameters_read */ -struct LDKCVec_u8Z Payee_write(const struct LDKPayee *NONNULL_PTR obj); +struct LDKCVec_u8Z PaymentParameters_write(const struct LDKPaymentParameters *NONNULL_PTR obj); /** - * Read a Payee from a byte array, created by Payee_write + * Read a PaymentParameters from a byte array, created by PaymentParameters_write */ -struct LDKCResult_PayeeDecodeErrorZ Payee_read(struct LDKu8slice ser); +struct LDKCResult_PaymentParametersDecodeErrorZ PaymentParameters_read(struct LDKu8slice ser); /** * Creates a payee with the node id of the given `pubkey`. */ -MUST_USE_RES struct LDKPayee Payee_from_node_id(struct LDKPublicKey pubkey); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_from_node_id(struct LDKPublicKey payee_pubkey); /** * Creates a payee with the node id of the given `pubkey` to use for keysend payments. */ -MUST_USE_RES struct LDKPayee Payee_for_keysend(struct LDKPublicKey pubkey); +MUST_USE_RES struct LDKPaymentParameters PaymentParameters_for_keysend(struct LDKPublicKey payee_pubkey); /** * Frees any resources used by the RouteHint, if is_owned is set and inner is non-NULL. @@ -23684,7 +25106,7 @@ struct LDKCResult_RouteHintHopDecodeErrorZ RouteHintHop_read(struct LDKu8slice s * * Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None */ -struct LDKCResult_RouteLightningErrorZ find_route(struct LDKPublicKey our_node_pubkey, const struct LDKRouteParameters *NONNULL_PTR params, const struct LDKNetworkGraph *NONNULL_PTR network, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKLogger logger, const struct LDKScore *NONNULL_PTR scorer); +struct LDKCResult_RouteLightningErrorZ find_route(struct LDKPublicKey our_node_pubkey, const struct LDKRouteParameters *NONNULL_PTR route_params, const struct LDKNetworkGraph *NONNULL_PTR network, struct LDKCVec_ChannelDetailsZ *first_hops, struct LDKLogger logger, const struct LDKScore *NONNULL_PTR scorer); /** * Calls the free function if one is set @@ -23706,6 +25128,37 @@ void MultiThreadedLockableScore_free(struct LDKMultiThreadedLockableScore this_o */ MUST_USE_RES struct LDKMultiThreadedLockableScore MultiThreadedLockableScore_new(struct LDKScore score); +/** + * Frees any resources used by the FixedPenaltyScorer, if is_owned is set and inner is non-NULL. + */ +void FixedPenaltyScorer_free(struct LDKFixedPenaltyScorer this_obj); + +/** + * Creates a copy of the FixedPenaltyScorer + */ +struct LDKFixedPenaltyScorer FixedPenaltyScorer_clone(const struct LDKFixedPenaltyScorer *NONNULL_PTR orig); + +/** + * Serialize the FixedPenaltyScorer object into a byte array which can be read by FixedPenaltyScorer_read + */ +struct LDKCVec_u8Z FixedPenaltyScorer_write(const struct LDKFixedPenaltyScorer *NONNULL_PTR obj); + +/** + * Read a FixedPenaltyScorer from a byte array, created by FixedPenaltyScorer_write + */ +struct LDKCResult_FixedPenaltyScorerDecodeErrorZ FixedPenaltyScorer_read(struct LDKu8slice ser); + +/** + * Creates a new scorer using `penalty_msat`. + */ +MUST_USE_RES struct LDKFixedPenaltyScorer FixedPenaltyScorer_with_penalty(uint64_t penalty_msat); + +/** + * Constructs a new Score which calls the relevant methods on this_arg. + * This copies the `inner` pointer in this_arg and thus the returned Score must be freed before this_arg is + */ +struct LDKScore FixedPenaltyScorer_as_Score(const struct LDKFixedPenaltyScorer *NONNULL_PTR this_arg); + /** * Frees any resources used by the Scorer, if is_owned is set and inner is non-NULL. */ @@ -23802,6 +25255,8 @@ void ScoringParameters_set_overuse_penalty_msat_per_1024th(struct LDKScoringPara * * Successfully routing through a channel will immediately cut the penalty in half as well. * + * Default value: 1 hour + * * # Note * * When built with the `no-std` feature, time will never elapse. Therefore, this penalty will @@ -23817,6 +25272,8 @@ uint64_t ScoringParameters_get_failure_penalty_half_life(const struct LDKScoring * * Successfully routing through a channel will immediately cut the penalty in half as well. * + * Default value: 1 hour + * * # Note * * When built with the `no-std` feature, time will never elapse. Therefore, this penalty will @@ -23831,6 +25288,11 @@ void ScoringParameters_set_failure_penalty_half_life(struct LDKScoringParameters */ MUST_USE_RES struct LDKScoringParameters ScoringParameters_new(uint64_t base_penalty_msat_arg, uint64_t failure_penalty_msat_arg, uint16_t overuse_penalty_start_1024th_arg, uint64_t overuse_penalty_msat_per_1024th_arg, uint64_t failure_penalty_half_life_arg); +/** + * Creates a copy of the ScoringParameters + */ +struct LDKScoringParameters ScoringParameters_clone(const struct LDKScoringParameters *NONNULL_PTR orig); + /** * Serialize the ScoringParameters object into a byte array which can be read by ScoringParameters_read */ @@ -23872,6 +25334,104 @@ struct LDKCVec_u8Z Scorer_write(const struct LDKScorer *NONNULL_PTR obj); */ struct LDKCResult_ScorerDecodeErrorZ Scorer_read(struct LDKu8slice ser); +/** + * Frees any resources used by the ProbabilisticScoringParameters, if is_owned is set and inner is non-NULL. + */ +void ProbabilisticScoringParameters_free(struct LDKProbabilisticScoringParameters this_obj); + +/** + * A multiplier used to determine the amount in msats willing to be paid to avoid routing + * through a channel, as per multiplying by the negative `log10` of the channel's success + * probability for a payment. + * + * The success probability is determined by the effective channel capacity, the payment amount, + * and knowledge learned from prior successful and unsuccessful payments. The lower bound of + * the success probability is 0.01, effectively limiting the penalty to the range + * `0..=2*liquidity_penalty_multiplier_msat`. The knowledge learned is decayed over time based + * on [`liquidity_offset_half_life`]. + * + * Default value: 10,000 msat + * + * [`liquidity_offset_half_life`]: Self::liquidity_offset_half_life + */ +uint64_t ProbabilisticScoringParameters_get_liquidity_penalty_multiplier_msat(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr); + +/** + * A multiplier used to determine the amount in msats willing to be paid to avoid routing + * through a channel, as per multiplying by the negative `log10` of the channel's success + * probability for a payment. + * + * The success probability is determined by the effective channel capacity, the payment amount, + * and knowledge learned from prior successful and unsuccessful payments. The lower bound of + * the success probability is 0.01, effectively limiting the penalty to the range + * `0..=2*liquidity_penalty_multiplier_msat`. The knowledge learned is decayed over time based + * on [`liquidity_offset_half_life`]. + * + * Default value: 10,000 msat + * + * [`liquidity_offset_half_life`]: Self::liquidity_offset_half_life + */ +void ProbabilisticScoringParameters_set_liquidity_penalty_multiplier_msat(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val); + +/** + * The time required to elapse before any knowledge learned about channel liquidity balances is + * cut in half. + * + * The bounds are defined in terms of offsets and are initially zero. Increasing the offsets + * gives tighter bounds on the channel liquidity balance. Thus, halving the offsets decreases + * the certainty of the channel liquidity balance. + * + * Default value: 1 hour + * + * # Note + * + * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * liquidity knowledge will never decay except when the bounds cross. + */ +uint64_t ProbabilisticScoringParameters_get_liquidity_offset_half_life(const struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr); + +/** + * The time required to elapse before any knowledge learned about channel liquidity balances is + * cut in half. + * + * The bounds are defined in terms of offsets and are initially zero. Increasing the offsets + * gives tighter bounds on the channel liquidity balance. Thus, halving the offsets decreases + * the certainty of the channel liquidity balance. + * + * Default value: 1 hour + * + * # Note + * + * When built with the `no-std` feature, time will never elapse. Therefore, the channel + * liquidity knowledge will never decay except when the bounds cross. + */ +void ProbabilisticScoringParameters_set_liquidity_offset_half_life(struct LDKProbabilisticScoringParameters *NONNULL_PTR this_ptr, uint64_t val); + +/** + * Constructs a new ProbabilisticScoringParameters given each field + */ +MUST_USE_RES struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_new(uint64_t liquidity_penalty_multiplier_msat_arg, uint64_t liquidity_offset_half_life_arg); + +/** + * Creates a copy of the ProbabilisticScoringParameters + */ +struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_clone(const struct LDKProbabilisticScoringParameters *NONNULL_PTR orig); + +/** + * Serialize the ProbabilisticScoringParameters object into a byte array which can be read by ProbabilisticScoringParameters_read + */ +struct LDKCVec_u8Z ProbabilisticScoringParameters_write(const struct LDKProbabilisticScoringParameters *NONNULL_PTR obj); + +/** + * Read a ProbabilisticScoringParameters from a byte array, created by ProbabilisticScoringParameters_write + */ +struct LDKCResult_ProbabilisticScoringParametersDecodeErrorZ ProbabilisticScoringParameters_read(struct LDKu8slice ser); + +/** + * Creates a "default" ProbabilisticScoringParameters. See struct and individual field documentaiton for details on which values are used. + */ +MUST_USE_RES struct LDKProbabilisticScoringParameters ProbabilisticScoringParameters_default(void); + /** * Frees any resources used by the FilesystemPersister, if is_owned is set and inner is non-NULL. */ @@ -23979,23 +25539,6 @@ MUST_USE_RES struct LDKCResult_NoneErrorZ BackgroundProcessor_join(struct LDKBac */ MUST_USE_RES struct LDKCResult_NoneErrorZ BackgroundProcessor_stop(struct LDKBackgroundProcessor this_arg); -/** - * **Call this function on startup to ensure that all assumptions about the platform are valid.** - * - * Unfortunately we have to make assumptions about the upper bounds of the `SystemTime` type on - * your platform which we can't fully verify at compile time and which isn't part of it's contract. - * To our best knowledge our assumptions hold for all platforms officially supported by rust, but - * since this check is fast we recommend to do it anyway. - * - * If this function fails this is considered a bug. Please open an issue describing your - * platform and stating your current system time. - * - * # Panics - * If the check fails this function panics. By calling this function on startup you ensure that - * this wont happen at an arbitrary later point in time. - */ -void check_platform(void); - /** * Frees any resources used by the Invoice, if is_owned is set and inner is non-NULL. */ @@ -24476,26 +26019,40 @@ MUST_USE_RES struct LDKCOption_u64Z RawInvoice_amount_pico_btc(const struct LDKR MUST_USE_RES enum LDKCurrency RawInvoice_currency(const struct LDKRawInvoice *NONNULL_PTR this_arg); /** - * Create a new `PositiveTimestamp` from a unix timestamp in the Range - * `0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a - * `CreationError::TimestampOutOfBounds`. + * Creates a `PositiveTimestamp` from a Unix timestamp in the range `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. */ MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_unix_timestamp(uint64_t unix_seconds); /** - * Create a new `PositiveTimestamp` from a `SystemTime` with a corresponding unix timestamp in - * the Range `0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a - * `CreationError::TimestampOutOfBounds`. + * Creates a `PositiveTimestamp` from a [`SystemTime`] with a corresponding Unix timestamp in + * the range `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. */ MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_system_time(uint64_t time); /** - * Returns the UNIX timestamp representing the stored time + * Creates a `PositiveTimestamp` from a [`Duration`] since the Unix epoch in the range + * `0..=MAX_TIMESTAMP`. + * + * Otherwise, returns a [`CreationError::TimestampOutOfBounds`]. + */ +MUST_USE_RES struct LDKCResult_PositiveTimestampCreationErrorZ PositiveTimestamp_from_duration_since_epoch(uint64_t duration); + +/** + * Returns the Unix timestamp representing the stored time */ MUST_USE_RES uint64_t PositiveTimestamp_as_unix_timestamp(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); /** - * Returns a reference to the internal `SystemTime` time representation + * Returns the duration of the stored time since the Unix epoch + */ +MUST_USE_RES uint64_t PositiveTimestamp_as_duration_since_epoch(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); + +/** + * Returns the [`SystemTime`] representing the stored time */ MUST_USE_RES uint64_t PositiveTimestamp_as_time(const struct LDKPositiveTimestamp *NONNULL_PTR this_arg); @@ -24534,10 +26091,15 @@ MUST_USE_RES struct LDKCResult_NoneSemanticErrorZ Invoice_check_signature(const MUST_USE_RES struct LDKCResult_InvoiceSemanticErrorZ Invoice_from_signed(struct LDKSignedRawInvoice signed_invoice); /** - * Returns the `Invoice`'s timestamp (should equal it's creation time) + * Returns the `Invoice`'s timestamp (should equal its creation time) */ MUST_USE_RES uint64_t Invoice_timestamp(const struct LDKInvoice *NONNULL_PTR this_arg); +/** + * Returns the `Invoice`'s timestamp as a duration since the Unix epoch + */ +MUST_USE_RES uint64_t Invoice_duration_since_epoch(const struct LDKInvoice *NONNULL_PTR this_arg); + /** * Returns the hash to which we will receive the preimage on completion of the payment */ @@ -24577,6 +26139,12 @@ MUST_USE_RES uint64_t Invoice_expiry_time(const struct LDKInvoice *NONNULL_PTR t */ MUST_USE_RES bool Invoice_is_expired(const struct LDKInvoice *NONNULL_PTR this_arg); +/** + * Returns whether the expiry time would pass at the given point in time. + * `at_time` is the timestamp as a duration since the Unix epoch. + */ +MUST_USE_RES bool Invoice_would_expire(const struct LDKInvoice *NONNULL_PTR this_arg, uint64_t at_time); + /** * Returns the invoice's `min_final_cltv_expiry` time, if present, otherwise * [`DEFAULT_MIN_FINAL_CLTV_EXPIRY`]. @@ -24617,18 +26185,14 @@ MUST_USE_RES struct LDKCResult_DescriptionCreationErrorZ Description_new(struct MUST_USE_RES struct LDKStr Description_into_inner(struct LDKDescription this_arg); /** - * Construct an `ExpiryTime` from seconds. If there exists a `PositiveTimestamp` which would - * overflow on adding the `EpiryTime` to it then this function will return a - * `CreationError::ExpiryTimeOutOfBounds`. + * Construct an `ExpiryTime` from seconds. */ -MUST_USE_RES struct LDKCResult_ExpiryTimeCreationErrorZ ExpiryTime_from_seconds(uint64_t seconds); +MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_seconds(uint64_t seconds); /** - * Construct an `ExpiryTime` from a `Duration`. If there exists a `PositiveTimestamp` which - * would overflow on adding the `EpiryTime` to it then this function will return a - * `CreationError::ExpiryTimeOutOfBounds`. + * Construct an `ExpiryTime` from a `Duration`. */ -MUST_USE_RES struct LDKCResult_ExpiryTimeCreationErrorZ ExpiryTime_from_duration(uint64_t duration); +MUST_USE_RES struct LDKExpiryTime ExpiryTime_from_duration(uint64_t duration); /** * Returns the expiry time in seconds @@ -24671,14 +26235,14 @@ enum LDKCreationError CreationError_route_too_long(void); enum LDKCreationError CreationError_timestamp_out_of_bounds(void); /** - * Utility method to constructs a new ExpiryTimeOutOfBounds-variant CreationError + * Utility method to constructs a new InvalidAmount-variant CreationError */ -enum LDKCreationError CreationError_expiry_time_out_of_bounds(void); +enum LDKCreationError CreationError_invalid_amount(void); /** - * Utility method to constructs a new InvalidAmount-variant CreationError + * Utility method to constructs a new MissingRouteHints-variant CreationError */ -enum LDKCreationError CreationError_invalid_amount(void); +enum LDKCreationError CreationError_missing_route_hints(void); /** * Checks if two CreationErrors contain equal inner contents. @@ -24909,6 +26473,34 @@ void InvoicePayer_remove_cached_payment(const struct LDKInvoicePayer *NONNULL_PT */ struct LDKEventHandler InvoicePayer_as_EventHandler(const struct LDKInvoicePayer *NONNULL_PTR this_arg); +/** + * Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\" + * See [`PhantomKeysManager`] for more information on phantom node payments. + * + * `phantom_route_hints` parameter: + * * Contains channel info for all nodes participating in the phantom invoice + * * Entries are retrieved from a call to [`ChannelManager::get_phantom_route_hints`] on each + * participating node + * * It is fine to cache `phantom_route_hints` and reuse it across invoices, as long as the data is + * updated when a channel becomes disabled or closes + * * Note that if too many channels are included in [`PhantomRouteHints::channels`], the invoice + * may be too long for QR code scanning. To fix this, `PhantomRouteHints::channels` may be pared + * down + * + * `payment_hash` and `payment_secret` come from [`ChannelManager::create_inbound_payment`] or + * [`ChannelManager::create_inbound_payment_for_hash`]. These values can be retrieved from any + * participating node. + * + * Note that the provided `keys_manager`'s `KeysInterface` implementation must support phantom + * invoices in its `sign_invoice` implementation ([`PhantomKeysManager`] satisfies this + * requirement). + * + * [`PhantomKeysManager`]: lightning::chain::keysinterface::PhantomKeysManager + * [`ChannelManager::get_phantom_route_hints`]: lightning::ln::channelmanager::ChannelManager::get_phantom_route_hints + * [`PhantomRouteHints::channels`]: lightning::ln::channelmanager::PhantomRouteHints::channels + */ +struct LDKCResult_InvoiceSignOrCreationErrorZ create_phantom_invoice(struct LDKCOption_u64Z amt_msat, struct LDKStr description, struct LDKThirtyTwoBytes payment_hash, struct LDKThirtyTwoBytes payment_secret, struct LDKCVec_PhantomRouteHintsZ phantom_route_hints, struct LDKKeysInterface keys_manager, enum LDKCurrency network); + /** * Utility to construct an invoice. Generally, unless you want to do something like a custom * cltv_expiry, this is what you should be using to create an invoice. The reason being, this @@ -24918,6 +26510,13 @@ struct LDKEventHandler InvoicePayer_as_EventHandler(const struct LDKInvoicePayer */ struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description); +/** + * See [`create_invoice_from_channelmanager`] + * This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not + * available and the current time is supplied by the caller. + */ +struct LDKCResult_InvoiceSignOrCreationErrorZ create_invoice_from_channelmanager_and_duration_since_epoch(const struct LDKChannelManager *NONNULL_PTR channelmanager, struct LDKKeysInterface keys_manager, enum LDKCurrency network, struct LDKCOption_u64Z amt_msat, struct LDKStr description, uint64_t duration_since_epoch); + /** * Frees any resources used by the DefaultRouter, if is_owned is set and inner is non-NULL. */