- public void set_channel_id(CommitmentSigned this_ptr, byte[] val) {
- bindings.CommitmentSigned_set_channel_id(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public void set_signature(byte[] val) {
+ bindings.CommitmentSigned_set_signature(this.ptr, val);
+ }
+
+ public void set_htlc_signatures(byte[][] val) {
+ bindings.CommitmentSigned_set_htlc_signatures(this.ptr, val);
+ }
+
+ public static CommitmentSigned constructor_new(byte[] channel_id_arg, byte[] signature_arg, byte[][] htlc_signatures_arg) {
+ long ret = bindings.CommitmentSigned_new(channel_id_arg, signature_arg, htlc_signatures_arg);
+ CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ public CommitmentSigned clone() {
+ long ret = bindings.CommitmentSigned_clone(this.ptr);
+ CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;