For starters, I just want to say Bitcoin is awesome. I am a developer/economist and want to completely wrap my head around the theory behind Bitcoin so I can help out where possible.
My question is about transactions and how they are included in newly generated blocks.
- I understand that when a new block is generated, the miner gets to keep the fees of the transactions that he includes in the generated block, which replicates transactions across the network and keeps people from spending bitcoins twice, etc. (correct me if I'm wrong).
- The problem is, how do the miners "see" transactions? Or, how do they actually get the other users transactions to include in the newly generated block.
Also, what part does the "wallet.dat" play? Does it store your private key? If it does, why does it need to be backed up after each transaction?
[edit] Scratch the wallet.dat part, I just saw the question in the FAQ[/edit]