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