Bitcoin Forum
May 03, 2024, 12:41:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can we compare blocks produced by network mining nodes in terms of trxn order?  (Read 204 times)
AYOBA (OP)
Full Member
***
Offline Offline

Activity: 266
Merit: 140



View Profile
October 15, 2023, 06:11:54 PM
Merited by Crypt0Gore (3), Franctoshi (2), SOKO-DEKE (2), Chilwell (2), Dzwaafu11 (2), Ruttoshi (2), Egii Nna (2), ABCbits (1), DdmrDdmr (1), DaNNy001 (1)
 #1

If I receive a transaction from four different people at the same time, are these transactions going to be received by different nodes? The order will be different. So, in my opinion, mining nodes will include them in various blocks, and their hash rate and nonce will differ. So, I have a question: Is it normal for bitcoin transactions to result in blocks that include completely varied orders of transactions that were generated by various nodes? The only thing that I think matters is the correct number required for proof of work (and if it is found, then the block is going to be accepted by other nodes), and perhaps in terms of the number of transactions contained in them.

1714696902
Hero Member
*
Offline Offline

Posts: 1714696902

View Profile Personal Message (Offline)

Ignore
1714696902
Reply with quote  #2

1714696902
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714696902
Hero Member
*
Offline Offline

Posts: 1714696902

View Profile Personal Message (Offline)

Ignore
1714696902
Reply with quote  #2

1714696902
Report to moderator
1714696902
Hero Member
*
Offline Offline

Posts: 1714696902

View Profile Personal Message (Offline)

Ignore
1714696902
Reply with quote  #2

1714696902
Report to moderator
1714696902
Hero Member
*
Offline Offline

Posts: 1714696902

View Profile Personal Message (Offline)

Ignore
1714696902
Reply with quote  #2

1714696902
Report to moderator
Zaguru12
Hero Member
*****
Offline Offline

Activity: 686
Merit: 867



View Profile
October 15, 2023, 06:43:41 PM
 #2

Once a transaction is broadcasted it is received by each nodes and they create a candidate block and add this transactions into the candidate in order they see fit, there is no actual arrangement required except that in case of dependent blocks where parents transactions comes before child transactions, or probably based on transaction fee which is not a protocol. So if all this transaction are ahead to one miners candidate block and the four transactions sent to you happen to fall in the block, if the miner gets the right nonce first then his block get added to blockchain after been verified by other nodes.

In simple term there is no prescribed protocol way to arranged a transaction except if one transaction depends on the order and the parent transaction gets added first, nothing more than the miner adding any of the transaction he pleases and as we know miner’s priorities that base on fees

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
hosseinimr93
Legendary
*
Offline Offline

Activity: 2394
Merit: 5235



View Profile
October 15, 2023, 07:39:25 PM
Merited by ABCbits (4), bitmover (2), Zaguru12 (2)
 #3

If I receive a transaction from four different people at the same time, are these transactions going to be received by different nodes?
It's not that each transaction goes to a mempool of different node.
Once you broadcast a transaction, it's propagated to the network and almost all nodes will receive that. If you received four transactions, almost all nodes will probably receive all those four transaction.

So, in my opinion, mining nodes will include them in various blocks, and their hash rate and nonce will differ.
Miners prioritize transactions based on their fee rate and it's possible that a miner include all those four transactions in the same block.

Is it normal for bitcoin transactions to result in blocks that include completely varied orders of transactions that were generated by various nodes?
Again, transactions are prioritize based on their fee rate.
Assuming the fee rate of transaction A is higher than the fee rate of transaction B, transaction A will be probably confirmed in the same block than transaction B or earlier.


Once a transaction is broadcasted it is received by each nodes and they create a candidate block and add this transactions into the candidate in order they see fit,
Not all nodes need to create a candidate block. Only mining pools and those who mine solo make candidate block.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Medusah
Sr. Member
****
Offline Offline

Activity: 275
Merit: 271



View Profile
October 15, 2023, 09:37:48 PM
 #4

The order of the transactions in terms of block space will be different.  When mining, the order of the transactions in transaction data matters.  I do not understand your question.  What comparison are you trying to make?

█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
.
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Zaguru12
Hero Member
*****
Offline Offline

Activity: 686
Merit: 867



View Profile
October 15, 2023, 10:21:40 PM
 #5

The order of the transactions in terms of block space will be different.  When mining, the order of the transactions in transaction data matters. 

The order of the transactions in a block doesn’t matter except in two cases. The first is the coinbase transaction which must be the first transaction and the dependent transactions which are considered as packages with the parent transaction verified first before the child transaction. The mining pool then pick transaction in terms of transaction fee from the of highest fee to the lowest including the packages. But this is not a protocol rule that must be obeyed because the transactions can be ordered in any way except the two cases I mentioned.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5916


bitcoindata.science


View Profile WWW
October 16, 2023, 11:41:29 AM
 #6

You can visually see how transactions are orgqnized in a block here

https://mempool.space/block/00000000000000000001df9394219ced52cb3789dc1c31408d6e01bec37c0b2a


They are organized by fee rate, that is basically all that matters.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
hosseinimr93
Legendary
*
Offline Offline

Activity: 2394
Merit: 5235



View Profile
October 17, 2023, 10:41:43 AM
 #7

Yes, miner can choose any transaction and include it in any order (with exception of Coinbase TX).
There's another requirement that should be considered by miners when they place transactions in the block.

Since nodes verify transactions in the order they have been placed in the block, if there's a parent and a child and a miner wants to include both of them in the same block, the parent must be placed before the child.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!