10

For every transaction I wanted to get, I was creating a new address, but soon I realized that there is just no way to delete all these addresses from the UI.

To make it clear, here is a picture:enter image description here

I am using Bitcoin-Qt

Is there an easy way to delete all these addresses?

makerofthings7
  • 12,656
  • 11
  • 60
  • 129
Salvador Dali
  • 3,320
  • 7
  • 30
  • 49
  • 2
    I know that it's not the same client you are using, but I've just noticed that the Blockchain.info wallet allows you to 'archive' addresses. Which hides addresses from the main view, putting them in an 'Archived' tab on the 'Receive Money' page. Just thought I'd pass along the message. :) – smickles Nov 21 '12 at 16:54

4 Answers4

9

I don't think it's possible to delete addresses from just the UI.

You can delete addresses completely using Pywallet. However, unless you back up the key first, this means that you will not have access to any coins sent to these addresses (either future coins or existing coins which have not moved elsewhere).

The many addresses will be more manageable if you label them. You can even simply label each as "Z" to put them at the end of the list when sorted by label.

Meni Rosenfeld
  • 19,650
  • 35
  • 70
4
  1. Archive all the priv keys that you want to save. Close bitcoin-qt.
  2. Delete wallet.dat.
  3. Open bitcoin-qt.exe again.
  4. Import keys that you have dumped before.
2

I found using the the command-line option datadir extremely helpful. Backing up everything first is of course advised. Once you specified a new datadir, a new wallet is created in this datadir. Then use one of the new addresses of the new wallet and transfer the funds from the old wallet to it.

Delete the old wallet in the old datadir and copy over the new wallet.dat. Works for me :)

If there is a particular address that you would like to keep, working with dumpprivkey and importing should work.

benjamin
  • 121
  • 2
2

The only way I know of Is to use something like Pywallet, as Meni mentioned.

However, I would like to point out that it is best practice to create a new address for each transaction.

If you are concerned with not being able to find a particular address, you should take care to label all your address in a useful manner at the time you create them. Once labeled, they are searchable.

smickles
  • 440
  • 2
  • 8
  • 2
    the point is not in finding an address, but mostly in the problem that as time will go, I will have more and more of them. So I thought that it is possible to delete some. – Salvador Dali Nov 18 '12 at 20:01
  • My humble suggestion, then, is to not be concerned about how many you have. A well used wallet will have a mountain of receiving addresses, and that is a good thing for the security of your bitcoins. – smickles Nov 18 '12 at 20:19