I'm a developer. I've read a lot about Bitcoin structure and how it works. But yet something confuse me. I would like to share them with you and read your answers:
When a miner solves a block, how other nodes reward it? If they have the source code to generate Bitcoin, why don't they generate it for themeselves?
I know 6 confirmations are enough for a transaction to be valid. What If I run 6 full nodes by myself and hard code their addresses in a wallet to create a fake transaction?
3 . When 51 percent agreement is made? On every transaction? Or each block solved?
When a new transaction is made, do miners check all previous transactions in blockchain for maker person to check if it's lying or not?
If more than one miners create a new block and broadcast it into network, how other nodes would find out which one was the first?
I'm very curious about Bitcoin technology but I couldn't find a source that satisfies me.