solves consensus with EIG and byzantine nodes