Here is some example, Chris tries to send one bitcoin to Felix. Let’s suppose.
First, we need to check whether Chris owns at least one bitcoin. In a blockchain network, there is no single item to determine how much money a person owns. Instead, the balance can be grasped by calculating all previous transactions, and this work is called a transaction chain.
When the bitcoin software is downloaded, the user receives a complete version of the transaction chain. Once you receive the transaction chain (so downloading takes up to 24 hours), it’s very easy to figure out Chris’s current balance.
Once Chris confirms that she owns enough bitcoin to carry out the transaction, the next step is to publish a transaction message. This message includes the addresses of the remitter and the recipient, the amount of money transferred, and the digital signature generated by the remitter. After the message is publicly announced, any node in this network can forward and execute the message.
Prior to the execution of the transaction, the transaction must be added to the unconfirmed transaction pool, which is called a mempool (memory pool). Here, the miner can choose the transaction.
Miners basically act as mediators to prove transactions. Once the transaction is proven, the miner can add the transaction to the new block. Since the size of the block is determined, a new block is created after a certain number of transactions are added. The current block is connected to the previous block, and the blockchain is formed through this process.