Jammy01 (OP)
Jr. Member

Activity: 32
Merit: 12
|
 |
August 25, 2026, 07:11:53 PM Last edit: August 25, 2026, 08:57:30 PM by Jammy01 |
|
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
|
|
|
|
|
|
hmbdofficial
|
 |
August 25, 2026, 07:28:30 PM Last edit: August 25, 2026, 07:49:52 PM by hmbdofficial |
|
Your question has been answered in so may thread on the board. Just a quick search can help you out, however it’s possible that two miners can find valid blocks almost the sametime and those block can actually contain conflicting transactions. And it’s one of the situations bitcoin is designed to handle. Just how that bitcoin doesn’t try to stop this from happening. The node follows the chain with the most cumulative proof of work. As more blocks are minded on one branch, that branch eventually wins, and others become stale. And the transaction in that branch will not be confirmed. Therefore two conflicting transactions can effectively be mined at the same time but only one get confirmed, the consensus mechanism is what usually resolves the temporary disagreement
|
|
|
|
|
|
Cookdata
Legendary

Activity: 1834
Merit: 1506
Not Your Keys, Not Your Bitcoin
|
I am a bit confused on the part talking about how nodes mine transactions
I get your question but nodes does not mine Bitcoin transactions, miners does. The node helps validate transactions and update the ledger after transactions are mined. But what if two nodes mistakenly mine a conflicting transaction at the same time I just want to know if that is possible
Two miners, not nodes can mine a conflicting transaction but we can't have two block height on the network, one with the longest chain as proof of work is going to be the valid block and the other one will become a stale block. PS: Miners are nodes but not all nodes are miners. If you continue to use node, people will assume you are referring to ordinary nodes but the context of your questions points to miners. Read: https://learnmeabitcoin.com/technical/blockchain/chain-reorganization/
|
|
|
|
Mia Chloe
Legendary

Activity: 1232
Merit: 2311
Contact me for you designs...
|
 |
August 25, 2026, 07:38:55 PM |
|
~snip
I can't vividly remember but I think I made a few replies concerning this in another post someone here has left a link to some posts that actually discuss these stuff about conflicting transactions. First off understand every miner has his own mempool it's after they confirm that it kinda becomes like a general one. If a conflict like that ever happens the miner that has the heaviest transaction volume will be accepted against the other conflicting confirmation almost similar to the chain with more validations becoming the valid one.
|
|
|
|
Stalker22
Legendary

Activity: 2394
Merit: 1681
|
 |
August 25, 2026, 07:50:43 PM |
|
~ But what if two nodes mistakenly mine a conflicting transaction at the same time I just want to know if that is possible
Yes, it is possible. I dont know exactly how common it is these days, but in the early days, it happened more often because propagation was slow, leading to frequent temporary splits. And just as hmbdofficial and Cookdata explained, the longer chain wins, and all transactions from the discarded block return to the mempool. Any conflicting double-spend transaction is rejected by the network because because its source UTXO no longer exists on the main chain.
|
|
|
|
Mia Chloe
Legendary

Activity: 1232
Merit: 2311
Contact me for you designs...
|
 |
August 25, 2026, 08:15:45 PM |
|
This is actually valid because nodes don't really interact directly in stuff like these they just share and store what the chain records more like public ledger. The catch for this conflict is most times the miner with a more efficient propagation and hashrate will most likely win the fees. Ordinary nodes can't do anything because based on the conflict the node will accept the one that gets propagated to it first and if the issue is solved it kinda resyncs back to meet the normal conditions.
|
|
|
|
Upgrade00
Legendary

Activity: 2912
Merit: 2992
Community Manager - Brand Promotions ✅
|
 |
August 25, 2026, 08:43:15 PM |
|
https://learnmeabitcoin.com/beginners/guide/mining/The above section in the link you shared on mining is probably the part that led you to use nodes for miners interchangeably, cause that's how they used it on the page. All miners are nodes, they need a copy of the blockchain/mempool to attempt to "confirm" transactions, which is the mining process. For clarity, the process of confirming blocks is mining, and those who attempt to do so are miners. Individual miners may choose not to run a node if they're connecting to a mining pool that already runs one or several.
|
| . .Duelbits..REWARDING, BEYOND LIMITS... | █████████████████████████ █████████████████████████ ███████████▀▀░░▀█▄░░▀████ ████████▀░░░░░░░░▀█▄░████ ███████░░░░▄▄░░▄░░░▀█████ ██████░░░░░▀▀▄██▀░░░░████ █████░░░██░▄██▀▄▄░░░█████ ████░░░░░▄██▀░░▀▀░░██████ █████▄░░▀█▀░██░░░░███████ ████░▀█▄░░░░░░░░▄████████ ████▄░░▀█▄░░▄▄███████████ █████████████████████████ █████████████████████████ | █████████████████████████ █████████████████████████ █████████▀░░▀░███████████ ████████░░░▄░█░██████████ ███████████▌▐██░█████████ ███████████░███▌▐████████ ██████████░█████░████████ ██████▀░▄░▀███▀░▄░▀██████ █████░▄▀░░░░█░▄▀░░░░█████ █████░░░░░░░█░░░░░░░█████ ██████▄░░░▄███▄░░░▄██████ █████████████████████████ █████████████████████████ | █ █ █ █ █ █ █ █ █ █ █ █ █ | |
| | █ █ █ █ █ █ █ █ █ █ █ █ █ | PLAY NOW |
|
|
|
goldkingcoiner
Legendary

Activity: 2940
Merit: 3139
HoDL
|
 |
August 25, 2026, 08:47:20 PM |
|
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."
|
|
|
|
Jammy01 (OP)
Jr. Member

Activity: 32
Merit: 12
|
 |
August 25, 2026, 09:02:18 PM |
|
I am a bit confused on the part talking about how nodes mine transactions
I get your question but nodes does not mine Bitcoin transactions, miners does. The node helps validate transactions and update the ledger after transactions are mined. But what if two nodes mistakenly mine a conflicting transaction at the same time I just want to know if that is possible
Two miners, not nodes can mine a conflicting transaction but we can't have two block height on the network, one with the longest chain as proof of work is going to be the valid block and the other one will become a stale block. PS: Miners are nodes but not all nodes are miners. If you continue to use node, people will assume you are referring to ordinary nodes but the context of your questions points to miners. Read: https://learnmeabitcoin.com/technical/blockchain/chain-reorganization/Thank you I get it now
|
|
|
|
|
|
Alpha Marine
|
 |
August 30, 2026, 06:26:10 PM |
|
You're talking about miners, not nodes. Nodes don't mine or confirm a transaction. What they do is validate, store and pass on transactions and blocks across the peer-to-peer network. Nodes help secure the system. The more nodes in the network, the more difficult it would be for anybody to control, meaning it would be more decentralised and more secured. In simply terms, it is easier to hack and gain control of ten systems, than it is to gain control of a hundred systems. While miners are the ones who confirm new transactions and mine new blocks.
Your actual question has been answered, I just wanted to clarify the difference bwteen nodes and miners. You should probably read more on the both of them to have a better understanding of the difference.
|
|
|
|
|
|
promise444c5
Legendary

Activity: 1176
Merit: 1256
All things are numbers
|
 |
September 08, 2026, 02:14:47 AM |
|
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
It’s fine, most people here were once a newbie except those with some knowledge before joining and the devs . There’s no need to correct “node” again, so I will just comment based on how you understood it.. Not sure if what you meant is Invalid or conflicting The possibility of what you mentioned is slim if it made it( two block containing conflicting transaction at the same block height) but still possible, that will be solved by longest chain and one of the two would be confirmed afterwards .. If you meant invalid transaction ( in both blocks ) .. at the end, both will be rejected by up-to-date nodes and the valid transactions in the particular blocks will have to be mined by another miner running the latest node .
|
|
|
|
Mia Chloe
Legendary

Activity: 1232
Merit: 2311
Contact me for you designs...
|
 |
September 10, 2026, 09:11:57 PM |
|
There’s no need to correct “node” again, so I will just comment based on how you understood it..
Sometimes it's necessary to distinguish between nodes and miners especially in sensitive questions like these. For instance it's quite safe to say nodes will accept literally almost anything that is valid because they are more like a public ledger unlike miners that can choose what they wanna add till it's been accepted by others before they too are compelled to sync. If you meant invalid transaction ( in both blocks ) .. at the end, both will be rejected by up-to-date nodes and the valid transactions in the particular blocks will have to be mined by another miner running the latest node .
Can you please clarify what you mean here ? I don't really get it in total especially both getting rejected because I don't think so.
|
|
|
|
promise444c5
Legendary

Activity: 1176
Merit: 1256
All things are numbers
|
 |
September 10, 2026, 11:21:34 PM Last edit: September 11, 2026, 07:44:41 AM by promise444c5 |
|
There’s no need to correct “node” again, so I will just comment based on how you understood it..
Sometimes it's necessary to distinguish between nodes and miners especially in sensitive questions like these. I was directing the statement to myself  , like I don’t need to repeat what others had explain already on the thread.. If you meant invalid transaction ( in both blocks ) .. at the end, both will be rejected by up-to-date nodes and the valid transactions in the particular blocks will have to be mined by another miner running the latest node .
Can you please clarify what you mean here ? I don't really get it in total especially both getting rejected because I don't think so. Invalid transactions that mostly escape normal mempool checks and eventually get mined can be the result of nodes running non-up-to-date consensus rules or bugs in affected nodes, among others .. Hence, “invalid” can mean invalid under the current consensus rules or invalid as a result of a bug. So if there’s something rare [as mentioned] like two miners mining blocks containing invalid transactions.. both blocks will be rejected by up-to-date nodes if the transactions violate a consensus rule they enforce.
|
|
|
|
|
Comeacross
|
 |
September 21, 2026, 04:35:16 PM |
|
But what if two nodes mistakenly mine a conflicting transaction at the same time I just want to know if that is possible
This exact scenario was discussed in my previous thread What happen when 2 miners confirm different versions of my transaction same tim?Yes, It's possible for two nodes to mine conflicting transactions at the same block height at the same time due network latency and that's how we get temporary fork since the network resolve the issue via the longest chain rule. Scenarios like this is the reason why we have to wait for confirmation after broadcasting transactions to avoid double spend issues. You can check the thread to read more explanatory posts on this issue.
|
|
|
|
|
oll
|
 |
September 30, 2026, 12:41:19 PM |
|
I have been trying to understand how bitcoin works because I have zero knowledge about it, after reading some recommendations on the ... I'm a newbie I'm just trying to wrap my head around bitcoin, the write up may look somehow
I highly recommend you watch this video about Bitcoin and how it works. I've seen many videos with fancy effects, but never one as informative and engaging as this one. The author doesn't make flashy videos, but explains things incredibly simply and, I would even say, captivatingly. This is the video that really helped me understand all the basic principles of Bitcoin. And I always recommend it to friends and acquaintances who have even the slightest interest in cryptocurrencies or Bitcoin. https://youtu.be/bBC-nXj3Ng4?is=5zJSLbsvpWJdUY2FThis is a very common video and I think you can find it translated if English is not your native language.
|
|
|
|
|