*/
LDKBlindedFailure_FromBlindedNode,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKBolt11SemanticError_ImpreciseAmount,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKBolt12SemanticError_MissingSignature,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKCOption_NoneZ_None,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKChannelMonitorUpdateStatus_UnrecoverableError,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKChannelShutdownState_ShutdownComplete,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKConfirmationTarget_ChannelCloseMinimum,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKCreationError_MinFinalCltvExpiryDeltaTooShort,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKCurrency_Signet,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKHTLCClaim_Revocation,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
LDKIOError_Other,
LDKIOError_UnexpectedEof,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKLevel_Error,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKNetwork_Signet,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKPaymentFailureReason_UnexpectedError,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKRecipient_PhantomNode,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKRetryableSendFailure_DuplicatePayment,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKSecp256k1Error_InvalidParityValue,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKSiPrefix_Pico,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKSocketAddressParseError_InvalidOnionV3,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
*/
LDKUtxoLookupError_UnknownTx,
; static native void init();
- static { init(); }
+ static { org.ldk.impl.bindings.run_statics(); init(); }
}
\ No newline at end of file
// Fetching the LDK versions from C also checks that the header and binaries match
System.err.println("Loaded LDK-Java Bindings " + version.get_ldk_java_bindings_version() + " with LDK " + get_ldk_version() + " and LDK-C-Bindings " + get_ldk_c_bindings_version());
}
+ public static void run_statics() { /* Useful to force the statics to run */ }
static native void init(java.lang.Class c);
static native void init_class_cache();
static native String get_lib_version_string();