I am writing a study work related to blockchain and the potential in my area of working. Therefore I am now analysing how blockchain works.I have some confusion and hope somebody here can help me with a good source or directly help me to understand it.
I use the bitcoin blockchain as example to explain it.
Person A send Person B xx amount of btc
the transaction is not yet on the blockchain (unconfirmed)
The nodes (miner) verify the transaction mathematically in a block and chain in in the blockchain
TX is confirmed and Person B receives xx amount of btc -> this I got!
Now every 10min a new block is generated with xx amount of BTC (Based on the algorithmus)
The Blockchain runs with SHA-256, every block has a unique hash so every miner understands where is the current ending of the blockchain.
My problem is to understand/connect those three points, I wanna illustrate it on a timeline.
We have a chain lets say this chain has only 5 blocks. So the miners look for the 6th block. The 5th block has a unique hash so every miner knows where to line up the 6th block.
Then we have a list of unconfirmed transaction, every TX has a little incentive fee for the miners.
The miners work (verify old Tx and search for a new block)
I read that they have to solve mathematical quizzes -> where is the link to a new block then?
Do they create blocks while searching for a new block with btc inside?
-> if a new block is found has this block also Tx inside? Does somebody has a sample on the blockchain?
Do they then use those blocks, add Tx and match it to the blockchain?
How many Tx can go in a block?
Are there also empty blocks?
Sorry if my questions sounds stupid.