How is Proof of Work a consensus algorithm?

1 answers
1 votes
How is Proof of Work a consensus algorithm?
asked

I keep seeing reference to consensus algorithms, but isn’t proof of work just a miner solving a mathematical equation? What verifies that the transactions that are added to his/her block are valid? How would another miner know that although a fellow miner won the race to create a block, that the information in it is valid? How did the transactions get to the miner in the first place? Can invalid transactions (wherever they come from and wherever they are found) exist?

Thank you for an explanation.

Answers

newest most voted

Dear Marc,

Transactions are actually checked by nodes, before being added to the transaction pool. From there transactions get grouped and settled within a block by miners. I would say that nodes validate transactions, but miners confirm them by adding them to blocks and broadcast the block to the rest of the network, thus reaching consensus. By the way, all miners are automatically full nodes if I remember correctly. Hope this helps.

Hungry for knowledge?
New guides and courses each week
Looking to invest?
Market data, analysis, and reports
Just curious?
A community of blockchain experts to help

Get started today

Already have an account? Sign In