+ public void set_funding_outpoint(@Nullable org.ldk.structs.OutPoint val) {
+ bindings.ChannelTransactionParameters_set_funding_outpoint(this.ptr, val == null ? 0 : val.ptr);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);
+ if (this != null) { this.ptrs_to.add(val); };
+ }
+
+ /**
+ * Are anchors (zero fee HTLC transaction variant) used for this channel. Boolean is
+ * serialization backwards-compatible.
+ */
+ public COption_NoneZ get_opt_anchors() {
+ COption_NoneZ ret = bindings.ChannelTransactionParameters_get_opt_anchors(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Are anchors (zero fee HTLC transaction variant) used for this channel. Boolean is
+ * serialization backwards-compatible.
+ */
+ public void set_opt_anchors(org.ldk.enums.COption_NoneZ val) {
+ bindings.ChannelTransactionParameters_set_opt_anchors(this.ptr, val);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);
+ }
+
+ /**
+ * Are non-zero-fee anchors are enabled (used in conjuction with opt_anchors)
+ * It is intended merely for backwards compatibility with signers that need it.
+ * There is no support for this feature in LDK channel negotiation.
+ */
+ public COption_NoneZ get_opt_non_zero_fee_anchors() {
+ COption_NoneZ ret = bindings.ChannelTransactionParameters_get_opt_non_zero_fee_anchors(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Are non-zero-fee anchors are enabled (used in conjuction with opt_anchors)
+ * It is intended merely for backwards compatibility with signers that need it.
+ * There is no support for this feature in LDK channel negotiation.
+ */
+ public void set_opt_non_zero_fee_anchors(org.ldk.enums.COption_NoneZ val) {
+ bindings.ChannelTransactionParameters_set_opt_non_zero_fee_anchors(this.ptr, val);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);