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