Important of Steemit: How to Cancel a transaction Bitcoin.

Everyone knows that the abolition of bitcoin transactions #impossible. The irreversibility of transactions is one of the distinctive features of peer cash system - in contrast to the centralized payment systems. At one time, developers Bitcoin Core were going to make a change in the client, which would allow to edit the transaction is not accepted in the unit in order to change the commission, but this functionality is not yet implemented. And yet, even now in specific conditions and at a sufficient desired cancel transaction is possible.

This article is the description of the experiment, the purpose of which was to check with how low commissions can successfully send bitcoins to the #Bitcoin Core purse. The experiment was unsuccessful and led to the fact that five transactions sent from a variety of settings in the purse of the commissions "stuck." Then the experimenter was able to cancel the transaction hung with the return of the blocked amounts.


It is not necessary to send the transaction

The first 2 transactions have tried to send a minimum commission exposed to 0,00001 BTC and click the "Try to send a commission-free, if possible."

Please note, the client is recommended to set 0,00013615 BTC per kilobyte. But for the remaining three transactions, each of which has the same amount of BTC 0.01, recommendation regarding the size of the commission was ignored, and the commission rate deliberately exposed to less than recommended.

It turned out that all five transactions stuck without a confirmation indefinitely. In this case, for a week.

Additional disadvantage was the fact that the address to which were sent bitcoins, in turn, could not be used for sending bitcoins. Trying to make a transfer accompanied by the message: «Oops! You have unconfirmed deposits pending. You must wait for your deposits to be confirmed before withdrawing. »

If you are familiar with the situation, there is no reason for panic. For starters, you can wait a while. If all transactions will resolve, perhaps, in the end, it will reach the turn to your. If you wait unnecessarily delayed - as in our case, for a week, you can try to make a purse - it was done here by the example of Bitcoin Core - "forget" about the placed transactions. After all, as long as it's the first confirmation - a transaction was not included in the unit, which means it only knows about your client.

How to roll back the transaction deadlocks

  1. Make sure that the transaction is hung. Open the Block Explorer and verify that the transaction hovering about there do not know anything, and the money in the account actually is. Even if blockchain.info shows the transaction and draws a red button unconfirmed_transaction, all is not lost.
  2. In the wallet, go to the debug console (Help - Debug window - Console)
  3. If the wallet is encrypted, it is first necessary to be accessed using the command walletpassphrase <passphrase>.
  4. Now we need to get the private key of the desired address. dumpprivkey <address>. Instead of <address> is necessary to substitute the address was used to send the funds. As a result, you get a private key for the specified addresses. It must be somewhere to be copied, it will be needed. If the transaction was integral, and bitcoins were taken from multiple accounts, then it is necessary to export the private key to all these addresses. Never store private keys accessible to anyone place. Knowledge of key gives full access to its corresponding account. Also, note that for every command in debug mode in the console answer comes. It may be empty, but it is always there.
  5. If other addresses have bitcoins, the private keys of these addresses as you want to export.
  6. Once finished export keys, close the client and remove a purse. Location purse (wallet.dat) depends on the client and operating system. Naturally, absolutely remove it is not necessary, it is better to rename or move to a safe place.
  7. Now restart the client. It will recreate the wallet. It is necessary to import the key obtained previously (keys). We go into the debug console and write importprivkey <privkey>. Import can take a long time, but in any case let it end - wait for a response to the command.
  8. The new account should appear wallet with his real condition. Uncommitted transactions "forgotten", the funds blocked previously available again to send. Now you can send them again, but this time do not forget to include the commission recommended.

For the client, where there is no calculation of the functional commissions recommended size, you can use the service Blocktrail. Customers who not only does not show, but does not provide an opportunity to put the size of the commission, you can use at your own risk.

Cancel Stalled transactions sent by other purses than Bitcoin Core, it is done the same way. It is important to export the private key from all the addresses involved in the transaction, and where bitcoins are present, and then re-create the wallet - it may have to delete the directory where the program-purse stores data, and then import the private keys in the newly created wallet. The decision does not apply to the cloud purses.


With you was Vyacheslav Smirnov.

Follow me on #Steemit

An article that might interest you: THOUGHT: Will Bitcoin Worth $1.000.000? Yes, and here's why

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.031
BTC 59559.24
ETH 2523.49
USDT 1.00
SBD 2.42