- static { LDKEvent.init(); }
- public static native LDKEvent LDKEvent_ref_from_ptr(long ptr);
- public static native long LDKCVec_EventZ_new(long[] elems);
- public static native long LDKC2Tuple_u32TxOutZ_new(int a, long b);
- public static native int LDKC2Tuple_u32TxOutZ_get_a(long ptr);
- public static native long LDKC2Tuple_u32TxOutZ_get_b(long ptr);
- public static native long LDKCVec_C2Tuple_u32TxOutZZ_new(long[] elems);
- public static native long LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_new(byte[] a, long[] b);
- public static native byte[] LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(long ptr);
- public static native long[] LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(long ptr);
- public static native long LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ_new(long[] elems);
- public static native boolean LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_boolLightningErrorZ_result_ok(long arg);
- public static native boolean LDKCResult_boolLightningErrorZ_get_ok(long arg);
- public static native long LDKCResult_boolLightningErrorZ_get_err(long arg);
- public static native long LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(long a, long b, long c);
- public static native long LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(long ptr);
- public static native long LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(long ptr);
- public static native long LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(long ptr);
- public static native long LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_new(long[] elems);
- public static native long LDKCVec_NodeAnnouncementZ_new(long[] elems);
- public static native boolean LDKCResult_NoneLightningErrorZ_result_ok(long arg);
- public static native void LDKCResult_NoneLightningErrorZ_get_ok(long arg);
- public static native long LDKCResult_NoneLightningErrorZ_get_err(long arg);
- 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_NonePeerHandleErrorZ_result_ok(long arg);
- public static native void LDKCResult_NonePeerHandleErrorZ_get_ok(long arg);
- public static native long LDKCResult_NonePeerHandleErrorZ_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_DirectionalChannelInfoDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_DirectionalChannelInfoDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_DirectionalChannelInfoDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ChannelInfoDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ChannelInfoDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ChannelInfoDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_RoutingFeesDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_RoutingFeesDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_RoutingFeesDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_NodeAnnouncementInfoDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_NodeAnnouncementInfoDecodeErrorZ_get_err(long arg);
- public static native long LDKCVec_u64Z_new(long[] elems);
- public static native boolean LDKCResult_NodeInfoDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_NodeInfoDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_NodeInfoDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_NetworkGraphDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_NetworkGraphDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_NetworkGraphDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_NetAddressu8Z_result_ok(long arg);
- public static native long LDKCResult_NetAddressu8Z_get_ok(long arg);
- public static native byte LDKCResult_NetAddressu8Z_get_err(long arg);
- public static native boolean LDKCResult_CResult_NetAddressu8ZDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_CResult_NetAddressu8ZDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_CResult_NetAddressu8ZDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_NetAddressDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_NetAddressDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_NetAddressDecodeErrorZ_get_err(long arg);
- public static native long LDKCVec_UpdateAddHTLCZ_new(long[] elems);
- public static native long LDKCVec_UpdateFulfillHTLCZ_new(long[] elems);
- public static native long LDKCVec_UpdateFailHTLCZ_new(long[] elems);
- public static native long LDKCVec_UpdateFailMalformedHTLCZ_new(long[] elems);
- public static native boolean LDKCResult_AcceptChannelDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_AcceptChannelDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_AcceptChannelDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_AnnouncementSignaturesDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_AnnouncementSignaturesDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_AnnouncementSignaturesDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ChannelReestablishDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ChannelReestablishDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ChannelReestablishDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ClosingSignedDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ClosingSignedDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ClosingSignedDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_CommitmentSignedDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_CommitmentSignedDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_CommitmentSignedDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_FundingCreatedDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_FundingCreatedDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_FundingCreatedDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_FundingSignedDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_FundingSignedDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_FundingSignedDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_FundingLockedDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_FundingLockedDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_FundingLockedDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_InitDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_InitDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_InitDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_OpenChannelDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_OpenChannelDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_OpenChannelDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_RevokeAndACKDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_RevokeAndACKDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_RevokeAndACKDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ShutdownDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ShutdownDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ShutdownDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UpdateFailHTLCDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UpdateFailHTLCDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UpdateFailHTLCDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UpdateFeeDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UpdateFeeDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UpdateFeeDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UpdateFulfillHTLCDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UpdateFulfillHTLCDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UpdateAddHTLCDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UpdateAddHTLCDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UpdateAddHTLCDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_PingDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_PingDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_PingDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_PongDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_PongDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_PongDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ChannelAnnouncementDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ChannelAnnouncementDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ChannelAnnouncementDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UnsignedChannelUpdateDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ChannelUpdateDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ChannelUpdateDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ChannelUpdateDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ErrorMessageDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ErrorMessageDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ErrorMessageDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_NodeAnnouncementDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_NodeAnnouncementDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_NodeAnnouncementDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_QueryShortChannelIdsDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_QueryShortChannelIdsDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_QueryShortChannelIdsDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_QueryChannelRangeDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_QueryChannelRangeDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_QueryChannelRangeDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_ReplyChannelRangeDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_ReplyChannelRangeDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_ReplyChannelRangeDecodeErrorZ_get_err(long arg);
- public static native boolean LDKCResult_GossipTimestampFilterDecodeErrorZ_result_ok(long arg);
- public static native long LDKCResult_GossipTimestampFilterDecodeErrorZ_get_ok(long arg);
- public static native long LDKCResult_GossipTimestampFilterDecodeErrorZ_get_err(long arg);
+ static { LDKCOption_MonitorEventZ.init(); }
+ public static native LDKCOption_MonitorEventZ LDKCOption_MonitorEventZ_ref_from_ptr(long ptr);
+ // struct LDKCOption_MonitorEventZ CResult_COption_MonitorEventZDecodeErrorZ_get_ok(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_COption_MonitorEventZDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_COption_MonitorEventZDecodeErrorZ_get_err(LDKCResult_COption_MonitorEventZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_COption_MonitorEventZDecodeErrorZ_get_err(long owner);
+ // struct LDKHTLCUpdate CResult_HTLCUpdateDecodeErrorZ_get_ok(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_HTLCUpdateDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_HTLCUpdateDecodeErrorZ_get_err(LDKCResult_HTLCUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_HTLCUpdateDecodeErrorZ_get_err(long owner);
+ // struct LDKOutPoint C2Tuple_OutPointScriptZ_get_a(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR owner);
+ public static native long C2Tuple_OutPointScriptZ_get_a(long owner);
+ // struct LDKCVec_u8Z C2Tuple_OutPointScriptZ_get_b(LDKC2Tuple_OutPointScriptZ *NONNULL_PTR owner);
+ public static native byte[] C2Tuple_OutPointScriptZ_get_b(long owner);
+ // uint32_t C2Tuple_u32ScriptZ_get_a(LDKC2Tuple_u32ScriptZ *NONNULL_PTR owner);
+ public static native int C2Tuple_u32ScriptZ_get_a(long owner);
+ // struct LDKCVec_u8Z C2Tuple_u32ScriptZ_get_b(LDKC2Tuple_u32ScriptZ *NONNULL_PTR owner);
+ public static native byte[] C2Tuple_u32ScriptZ_get_b(long owner);
+ // struct LDKThirtyTwoBytes C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR owner);
+ public static native byte[] C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_a(long owner);
+ // struct LDKCVec_C2Tuple_u32ScriptZZ C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(LDKC2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ *NONNULL_PTR owner);
+ public static native long[] C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_get_b(long owner);
+ // uint32_t C2Tuple_u32TxOutZ_get_a(LDKC2Tuple_u32TxOutZ *NONNULL_PTR owner);
+ public static native int C2Tuple_u32TxOutZ_get_a(long owner);
+ // struct LDKTxOut C2Tuple_u32TxOutZ_get_b(LDKC2Tuple_u32TxOutZ *NONNULL_PTR owner);
+ public static native long C2Tuple_u32TxOutZ_get_b(long owner);
+ // struct LDKThirtyTwoBytes C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR owner);
+ public static native byte[] C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_a(long owner);
+ // struct LDKCVec_C2Tuple_u32TxOutZZ C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ *NONNULL_PTR owner);
+ public static native long[] C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_get_b(long owner);
+ public static class LDKBalance {
+ private LDKBalance() {}
+ public final static class ClaimableOnChannelClose extends LDKBalance {
+ public long claimable_amount_satoshis;
+ ClaimableOnChannelClose(long claimable_amount_satoshis) { this.claimable_amount_satoshis = claimable_amount_satoshis; }
+ }
+ public final static class ClaimableAwaitingConfirmations extends LDKBalance {
+ public long claimable_amount_satoshis;
+ public int confirmation_height;
+ ClaimableAwaitingConfirmations(long claimable_amount_satoshis, int confirmation_height) { this.claimable_amount_satoshis = claimable_amount_satoshis; this.confirmation_height = confirmation_height; }
+ }
+ public final static class ContentiousClaimable extends LDKBalance {
+ public long claimable_amount_satoshis;
+ public int timeout_height;
+ ContentiousClaimable(long claimable_amount_satoshis, int timeout_height) { this.claimable_amount_satoshis = claimable_amount_satoshis; this.timeout_height = timeout_height; }
+ }
+ public final static class MaybeClaimableHTLCAwaitingTimeout extends LDKBalance {
+ public long claimable_amount_satoshis;
+ public int claimable_height;
+ MaybeClaimableHTLCAwaitingTimeout(long claimable_amount_satoshis, int claimable_height) { this.claimable_amount_satoshis = claimable_amount_satoshis; this.claimable_height = claimable_height; }
+ }
+ static native void init();
+ }
+ static { LDKBalance.init(); }
+ public static native LDKBalance LDKBalance_ref_from_ptr(long ptr);
+ // struct LDKC2Tuple_BlockHashChannelMonitorZ CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_get_err(long owner);
+ // void CResult_NoneLightningErrorZ_get_ok(LDKCResult_NoneLightningErrorZ *NONNULL_PTR owner);
+ public static native void CResult_NoneLightningErrorZ_get_ok(long owner);
+ // struct LDKLightningError CResult_NoneLightningErrorZ_get_err(LDKCResult_NoneLightningErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NoneLightningErrorZ_get_err(long owner);
+ // struct LDKPublicKey C2Tuple_PublicKeyTypeZ_get_a(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR owner);
+ public static native byte[] C2Tuple_PublicKeyTypeZ_get_a(long owner);
+ // struct LDKType C2Tuple_PublicKeyTypeZ_get_b(LDKC2Tuple_PublicKeyTypeZ *NONNULL_PTR owner);
+ public static native long C2Tuple_PublicKeyTypeZ_get_b(long owner);
+ // bool CResult_boolLightningErrorZ_get_ok(LDKCResult_boolLightningErrorZ *NONNULL_PTR owner);
+ public static native boolean CResult_boolLightningErrorZ_get_ok(long owner);
+ // struct LDKLightningError CResult_boolLightningErrorZ_get_err(LDKCResult_boolLightningErrorZ *NONNULL_PTR owner);
+ public static native long CResult_boolLightningErrorZ_get_err(long owner);
+ // struct LDKChannelAnnouncement C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
+ public static native long C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(long owner);
+ // struct LDKChannelUpdate C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
+ public static native long C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(long owner);
+ // struct LDKChannelUpdate C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ *NONNULL_PTR owner);
+ public static native long C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(long owner);
+ // struct LDKCVec_u8Z CResult_CVec_u8ZPeerHandleErrorZ_get_ok(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR owner);
+ public static native byte[] CResult_CVec_u8ZPeerHandleErrorZ_get_ok(long owner);
+ // struct LDKPeerHandleError CResult_CVec_u8ZPeerHandleErrorZ_get_err(LDKCResult_CVec_u8ZPeerHandleErrorZ *NONNULL_PTR owner);
+ public static native long CResult_CVec_u8ZPeerHandleErrorZ_get_err(long owner);
+ // void CResult_NonePeerHandleErrorZ_get_ok(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR owner);
+ public static native void CResult_NonePeerHandleErrorZ_get_ok(long owner);
+ // struct LDKPeerHandleError CResult_NonePeerHandleErrorZ_get_err(LDKCResult_NonePeerHandleErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NonePeerHandleErrorZ_get_err(long owner);
+ // bool CResult_boolPeerHandleErrorZ_get_ok(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR owner);
+ public static native boolean CResult_boolPeerHandleErrorZ_get_ok(long owner);
+ // struct LDKPeerHandleError CResult_boolPeerHandleErrorZ_get_err(LDKCResult_boolPeerHandleErrorZ *NONNULL_PTR owner);
+ public static native long CResult_boolPeerHandleErrorZ_get_err(long owner);
+ // struct LDKNodeId CResult_NodeIdDecodeErrorZ_get_ok(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeIdDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NodeIdDecodeErrorZ_get_err(LDKCResult_NodeIdDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeIdDecodeErrorZ_get_err(long owner);
+ // struct LDKCOption_NetworkUpdateZ CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_COption_NetworkUpdateZDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(LDKCResult_COption_NetworkUpdateZDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_COption_NetworkUpdateZDecodeErrorZ_get_err(long owner);
+ public interface LDKAccess {
+ long get_utxo(byte[] genesis_hash, long short_channel_id);
+ }
+ public static native long LDKAccess_new(LDKAccess impl);
+ // LDKCResult_TxOutAccessErrorZ Access_get_utxo LDKAccess *NONNULL_PTR this_arg, const uint8_t (*genesis_hash)[32], uint64_t short_channel_id
+ public static native long Access_get_utxo(long this_arg, byte[] genesis_hash, long short_channel_id);
+ public static class LDKCOption_AccessZ {
+ private LDKCOption_AccessZ() {}
+ public final static class Some extends LDKCOption_AccessZ {
+ public long some;
+ Some(long some) { this.some = some; }
+ }
+ public final static class None extends LDKCOption_AccessZ {
+ None() { }
+ }
+ static native void init();
+ }
+ static { LDKCOption_AccessZ.init(); }
+ public static native LDKCOption_AccessZ LDKCOption_AccessZ_ref_from_ptr(long ptr);
+ // struct LDKDirectionalChannelInfo CResult_DirectionalChannelInfoDecodeErrorZ_get_ok(LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_DirectionalChannelInfoDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_DirectionalChannelInfoDecodeErrorZ_get_err(LDKCResult_DirectionalChannelInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_DirectionalChannelInfoDecodeErrorZ_get_err(long owner);
+ // struct LDKChannelInfo CResult_ChannelInfoDecodeErrorZ_get_ok(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelInfoDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ChannelInfoDecodeErrorZ_get_err(LDKCResult_ChannelInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelInfoDecodeErrorZ_get_err(long owner);
+ // struct LDKRoutingFees CResult_RoutingFeesDecodeErrorZ_get_ok(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_RoutingFeesDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_RoutingFeesDecodeErrorZ_get_err(LDKCResult_RoutingFeesDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_RoutingFeesDecodeErrorZ_get_err(long owner);
+ // struct LDKNodeAnnouncementInfo CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeAnnouncementInfoDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(LDKCResult_NodeAnnouncementInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeAnnouncementInfoDecodeErrorZ_get_err(long owner);
+ // struct LDKNodeInfo CResult_NodeInfoDecodeErrorZ_get_ok(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeInfoDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NodeInfoDecodeErrorZ_get_err(LDKCResult_NodeInfoDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeInfoDecodeErrorZ_get_err(long owner);
+ // struct LDKNetworkGraph CResult_NetworkGraphDecodeErrorZ_get_ok(LDKCResult_NetworkGraphDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NetworkGraphDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NetworkGraphDecodeErrorZ_get_err(LDKCResult_NetworkGraphDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NetworkGraphDecodeErrorZ_get_err(long owner);
+ public static class LDKCOption_CVec_NetAddressZZ {
+ private LDKCOption_CVec_NetAddressZZ() {}
+ public final static class Some extends LDKCOption_CVec_NetAddressZZ {
+ public long[] some;
+ Some(long[] some) { this.some = some; }
+ }
+ public final static class None extends LDKCOption_CVec_NetAddressZZ {
+ None() { }
+ }
+ static native void init();
+ }
+ static { LDKCOption_CVec_NetAddressZZ.init(); }
+ public static native LDKCOption_CVec_NetAddressZZ LDKCOption_CVec_NetAddressZZ_ref_from_ptr(long ptr);
+ // struct LDKNetAddress CResult_NetAddressDecodeErrorZ_get_ok(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NetAddressDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NetAddressDecodeErrorZ_get_err(LDKCResult_NetAddressDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NetAddressDecodeErrorZ_get_err(long owner);
+ // struct LDKAcceptChannel CResult_AcceptChannelDecodeErrorZ_get_ok(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_AcceptChannelDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_AcceptChannelDecodeErrorZ_get_err(LDKCResult_AcceptChannelDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_AcceptChannelDecodeErrorZ_get_err(long owner);
+ // struct LDKAnnouncementSignatures CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_AnnouncementSignaturesDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_AnnouncementSignaturesDecodeErrorZ_get_err(LDKCResult_AnnouncementSignaturesDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_AnnouncementSignaturesDecodeErrorZ_get_err(long owner);
+ // struct LDKChannelReestablish CResult_ChannelReestablishDecodeErrorZ_get_ok(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelReestablishDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ChannelReestablishDecodeErrorZ_get_err(LDKCResult_ChannelReestablishDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelReestablishDecodeErrorZ_get_err(long owner);
+ // struct LDKClosingSigned CResult_ClosingSignedDecodeErrorZ_get_ok(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ClosingSignedDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ClosingSignedDecodeErrorZ_get_err(LDKCResult_ClosingSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ClosingSignedDecodeErrorZ_get_err(long owner);
+ // struct LDKClosingSignedFeeRange CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ClosingSignedFeeRangeDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(LDKCResult_ClosingSignedFeeRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ClosingSignedFeeRangeDecodeErrorZ_get_err(long owner);
+ // struct LDKCommitmentSigned CResult_CommitmentSignedDecodeErrorZ_get_ok(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_CommitmentSignedDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_CommitmentSignedDecodeErrorZ_get_err(LDKCResult_CommitmentSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_CommitmentSignedDecodeErrorZ_get_err(long owner);
+ // struct LDKFundingCreated CResult_FundingCreatedDecodeErrorZ_get_ok(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingCreatedDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_FundingCreatedDecodeErrorZ_get_err(LDKCResult_FundingCreatedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingCreatedDecodeErrorZ_get_err(long owner);
+ // struct LDKFundingSigned CResult_FundingSignedDecodeErrorZ_get_ok(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingSignedDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_FundingSignedDecodeErrorZ_get_err(LDKCResult_FundingSignedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingSignedDecodeErrorZ_get_err(long owner);
+ // struct LDKFundingLocked CResult_FundingLockedDecodeErrorZ_get_ok(LDKCResult_FundingLockedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingLockedDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_FundingLockedDecodeErrorZ_get_err(LDKCResult_FundingLockedDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_FundingLockedDecodeErrorZ_get_err(long owner);
+ // struct LDKInit CResult_InitDecodeErrorZ_get_ok(LDKCResult_InitDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_InitDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_InitDecodeErrorZ_get_err(LDKCResult_InitDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_InitDecodeErrorZ_get_err(long owner);
+ // struct LDKOpenChannel CResult_OpenChannelDecodeErrorZ_get_ok(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_OpenChannelDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_OpenChannelDecodeErrorZ_get_err(LDKCResult_OpenChannelDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_OpenChannelDecodeErrorZ_get_err(long owner);
+ // struct LDKRevokeAndACK CResult_RevokeAndACKDecodeErrorZ_get_ok(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_RevokeAndACKDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_RevokeAndACKDecodeErrorZ_get_err(LDKCResult_RevokeAndACKDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_RevokeAndACKDecodeErrorZ_get_err(long owner);
+ // struct LDKShutdown CResult_ShutdownDecodeErrorZ_get_ok(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ShutdownDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ShutdownDecodeErrorZ_get_err(LDKCResult_ShutdownDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ShutdownDecodeErrorZ_get_err(long owner);
+ // struct LDKUpdateFailHTLC CResult_UpdateFailHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFailHTLCDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UpdateFailHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFailHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFailHTLCDecodeErrorZ_get_err(long owner);
+ // struct LDKUpdateFailMalformedHTLC CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFailMalformedHTLCDecodeErrorZ_get_err(long owner);
+ // struct LDKUpdateFee CResult_UpdateFeeDecodeErrorZ_get_ok(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFeeDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UpdateFeeDecodeErrorZ_get_err(LDKCResult_UpdateFeeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFeeDecodeErrorZ_get_err(long owner);
+ // struct LDKUpdateFulfillHTLC CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFulfillHTLCDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(LDKCResult_UpdateFulfillHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateFulfillHTLCDecodeErrorZ_get_err(long owner);
+ // struct LDKUpdateAddHTLC CResult_UpdateAddHTLCDecodeErrorZ_get_ok(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateAddHTLCDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UpdateAddHTLCDecodeErrorZ_get_err(LDKCResult_UpdateAddHTLCDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UpdateAddHTLCDecodeErrorZ_get_err(long owner);
+ // struct LDKPing CResult_PingDecodeErrorZ_get_ok(LDKCResult_PingDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_PingDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_PingDecodeErrorZ_get_err(LDKCResult_PingDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_PingDecodeErrorZ_get_err(long owner);
+ // struct LDKPong CResult_PongDecodeErrorZ_get_ok(LDKCResult_PongDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_PongDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_PongDecodeErrorZ_get_err(LDKCResult_PongDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_PongDecodeErrorZ_get_err(long owner);
+ // struct LDKUnsignedChannelAnnouncement CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(long owner);
+ // struct LDKChannelAnnouncement CResult_ChannelAnnouncementDecodeErrorZ_get_ok(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelAnnouncementDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ChannelAnnouncementDecodeErrorZ_get_err(LDKCResult_ChannelAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelAnnouncementDecodeErrorZ_get_err(long owner);
+ // struct LDKUnsignedChannelUpdate CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(LDKCResult_UnsignedChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedChannelUpdateDecodeErrorZ_get_err(long owner);
+ // struct LDKChannelUpdate CResult_ChannelUpdateDecodeErrorZ_get_ok(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelUpdateDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ChannelUpdateDecodeErrorZ_get_err(LDKCResult_ChannelUpdateDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ChannelUpdateDecodeErrorZ_get_err(long owner);
+ // struct LDKErrorMessage CResult_ErrorMessageDecodeErrorZ_get_ok(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ErrorMessageDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ErrorMessageDecodeErrorZ_get_err(LDKCResult_ErrorMessageDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ErrorMessageDecodeErrorZ_get_err(long owner);
+ // struct LDKUnsignedNodeAnnouncement CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(long owner);
+ // struct LDKNodeAnnouncement CResult_NodeAnnouncementDecodeErrorZ_get_ok(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeAnnouncementDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_NodeAnnouncementDecodeErrorZ_get_err(LDKCResult_NodeAnnouncementDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_NodeAnnouncementDecodeErrorZ_get_err(long owner);
+ // struct LDKQueryShortChannelIds CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_QueryShortChannelIdsDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_QueryShortChannelIdsDecodeErrorZ_get_err(LDKCResult_QueryShortChannelIdsDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_QueryShortChannelIdsDecodeErrorZ_get_err(long owner);
+ // struct LDKReplyShortChannelIdsEnd CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ReplyShortChannelIdsEndDecodeErrorZ_get_err(long owner);
+ // struct LDKQueryChannelRange CResult_QueryChannelRangeDecodeErrorZ_get_ok(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_QueryChannelRangeDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_QueryChannelRangeDecodeErrorZ_get_err(LDKCResult_QueryChannelRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_QueryChannelRangeDecodeErrorZ_get_err(long owner);
+ // struct LDKReplyChannelRange CResult_ReplyChannelRangeDecodeErrorZ_get_ok(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ReplyChannelRangeDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_ReplyChannelRangeDecodeErrorZ_get_err(LDKCResult_ReplyChannelRangeDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_ReplyChannelRangeDecodeErrorZ_get_err(long owner);
+ // struct LDKGossipTimestampFilter CResult_GossipTimestampFilterDecodeErrorZ_get_ok(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_GossipTimestampFilterDecodeErrorZ_get_ok(long owner);
+ // struct LDKDecodeError CResult_GossipTimestampFilterDecodeErrorZ_get_err(LDKCResult_GossipTimestampFilterDecodeErrorZ *NONNULL_PTR owner);
+ public static native long CResult_GossipTimestampFilterDecodeErrorZ_get_err(long owner);