I use Bitcoin Core v28.0.0 and just recently merged my legacy wallet to a new descriptor wallet standard. The new wallet.dat of the descriptor wallet will be stored at a save place. In order to keep track of my wallet, I would like to create a watchonly wallet.
I have created a new, empty wallet with private keys disabled. Next, I have imported two descriptors with the command
importdescriptors
for wpkh (Pay-to-witness-pubkey-hash scripts), one with
"internal\": false,
for the receiving addresses and
"internal\": true,
for the change addresses.
The problem: Because this is a merged legacy wallet, the new watchonly will only cover the new, future transactions. This is good, but I also want to cover all the history, legacy transactions included.
How can I accomplish this? Is there a descriptor that covers all the legacy wallet transactions, that I can import?