bitcoind bulk import private keys to different wallets and update with one rescan I was wondering if someone already has this thoughts or problems:

I generate bitcoin addresses and private keys by a script - to not depend on the bitcoin daemon and manage them in a database. By generating the bitcoin addresses, I generate one address and also select a wallet name by some criterias.

BITCOIN ADDRESS | PRIVATE KEY | WALLETNAME 

After a specific time i want to import the private keys to the given wallets ("WALLET NAMES") (to the wallets defined in the database before.)

I do this import with importprivkey without a rescan. I was wondering if it's possible to import the private keys to the wallets and to rescan one time and update all wallets with this one rescan to avoid for every wallet a explicit rescans each one and a half hour time.

Is it possible to import the private keys rescan=false and after this to run bitcoind with all wallets loaded and do the rescan which should be affecting all the wallets and update all of them in one rescan?

Has anyone thought about this before and has a solution for this?
You really should use the newer importmulti RPC.

It lets you import multiple private keys at once (and since 0.18, also supports BIP32 derivation etc), and will do the rescan (if desired) once for all keys simultaneously.

If you have accurate birthday information for your keys (a lower bound on the time when the corresponding addresses might be first used on the network), importmulti will even only rescan the relevant part of the chain.