I know that:
Each replication technique should follow a consistency model. A consistency model defines a set of rules for the order of the write and read operations. In some replication techniques (like state machine replication), to execute each write operation, replicas should reach consensus on executing or rejecting the operation.
In my opinion, a consensus algorithm is a subset of the rules which are related to the write operations and defined by a consistency model. Is it correct?