0
When a miner can find a number to create a hash with enough zeros, the other miners can verify his work by testing that number and seeing if everything is correct. But how do they verify that the transactions in the block are not false? How do they see that the amounts are properly authorized? An attacker could create a transaction in which Alice sends him 5 BTC, without Alice knowing about it. Is it possible?
"checking that all the individual transactions in it are all valid" How is performed this action? – BossShell – 2017-12-08T08:28:16.083
In the case of a Bitcoin Core full node, for block verification see https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp and for transactions see https://github.com/bitcoin/bitcoin/blob/master/src/consensus/tx_verify.cpp. Other wallet software or miners may or may not employ equivalent logic.
– sipwiz – 2017-12-08T09:12:18.573