+ /**
+ * Set this feature as optional.
+ */
+ public void set_static_remote_key_optional() {
+ bindings.ChannelTypeFeatures_set_static_remote_key_optional(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public void set_static_remote_key_required() {
+ bindings.ChannelTypeFeatures_set_static_remote_key_required(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public boolean supports_static_remote_key() {
+ boolean ret = bindings.ChannelTypeFeatures_supports_static_remote_key(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public boolean requires_static_remote_key() {
+ boolean ret = bindings.ChannelTypeFeatures_requires_static_remote_key(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public void set_anchors_nonzero_fee_htlc_tx_optional() {
+ bindings.ChannelTypeFeatures_set_anchors_nonzero_fee_htlc_tx_optional(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public void set_anchors_nonzero_fee_htlc_tx_required() {
+ bindings.ChannelTypeFeatures_set_anchors_nonzero_fee_htlc_tx_required(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public boolean supports_anchors_nonzero_fee_htlc_tx() {
+ boolean ret = bindings.ChannelTypeFeatures_supports_anchors_nonzero_fee_htlc_tx(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public boolean requires_anchors_nonzero_fee_htlc_tx() {
+ boolean ret = bindings.ChannelTypeFeatures_requires_anchors_nonzero_fee_htlc_tx(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public void set_anchors_zero_fee_htlc_tx_optional() {
+ bindings.ChannelTypeFeatures_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.ChannelTypeFeatures_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.ChannelTypeFeatures_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.ChannelTypeFeatures_requires_anchors_zero_fee_htlc_tx(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public void set_taproot_optional() {
+ bindings.ChannelTypeFeatures_set_taproot_optional(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public void set_taproot_required() {
+ bindings.ChannelTypeFeatures_set_taproot_required(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public boolean supports_taproot() {
+ boolean ret = bindings.ChannelTypeFeatures_supports_taproot(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public boolean requires_taproot() {
+ boolean ret = bindings.ChannelTypeFeatures_requires_taproot(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public void set_scid_privacy_optional() {
+ bindings.ChannelTypeFeatures_set_scid_privacy_optional(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public void set_scid_privacy_required() {
+ bindings.ChannelTypeFeatures_set_scid_privacy_required(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public boolean supports_scid_privacy() {
+ boolean ret = bindings.ChannelTypeFeatures_supports_scid_privacy(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public boolean requires_scid_privacy() {
+ boolean ret = bindings.ChannelTypeFeatures_requires_scid_privacy(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public void set_zero_conf_optional() {
+ bindings.ChannelTypeFeatures_set_zero_conf_optional(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public void set_zero_conf_required() {
+ bindings.ChannelTypeFeatures_set_zero_conf_required(this.ptr);
+ Reference.reachabilityFence(this);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public boolean supports_zero_conf() {
+ boolean ret = bindings.ChannelTypeFeatures_supports_zero_conf(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public boolean requires_zero_conf() {
+ boolean ret = bindings.ChannelTypeFeatures_requires_zero_conf(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+