Virtual Coin Development topic (How to find the counterfeit coins that have been confirmed by transfer 0)

Source: Internet
Author: User
Blockchain Enthusiast (qq:53016353)
If you use your wallet to transfer money to others, but you have been 0 to confirm that you have not reached the account, the transaction record is not found in the Block browser. You can use the method to retrieve those cards in 0 confirmed coins. This article takes the security currency as an example. Other coins Please select the data directory of the corresponding currency according to the different currency.


Prepare backup wallet files in advance (backup wallet is essential)


Point file, Backup wallet, and save it in a safe location.


Methods 1:salvagewallet Method


1 Creating a Wallet software shortcut


Go to the installation directory of the Wallet software, right-click on the Wallet software, select "Create Shortcut", or "Send to", "Send to Desktop". Both of these methods are available. The first method is to create a shortcut to the current directory, and the second is to create a shortcut to the desktop.


\


2 Modifying the way software runs in shortcuts


Right-click on the shortcut you created and select "Properties". You can now modify some of the parameters of this shortcut. We need to make the following changes:


A, click "General" to change the name of this shortcut to "repair wallet". This shortcut only runs when the wallet needs to be repaired, normally open the wallet in the usual way.


B, click "Shortcut" to find the text box after "target". Inside is the path to the file where your wallet can run. Add a command after the ***coin.exe.


-salvagewallet


Note: A space is required in front of the 1,-. 2, if you have a shortcut behind the ", do not delete it, directly after the above command to add it."


\


Then click Save to confirm the save.


If you encounter a long 0 confirmation card, use this shortcut to start the wallet to repair the wallet. Because the wallet software needs to crawl transactions from the chunk data, you may need to wait 1 to n minutes depending on the chunk data size. If the middle of your wallet shows no response, it's because the wallet file is busy. Please do not close it. Please give him patience, time and love.


PS, because the use of the source code is too old, does not support the-salvagewallet command. So the dog coin can only be repaired in a more dangerous way 2.




Method 2: Export the private key method (do not let anyone know the private key)


1 Export wallet Address private key

Click Help, Debug Window--Console to enter the Wallet console interface.


\


If your wallet is encrypted, use the console input command to temporarily decrypt the wallet for 60 seconds.

Walletpassphrase Wallet Password 60

Then we start exporting the private key, console input command:

Dumpprivkey Wallet Address

A string of code that appears after you press ENTER is the private key. Save the private key to a text file, wait for it to be used (it is recommended not to save to the hard disk, open a Notepad, and then paste it in). If you have more than one wallet address, execute the above command multiple times. Warning: Because the private key address is critical, having a private key can turn all the money in the wallet away, even if the wallet is encrypted to go away. So do not disclose the private key address to others.

2 Delete the original wallet file

Exit the secure currency wallet software.

Open the Windows Start menu, enter%appdata% in the run, open a new directory, find the data directory in the security currency (other currencies, please find the corresponding Currency Data folder) into.

\


After entering, find the Wallet.dat (wallet file) and rename it to Wallet_old.dat

3 Import the private key that was exported before

Re-open the wallet of the security coin. At this point you will find that the security coin has automatically generated a new wallet file, the security coin wallet also has a new address. Now all we have to do is use the private key to import the old address.

Enter the console again and enter the following command:

Importprivkey Private Key Temp True

\


This time the purse will be stuck for a while, because the wallet is looking for transactions related to this wallet address from the data link. When this process is complete, you will find that your currency is back in your wallet and can be transferred to others.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.