[Java] Update auto-generated bindings to LDK 0.0.118
[ldk-java] / src / main / java / org / ldk / structs / HTLCDescriptor.java
index 50fddf0c76d71273a5a1a881fddfca842be4532f..b80c2dce4024483d7bcc9901f79d704d03daf063 100644 (file)
@@ -86,6 +86,28 @@ public class HTLCDescriptor extends CommonBase {
                Reference.reachabilityFence(val);
        }
 
+       /**
+        * The feerate to use on the HTLC claiming transaction. This is always `0` for HTLCs
+        * originating from a channel supporting anchor outputs, otherwise it is the channel's
+        * negotiated feerate at the time the commitment transaction was built.
+        */
+       public int get_feerate_per_kw() {
+               int ret = bindings.HTLCDescriptor_get_feerate_per_kw(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
+       /**
+        * The feerate to use on the HTLC claiming transaction. This is always `0` for HTLCs
+        * originating from a channel supporting anchor outputs, otherwise it is the channel's
+        * negotiated feerate at the time the commitment transaction was built.
+        */
+       public void set_feerate_per_kw(int val) {
+               bindings.HTLCDescriptor_set_feerate_per_kw(this.ptr, val);
+               Reference.reachabilityFence(this);
+               Reference.reachabilityFence(val);
+       }
+
        /**
         * The details of the HTLC as it appears in the commitment transaction.
         */