Difference between revisions of "Confirmation"

 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Bitcoin transaction confirmation''' is needed to guarantee that a payment is finalized. One of the main advantages of bitcoin is that it solves the problem of [[Double-spending|double-spending]][https://bitcoinsv.io/bitcoin.pdf], i.e. the risk that a digital currency token may be copied and spent more than once. In spite of having no central authority to verify that its tokens are not being duplicated, bitcoin successfully avoids double-spending through a system of decentralized transaction confirmation, based on the [[Consensus|consensus]] of a network of validators. Bitcoin SV transaction confirmation time cannot be precisely predicted. However, once a transaction has been relayed around the network it has a high probability of being included in the next mined [[block]].
+
'''Bitcoin transaction confirmation''' is the process of finalising a transaction - with an economically expensive attestation - by the Mining network that the transaction is valid, and does not conflict with any previously seen transactions. One of the key functions of Bitcoin, is that it solves the problem of [[Double-spending|double-spending]] by establishing the order in which conflicting transactions have been publicly broadcast on the network. [https://bitcoinsv.io/bitcoin.pdf], i.e. the risk that a digital currency token may be copied and spent more than once. In spite of having no central authority to verify that its tokens are not being duplicated, Bitcoin successfully avoids double-spending through a system of distributed transaction confirmation, based on the [[Nakamoto Consensus|consensus]] of a network of validators. Bitcoin SV transaction confirmation time cannot be precisely predicted. However, once a transaction has been relayed around the network it has a high probability of being included in the next mined [[block]] if the including transaction fee is sufficient to satisfy most Miners.
  
==How Bitcoin transaction are confirmed==
+
==How Bitcoin transactions are confirmed==
A transaction is the exchange of information between parties. That information can be a quantity of [[Satoshis}, tokens or data of some other kind. Confirmation occurs when that transaction is included in a block that is added to the Bitcoin [[Block chain]]. When a user wishes to have a transaction confirmed, the complete transaction is broadcast from their wallet to miners in the Core network who verify that it is valid.  
+
A transaction is the exchange of information between parties. That information can be a quantity of [[Satoshis}, tokens or data of some other kind. Confirmation occurs when that transaction is included in a block that is added to the Bitcoin [[Blockchain]]. When a user wishes to have a transaction confirmed, the complete transaction is broadcast from their wallet to Miners in the network who verify that it is valid.  
Once validated, [[Mining|miners]] will decide whether or not to include this transaction in their block template and attempt to mine it.
+
Once validated, [[Mining|Miners]] will decide whether or not to include this transaction in their block template and attempt to mine it.
When a miner discovers a block that includes the transaction, it is considered '''confirmed'''. Each time a new block is added to the chain, the transaction is said to be confirmed again with the number of confirmations being the number of blocks added to the ledger that build upon the block containing the transaction.
+
When a Miner discovers a block that includes the transaction, it is considered '''confirmed'''. Each time a new block is added to the chain, the transaction is said to be confirmed again with the number of confirmations, being the number of blocks added to the ledger that build upon the block containing the transaction. This generally considered to be a measure of how difficult it would be for a dishonest Miner to invalidate the transaction by mining a longer competing chain containing a double-spend.
  
== Bitcoin SV Confirmation Time ==
+
== Bitcoin SV confirmation time ==
Typically, a transaction that is sent to the network with fees that adhere to the acceptance rate of X% of the network's hash rate will have X% chance of being mined in the next block.
+
Typically, a transaction that is sent to the network with fees that adhere to the acceptance rate of X% of the network's hash rate, will have X% chance of being mined in the next block.
 
 
For example, if it is known that 20% of nodes will accept transactions at a fee rate of 0.25 Satoshis/byte, the user can assume that there is a 20% chance of it being included in the next block, or conversely that it is likely to be mined in 1 of the next 5 blocks, or within a 50 minute timeframe.
 
For users whos transactions are less time critical, this is a great way to save money, especially in high volume applications.
 
 
 
==Number of Bitcoin SV Confirmations==
 
A regular bitcoin sv client will show the number of confirmations as part of the transaction metadata. In some older implementations of bitcoin the transactions were labelled "unconfirmed" until they had 6 confirmations. There is nothing special about the default, often-cited figure of 6 blocks. It was chosen based on the assumption that an attacker is unlikely to amass more than 10% of the hashrate, and that a negligible risk of less than 0.1% is acceptable.
 
Both these figures are arbitrary, however;
 
6 blocks are overkill for casual attackers, and at the same time powerless against more dedicated attackers with much more than 10% hashrate (see: [https://bitcoil.co.il/Doublespend.pdf Analysis of hashrate-based double-spending]).
 
 
 
Users and cryptocurrency exchanges that accept bitcoins as payment set their threshold in the number of required blocks until the payment is confirmed.
 
 
 
To find out how many checks are required to process the transaction and how long to wait for the receipt of funds, it is necessary to understand the features of cryptocurrency transfers. This process consists of several stages:
 
* addressee sends money;
 
* information about transactions is made in special blocks, each of which has a room and a hash (special data);
 
* the blocks are sent for scanning to different computers;
 
* if everything is done correctly, the received information replenishes various databases;
 
* checked blocks complete the chain;
 
* the money goes to the recipient.
 
 
 
 
 
Note that
 
 
 
* Unconfirmed transactions do not expire.
 
* Freshly-mined coins cannot be spent for 100 blocks.
 
* It is advisable to wait some additional time for a better chance that the transaction will be propagated by all nodes.
 
  
 +
For example, if it is known that 20% of nodes will accept transactions at a given fee rate, the user can assume that there is a 20% chance of it being included in the next block, or conversely that it is likely to be mined in 1 of the next 5 blocks, or within a 50 minute timeframe.
 +
For users whose transactions are less time critical, this is a mechanism to reduce transaction fees, especially in high volume applications.
  
 +
==Confirmations in commerce==
 +
Transaction confirmations are a means for receivers to gain assurance that the information they have received is valid, [[immutable]], and backed by the proof of work on the network. For most applications, including small to medium value commerce, confirmations are not required, however many businesses including cryptocurrency exchanges will make users wait for up to 6 confirmations before accepting funds for trade. Importantly, it is up to the user to set their own comfort threshold for doing business.
  
 
=See Also=
 
=See Also=

Latest revision as of 02:14, 22 April 2022

Bitcoin transaction confirmation is the process of finalising a transaction - with an economically expensive attestation - by the Mining network that the transaction is valid, and does not conflict with any previously seen transactions. One of the key functions of Bitcoin, is that it solves the problem of double-spending by establishing the order in which conflicting transactions have been publicly broadcast on the network. [1], i.e. the risk that a digital currency token may be copied and spent more than once. In spite of having no central authority to verify that its tokens are not being duplicated, Bitcoin successfully avoids double-spending through a system of distributed transaction confirmation, based on the consensus of a network of validators. Bitcoin SV transaction confirmation time cannot be precisely predicted. However, once a transaction has been relayed around the network it has a high probability of being included in the next mined block if the including transaction fee is sufficient to satisfy most Miners.

How Bitcoin transactions are confirmed

A transaction is the exchange of information between parties. That information can be a quantity of [[Satoshis}, tokens or data of some other kind. Confirmation occurs when that transaction is included in a block that is added to the Bitcoin Blockchain. When a user wishes to have a transaction confirmed, the complete transaction is broadcast from their wallet to Miners in the network who verify that it is valid. Once validated, Miners will decide whether or not to include this transaction in their block template and attempt to mine it. When a Miner discovers a block that includes the transaction, it is considered confirmed. Each time a new block is added to the chain, the transaction is said to be confirmed again with the number of confirmations, being the number of blocks added to the ledger that build upon the block containing the transaction. This generally considered to be a measure of how difficult it would be for a dishonest Miner to invalidate the transaction by mining a longer competing chain containing a double-spend.

Bitcoin SV confirmation time

Typically, a transaction that is sent to the network with fees that adhere to the acceptance rate of X% of the network's hash rate, will have X% chance of being mined in the next block.

For example, if it is known that 20% of nodes will accept transactions at a given fee rate, the user can assume that there is a 20% chance of it being included in the next block, or conversely that it is likely to be mined in 1 of the next 5 blocks, or within a 50 minute timeframe. For users whose transactions are less time critical, this is a mechanism to reduce transaction fees, especially in high volume applications.

Confirmations in commerce

Transaction confirmations are a means for receivers to gain assurance that the information they have received is valid, immutable, and backed by the proof of work on the network. For most applications, including small to medium value commerce, confirmations are not required, however many businesses including cryptocurrency exchanges will make users wait for up to 6 confirmations before accepting funds for trade. Importantly, it is up to the user to set their own comfort threshold for doing business.

See Also

References

[1] Nakamoto, Satoshi. "Bitcoin: A Peer-to-Peer Electronic Cash System."