@@ -25,6 +25,21 @@ ChannelDetails_get_channel_id(this_ptrPointer)
25
25
return ChannelDetails_set_channel_id ( this_ptrPointer, Bindings . new_LDKThirtyTwoBytes ( array: val) ) ;
26
26
}
27
27
28
+ public func get_funding_txo( ) -> OutPoint {
29
+
30
+ return OutPoint ( pointer: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
31
+ ChannelDetails_get_funding_txo ( this_ptrPointer)
32
+ } ) ;
33
+ }
34
+
35
+ public func set_funding_txo( val: OutPoint ) -> Void {
36
+
37
+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
38
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
39
+
40
+ return ChannelDetails_set_funding_txo ( this_ptrPointer, val. cOpaqueStruct!) ;
41
+ }
42
+
28
43
public func get_short_channel_id( ) -> Option_u64Z {
29
44
30
45
return Option_u64Z ( pointer: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
@@ -130,19 +145,64 @@ ChannelDetails_get_inbound_capacity_msat(this_ptrPointer)
130
145
return ChannelDetails_set_inbound_capacity_msat ( this_ptrPointer, val) ;
131
146
}
132
147
133
- public func get_is_live( ) -> Bool {
148
+ public func get_is_outbound( ) -> Bool {
149
+
150
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
151
+ ChannelDetails_get_is_outbound ( this_ptrPointer)
152
+ } ;
153
+ }
154
+
155
+ public func set_is_outbound( val: Bool ) -> Void {
156
+
157
+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
158
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
159
+
160
+ return ChannelDetails_set_is_outbound ( this_ptrPointer, val) ;
161
+ }
162
+
163
+ public func get_is_funding_locked( ) -> Bool {
164
+
165
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
166
+ ChannelDetails_get_is_funding_locked ( this_ptrPointer)
167
+ } ;
168
+ }
169
+
170
+ public func set_is_funding_locked( val: Bool ) -> Void {
171
+
172
+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
173
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
174
+
175
+ return ChannelDetails_set_is_funding_locked ( this_ptrPointer, val) ;
176
+ }
177
+
178
+ public func get_is_usable( ) -> Bool {
179
+
180
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
181
+ ChannelDetails_get_is_usable ( this_ptrPointer)
182
+ } ;
183
+ }
184
+
185
+ public func set_is_usable( val: Bool ) -> Void {
186
+
187
+ let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
188
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
189
+
190
+ return ChannelDetails_set_is_usable ( this_ptrPointer, val) ;
191
+ }
192
+
193
+ public func get_is_public( ) -> Bool {
134
194
135
195
return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_ptrPointer: UnsafePointer < LDKChannelDetails > ) in
136
- ChannelDetails_get_is_live ( this_ptrPointer)
196
+ ChannelDetails_get_is_public ( this_ptrPointer)
137
197
} ;
138
198
}
139
199
140
- public func set_is_live ( val: Bool ) -> Void {
200
+ public func set_is_public ( val: Bool ) -> Void {
141
201
142
202
let this_ptrPointer = UnsafeMutablePointer< LDKChannelDetails> . allocate( capacity: 1 )
143
203
this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
144
204
145
- return ChannelDetails_set_is_live ( this_ptrPointer, val) ;
205
+ return ChannelDetails_set_is_public ( this_ptrPointer, val) ;
146
206
}
147
207
148
208
public func clone( orig: ChannelDetails ) -> ChannelDetails {
0 commit comments