X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FNodeFeatures.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FNodeFeatures.java;h=4eae00cb1c710f7a952d8078f478be3f7eda145b;hb=eab9331afd014558a982441138e222999a9955d1;hp=b13f837b94431107f731da8a0006d6b2c5619549;hpb=397201c278ded558e45d406967f153770784ff88;p=ldk-java diff --git a/src/main/java/org/ldk/structs/NodeFeatures.java b/src/main/java/org/ldk/structs/NodeFeatures.java index b13f837b..4eae00cb 100644 --- a/src/main/java/org/ldk/structs/NodeFeatures.java +++ b/src/main/java/org/ldk/structs/NodeFeatures.java @@ -368,6 +368,40 @@ public class NodeFeatures extends CommonBase { return ret; } + /** + * Set this feature as optional. + */ + public void set_anchors_zero_fee_htlc_tx_optional() { + bindings.NodeFeatures_set_anchors_zero_fee_htlc_tx_optional(this.ptr); + Reference.reachabilityFence(this); + } + + /** + * Set this feature as required. + */ + public void set_anchors_zero_fee_htlc_tx_required() { + bindings.NodeFeatures_set_anchors_zero_fee_htlc_tx_required(this.ptr); + Reference.reachabilityFence(this); + } + + /** + * Checks if this feature is supported. + */ + public boolean supports_anchors_zero_fee_htlc_tx() { + boolean ret = bindings.NodeFeatures_supports_anchors_zero_fee_htlc_tx(this.ptr); + Reference.reachabilityFence(this); + return ret; + } + + /** + * Checks if this feature is required. + */ + public boolean requires_anchors_zero_fee_htlc_tx() { + boolean ret = bindings.NodeFeatures_requires_anchors_zero_fee_htlc_tx(this.ptr); + Reference.reachabilityFence(this); + return ret; + } + /** * Set this feature as optional. */