I have been trying to understand how bitcoin works because I have zero knowledge about it, after reading some recommendations on the forum i found this
https://learnmeabitcoin.com/beginners/how-does-bitcoin-work/I am a bit confused on the part talking about how nodes mine transactions
What if different nodes mine a conflicting transaction at the same time (everyone has the transaction in their memory pool and no one as mined it) one node is meant to mine and kick conflicting transactions and updates it file which is sent to other nodes whereby other nodes kick conflicting transactions in there memory pool too
But what if two nodes mistakenly mine a conflicting transaction at the same time
I just want to know if that is possible
I'm a newbie I'm just trying to wrap my head around bitcoin, the write up may look somehow
Nodes do not mine transactions. And Bitcoin deliberately allows temporary disagreement between nodes and has a way to resolve it.
Miners mine blocks containing transactions. Just because a transaction is in the mempool does not mean it has been permanently accepted into the blockchain. That is why people talk about "confirmations". The more confirmations the less likely a competing chain will replace it.
Mempool: "Here are the transactions that I know of and consider valid."
Mining: "I am making a block candidate and trying to find proof-of-work by using some of these transactions"
Blockchain: "Here is the history of what the network has agreed on."