Calculation of ValueIn and nSigops, implementation of IEqualityComparer<COutPoint>