Bitcoin Forum
May 12, 2024, 07:08:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Consensus. Posibility that a transaction will never be validated?  (Read 206 times)
cauciuc08 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
June 02, 2020, 08:37:18 AM
 #1

Firstly let me tell you (very abstractly), how I understood the consenous. If I am wrong, please correct me.

Out there are many miners and each one receive a lot of different transactions, that have to be validated. The one who is faster put all his by others verified transactions into a block.

What if for example my transaction lands by a miner, whose computing power very low is and he will be never able to put my transaction into a block?

Thanks abd best regards
1715497687
Hero Member
*
Offline Offline

Posts: 1715497687

View Profile Personal Message (Offline)

Ignore
1715497687
Reply with quote  #2

1715497687
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715497687
Hero Member
*
Offline Offline

Posts: 1715497687

View Profile Personal Message (Offline)

Ignore
1715497687
Reply with quote  #2

1715497687
Report to moderator
1715497687
Hero Member
*
Offline Offline

Posts: 1715497687

View Profile Personal Message (Offline)

Ignore
1715497687
Reply with quote  #2

1715497687
Report to moderator
1715497687
Hero Member
*
Offline Offline

Posts: 1715497687

View Profile Personal Message (Offline)

Ignore
1715497687
Reply with quote  #2

1715497687
Report to moderator
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
June 02, 2020, 08:43:04 AM
Merited by ABCbits (1)
 #2

Firstly let me tell you (very abstractly), how I understood the consenous. If I am wrong, please correct me.

Out there are many miners and each one receive a lot of different transactions, that have to be validated. The one who is faster put all his by others verified transactions into a block.

What if for example my transaction lands by a miner, whose computing power very low is and he will be never able to put my transaction into a block?

Thanks abd best regards

Your transaction does not end in the mempool of the node of one miner... It is broadcasted troughout the network and ends up in the mempool of the nodes of allmost all miners (if the transaction is valid and the fee is high enough to pass the minimum relay fee). This means that if your transaction had a sufficiently high fee and was valid, it should have been in the mempool of the node of whatever miner mines the next block...

It IS possible your transaction never ends up in a block if you were messing with your transaction and it's double-spending unspent outputs that are already used in another (potentially unconfirmed) transaction (unless the rbf flag is set) or if you cheap out on the fee and give no incentive to the miners to add your transaction into the block they're trying to solve (tx's get pruned from the mempool of most nodes after x days, or if the mempool size gets bigger than x mb... Each node can set these variables themselfs) or if it's invalid because of other (not so common) reasons.

That being said, your transaction not getting confirmed is not really the basic defenition of consensus rules... Unless your transaction is rejected BECAUSE it violated the consensus rules offcourse (but this is very uncommon, usually a transaction remains unconfirmed because the fee was to low, or because it was using an unspent output that has been double spent).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cauciuc08 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
June 02, 2020, 08:58:23 AM
 #3

wow. Thank you for the explanation. I did some research to understand what are you saying, because I am new in this and now I have thanks to you a much cleaner image, how it is supposed to work.

one more question: are the transactions picked up by chance from the mempool? Are there any criteria besides the econmic ones?
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
June 02, 2020, 09:03:03 AM
Merited by ABCbits (1)
 #4

wow. Thank you for the explanation. I did some research to understand what are you saying, because I am new in this and now I have thanks to you a much cleaner image, how it is supposed to work.

one more question: are the transactions picked up by chance from the mempool? Are there any criteria besides the econmic ones?

There used to be other criteria, but nowadays it 99,9% ecomic... The transactions with the highest fee per vbyte of transaction data usually end up in the next block. The biggest exepctions are transactions from pool operators, or people that payed pool operators to include their transactions into the next block.

The other caveat is that pools usually look at the unconfirmed parents of a transaction aswell... For example
Transaction 1 is unconfirmed, you cheaped out on the fee... But you used the output of transaction 1 to create transaction 2. Transaction 2 pays a fee high enough so the fee of transaction 1 + transaction 2 is in the top of the mempool for the combined vsize of transaction 1 + transaction 2. In this case, the miner will usually put transaction 1 and transaction 2 in the block he's trying to solve (cause it makes economic sense: he wants to add the fee of transaction 2 to his coinbase transaction, but he can only do so if he also adds transaction 1 to his block). But a general bystander will just see a transaction with a low fee/vbyte included in the block (transaction 1). This is called a CPFP Smiley

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cauciuc08 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
June 02, 2020, 09:06:42 AM
 #5

thank you again... you are a very nice person
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
June 04, 2020, 02:54:16 AM
 #6

Consensus in bitcoin network is not about validation of transactions.

that is exactly what consensus is all about! consensus or consensus rules are the set of rules that are enforced by any bitcoin full node client and it includes validation of blocks and their transactions. https://en.bitcoin.it/wiki/Consensus

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Online Online

Activity: 2408
Merit: 5598


Self-proclaimed Genius


View Profile
June 04, 2020, 03:30:04 AM
 #7

one more question: are the transactions picked up by chance from the mempool? Are there any criteria besides the econmic ones?
To give you a better picture: Transactions aren't being picked up and deleted from the mempool. (This must be where your confusion came from)
Mining Pools, Solo Miners, anything with Full Node (eg. Bitcoin Core) have their individual mempool and it's constantly being updated based from their own/default rules and new transactions from their peers' mempool;
it will only be deleted or rejected if it was "mined", didn't follow their set or default rules, input(s) were double-spent or transaction expired.
So each node's mempool shouldn't be too different than each other's.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
June 04, 2020, 07:10:34 AM
 #8

Nope, that article in the wiki  you refer to is misleading in some way as network  consensus  (defined by Satoshi and referenced in my above post) differs from rules of Bitcoin  as to the transaction validation. Those rules to validate transaction are the the set of rules to ensure that transactions in the block follow  correct protocol to build them (all scripts are valid and so on) and the record of those transaction included into the block is correct.

the rules you refer to (following the chain with the most proof of work) can be categorized under the same category of consensus rules. as i said they include block and transaction validation. there are more rules under block verification that include verifying the proof of work of that block, finding chain splits and following the longest chain,...

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