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