1 package org.ldk.structs;
3 import org.ldk.impl.bindings;
4 import org.ldk.enums.*;
6 public class PreCalculatedTxCreationKeys extends CommonBase {
7 PreCalculatedTxCreationKeys(Object _dummy, long ptr) { super(ptr); }
8 @Override @SuppressWarnings("deprecation")
9 protected void finalize() throws Throwable {
11 bindings.PreCalculatedTxCreationKeys_free(ptr);
14 public PreCalculatedTxCreationKeys(TxCreationKeys keys) {
15 super(bindings.PreCalculatedTxCreationKeys_new(keys == null ? 0 : keys.ptr & ~1));
16 this.ptrs_to.add(keys);
19 public TxCreationKeys trust_key_derivation() {
20 TxCreationKeys ret = new TxCreationKeys(null, bindings.PreCalculatedTxCreationKeys_trust_key_derivation(this.ptr));
24 public byte[] per_commitment_point() {
25 byte[] ret = bindings.PreCalculatedTxCreationKeys_per_commitment_point(this.ptr);