Skip to content

Commit d3bcd0b

Browse files
committed
Update generated output to include anchor creation.
1 parent 9ab7432 commit d3bcd0b

9 files changed

+24
-12
lines changed

out/VersionDescriptor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
extension Bindings {
77
public class func getLDKSwiftBindingsSerializationHash() -> String {
8-
return "4e4c947683e196a1ff260544d8a59362f76c3a730149103afdfc9c50ce5092e8"
8+
return "92be83a8fe0801850768cc4441b6ea8e28e28fa4cccc191cdfe4e790d4f0e76d"
99
}
1010
public class func getLDKSwiftBindingsVersion() -> String {
11-
return "0.0.113-19-gc5c2aaf-dirty"
11+
return "0.0.113-27-g36ac4a5-dirty"
1212
}
1313
public class func getLDKSwiftBindingsCommitHash() -> String {
14-
return "c5c2aaf89db095568c6ea3405afd8e58b9624107"
14+
return "36ac4a593252101b0af3c99092fae82c9c173b91"
1515
}
1616
}
1717

out/enums/complex/GossipSync.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
let returnValue = GossipSync(cType: nativeCallResult)
110110

111111

112-
return returnValue
112+
try! returnValue.addAnchor(anchor: a)
113+
return returnValue
113114
}
114115

115116
/// Utility method to constructs a new Rapid-variant GossipSync
@@ -132,7 +133,8 @@
132133
let returnValue = GossipSync(cType: nativeCallResult)
133134

134135

135-
return returnValue
136+
try! returnValue.addAnchor(anchor: a)
137+
return returnValue
136138
}
137139

138140
/// Utility method to constructs a new None-variant GossipSync

out/structs/BackgroundProcessor.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@
182182
let returnValue = BackgroundProcessor(cType: nativeCallResult)
183183

184184

185-
return returnValue
185+
try! returnValue.addAnchor(anchor: chainMonitor)
186+
try! returnValue.addAnchor(anchor: channelManager)
187+
try! returnValue.addAnchor(anchor: peerManager)
188+
return returnValue
186189
}
187190

188191
/// Join `BackgroundProcessor`'s thread, returning any error that occurred while persisting

out/structs/DefaultRouter.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
Self.instanceCounter += 1
9494
self.instanceNumber = Self.instanceCounter
9595
super.init(conflictAvoidingVariableName: 0)
96-
96+
try! self.addAnchor(anchor: networkGraph)
97+
9798

9899
}
99100

out/structs/P2PGossipSync.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
Self.instanceCounter += 1
102102
self.instanceNumber = Self.instanceCounter
103103
super.init(conflictAvoidingVariableName: 0)
104-
104+
try! self.addAnchor(anchor: networkGraph)
105+
105106

106107
}
107108

out/structs/ProbabilisticScorer.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@
159159
Self.instanceCounter += 1
160160
self.instanceNumber = Self.instanceCounter
161161
super.init(conflictAvoidingVariableName: 0)
162-
162+
try! self.addAnchor(anchor: networkGraph)
163+
163164

164165
}
165166

out/structs/RapidGossipSync.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
Self.instanceCounter += 1
9797
self.instanceNumber = Self.instanceCounter
9898
super.init(conflictAvoidingVariableName: 0)
99-
99+
try! self.addAnchor(anchor: networkGraph)
100+
100101

101102
}
102103

out/structs/ScorerAccountingForInFlightHtlcs.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
Self.instanceCounter += 1
9999
self.instanceNumber = Self.instanceCounter
100100
super.init(conflictAvoidingVariableName: 0)
101-
101+
try! self.addAnchor(anchor: inflightHtlcs)
102+
102103

103104
}
104105

out/structs/TxCreationKeys.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@
557557
let returnValue = TxCreationKeys(cType: nativeCallResult)
558558

559559

560-
return returnValue
560+
try! returnValue.addAnchor(anchor: broadcasterKeys)
561+
try! returnValue.addAnchor(anchor: countersignatoryKeys)
562+
return returnValue
561563
}
562564

563565

0 commit comments

Comments
 (0)