Bitcoin Forum
May 05, 2024, 04:01:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to remove watch-only address from wallet  (Read 229 times)
btc123thatthere (OP)
Member
**
Offline Offline

Activity: 131
Merit: 29


View Profile
May 18, 2019, 03:51:01 AM
 #1

Hi there

Using Bitcoin Core v0.18.0 and Qt v5.9.7, I had no problem using importaddress to view an address under the Watch-only balance, but I can't find a command to remove it. How can I remove it? (without using another program or different wallet file.)

Thanks
1714924880
Hero Member
*
Offline Offline

Posts: 1714924880

View Profile Personal Message (Offline)

Ignore
1714924880
Reply with quote  #2

1714924880
Report to moderator
1714924880
Hero Member
*
Offline Offline

Posts: 1714924880

View Profile Personal Message (Offline)

Ignore
1714924880
Reply with quote  #2

1714924880
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
May 18, 2019, 04:02:41 AM
 #2

You cannot delete things from a wallet file. Deletion is not a supported operation.

btc123thatthere (OP)
Member
**
Offline Offline

Activity: 131
Merit: 29


View Profile
May 18, 2019, 04:22:42 AM
 #3

Is there a way to ignore transactions from a particular Watch-only address?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 18, 2019, 04:37:52 AM
 #4

A possible solution (assuming it is an HD wallet) would be to revert to a backup of the wallet.dat before you imported the address...

 

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
abhiseshakana
Legendary
*
Offline Offline

Activity: 2226
Merit: 2229


From Zero to 2 times Self-Made Legendary


View Profile WWW
May 20, 2019, 04:31:13 PM
 #5

Hi there

Using Bitcoin Core v0.18.0 and Qt v5.9.7, I had no problem using importaddress to view an address under the Watch-only balance, but I can't find a command to remove it. How can I remove it? (without using another program or different wallet file.)

Thanks

A while ago, I removed some address (watch-only addresses) from my QT wallet that appears when I ran a personal server for electrum wallet. It might not be what you expected, because I did use a new wallet.dat file after removed (renamed) the old wallet.dat (But maybe you want to know it)


- Copy and save your entire private key from the addresses that contain UTXO or an address's private key that you want to keep (use dumpprivkey "address" via console). You might need to enable coin control features to see the UTXOs list.
- Or you can move the all of UTXO to the one specific address, so later you merely need to import one private key only.
- Don't forget to back up the wallet.dat (it may also help you to retrieve the old wallet data if something goes wrong)
- Then shutdown the bitcoin-qt and rename/delete the walllet.dat from Bitcoin data directory
- Start the bitcoin-qt and import the private keys that you saved before (use importprivkey "privkey" "label" false via console)
- For the latest private key use importprivkey "privkey" "label" (without "false" parameter, so it will rescanning the whole address (transactions))

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!