+ /**
+ * Set this feature as optional.
+ */
+ public set_static_remote_key_optional(): void {
+ bindings.ChannelTypeFeatures_set_static_remote_key_optional(this.ptr);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public set_static_remote_key_required(): void {
+ bindings.ChannelTypeFeatures_set_static_remote_key_required(this.ptr);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public supports_static_remote_key(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_supports_static_remote_key(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public requires_static_remote_key(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_requires_static_remote_key(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public set_anchors_nonzero_fee_htlc_tx_optional(): void {
+ bindings.ChannelTypeFeatures_set_anchors_nonzero_fee_htlc_tx_optional(this.ptr);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public set_anchors_nonzero_fee_htlc_tx_required(): void {
+ bindings.ChannelTypeFeatures_set_anchors_nonzero_fee_htlc_tx_required(this.ptr);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public supports_anchors_nonzero_fee_htlc_tx(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_supports_anchors_nonzero_fee_htlc_tx(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public requires_anchors_nonzero_fee_htlc_tx(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_requires_anchors_nonzero_fee_htlc_tx(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public set_anchors_zero_fee_htlc_tx_optional(): void {
+ bindings.ChannelTypeFeatures_set_anchors_zero_fee_htlc_tx_optional(this.ptr);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public set_anchors_zero_fee_htlc_tx_required(): void {
+ bindings.ChannelTypeFeatures_set_anchors_zero_fee_htlc_tx_required(this.ptr);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public supports_anchors_zero_fee_htlc_tx(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_supports_anchors_zero_fee_htlc_tx(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public requires_anchors_zero_fee_htlc_tx(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_requires_anchors_zero_fee_htlc_tx(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public set_scid_privacy_optional(): void {
+ bindings.ChannelTypeFeatures_set_scid_privacy_optional(this.ptr);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public set_scid_privacy_required(): void {
+ bindings.ChannelTypeFeatures_set_scid_privacy_required(this.ptr);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public supports_scid_privacy(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_supports_scid_privacy(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public requires_scid_privacy(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_requires_scid_privacy(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Set this feature as optional.
+ */
+ public set_zero_conf_optional(): void {
+ bindings.ChannelTypeFeatures_set_zero_conf_optional(this.ptr);
+ }
+
+ /**
+ * Set this feature as required.
+ */
+ public set_zero_conf_required(): void {
+ bindings.ChannelTypeFeatures_set_zero_conf_required(this.ptr);
+ }
+
+ /**
+ * Checks if this feature is supported.
+ */
+ public supports_zero_conf(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_supports_zero_conf(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Checks if this feature is required.
+ */
+ public requires_zero_conf(): boolean {
+ const ret: boolean = bindings.ChannelTypeFeatures_requires_zero_conf(this.ptr);
+ return ret;
+ }
+