Majority consension replication protocol