@@ -241,12 +241,10 @@ typedef struct LDKPublicKey {
241
241
uint8_t compressed_form [33 ];
242
242
} LDKPublicKey ;
243
243
244
- typedef struct LDKC2TupleTempl_u64__u64 {
244
+ typedef struct LDKC2Tuple_u64u64Z {
245
245
uint64_t a ;
246
246
uint64_t b ;
247
- } LDKC2TupleTempl_u64__u64 ;
248
-
249
- typedef struct LDKC2TupleTempl_u64__u64 LDKC2Tuple_u64u64Z ;
247
+ } LDKC2Tuple_u64u64Z ;
250
248
251
249
/**
252
250
* When on-chain outputs are created by rust-lightning (which our counterparty is not able to
@@ -321,14 +319,14 @@ typedef struct LDKSpendableOutputDescriptor_LDKDynamicOutputP2WSH_Body {
321
319
struct LDKPublicKey per_commitment_point ;
322
320
uint16_t to_self_delay ;
323
321
struct LDKTxOut output ;
324
- LDKC2Tuple_u64u64Z key_derivation_params ;
322
+ struct LDKC2Tuple_u64u64Z key_derivation_params ;
325
323
struct LDKPublicKey revocation_pubkey ;
326
324
} LDKSpendableOutputDescriptor_LDKDynamicOutputP2WSH_Body ;
327
325
328
326
typedef struct LDKSpendableOutputDescriptor_LDKStaticOutputCounterpartyPayment_Body {
329
327
struct LDKOutPoint outpoint ;
330
328
struct LDKTxOut output ;
331
- LDKC2Tuple_u64u64Z key_derivation_params ;
329
+ struct LDKC2Tuple_u64u64Z key_derivation_params ;
332
330
} LDKSpendableOutputDescriptor_LDKStaticOutputCounterpartyPayment_Body ;
333
331
334
332
typedef struct MUST_USE_STRUCT LDKSpendableOutputDescriptor {
@@ -1019,15 +1017,13 @@ typedef struct LDKCVec_EventZ {
1019
1017
uintptr_t datalen ;
1020
1018
} LDKCVec_EventZ ;
1021
1019
1022
- typedef struct LDKC2TupleTempl_usize__Transaction {
1020
+ typedef struct LDKC2Tuple_usizeTransactionZ {
1023
1021
uintptr_t a ;
1024
1022
struct LDKTransaction b ;
1025
- } LDKC2TupleTempl_usize__Transaction ;
1026
-
1027
- typedef struct LDKC2TupleTempl_usize__Transaction LDKC2Tuple_usizeTransactionZ ;
1023
+ } LDKC2Tuple_usizeTransactionZ ;
1028
1024
1029
1025
typedef struct LDKCVec_C2Tuple_usizeTransactionZZ {
1030
- struct LDKC2TupleTempl_usize__Transaction * data ;
1026
+ struct LDKC2Tuple_usizeTransactionZ * data ;
1031
1027
uintptr_t datalen ;
1032
1028
} LDKCVec_C2Tuple_usizeTransactionZZ ;
1033
1029
@@ -1133,39 +1129,33 @@ typedef struct LDKCResult_NoneMonitorUpdateErrorZ {
1133
1129
bool result_ok ;
1134
1130
} LDKCResult_NoneMonitorUpdateErrorZ ;
1135
1131
1136
- typedef struct LDKC2TupleTempl_OutPoint__CVec_u8Z {
1132
+ typedef struct LDKC2Tuple_OutPointScriptZ {
1137
1133
struct LDKOutPoint a ;
1138
1134
struct LDKCVec_u8Z b ;
1139
- } LDKC2TupleTempl_OutPoint__CVec_u8Z ;
1140
-
1141
- typedef struct LDKC2TupleTempl_OutPoint__CVec_u8Z LDKC2Tuple_OutPointScriptZ ;
1135
+ } LDKC2Tuple_OutPointScriptZ ;
1142
1136
1143
1137
typedef struct LDKCVec_TransactionZ {
1144
1138
struct LDKTransaction * data ;
1145
1139
uintptr_t datalen ;
1146
1140
} LDKCVec_TransactionZ ;
1147
1141
1148
- typedef struct LDKC2TupleTempl_u32__TxOut {
1142
+ typedef struct LDKC2Tuple_u32TxOutZ {
1149
1143
uint32_t a ;
1150
1144
struct LDKTxOut b ;
1151
- } LDKC2TupleTempl_u32__TxOut ;
1152
-
1153
- typedef struct LDKC2TupleTempl_u32__TxOut LDKC2Tuple_u32TxOutZ ;
1145
+ } LDKC2Tuple_u32TxOutZ ;
1154
1146
1155
1147
typedef struct LDKCVec_C2Tuple_u32TxOutZZ {
1156
- struct LDKC2TupleTempl_u32__TxOut * data ;
1148
+ struct LDKC2Tuple_u32TxOutZ * data ;
1157
1149
uintptr_t datalen ;
1158
1150
} LDKCVec_C2Tuple_u32TxOutZZ ;
1159
1151
1160
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__CVec_C2Tuple_u32TxOutZZ {
1152
+ typedef struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ {
1161
1153
struct LDKThirtyTwoBytes a ;
1162
1154
struct LDKCVec_C2Tuple_u32TxOutZZ b ;
1163
- } LDKC2TupleTempl_ThirtyTwoBytes__CVec_C2Tuple_u32TxOutZZ ;
1164
-
1165
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__CVec_C2Tuple_u32TxOutZZ LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ ;
1155
+ } LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ ;
1166
1156
1167
1157
typedef struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ {
1168
- struct LDKC2TupleTempl_ThirtyTwoBytes__CVec_C2Tuple_u32TxOutZZ * data ;
1158
+ struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ * data ;
1169
1159
uintptr_t datalen ;
1170
1160
} LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ ;
1171
1161
@@ -1192,13 +1182,13 @@ typedef struct LDKCVec_SignatureZ {
1192
1182
uintptr_t datalen ;
1193
1183
} LDKCVec_SignatureZ ;
1194
1184
1195
- typedef struct LDKC2TupleTempl_Signature__CVec_SignatureZ {
1185
+ typedef struct LDKC2Tuple_SignatureCVec_SignatureZZ {
1196
1186
struct LDKSignature a ;
1197
1187
struct LDKCVec_SignatureZ b ;
1198
- } LDKC2TupleTempl_Signature__CVec_SignatureZ ;
1188
+ } LDKC2Tuple_SignatureCVec_SignatureZZ ;
1199
1189
1200
1190
typedef union LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZPtr {
1201
- struct LDKC2TupleTempl_Signature__CVec_SignatureZ * result ;
1191
+ struct LDKC2Tuple_SignatureCVec_SignatureZZ * result ;
1202
1192
/**
1203
1193
* Note that this value is always NULL, as there are no contents in the Err variant
1204
1194
*/
@@ -1363,7 +1353,7 @@ typedef struct LDKChannelKeys {
1363
1353
* some SpendableOutputDescriptor types. These should be sufficient to identify this
1364
1354
* ChannelKeys object uniquely and lookup or re-derive its keys.
1365
1355
*/
1366
- LDKC2Tuple_u64u64Z (* key_derivation_params )(const void * this_arg );
1356
+ struct LDKC2Tuple_u64u64Z (* key_derivation_params )(const void * this_arg );
1367
1357
/**
1368
1358
* Create a signature for a counterparty's commitment transaction and associated HTLC transactions.
1369
1359
*
@@ -1488,15 +1478,13 @@ typedef struct MUST_USE_STRUCT LDKChannelMonitor {
1488
1478
bool is_owned ;
1489
1479
} LDKChannelMonitor ;
1490
1480
1491
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelMonitor {
1481
+ typedef struct LDKC2Tuple_BlockHashChannelMonitorZ {
1492
1482
struct LDKThirtyTwoBytes a ;
1493
1483
struct LDKChannelMonitor b ;
1494
- } LDKC2TupleTempl_ThirtyTwoBytes__ChannelMonitor ;
1495
-
1496
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelMonitor LDKC2Tuple_BlockHashChannelMonitorZ ;
1484
+ } LDKC2Tuple_BlockHashChannelMonitorZ ;
1497
1485
1498
1486
typedef union LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZPtr {
1499
- struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelMonitor * result ;
1487
+ struct LDKC2Tuple_BlockHashChannelMonitorZ * result ;
1500
1488
struct LDKDecodeError * err ;
1501
1489
} LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZPtr ;
1502
1490
@@ -1515,8 +1503,6 @@ typedef struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ {
1515
1503
bool result_ok ;
1516
1504
} LDKCResult_SpendableOutputDescriptorDecodeErrorZ ;
1517
1505
1518
- typedef struct LDKC2TupleTempl_Signature__CVec_SignatureZ LDKC2Tuple_SignatureCVec_SignatureZZ ;
1519
-
1520
1506
typedef union LDKCResult_ChanKeySignerDecodeErrorZPtr {
1521
1507
struct LDKChannelKeys * result ;
1522
1508
struct LDKDecodeError * err ;
@@ -1981,15 +1967,13 @@ typedef struct MUST_USE_STRUCT LDKChannelManager {
1981
1967
bool is_owned ;
1982
1968
} LDKChannelManager ;
1983
1969
1984
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelManager {
1970
+ typedef struct LDKC2Tuple_BlockHashChannelManagerZ {
1985
1971
struct LDKThirtyTwoBytes a ;
1986
1972
struct LDKChannelManager b ;
1987
- } LDKC2TupleTempl_ThirtyTwoBytes__ChannelManager ;
1988
-
1989
- typedef struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelManager LDKC2Tuple_BlockHashChannelManagerZ ;
1973
+ } LDKC2Tuple_BlockHashChannelManagerZ ;
1990
1974
1991
1975
typedef union LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZPtr {
1992
- struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelManager * result ;
1976
+ struct LDKC2Tuple_BlockHashChannelManagerZ * result ;
1993
1977
struct LDKDecodeError * err ;
1994
1978
} LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZPtr ;
1995
1979
@@ -2123,16 +2107,14 @@ typedef struct LDKCResult_boolLightningErrorZ {
2123
2107
bool result_ok ;
2124
2108
} LDKCResult_boolLightningErrorZ ;
2125
2109
2126
- typedef struct LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate {
2110
+ typedef struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ {
2127
2111
struct LDKChannelAnnouncement a ;
2128
2112
struct LDKChannelUpdate b ;
2129
2113
struct LDKChannelUpdate c ;
2130
- } LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate ;
2131
-
2132
- typedef struct LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ ;
2114
+ } LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ ;
2133
2115
2134
2116
typedef struct LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ {
2135
- struct LDKC3TupleTempl_ChannelAnnouncement__ChannelUpdate__ChannelUpdate * data ;
2117
+ struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ * data ;
2136
2118
uintptr_t datalen ;
2137
2119
} LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ ;
2138
2120
@@ -3486,24 +3468,6 @@ typedef struct MUST_USE_STRUCT LDKChannelInfo {
3486
3468
bool is_owned ;
3487
3469
} LDKChannelInfo ;
3488
3470
3489
- extern const void (* C2Tuple_usizeTransactionZ_free )(LDKC2Tuple_usizeTransactionZ );
3490
-
3491
- extern const void (* C2Tuple_OutPointScriptZ_free )(LDKC2Tuple_OutPointScriptZ );
3492
-
3493
- extern const void (* C2Tuple_u32TxOutZ_free )(LDKC2Tuple_u32TxOutZ );
3494
-
3495
- extern const void (* C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free )(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ );
3496
-
3497
- extern const void (* C2Tuple_BlockHashChannelMonitorZ_free )(LDKC2Tuple_BlockHashChannelMonitorZ );
3498
-
3499
- extern const void (* C2Tuple_u64u64Z_free )(LDKC2Tuple_u64u64Z );
3500
-
3501
- extern const void (* C2Tuple_SignatureCVec_SignatureZZ_free )(LDKC2Tuple_SignatureCVec_SignatureZZ );
3502
-
3503
- extern const void (* C2Tuple_BlockHashChannelManagerZ_free )(LDKC2Tuple_BlockHashChannelManagerZ );
3504
-
3505
- extern const void (* C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free )(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ );
3506
-
3507
3471
extern const uintptr_t MAX_BUF_SIZE ;
3508
3472
3509
3473
extern const uint64_t MIN_RELAY_FEE_SAT_PER_1000_WEIGHT ;
@@ -3522,7 +3486,9 @@ void CVec_MessageSendEventZ_free(struct LDKCVec_MessageSendEventZ _res);
3522
3486
3523
3487
void CVec_EventZ_free (struct LDKCVec_EventZ _res );
3524
3488
3525
- LDKC2Tuple_usizeTransactionZ C2Tuple_usizeTransactionZ_new (uintptr_t a , struct LDKTransaction b );
3489
+ struct LDKC2Tuple_usizeTransactionZ C2Tuple_usizeTransactionZ_new (uintptr_t a , struct LDKTransaction b );
3490
+
3491
+ void C2Tuple_usizeTransactionZ_free (struct LDKC2Tuple_usizeTransactionZ _res );
3526
3492
3527
3493
void CVec_C2Tuple_usizeTransactionZZ_free (struct LDKCVec_C2Tuple_usizeTransactionZZ _res );
3528
3494
@@ -3548,27 +3514,41 @@ struct LDKCResult_NoneMonitorUpdateErrorZ CResult_NoneMonitorUpdateErrorZ_err(st
3548
3514
3549
3515
void CResult_NoneMonitorUpdateErrorZ_free (struct LDKCResult_NoneMonitorUpdateErrorZ _res );
3550
3516
3551
- LDKC2Tuple_OutPointScriptZ C2Tuple_OutPointScriptZ_new (struct LDKOutPoint a , struct LDKCVec_u8Z b );
3517
+ struct LDKC2Tuple_OutPointScriptZ C2Tuple_OutPointScriptZ_new (struct LDKOutPoint a , struct LDKCVec_u8Z b );
3518
+
3519
+ void C2Tuple_OutPointScriptZ_free (struct LDKC2Tuple_OutPointScriptZ _res );
3552
3520
3553
3521
void CVec_TransactionZ_free (struct LDKCVec_TransactionZ _res );
3554
3522
3555
- LDKC2Tuple_u32TxOutZ C2Tuple_u32TxOutZ_new (uint32_t a , struct LDKTxOut b );
3523
+ struct LDKC2Tuple_u32TxOutZ C2Tuple_u32TxOutZ_clone (const struct LDKC2Tuple_u32TxOutZ * NONNULL_PTR orig );
3524
+
3525
+ struct LDKC2Tuple_u32TxOutZ C2Tuple_u32TxOutZ_new (uint32_t a , struct LDKTxOut b );
3526
+
3527
+ void C2Tuple_u32TxOutZ_free (struct LDKC2Tuple_u32TxOutZ _res );
3556
3528
3557
3529
void CVec_C2Tuple_u32TxOutZZ_free (struct LDKCVec_C2Tuple_u32TxOutZZ _res );
3558
3530
3559
- LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new (struct LDKThirtyTwoBytes a , struct LDKCVec_C2Tuple_u32TxOutZZ b );
3531
+ struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new (struct LDKThirtyTwoBytes a , struct LDKCVec_C2Tuple_u32TxOutZZ b );
3532
+
3533
+ void C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free (struct LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ _res );
3560
3534
3561
3535
void CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ_free (struct LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ _res );
3562
3536
3563
- LDKC2Tuple_BlockHashChannelMonitorZ C2Tuple_BlockHashChannelMonitorZ_new (struct LDKThirtyTwoBytes a , struct LDKChannelMonitor b );
3537
+ struct LDKC2Tuple_BlockHashChannelMonitorZ C2Tuple_BlockHashChannelMonitorZ_new (struct LDKThirtyTwoBytes a , struct LDKChannelMonitor b );
3538
+
3539
+ void C2Tuple_BlockHashChannelMonitorZ_free (struct LDKC2Tuple_BlockHashChannelMonitorZ _res );
3564
3540
3565
- struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok (struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelMonitor o );
3541
+ struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_ok (struct LDKC2Tuple_BlockHashChannelMonitorZ o );
3566
3542
3567
3543
struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err (struct LDKDecodeError e );
3568
3544
3569
3545
void CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free (struct LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ _res );
3570
3546
3571
- LDKC2Tuple_u64u64Z C2Tuple_u64u64Z_new (uint64_t a , uint64_t b );
3547
+ struct LDKC2Tuple_u64u64Z C2Tuple_u64u64Z_clone (const struct LDKC2Tuple_u64u64Z * NONNULL_PTR orig );
3548
+
3549
+ struct LDKC2Tuple_u64u64Z C2Tuple_u64u64Z_new (uint64_t a , uint64_t b );
3550
+
3551
+ void C2Tuple_u64u64Z_free (struct LDKC2Tuple_u64u64Z _res );
3572
3552
3573
3553
struct LDKCResult_SpendableOutputDescriptorDecodeErrorZ CResult_SpendableOutputDescriptorDecodeErrorZ_ok (struct LDKSpendableOutputDescriptor o );
3574
3554
@@ -3578,14 +3558,20 @@ void CResult_SpendableOutputDescriptorDecodeErrorZ_free(struct LDKCResult_Spenda
3578
3558
3579
3559
void CVec_SignatureZ_free (struct LDKCVec_SignatureZ _res );
3580
3560
3581
- LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new (struct LDKSignature a , struct LDKCVec_SignatureZ b );
3561
+ struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_clone (const struct LDKC2Tuple_SignatureCVec_SignatureZZ * NONNULL_PTR orig );
3562
+
3563
+ struct LDKC2Tuple_SignatureCVec_SignatureZZ C2Tuple_SignatureCVec_SignatureZZ_new (struct LDKSignature a , struct LDKCVec_SignatureZ b );
3564
+
3565
+ void C2Tuple_SignatureCVec_SignatureZZ_free (struct LDKC2Tuple_SignatureCVec_SignatureZZ _res );
3582
3566
3583
- struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok (struct LDKC2TupleTempl_Signature__CVec_SignatureZ o );
3567
+ struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok (struct LDKC2Tuple_SignatureCVec_SignatureZZ o );
3584
3568
3585
3569
struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_err (void );
3586
3570
3587
3571
void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free (struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ _res );
3588
3572
3573
+ struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_clone (const struct LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ * NONNULL_PTR orig );
3574
+
3589
3575
struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_ok (struct LDKSignature o );
3590
3576
3591
3577
struct LDKCResult_SignatureNoneZ CResult_SignatureNoneZ_err (void );
@@ -3632,9 +3618,11 @@ void CVec_NetAddressZ_free(struct LDKCVec_NetAddressZ _res);
3632
3618
3633
3619
void CVec_ChannelMonitorZ_free (struct LDKCVec_ChannelMonitorZ _res );
3634
3620
3635
- LDKC2Tuple_BlockHashChannelManagerZ C2Tuple_BlockHashChannelManagerZ_new (struct LDKThirtyTwoBytes a , struct LDKChannelManager b );
3621
+ struct LDKC2Tuple_BlockHashChannelManagerZ C2Tuple_BlockHashChannelManagerZ_new (struct LDKThirtyTwoBytes a , struct LDKChannelManager b );
3622
+
3623
+ void C2Tuple_BlockHashChannelManagerZ_free (struct LDKC2Tuple_BlockHashChannelManagerZ _res );
3636
3624
3637
- struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok (struct LDKC2TupleTempl_ThirtyTwoBytes__ChannelManager o );
3625
+ struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_ok (struct LDKC2Tuple_BlockHashChannelManagerZ o );
3638
3626
3639
3627
struct LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err (struct LDKDecodeError e );
3640
3628
@@ -3670,7 +3658,11 @@ struct LDKCResult_boolLightningErrorZ CResult_boolLightningErrorZ_err(struct LDK
3670
3658
3671
3659
void CResult_boolLightningErrorZ_free (struct LDKCResult_boolLightningErrorZ _res );
3672
3660
3673
- LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new (struct LDKChannelAnnouncement a , struct LDKChannelUpdate b , struct LDKChannelUpdate c );
3661
+ struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone (const struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ * NONNULL_PTR orig );
3662
+
3663
+ struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new (struct LDKChannelAnnouncement a , struct LDKChannelUpdate b , struct LDKChannelUpdate c );
3664
+
3665
+ void C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free (struct LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ _res );
3674
3666
3675
3667
void CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_free (struct LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ _res );
3676
3668
@@ -4447,7 +4439,7 @@ MUST_USE_RES uint64_t ChannelMonitor_get_latest_update_id(const struct LDKChanne
4447
4439
/**
4448
4440
* Gets the funding transaction outpoint of the channel this ChannelMonitor is monitoring for.
4449
4441
*/
4450
- MUST_USE_RES LDKC2Tuple_OutPointScriptZ ChannelMonitor_get_funding_txo (const struct LDKChannelMonitor * NONNULL_PTR this_arg );
4442
+ MUST_USE_RES struct LDKC2Tuple_OutPointScriptZ ChannelMonitor_get_funding_txo (const struct LDKChannelMonitor * NONNULL_PTR this_arg );
4451
4443
4452
4444
/**
4453
4445
* Get the list of HTLCs who's status has been updated on chain. This should be called by
@@ -4630,7 +4622,7 @@ void InMemoryChannelKeys_set_commitment_seed(struct LDKInMemoryChannelKeys *NONN
4630
4622
/**
4631
4623
* Create a new InMemoryChannelKeys
4632
4624
*/
4633
- MUST_USE_RES struct LDKInMemoryChannelKeys InMemoryChannelKeys_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 , LDKC2Tuple_u64u64Z key_derivation_params );
4625
+ MUST_USE_RES struct LDKInMemoryChannelKeys InMemoryChannelKeys_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 LDKC2Tuple_u64u64Z key_derivation_params );
4634
4626
4635
4627
/**
4636
4628
* Counterparty pubkeys.
0 commit comments