Failure Detectors in Solving the Consensus Problem