Skip to content

Commit a2a3d95

Browse files
committed
Test custom Watch and Persist trait modifications.
1 parent 3e38b58 commit a2a3d95

File tree

262 files changed

+525
-5
lines changed

Some content is hidden

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

262 files changed

+525
-5
lines changed

.github/workflows/swift.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
python ci/fix_header_includes.py
6363
- name: Generate (copy for debugging) Swift bindings and copy batteries
6464
run: |
65-
python ./ # Generate bindings
65+
# python ./ # Generate bindings
6666
6767
# TODO: switch back to generation method after debugging
68-
# mkdir -p ci/LDKSwift/Sources/LDKSwift
69-
# cp -a bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
68+
mkdir -p ci/LDKSwift/Sources/LDKSwift
69+
cp -a bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
7070
7171
cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift
7272
env:

bindings/LDK/Bindings.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
import Foundation
9+
import LDKHeaders
910

1011
public typealias LDKTransactionOutputs = LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ
1112
public typealias LDKTxid = LDKThirtyTwoBytes

bindings/LDK/options/APIError.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class APIError: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/ErrorAction.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class ErrorAction: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/Event.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class Event: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/Fallback.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class Fallback: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/HTLCFailChannelUpdate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class HTLCFailChannelUpdate: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/MessageSendEvent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class MessageSendEvent: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/MonitorEvent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class MonitorEvent: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

bindings/LDK/options/NetAddress.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import LDKHeaders
2+
13
public class NetAddress: NativeTypeWrapper {
24

35
private static var instanceCounter: UInt = 0

0 commit comments

Comments
 (0)