Difference between revisions of "Confirmation"

 
(42 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<ref>n.d., [https://bitcoin.org/en/how-it-works How does Bitcoin work?], ''bitcoin.org'', n.d. Retrieved 02/03/18.</ref>. [[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]".
+
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.
  
Each time a new block is added to the chain (every ten minutes), the transaction is said to be confirmed again. As a consensus, many users wait for a transaction to be confirmed six times (after roughly sixty minutes) before accepting it as payment, to avoid double-spending. Users will usually show a transaction as "n/unconfirmed" until it is six blocks deep.
+
== 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.
  
== Bitcoin Confirmation Time ==
+
==Confirmations in commerce==
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%).
+
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.
 
 
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. Especially long we have to wait in the days of peak activity, which is not often, but sometimes. Of great importance is the Commission paid to miners. The bigger it is, the higher the priority will be.
 
 
 
How long does bitcoin take to send? The size of the transaction has an influence on bitcoin confirmation time. It also has an additional impact: sending large amounts is much faster.
 
 
 
===How many confirmations in bitcoin needed?===
 
Although six confirmations is the consensus, merchants and exchanges that accept bitcoin as payment for their products and services should set their own standard of confirmations they require before accepting payment.
 
 
 
 
 
 
 
==Number of Bitcoin Confirmations==
 
A regular bitcoin 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.
 
To make a transfer, the transaction must be verified in 6 blocks. If this does not happen, cryptogenic reach the final destination. Accordingly, the speed of bitcoin confirmations depends on the time of sending Finance.
 
 
 
 
 
 
 
 
 
 
 
 
 
After a transaction is broadcast to the Bitcoin network, it may be included in a block that is published to the network.
 
When that happens it is said that the transaction has been mined at a depth of 1 block.
 
With each subsequent block that is found, the number of blocks deep is increased by one.
 
To be secure against [[double spending]], a transaction should not be considered as '''confirmed''' until it is a certain number of blocks deep.
 
 
 
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.
 
 
 
 
 
 
 
=Confirmation Times=
 
 
 
Each additional confirmation is a new [[block]] being found and added to the end of the [[blockchain]].
 
 
 
Miners create blocks by solving the [[proof of work]] for their proposed block. The block interval has an average of 10 minutes but not every block interval is exactly 10 minutes. It follows a statistical process known as a [https://en.wikipedia.org/wiki/Poisson_point_process poisson process], where random events happen with the same probability in each time interval. Another way of expressing this is that the mining process has no memory, at every second a block has the same chance of being found. Poisson processes are well-understood but can be unintuative.
 
 
 
[[File:Block-interval.png|600px|center|alt text]]
 
 
 
There are lots of block intervals with a time less than 10 minutes but then a few block intervals much longer which bump up the average to 10 minutes. So the bitcoin network can get unlucky and a block won't be found for a whole hour.
 
 
 
[[File:Block-cumulative-interval.png|600px|center|alt text]]
 
 
 
In a 10 minute interval, the probability of a block being found is about 63% (or 1 - e^(-1)). So approximately two-thirds of the time a block will be found in 10 minutes or less. In 30 minutes a block has a 95% chance of being found, which rises to 99.7% if the time interval is 60 minutes.
 
  
 
=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."