/// <summary> /// Equality implementation. /// </summary> /// <returns> /// A unique hash of the contents of this <code>TxId</code> /// object. Only consistent within the current instance of /// the application process. /// </returns> public override int GetHashCode() { return($"TxID:{Address.GetHashCode()}:{ValidStartSeconds}:{ValidStartNanos}".GetHashCode()); }
/// <summary> /// Equality implementation. /// </summary> /// <returns> /// A unique hash of the contents of this <code>Claim</code> /// object. Only consistent within the current instance of /// the application process. /// </returns> public override int GetHashCode() { return($"Claim:{Address?.GetHashCode()}:{Hex.FromBytes(Hash)}:{Endorsements.GetHashCode()}:{ClaimDuration}".GetHashCode()); }