What is an irreversible transaction in cryptocurrencies? (2024)

7 January 2020

Medium min reading

What is an irreversible transaction in cryptocurrencies? (1)

One of the great characteristics of cryptocurrencies is the ability to make an irreversible transaction, transactions that have the impossibility of going back once they have been made. But what does this feature mean for users? And more importantly, what level of security does everyone who uses this system guarantee? Well, all that and much more you can find out in this interesting article.

Sand you are already somewhat familiar with the world of cryptocurrencies, , perhaps you already know one of the most important characteristics in them, we are talking about the irreversible transaction. This means that, as a general rule, There is no way to go back a transaction, you cannot call any authority or the police to cancel a transaction already confirmed.

But surely you wonder, How is this possible ?, and Is a system interesting without the possibility of canceling transactions ?. To this and a few more questions we will answer in this article. As we know, every time a cryptocurrency transaction is made it is transmitted to the network of miners. They are the ones who will be in charge of validating it and for this they will take our transaction together with others and add them in a block. Once the block is generated and validated, the transaction can be said to have been committed.

Additionally, this process is repeated as new blocks are generated and added to the verified history of the blockchain. What's more, each new block created is a new commit received by previously committed transactions. It is precisely this incremental process of confirmations, and how the blockchain is structured, that makes the transactions irreversible.

But a transaction with a single confirmation can be reversed if you have the computing power necessary to do so. SoHow many confirmations do I have to wait to consider an irreversible transaction? For example, in the case of Bitcoin, It is recommended to wait 5 to 6 confirmations to safely consider a transaction. Once this point is reached, we can say that the Bitcoin network has irreversibly validated our transaction. Other cryptocurrencies also have a similar process, such as the case of Ethereum where it is recommended to wait for the 20 confirmations to make sure of the irreversibility of the transaction that we have made.

Digital Certificate Ethereum 101 Course Medium levelIn this Ethereum 101 Course you will deepen your crypto knowledge by entering the Ethereum ecosystem and knowing everything about its characteristics, evolution and tools. Free 15 lessons Start now

Why are transactions irreversible?

If we take a look at some articles related to the development of decentralized electronic money, we can see that one of the biggest problems that arose was the double-spending. This is a type of attack where people could use and spend the same amount of money on more than one occasion.

The creation of Bitcoin was a challenge to avoid this type of attack because it is digital money. To avoid this attack Satoshi Nakamoto He developed several protection schemes creating the blockchain, which thanks to elements such as proof of work or dynamic difficulty of testing, gave this result.

Nakamoto explained that while there could be certain attacks that could surpass the security of the Bitcoin blockchain, waiting for a series of confirmations by the network would give full assurance that the transaction cannot be reversed.

The idea of ​​waiting for more confirmations to ensure the irreversibility of a transaction became more apparent with the discovery of certain attacks. Below we will explain some of them, how they work and how to protect ourselves from them.

Types of Attacks against irreversibility of transactions

Race Attack

When we make or receive a transaction in Bitcoin with 0 number of confirmations, the operation can still be reversed. This attack occurs when two transactions are made from the same funds, that is, the same amount of money is sent to two different people. But only one of them will receive the funds, while the other will not.

For example, the attacker can send 2 transactions, one for you and one for him, and in which he goes to put a higher commission for the miners. Normally miners will prioritize the transaction with the highest commission, overriding the other.

To protect themselves and reduce the risk of this type of fraud, users and merchants can choose to disable inbound connections and only choose specific outbound connections. Although this measure does not eliminate the risk completely, it can reduce the possibility of being the subject of one. In this way, the fact that it is an irreversible transaction can be protected.

Finney Attack

This is another type of attack that we can be exposed to if unconfirmed transactions are accepted. Although the finney attackDue to its complexity, it is quite expensive and difficult to carry out and must be executed by a miner once a new block is generated. Since it must add repeated transactions continuously to the block. However, as with the race attack, users and merchants should consider the risk of accepting payments with yet unconfirmed transactions. Hence, again the importance of accepting transactions with 6 or more confirmations to see them as an irreversible transaction.

Vector Attack 76

Also know as confirmation attackThis consists of the combination of the Run attack and the Finney attack, where the executor can still reverse a transaction with a single commit. And so use the funds twice. Although users and merchants can reduce the risk of suffering this attack with the same measures explained in the career attack. Disabling incoming connections and using only specific outgoing connections, in addition to considering a secure payment that with 5 or 6 confirmations.

Brute Force Attack

This attack can be executed even when the receiver has decided to wait for a certain amount of confirmations. It consists of an attacker making a transaction to a user as payment for a product. And simultaneously look for a variation of the blockchain where to include the fraudulent transaction. After the receiver receives a certain amount of confirmations about the received transaction, he ships the product. And if at that point the attacker has received more confirmations than the merchant, he breaks the variation of the blockchain and recovers his funds.

It is important to note that the execution of this attack is extremely expensive, and its chance of success is quite low without sufficient hashing speed and power. So it is only possible to carry out the attack on a theoretical plane.

51% attack (majority)

And the famous 51% attack, consists of a person or a coalition achieving 51% (more than 50%) of the hash power of the network. With which he would manage to control her. Thus, for example, carrying out a brute force attack would be 100% feasible.

This is because the attacker would have control over the network and could generate blocks more frequently than the rest. Preserving its variation of the blockchain until it is longer than the original. Although theoretically the possibility exists, in practice many believe that in Bitcoin it is practically impossible to execute this type of attack today.

How do you make a transaction irreversible?

Once the transactions are added within a valid block on the blockchain, it is updated and reflects the new data. Thus, the added data is mathematically related and linked to the previous records integrated in the blockchain, so they cannot be modified.

In addition, cryptocurrencies being a decentralized system, do not have a central entity that operates, controls and verifies them. Rather, it employs a consensus among all nodes. connected that are guided by the same protocol and a Proof of Work (PoW). Thus, any modification made will be detected by all the other connected nodes and rejected immediately.

Blockchain technology also operates under a set of algorithms that ensure that the recording of transactions is carried out transparently and continuously. In addition, this registry is organized chronologically from the beginning and is available to all nodes on the network. Bitcoin's protocol is also open source. So anyone who wants to can review it, audited it and check that it works as it should be.

User protection

The fact that the transactions of cryptocurrencies such as Bitcoin are irreversible, does not represent an impediment for this system to be used as a means of payment. So it does not represent a problem for a merchant or a user.

As a first option you can use a custody service. Where a certain amount of money will be guarded by a third party, and released once certain conditions are met. They can also be used together with multi-signature smart contracts. Where the keys of several users are required to authorize a transaction.

Finally, it is possible to reach an agreement with a merchant to make a money back. This, if any external inconvenience occurs that prevents the user from receiving a purchased product. For example, if Juan wants to buy a product, he makes a Bitcoin transfer to the store. The store owner expects a certain number of confirmations, and when he receives them, he sends the product to Juan through an agency.

But the agency suffers an inconvenience for which the product is not delivered to Juan, he reports it to the store and prepares the compensation. So the store contacts Juan, explains what happened and proposes that he wait or give him money back. Juan accepts the return, so the store immediately returns the amount paid. So Juan has his bitcoins back.

What advantages do an irreversible transaction offer?

One of the main advantages of irreversibility of transactions is that this process avoids many fraudulent practices. In fact, transaction reversal fraud, or chargeback fraud, costs companies about $ 4.000 billion.

But, surely you are wondering, What is the chargeback?. Well, chargeback is the ability of a system to reverse a transaction, returning or refunding payment to a user due to a problem with the product or service you have purchased.

At this point, the chargeback may sound fair, and to some extent it is. But its misuse costs big and small businesses a lot of money. To avoid this type of situation, various trust mechanisms have been created. For this, third parties are used to ensure compliance with the obligations of each of the parties. But these mechanisms are expensive and this is reflected in the price of what we buy. For example, if you go to an online store and buy an item, when paying for it using an electronic means, that product may already have a surcharge on its price due to the percentage of fraud they suffer.

To avoid this Bitcoin and cryptocurrencies offer the irreversibility of transactions. By doing so, both parties can benefit. On the one hand, the seller does not have to make a surcharge on the price of the product, which allows the buyer to buy what he wants at a lower price. It also enables fairer options to resolve warranty problems for defective products or products in poor condition if they exist.

In short, irreversible transactions rather than bad characteristics of cryptocurrencies, is something that can definitely help everyone to have a better trading experience.

Basic mining guide Free What better way to get bitcoins than creating them yourself. In this simple guide we show you how to do it. Do not lose this chance! Download

Download the basic guide on Mining for free

Receive in your email the PDF with the basic information.

  • What is an irreversible transaction in cryptocurrencies? (5)

Share this article!

What is an irreversible transaction in cryptocurrencies? (6)

What is an irreversible transaction in cryptocurrencies? (7) Author

Jose Segura

Engineering Department Coordinator

José Segura works as a problem solver in Bit2Me's IT team, where he started as Lead Engineering Manager and currently coordinates the entire department.

Read more

What is an irreversible transaction in cryptocurrencies? (2024)

FAQs

What is an irreversible transaction in cryptocurrencies? ›

For cryptocurrency transactions, this means once a transaction is confirmed, it cannot be reversed or undone by any party, including the sender, recipient, or even the network itself. 1. Decentralization.

What is an irreversible transaction? ›

Once a transaction is confirmed on the blockchain, it becomes permanent and can neither be canceled nor reversed.

When should a transaction be considered irreversibly confirmed in Bitcoin? ›

By entering the transaction ID into the explorer, one can see the number of confirmations it has received. Once a transaction has six or more confirmations, it is widely regarded as irreversible.

What is irreversibility in blockchain? ›

In Bitcoin's case, the blockchain is decentralized, so no single person or group has control—instead, all users collectively retain control. Decentralized blockchains are immutable, which means that the data entered is irreversible. For Bitcoin, transactions are permanently recorded and viewable to anyone.

How many confirmations in the Bitcoin network is the transaction considered irreversible? ›

Bitcoin transactions are usually considered final after six network confirmations. At that point, it becomes almost impossible for an attacker to reverse your transaction.

Why are crypto transactions irreversible? ›

Blockchain transactions are linked to every transaction record that came before them, which means that any blockchain record cannot be changed once it is entered.

What are non reversible transactions? ›

Nonreversible: This indicates that the activity cannot be reversed by any other activity. It describes the behavior of other activities toward the activity.

How many confirmations are needed to be considered irreversible? ›

For this reason, transactions typically require several (three or more) confirmations before they're considered final or irreversible. As for how long a single transaction confirmation takes, it depends on the specific blockchain.

Can a crypto transaction be reversed? ›

No, Bitcoin and other cryptocurrency transactions are designed to be irreversible. Consequently, it is not possible to reverse or cancel cryptocurrency transactions.

Can a Bitcoin transaction be reversed after 1 confirmation? ›

When a transaction is added to the blockchain, it is confirmed by network participants, or miners, who validate and secure the transaction data. Once confirmed, the transaction is permanently recorded on the blockchain, and altering or reversing it becomes impossible.

What is an example of irreversibility? ›

One of the most common examples of irreversibly is in mechanical processes where there is friction. The energy dissipated by friction is often dissipated as heat, perceptibly lost to the surrounding environment.

What are some disadvantages of Bitcoin's irreversibility? ›

Answer. Disadvantages of Bitcoin irreversibility include susceptibility to scams, difficulty in fraud protection, and challenges in recovering stolen funds, although significant precautions can enable large transactions, and the vulnerability to theft is dependant on personal security measures.

What is meant by irreversible process? ›

An irreversible process is a thermodynamic process that departs from equilibrium. In terms of pressure and volume, it occurs when the pressure (or the volume) of a system changes dramatically and instantaneously that the volume (or the pressure) do not have the time to reach equilibrium.

How long can a Bitcoin transaction stay unconfirmed? ›

If you set your Bitcoin Transaction Fee too low it can remain unconfirmed for days or even months. If the network is continuously busy – especially during bull markets – and the fee you set is lower than everyone else then it won't get confirmed until things cool down, but this can take a long time!

Can a Bitcoin transaction be stuck forever? ›

If your transaction isn't time sensitive and you can wait a while, then you may want to consider just waiting for your transaction to confirm. In most cases, transactions confirm within 72 hours. If your transaction doesn't confirm within 72 hours, then don't worry - your transaction won't be stuck forever.

What happens to all unconfirmed transactions in blockchain? ›

To check your transaction status or progress, you can enter the transaction ID, receiving address, or sending address on any blockchain explorer. Note that transactions that remain unconfirmed for too long can be completely ignored by the network or dropped from the mempool and returned to the user's wallet.

What is an example of a reversal transaction? ›

Example of a reversal transaction

A customer sees the jeans on your online store and attempts to make the purchase, but is then told that the jeans are no longer available in their size. While the payment is still pending but has not yet been taken, the customer requests to cancel the transaction.

Is bank transfer irreversible? ›

Generally, once a wire transfer has been sent, it cannot be reversed. The funds are considered to be the property of the recipient and the transfer is final.

Is a reversed transaction a refund? ›

In a refund, the merchant returns the money to the customer's account, and the transaction is considered completed. In a reversal transaction, the bank or payment processor cancels the transaction, and the funds are not transferred from the customer's account to the merchant's account.

Why would a bank reverse a transaction? ›

Payment reversal definition

The purchase was made fraudulently. The customer changed their mind about the purchase after paying. The item differed to the description given. The vendor charged an incorrect amount for the item.

Top Articles
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 6517

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.