Bitcoin Forum
August 28, 2026, 08:19:19 AM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Having problem understanding how bitcoin works  (Read 110 times)
Jammy01 (OP)
Jr. Member
*
Offline

Activity: 32
Merit: 4


View Profile
August 25, 2026, 07:11:53 PM
Last edit: August 25, 2026, 08:57:30 PM by Jammy01
Merited by standardnepo (1)
 #1

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
Full Member
***
Offline

Activity: 294
Merit: 108

Creating a Safer Crypto Ecosystem


View Profile
August 25, 2026, 07:28:30 PM
Last edit: August 25, 2026, 07:49:52 PM by hmbdofficial
 #2

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
Donneski
Sr. Member
****
Offline

Activity: 756
Merit: 267


Contact Hhampuz for campaign


View Profile
August 25, 2026, 07:32:19 PM
Merited by Mia Chloe (2)
 #3

This your your topic I think should've been better made in the Bitcoin discussion board but since there are some technicalities in your question, maybe the moderators will leave it here.

Now to your question, I'd have loved to intensively explain how nodes work, however, I think it'll be better I refer you to few threads that had extensively discussed them in the forum, in them, you'll also find the contributions of very experienced members which will give you a better insight of what you really want to know.
First among them is this thread by @Fivestar4everMVP titled Understanding Bitcoin Nodes, Its Types, Functions and Benefits.

You can also check these threads below
https://bitcointalk.org/index.php?topic=5500955.0
https://bitcointalk.org/index.php?topic=5484089.0
https://bitcointalk.org/index.php?topic=5523879.0

I hope you get the clarity you seek after reading through the threads.

Cookdata
Legendary
*
Offline

Activity: 1778
Merit: 1475


Not Your Keys, Not Your Bitcoin


View Profile
August 25, 2026, 07:35:32 PM
 #4

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.

Quote
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
*
Offline

Activity: 1176
Merit: 2285


Contact me for your designs...


View Profile
August 25, 2026, 07:38:55 PM
 #5

~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
*
Offline

Activity: 2338
Merit: 1648



View Profile
August 25, 2026, 07:50:43 PM
 #6

~
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.

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET.██████.IIIIICRYPTO'S FASTEST GROWING CASINO.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
| 
.
    PLAY NOW    
Mia Chloe
Legendary
*
Offline

Activity: 1176
Merit: 2285


Contact me for your designs...


View Profile
August 25, 2026, 08:15:45 PM
 #7

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/
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
*
Offline

Activity: 2856
Merit: 2939


Community Manager - Brand Promotions ✅


View Profile WWW
August 25, 2026, 08:43:15 PM
 #8

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/
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
*
Offline

Activity: 2884
Merit: 3078


HoDL


View Profile WWW
August 25, 2026, 08:47:20 PM
 #9

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
*
Offline

Activity: 32
Merit: 4


View Profile
August 25, 2026, 09:02:18 PM
 #10

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.

Quote
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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!