Loading practice questions
What is the function of a consensus algorithm in blockchain?
Correct Answer: B — Ensuring agreement on the state of the blockchain
Explanation:
A consensus algorithm ensures all nodes agree on the validity of transactions and the state of the blockchain, maintaining consistency and security in a decentralized network.