Difference between revisions of "Confirmation"

 
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''Bitcoin transaction confirmation''' is needed to prevent double-spending of the same money. One of the main advantages of bitcoin is that it avoids the problem of [[Double-spending|double-spending]], 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 its users. Bitcoin transaction time is always changing and it depends on the miner's fee.
+
'''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 to confirm bitcoin transaction? ==
+
==How Bitcoin transactions are confirmed==
A transaction is a transfer of value between Bitcoin wallets that gets included in the [[block chain]]. [[Bitcoin transaction|Bitcoin transactions]] are not immediate. When a user wishes to send bitcoins, information is broadcast from her [[Bitcoin wallet|wallet]] to the (users in the) network, who verify that she has enough coins, and that they have never been spent before. Once validated, [[Mining|miners]] will include this transaction – along with others – in a new [[Block|block]] in the blockchain. This is called a '''transaction confirmation'''. The transaction is now said to be "[https://bitcoinchain.com/mempool/  unconfirmed bitcoin transaction]". Each time a new block is added to the chain (every ten minutes), the transaction is said to be confirmed again.  
+
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.
 +
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.
  
== Bitcoin Confirmation Time ==
+
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.
To answer the question "'''How Long Does It Take To Transfer Bitcoin'''" it needs to understand that bitcoin transaction confirmation time depends on many factors. The deeper a transaction is buried, the harder it will be to manipulate. Although 0/unconfirmed transactions could be reversed via Finney attack, race attack, or [[51% attack]], small amounts of money will not be worth the trouble. Larger sums are worth protecting under more bitcoin confirmations. The number six is just an arbitrary limit, beyond which the feasibility of an attacker being able to amass more than 10% of the network's hashrate for purposes of a transaction falsification becomes negligible (a risk lower than 0.1%).
+
For users whose transactions are less time critical, this is a mechanism to reduce transaction fees, especially in high volume applications.
 
 
Having understood how transactions occur, you should find out what affects the speed of processing and verification of information. To speed up the process, you need to know that it can slow down. Usually at the final time is affected by:
 
 
 
* network utilization;
 
* sharp jumps in the course;
 
* low commission.
 
 
 
The influence of the first factor is especially noticeable. When the system needs to process many requests, users have to wait. However, as Bitcoin SV transaction volume rarely ever reaches block or network capacity transactions are usually processed within a few seconds.
 
 
 
 
 
==Number of Bitcoin Confirmations==
 
A regular bitcoin sv client will show the transaction as “n / unconfirmed” until its size in the chain becomes 6 blocks. 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.<ref>[https://bitcoil.co.il/Doublespend.pdf Analysis of hashrate-based double-spending]</ref>.
 
 
 
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 [[Transaction expiration|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.
 
 
 
  
 +
==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=
  
* [[Blocks]]
+
* [[block|Blocks]]
* [[Transaction]]
+
* [[Bitcoin Transactions|Transaction]]
 +
* [[Merchant API]]
  
 
=References=
 
=References=
<references />
+
[1] Nakamoto, Satoshi. "Bitcoin: A Peer-to-Peer Electronic Cash System."
 +
 
  
 
[[Category:Technical]]
 
[[Category:Technical]]

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