Figure 3.24: Consensus protocols for sensor networks