Rational consensus