[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / TxSignatures.cs
index 246ee29b976c186544c7b8cf1a5d1c839e3191c1..43a524104fed2da80fccaf28fb4543ee8f584a5b 100644 (file)
@@ -117,6 +117,18 @@ public class TxSignatures : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the TxSignatures.
+        */
+       public long hash() {
+               long ret = bindings.TxSignatures_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two TxSignaturess contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.