Beispiel #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Blockchain.Length != 0)
        {
            hash ^= Blockchain.GetHashCode();
        }
        if (SrcAddress.Length != 0)
        {
            hash ^= SrcAddress.GetHashCode();
        }
        if (DstAddress.Length != 0)
        {
            hash ^= DstAddress.GetHashCode();
        }
        if (Amount.Length != 0)
        {
            hash ^= Amount.GetHashCode();
        }
        if (Expiration != 0UL)
        {
            hash ^= Expiration.GetHashCode();
        }
        if (Block.Length != 0)
        {
            hash ^= Block.GetHashCode();
        }
        if (Deal.Length != 0)
        {
            hash ^= Deal.GetHashCode();
        }
        if (PreviousOwner.Length != 0)
        {
            hash ^= PreviousOwner.GetHashCode();
        }
        if (Transfer.Length != 0)
        {
            hash ^= Transfer.GetHashCode();
        }
        if (Sighash.Length != 0)
        {
            hash ^= Sighash.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Beispiel #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Blockchain.Length != 0)
        {
            hash ^= Blockchain.GetHashCode();
        }
        if (SrcAddress.Length != 0)
        {
            hash ^= SrcAddress.GetHashCode();
        }
        if (DstAddress.Length != 0)
        {
            hash ^= DstAddress.GetHashCode();
        }
        if (Order.Length != 0)
        {
            hash ^= Order.GetHashCode();
        }
        if (Amount.Length != 0)
        {
            hash ^= Amount.GetHashCode();
        }
        if (Tx.Length != 0)
        {
            hash ^= Tx.GetHashCode();
        }
        if (Block.Length != 0)
        {
            hash ^= Block.GetHashCode();
        }
        if (Processed != false)
        {
            hash ^= Processed.GetHashCode();
        }
        if (Sighash.Length != 0)
        {
            hash ^= Sighash.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Beispiel #3
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Blockchain.Length != 0)
        {
            hash ^= Blockchain.GetHashCode();
        }
        if (SrcAddress.Length != 0)
        {
            hash ^= SrcAddress.GetHashCode();
        }
        if (DstAddress.Length != 0)
        {
            hash ^= DstAddress.GetHashCode();
        }
        if (Amount.Length != 0)
        {
            hash ^= Amount.GetHashCode();
        }
        if (Interest.Length != 0)
        {
            hash ^= Interest.GetHashCode();
        }
        if (Maturity.Length != 0)
        {
            hash ^= Maturity.GetHashCode();
        }
        if (Fee.Length != 0)
        {
            hash ^= Fee.GetHashCode();
        }
        if (Expiration != 0UL)
        {
            hash ^= Expiration.GetHashCode();
        }
        if (Block.Length != 0)
        {
            hash ^= Block.GetHashCode();
        }
        if (LoanTransfer.Length != 0)
        {
            hash ^= LoanTransfer.GetHashCode();
        }
        if (RepaymentTransfer.Length != 0)
        {
            hash ^= RepaymentTransfer.GetHashCode();
        }
        if (Lock.Length != 0)
        {
            hash ^= Lock.GetHashCode();
        }
        if (Sighash.Length != 0)
        {
            hash ^= Sighash.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }