- public static native VecOrSliceDef LDKCVecTempl_PublicKey_arr_info(long vec_ptr);
- public static native boolean LDKCResult_CVec_u8ZPeerHandleErrorZ_result_ok(long arg);
- public static native byte[] LDKCResult_CVec_u8ZPeerHandleErrorZ_get_ok(long arg);
- public static native long LDKCResult_CVec_u8ZPeerHandleErrorZ_get_err(long arg);
- public static native boolean LDKCResult_boolPeerHandleErrorZ_result_ok(long arg);
- public static native boolean LDKCResult_boolPeerHandleErrorZ_get_ok(long arg);
- public static native long LDKCResult_boolPeerHandleErrorZ_get_err(long arg);
- public static native boolean LDKCResult_SecretKeySecpErrorZ_result_ok(long arg);
- public static native byte[] LDKCResult_SecretKeySecpErrorZ_get_ok(long arg);
- public static native LDKSecp256k1Error LDKCResult_SecretKeySecpErrorZ_get_err(long arg);
- public static native boolean LDKCResult_PublicKeySecpErrorZ_result_ok(long arg);
- public static native byte[] LDKCResult_PublicKeySecpErrorZ_get_ok(long arg);
- public static native LDKSecp256k1Error LDKCResult_PublicKeySecpErrorZ_get_err(long arg);
- public static native boolean LDKCResult_TxCreationKeysSecpErrorZ_result_ok(long arg);
- public static native long LDKCResult_TxCreationKeysSecpErrorZ_get_ok(long arg);
- public static native LDKSecp256k1Error LDKCResult_TxCreationKeysSecpErrorZ_get_err(long arg);
- public static native VecOrSliceDef LDKCVecTempl_C2TupleTempl_HTLCOutputInCommitment__Signature_arr_info(long vec_ptr);
- public static native long LDKCVecTempl_C2TupleTempl_HTLCOutputInCommitment__Signature_new(long[] elems);
- public static native long[] LDKCVecTempl_RouteHop_arr_info(long vec_ptr);
- public static native long LDKCVecTempl_RouteHop_new(long[] elems);
- public static native VecOrSliceDef LDKCVecTempl_CVecTempl_RouteHop_arr_info(long vec_ptr);
- public static native boolean LDKCResult_RouteLightningErrorZ_result_ok(long arg);
- public static native long LDKCResult_RouteLightningErrorZ_get_ok(long arg);
- public static native long LDKCResult_RouteLightningErrorZ_get_err(long arg);
- public static native long[] LDKCVecTempl_RouteHint_arr_info(long vec_ptr);
- public static native long LDKCVecTempl_RouteHint_new(long[] elems);
- // extern const void (*C2Tuple_HTLCOutputInCommitmentSignatureZ_free)(LDKC2Tuple_HTLCOutputInCommitmentSignatureZ);
- public static native void C2Tuple_HTLCOutputInCommitmentSignatureZ_free(long arg);
- // extern const void (*C2Tuple_OutPointScriptZ_free)(LDKC2Tuple_OutPointScriptZ);
- public static native void C2Tuple_OutPointScriptZ_free(long arg);
- // extern const void (*C2Tuple_SignatureCVec_SignatureZZ_free)(LDKC2Tuple_SignatureCVec_SignatureZZ);
- public static native void C2Tuple_SignatureCVec_SignatureZZ_free(long arg);
- // extern const void (*C2Tuple_TxidCVec_TxOutZZ_free)(LDKC2Tuple_TxidCVec_TxOutZZ);
- public static native void C2Tuple_TxidCVec_TxOutZZ_free(long arg);
- // extern const void (*C2Tuple_u64u64Z_free)(LDKC2Tuple_u64u64Z);
- public static native void C2Tuple_u64u64Z_free(long arg);
- // extern const void (*C2Tuple_usizeTransactionZ_free)(LDKC2Tuple_usizeTransactionZ);
- public static native void C2Tuple_usizeTransactionZ_free(long arg);
- // extern const void (*C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free)(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ);
- public static native void C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(long arg);
- // extern const void (*CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free)(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ);
- public static native void CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(long arg);
- // extern const LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ (*CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok)(LDKC2Tuple_SignatureCVec_SignatureZZ);
- public static native long CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_ok(long arg);
- // extern const void (*CResult_CVec_SignatureZNoneZ_free)(LDKCResult_CVec_SignatureZNoneZ);
- public static native void CResult_CVec_SignatureZNoneZ_free(long arg);
- // extern const LDKCResult_CVec_SignatureZNoneZ (*CResult_CVec_SignatureZNoneZ_ok)(LDKCVec_SignatureZ);
- public static native long CResult_CVec_SignatureZNoneZ_ok(byte[][] arg);
- // extern const LDKCResult_CVec_u8ZPeerHandleErrorZ (*CResult_CVec_u8ZPeerHandleErrorZ_err)(LDKPeerHandleError);
- public static native long CResult_CVec_u8ZPeerHandleErrorZ_err(long arg);
- // extern const void (*CResult_CVec_u8ZPeerHandleErrorZ_free)(LDKCResult_CVec_u8ZPeerHandleErrorZ);
- public static native void CResult_CVec_u8ZPeerHandleErrorZ_free(long arg);
- // extern const LDKCResult_CVec_u8ZPeerHandleErrorZ (*CResult_CVec_u8ZPeerHandleErrorZ_ok)(LDKCVec_u8Z);
- public static native long CResult_CVec_u8ZPeerHandleErrorZ_ok(byte[] arg);
- // extern const LDKCResult_NoneAPIErrorZ (*CResult_NoneAPIErrorZ_err)(LDKAPIError);
- public static native long CResult_NoneAPIErrorZ_err(long arg);
- // extern const void (*CResult_NoneAPIErrorZ_free)(LDKCResult_NoneAPIErrorZ);
- public static native void CResult_NoneAPIErrorZ_free(long arg);
- // extern const LDKCResult_NoneChannelMonitorUpdateErrZ (*CResult_NoneChannelMonitorUpdateErrZ_err)(LDKChannelMonitorUpdateErr);
- public static native long CResult_NoneChannelMonitorUpdateErrZ_err(LDKChannelMonitorUpdateErr arg);
- // extern const void (*CResult_NoneChannelMonitorUpdateErrZ_free)(LDKCResult_NoneChannelMonitorUpdateErrZ);
- public static native void CResult_NoneChannelMonitorUpdateErrZ_free(long arg);
- // extern const LDKCResult_NoneMonitorUpdateErrorZ (*CResult_NoneMonitorUpdateErrorZ_err)(LDKMonitorUpdateError);
- public static native long CResult_NoneMonitorUpdateErrorZ_err(long arg);
- // extern const void (*CResult_NoneMonitorUpdateErrorZ_free)(LDKCResult_NoneMonitorUpdateErrorZ);
- public static native void CResult_NoneMonitorUpdateErrorZ_free(long arg);
- // extern const LDKCResult_NonePaymentSendFailureZ (*CResult_NonePaymentSendFailureZ_err)(LDKPaymentSendFailure);
- public static native long CResult_NonePaymentSendFailureZ_err(long arg);
- // extern const void (*CResult_NonePaymentSendFailureZ_free)(LDKCResult_NonePaymentSendFailureZ);
- public static native void CResult_NonePaymentSendFailureZ_free(long arg);
- // extern const LDKCResult_NonePeerHandleErrorZ (*CResult_NonePeerHandleErrorZ_err)(LDKPeerHandleError);
- public static native long CResult_NonePeerHandleErrorZ_err(long arg);
- // extern const void (*CResult_NonePeerHandleErrorZ_free)(LDKCResult_NonePeerHandleErrorZ);
- public static native void CResult_NonePeerHandleErrorZ_free(long arg);
- // extern const LDKCResult_PublicKeySecpErrorZ (*CResult_PublicKeySecpErrorZ_err)(LDKSecp256k1Error);
- public static native long CResult_PublicKeySecpErrorZ_err(LDKSecp256k1Error arg);
- // extern const void (*CResult_PublicKeySecpErrorZ_free)(LDKCResult_PublicKeySecpErrorZ);
- public static native void CResult_PublicKeySecpErrorZ_free(long arg);
- // extern const LDKCResult_PublicKeySecpErrorZ (*CResult_PublicKeySecpErrorZ_ok)(LDKPublicKey);
- public static native long CResult_PublicKeySecpErrorZ_ok(byte[] arg);
- // extern const LDKCResult_RouteLightningErrorZ (*CResult_RouteLightningErrorZ_err)(LDKLightningError);
- public static native long CResult_RouteLightningErrorZ_err(long arg);
- // extern const void (*CResult_RouteLightningErrorZ_free)(LDKCResult_RouteLightningErrorZ);
- public static native void CResult_RouteLightningErrorZ_free(long arg);
- // extern const LDKCResult_RouteLightningErrorZ (*CResult_RouteLightningErrorZ_ok)(LDKRoute);
- public static native long CResult_RouteLightningErrorZ_ok(long arg);
- // extern const LDKCResult_SecretKeySecpErrorZ (*CResult_SecretKeySecpErrorZ_err)(LDKSecp256k1Error);
- public static native long CResult_SecretKeySecpErrorZ_err(LDKSecp256k1Error arg);
- // extern const void (*CResult_SecretKeySecpErrorZ_free)(LDKCResult_SecretKeySecpErrorZ);
- public static native void CResult_SecretKeySecpErrorZ_free(long arg);
- // extern const LDKCResult_SecretKeySecpErrorZ (*CResult_SecretKeySecpErrorZ_ok)(LDKSecretKey);
- public static native long CResult_SecretKeySecpErrorZ_ok(byte[] arg);
- // extern const void (*CResult_SignatureNoneZ_free)(LDKCResult_SignatureNoneZ);
- public static native void CResult_SignatureNoneZ_free(long arg);
- // extern const LDKCResult_SignatureNoneZ (*CResult_SignatureNoneZ_ok)(LDKSignature);
- public static native long CResult_SignatureNoneZ_ok(byte[] arg);
- // extern const LDKCResult_TxCreationKeysSecpErrorZ (*CResult_TxCreationKeysSecpErrorZ_err)(LDKSecp256k1Error);
- public static native long CResult_TxCreationKeysSecpErrorZ_err(LDKSecp256k1Error arg);
- // extern const void (*CResult_TxCreationKeysSecpErrorZ_free)(LDKCResult_TxCreationKeysSecpErrorZ);
- public static native void CResult_TxCreationKeysSecpErrorZ_free(long arg);
- // extern const LDKCResult_TxCreationKeysSecpErrorZ (*CResult_TxCreationKeysSecpErrorZ_ok)(LDKTxCreationKeys);
- public static native long CResult_TxCreationKeysSecpErrorZ_ok(long arg);
- // extern const LDKCResult_TxOutAccessErrorZ (*CResult_TxOutAccessErrorZ_err)(LDKAccessError);
- public static native long CResult_TxOutAccessErrorZ_err(LDKAccessError arg);
- // extern const void (*CResult_TxOutAccessErrorZ_free)(LDKCResult_TxOutAccessErrorZ);
- public static native void CResult_TxOutAccessErrorZ_free(long arg);
- // extern const LDKCResult_TxOutAccessErrorZ (*CResult_TxOutAccessErrorZ_ok)(LDKTxOut);
- public static native long CResult_TxOutAccessErrorZ_ok(long arg);
- // extern const LDKCResult_boolLightningErrorZ (*CResult_boolLightningErrorZ_err)(LDKLightningError);
- public static native long CResult_boolLightningErrorZ_err(long arg);
- // extern const void (*CResult_boolLightningErrorZ_free)(LDKCResult_boolLightningErrorZ);
- public static native void CResult_boolLightningErrorZ_free(long arg);
- // extern const LDKCResult_boolLightningErrorZ (*CResult_boolLightningErrorZ_ok)(bool);
- public static native long CResult_boolLightningErrorZ_ok(boolean arg);
- // extern const LDKCResult_boolPeerHandleErrorZ (*CResult_boolPeerHandleErrorZ_err)(LDKPeerHandleError);
- public static native long CResult_boolPeerHandleErrorZ_err(long arg);
- // extern const void (*CResult_boolPeerHandleErrorZ_free)(LDKCResult_boolPeerHandleErrorZ);
- public static native void CResult_boolPeerHandleErrorZ_free(long arg);
- // extern const LDKCResult_boolPeerHandleErrorZ (*CResult_boolPeerHandleErrorZ_ok)(bool);
- public static native long CResult_boolPeerHandleErrorZ_ok(boolean arg);
- // extern const void (*CVec_C2Tuple_HTLCOutputInCommitmentSignatureZZ_free)(LDKCVec_C2Tuple_HTLCOutputInCommitmentSignatureZZ);
- public static native void CVec_C2Tuple_HTLCOutputInCommitmentSignatureZZ_free(long[] arg);
- // extern const void (*CVec_C2Tuple_TxidCVec_TxOutZZZ_free)(LDKCVec_C2Tuple_TxidCVec_TxOutZZZ);
- public static native void CVec_C2Tuple_TxidCVec_TxOutZZZ_free(long[] arg);
- // extern const void (*CVec_C2Tuple_usizeTransactionZZ_free)(LDKCVec_C2Tuple_usizeTransactionZZ);
- public static native void CVec_C2Tuple_usizeTransactionZZ_free(long[] arg);
- // extern const void (*CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_free)(LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ);
- public static native void CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_free(long[] arg);
- // extern const void (*CVec_CVec_RouteHopZZ_free)(LDKCVec_CVec_RouteHopZZ);
- public static native void CVec_CVec_RouteHopZZ_free(long[][] arg);
- // extern const void (*CVec_ChannelDetailsZ_free)(LDKCVec_ChannelDetailsZ);
- public static native void CVec_ChannelDetailsZ_free(long[] arg);
- // extern const void (*CVec_ChannelMonitorZ_free)(LDKCVec_ChannelMonitorZ);
- public static native void CVec_ChannelMonitorZ_free(long[] arg);
- // extern const void (*CVec_EventZ_free)(LDKCVec_EventZ);
- public static native void CVec_EventZ_free(long[] arg);
- // extern const void (*CVec_HTLCOutputInCommitmentZ_free)(LDKCVec_HTLCOutputInCommitmentZ);
- public static native void CVec_HTLCOutputInCommitmentZ_free(long[] arg);
- // extern const void (*CVec_MessageSendEventZ_free)(LDKCVec_MessageSendEventZ);
- public static native void CVec_MessageSendEventZ_free(long[] arg);
- // extern const void (*CVec_MonitorEventZ_free)(LDKCVec_MonitorEventZ);
- public static native void CVec_MonitorEventZ_free(long[] arg);
- // extern const void (*CVec_NetAddressZ_free)(LDKCVec_NetAddressZ);
- public static native void CVec_NetAddressZ_free(long[] arg);
- // extern const void (*CVec_NodeAnnouncementZ_free)(LDKCVec_NodeAnnouncementZ);
- public static native void CVec_NodeAnnouncementZ_free(long[] arg);
- // extern const void (*CVec_PublicKeyZ_free)(LDKCVec_PublicKeyZ);
- public static native void CVec_PublicKeyZ_free(byte[][] arg);
- // extern const void (*CVec_RouteHintZ_free)(LDKCVec_RouteHintZ);
- public static native void CVec_RouteHintZ_free(long[] arg);
- // extern const void (*CVec_RouteHopZ_free)(LDKCVec_RouteHopZ);
- public static native void CVec_RouteHopZ_free(long[] arg);
- // extern const void (*CVec_SignatureZ_free)(LDKCVec_SignatureZ);
- public static native void CVec_SignatureZ_free(byte[][] arg);
- // extern const void (*CVec_SpendableOutputDescriptorZ_free)(LDKCVec_SpendableOutputDescriptorZ);
- public static native void CVec_SpendableOutputDescriptorZ_free(long[] arg);
- // extern const void (*CVec_TransactionZ_free)(LDKCVec_TransactionZ);
- public static native void CVec_TransactionZ_free(byte[][] arg);
- // extern const void (*CVec_TxOutZ_free)(LDKCVec_TxOutZ);
- public static native void CVec_TxOutZ_free(long[] arg);
- // extern const void (*CVec_UpdateAddHTLCZ_free)(LDKCVec_UpdateAddHTLCZ);
- public static native void CVec_UpdateAddHTLCZ_free(long[] arg);
- // extern const void (*CVec_UpdateFailHTLCZ_free)(LDKCVec_UpdateFailHTLCZ);
- public static native void CVec_UpdateFailHTLCZ_free(long[] arg);
- // extern const void (*CVec_UpdateFailMalformedHTLCZ_free)(LDKCVec_UpdateFailMalformedHTLCZ);
- public static native void CVec_UpdateFailMalformedHTLCZ_free(long[] arg);
- // extern const void (*CVec_UpdateFulfillHTLCZ_free)(LDKCVec_UpdateFulfillHTLCZ);
- public static native void CVec_UpdateFulfillHTLCZ_free(long[] arg);
- // extern const void (*CVec_u64Z_free)(LDKCVec_u64Z);
- public static native void CVec_u64Z_free(long[] arg);
- // extern const void (*CVec_u8Z_free)(LDKCVec_u8Z);
- public static native void CVec_u8Z_free(byte[] arg);
- // void Transaction_free(LDKTransaction _res);