[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / BlindedHopFeatures.cs
index bf3c2cc47f558518b7a96cf4ecadcf5b8ca82b5c..d6de7e38b3c75fcba05536908a0db3795a68322b 100644 (file)
@@ -50,6 +50,18 @@ public class BlindedHopFeatures : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the BlindedHopFeatures.
+        */
+       public long hash() {
+               long ret = bindings.BlindedHopFeatures_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
        /**
         * Create a blank Features with no features set
         */