Anybody knows how I can get rid of a bunch of unconfirmed transactions from three weeks ago? They are staked coins that were never confirmed.
Any ideas?
Your best bet is to export the private keys for all your accounts and then import them into a new wallet.
Unfortunately, there is no garbage collection in the wallet for unconfirmed transactions, although it may be an interesting idea for a filter (i.e. don't show unconfirmed transactions older than x days).
- You can find the addresses associated with with listaccounts in the console (although the values for each account may not be correct in this listing--this is a bug we are working on).
- Then, for each account, do getaddressesbyaccount.
- Then, for each address in the list, do a dumpprivkey. Note that your wallet must be unlocked for this command.
- Then, import each of these private keys into a fresh wallet with importprivkey. Only transactions that have made it into the block chain will appear.
This may be a lot of work depending on the complexity of your prior transactions. You will probably want to reconstruct your address books, both for your sending and receiving addresses.
If you want to wait, we can add an automatic filter in a later release.