public TxLookupKey(UInt256 blockHash, int txIndex) { BlockHash = blockHash; TxIndex = txIndex; var hashBytes = new byte[36]; blockHash.ToByteArray(hashBytes); Bits.EncodeInt32(txIndex, hashBytes, 32); hashCode = Bits.ToInt32(new xxHash(32).ComputeHash(hashBytes)); }