process in vimputer that ensures all nodes agree on a single state according to predefined state transition function maintaining safety and liveness despite potential failures or attacks some notable examples of consensus nakamoto tendermint and cometbft gasper discover all concepts or dive into collective intelligence