]> git.bitcoin.ninja Git - ldk-java/commitdiff
[Java] Update auto-generated bindings
authorMatt Corallo <git@bluematt.me>
Wed, 13 Mar 2024 22:58:43 +0000 (22:58 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Mar 2024 23:23:06 +0000 (23:23 +0000)
21 files changed:
src/main/java/org/ldk/enums/BlindedFailure.java
src/main/java/org/ldk/enums/Bolt11SemanticError.java
src/main/java/org/ldk/enums/Bolt12SemanticError.java
src/main/java/org/ldk/enums/COption_NoneZ.java
src/main/java/org/ldk/enums/ChannelMonitorUpdateStatus.java
src/main/java/org/ldk/enums/ChannelShutdownState.java
src/main/java/org/ldk/enums/ConfirmationTarget.java
src/main/java/org/ldk/enums/CreationError.java
src/main/java/org/ldk/enums/Currency.java
src/main/java/org/ldk/enums/HTLCClaim.java
src/main/java/org/ldk/enums/IOError.java
src/main/java/org/ldk/enums/Level.java
src/main/java/org/ldk/enums/Network.java
src/main/java/org/ldk/enums/PaymentFailureReason.java
src/main/java/org/ldk/enums/Recipient.java
src/main/java/org/ldk/enums/RetryableSendFailure.java
src/main/java/org/ldk/enums/Secp256k1Error.java
src/main/java/org/ldk/enums/SiPrefix.java
src/main/java/org/ldk/enums/SocketAddressParseError.java
src/main/java/org/ldk/enums/UtxoLookupError.java
src/main/java/org/ldk/impl/bindings.java

index 51b3265c175a6519aa60c9916787f48033a6cfc7..47ba4cf737b49baba68ff7514c64d57b4227663d 100644 (file)
@@ -16,5 +16,5 @@ public enum BlindedFailure {
         */
        LDKBlindedFailure_FromBlindedNode,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index f858b153eb1cdbcd7971795d49acb892036b4be3..9efbbc3aa0e134a0c922df4ba328e5211efede99 100644 (file)
@@ -47,5 +47,5 @@ public enum Bolt11SemanticError {
         */
        LDKBolt11SemanticError_ImpreciseAmount,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 80cc85923110dc697665a35bb93ad523eb7f2df3..3fe0c2a32cd867e24cb3a46ed6ab97e6df40e749 100644 (file)
@@ -113,5 +113,5 @@ public enum Bolt12SemanticError {
         */
        LDKBolt12SemanticError_MissingSignature,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index d4379d79ba7e2845cc91deb3dcece3056ae11239..4affa5856a1426722fcbe7afcdbad0f69e15b357 100644 (file)
@@ -13,5 +13,5 @@ public enum COption_NoneZ {
         */
        LDKCOption_NoneZ_None,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 70c6589af0eff3892c07a9c9693eb8280238e148..4cbadd6fc649b8efb4f9efdc864e418eb0d31762 100644 (file)
@@ -74,5 +74,5 @@ public enum ChannelMonitorUpdateStatus {
         */
        LDKChannelMonitorUpdateStatus_UnrecoverableError,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index a7813ae5b095e7647ceccefa0df8c60bf70cc9c5..9e8ea0eac8eaf6f13f3c27ad7ef8031a59bcf53f 100644 (file)
@@ -32,5 +32,5 @@ public enum ChannelShutdownState {
         */
        LDKChannelShutdownState_ShutdownComplete,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 4098a1231f3558ca62a8b369ea552d193dc3a8a7..25479835f66f9b094a271736ed4222e3424f0ac8 100644 (file)
@@ -93,5 +93,5 @@ public enum ConfirmationTarget {
         */
        LDKConfirmationTarget_ChannelCloseMinimum,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 0f4c50fa01b579ce1c39b5d77b27b5c4ef33dbc3..90e1a5f722723ce9db140619d2d75c9cdf64719b 100644 (file)
@@ -34,5 +34,5 @@ public enum CreationError {
         */
        LDKCreationError_MinFinalCltvExpiryDeltaTooShort,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 67ed429b6472232a94997441408ca88407873b2f..4c57527ee9226d81e61c7b6b25ac91a4659f0f68 100644 (file)
@@ -25,5 +25,5 @@ public enum Currency {
         */
        LDKCurrency_Signet,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index da90c2e055ca4f2d60911c68c849636c702c0c35..286d0680ffce4d2c6e969b143fe9347f9410f482 100644 (file)
@@ -25,5 +25,5 @@ public enum HTLCClaim {
         */
        LDKHTLCClaim_Revocation,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index ff41b270c36136a604bedc4d94155491b2e971fa..2a2f26ecc274c4e02beda44feb79ec59576d5ba7 100644 (file)
@@ -23,5 +23,5 @@ public enum IOError {
        LDKIOError_Other,
        LDKIOError_UnexpectedEof,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 6b06596156213c1d34ae114b037592cbec6e2a13..38746c3078ca7e94e410dc73a1683a0029cb0a82 100644 (file)
@@ -29,5 +29,5 @@ public enum Level {
         */
        LDKLevel_Error,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index ce37795849a506349ac2fffa5122a712e7b450a8..bcab211d5d771b53d0c1ec2b530a4a5cdb80069e 100644 (file)
@@ -21,5 +21,5 @@ public enum Network {
         */
        LDKNetwork_Signet,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 1710fa7bbe1aea1df7f18fc1c2cd9e6a9d5ea41d..b9cec19c0428c95a6386eaa07efaf183db1cee67 100644 (file)
@@ -40,5 +40,5 @@ public enum PaymentFailureReason {
         */
        LDKPaymentFailureReason_UnexpectedError,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 6fad691b0e3e937eb1ae71e8cc0d2071ccade7d4..5e705b190a700865f94962cdb9f6dcc9e0ab52ac 100644 (file)
@@ -19,5 +19,5 @@ public enum Recipient {
         */
        LDKRecipient_PhantomNode,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 30a0d2b345afc62ab44385e58382ec6c14a823b8..26a79966ea594ce7b1d79ac181e5ef7cab99d086 100644 (file)
@@ -30,5 +30,5 @@ public enum RetryableSendFailure {
         */
        LDKRetryableSendFailure_DuplicatePayment,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 6b50cc5e4bf0ff630ffa86faed0c9d60762b2343..15ac4972ce809a0456ba65fd4b76c6e2258571f4 100644 (file)
@@ -49,5 +49,5 @@ public enum Secp256k1Error {
         */
        LDKSecp256k1Error_InvalidParityValue,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 319da34eb901fa6b220a428eb28eef4ea54d49df..8a87b1d38c715a7a0b79b14b1a2fcc6ea5d717e9 100644 (file)
@@ -21,5 +21,5 @@ public enum SiPrefix {
         */
        LDKSiPrefix_Pico,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index f3bdd7558a5fe0f88efdc6e11cb85ddedb85186c..1622a1ccb4f04ca51a4cf316d587d42eb133f256 100644 (file)
@@ -21,5 +21,5 @@ public enum SocketAddressParseError {
         */
        LDKSocketAddressParseError_InvalidOnionV3,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index 1b2a750bea43170cf603de8438cac1ae77331dd5..211861dbca848e8b9cd44e7ad689a7b25b66202d 100644 (file)
@@ -13,5 +13,5 @@ public enum UtxoLookupError {
         */
        LDKUtxoLookupError_UnknownTx,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file
index c648d98c99e2a9147b4ea7b392947d3f1d92b50d..a979e69d09becc65cd91fb86e04edece2fdd3c67 100644 (file)
@@ -38,6 +38,7 @@ public class bindings {
                // 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();