I want to use importmulti
to import 100 addresses from an xpub descriptor.
If I set keypool: true
as one of the arguments the keys get added to the keypool.
How does the wallet prioritise which keys it generates when calling getnewaddress
? Will it prioritise the imported addresses or do I have to request the imported address via the label
argument in getnewaddress
? What if I don't add a label
argument to the importmulti
command?