Update java bindings with new generator and new upstream code
[ldk-java] / src / main / java / org / ldk / structs / SpendableOutputDescriptor.java
index 3dabd15a9532bed36cdb1ae1983af6625ce46a91..a02d2379a92aeb767d1c6cf00f43771a5ad706ae 100644 (file)
@@ -5,6 +5,14 @@ import org.ldk.enums.*;
 import org.ldk.util.*;
 import java.util.Arrays;
 
+
+/**
+ * When on-chain outputs are created by rust-lightning (which our counterparty is not able to
+ * claim at any point in the future) an event is generated which you must track and be able to
+ * spend on-chain. The information needed to do this is provided in this enum, including the
+ * outpoint describing which txid and output index is available, the full output which exists at
+ * that txid/index, and any keys or other information required to sign.
+ */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class SpendableOutputDescriptor extends CommonBase {
        private SpendableOutputDescriptor(Object _dummy, long ptr) { super(ptr); }