ReplicaConsistency

Implemented the tree-based voting protocol for replica consistency