Skip to content

Commit a086cb7

Browse files
committed
add support for post-init anchor generation
1 parent dbd3571 commit a086cb7

File tree

98 files changed

+113
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+113
-99
lines changed

bindings/LDK/structs/AnnouncementSignatures.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class AnnouncementSignatures: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = AnnouncementSignatures_new(Bindings.new_LDKThirtyTwoBytes(array: channel_id_arg), short_channel_id_arg, Bindings.new_LDKSignature(array: node_signature_arg), Bindings.new_LDKSignature(array: bitcoin_signature_arg))
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

bindings/LDK/structs/BackgroundProcessor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BackgroundProcessor_start(persister.cOpaqueStruct!, event_handler.cOpaqueStruct!
2323
}
2424
}
2525
super.init(conflictAvoidingVariableName: 0)
26-
26+
/* POST_INIT_ANCHORING */
2727
}
2828
/* DEFAULT_CONSTRUCTOR_END */
2929

bindings/LDK/structs/BestBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class BestBlock: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = BestBlock_new(Bindings.new_LDKThirtyTwoBytes(array: block_hash), height)
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

bindings/LDK/structs/BuiltCommitmentTransaction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class BuiltCommitmentTransaction: NativeTypeWrapper {
1818

1919
self.cOpaqueStruct = BuiltCommitmentTransaction_new(transaction_argWrapper.dangle().cOpaqueStruct!, Bindings.new_LDKThirtyTwoBytes(array: txid_arg))
2020
super.init(conflictAvoidingVariableName: 0)
21-
21+
/* POST_INIT_ANCHORING */
2222
}
2323
/* DEFAULT_CONSTRUCTOR_END */
2424

bindings/LDK/structs/ChainMonitor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public init(chain_source: Option_FilterZ, broadcaster: BroadcasterInterface, log
1515

1616
self.cOpaqueStruct = ChainMonitor_new(chain_source.cOpaqueStruct!, broadcaster.cOpaqueStruct!, logger.cOpaqueStruct!, feeest.cOpaqueStruct!, persister.cOpaqueStruct!)
1717
super.init(conflictAvoidingVariableName: 0)
18-
18+
/* POST_INIT_ANCHORING */
1919
}
2020
/* DEFAULT_CONSTRUCTOR_END */
2121

bindings/LDK/structs/ChainParameters.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public init(network_arg: LDKNetwork, best_block_arg: BestBlock) {
1515

1616
self.cOpaqueStruct = ChainParameters_new(network_arg, best_block_arg.danglingClone().cOpaqueStruct!)
1717
super.init(conflictAvoidingVariableName: 0)
18-
18+
/* POST_INIT_ANCHORING */
1919
}
2020
/* DEFAULT_CONSTRUCTOR_END */
2121

bindings/LDK/structs/ChannelAnnouncement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ChannelAnnouncement: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = ChannelAnnouncement_new(Bindings.new_LDKSignature(array: node_signature_1_arg), Bindings.new_LDKSignature(array: node_signature_2_arg), Bindings.new_LDKSignature(array: bitcoin_signature_1_arg), Bindings.new_LDKSignature(array: bitcoin_signature_2_arg), contents_arg.danglingClone().cOpaqueStruct!)
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

bindings/LDK/structs/ChannelConfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ChannelConfig: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = ChannelConfig_default()
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

bindings/LDK/structs/ChannelCounterparty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ChannelCounterparty: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = ChannelCounterparty_new(Bindings.new_LDKPublicKey(array: node_id_arg), features_arg.danglingClone().cOpaqueStruct!, unspendable_punishment_reserve_arg, forwarding_info_arg.danglingClone().cOpaqueStruct!)
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

bindings/LDK/structs/ChannelDetails.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ChannelDetails: NativeTypeWrapper {
1313

1414
self.cOpaqueStruct = ChannelDetails_new(Bindings.new_LDKThirtyTwoBytes(array: channel_id_arg), counterparty_arg.danglingClone().cOpaqueStruct!, funding_txo_arg.danglingClone().cOpaqueStruct!, short_channel_id_arg.danglingClone().cOpaqueStruct!, channel_value_satoshis_arg, unspendable_punishment_reserve_arg.danglingClone().cOpaqueStruct!, user_channel_id_arg, balance_msat_arg, outbound_capacity_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg.danglingClone().cOpaqueStruct!, force_close_spend_delay_arg.danglingClone().cOpaqueStruct!, is_outbound_arg, is_funding_locked_arg, is_usable_arg, is_public_arg)
1515
super.init(conflictAvoidingVariableName: 0)
16-
16+
/* POST_INIT_ANCHORING */
1717
}
1818
/* DEFAULT_CONSTRUCTOR_END */
1919

0 commit comments

Comments
 (0)