use sha256hash to check if a tx is dependency