Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: walletrecovery on March 25, 2023, 07:50:41 AM



Title: Help Me to clear BitcoinCore of trash!?
Post by: walletrecovery on March 25, 2023, 07:50:41 AM
https://i.ibb.co/rbn1XMF/Question.jpg (https://ibb.co/xmVRrGX)


Title: Re: Help Me to clear BitcoinCore of trash!?
Post by: nc50lc on March 25, 2023, 08:31:39 AM
Those are saved in your wallet.dat file so if there are transactions listed there, those txns were previously sent/received with that wallet.

If you want you can export the wallet's "hdseed" from dumpwallet and then use sethdseed command to import it to a new 'blank' 'non-descriptor' wallet.
The new wallet will have the same keys but wont contain any transactions until it synced.
Alternatively, you can import the dump file with importwallet command.

If it's a descriptor wallet, export the private descriptors via listdescriptors true command.
Then import those to a new 'blank' 'descriptor' wallet via importdescriptors command on each descriptor.

Anyways, those transactions should reappear once the wallet is synced so I can't see the reason on doing this.


Title: Re: Help Me to clear BitcoinCore of trash!?
Post by: LoyceV on March 25, 2023, 08:36:20 AM
If you want you can export the wallet's "hdseed"
It's not a HD-wallet (see icon bottom right).

Quote
Anyways, those transactions should reappear once the wallet is synced so I can't see the reason on doing this.
Agreed. Just let it sync first.


Title: Re: Help Me to clear BitcoinCore of trash!?
Post by: nc50lc on March 25, 2023, 12:10:19 PM
It's not a HD-wallet (see icon bottom right).
Oh, thanks, I missed the slashed 'HD' icon.
Then he can only do the "alternative method" below it if he somehow feel that it's necessary.


Title: Re: Help Me to clear BitcoinCore of trash!?
Post by: litecoin_messiah on March 25, 2023, 10:57:35 PM
Listreceivedbyaddress


Title: Re: Help Me to clear BitcoinCore of trash!?
Post by: walletrecovery on March 26, 2023, 08:44:52 PM
Listreceivedbyaddress

I thought that in the folder with the program there is some kind of dirty file that can be deleted so as not to see this garbage.