+ /**
+ * Creates a copy of the HolderCommitmentTransaction
+ */
+ public HolderCommitmentTransaction clone() {
+ long ret = bindings.HolderCommitmentTransaction_clone(this.ptr);
+ if (ret < 1024) { return null; }
+ HolderCommitmentTransaction ret_hu_conv = new HolderCommitmentTransaction(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Serialize the HolderCommitmentTransaction object into a byte array which can be read by HolderCommitmentTransaction_read
+ */