The new `getrpcinfo` shows a list of the active commands and the duration each command has been running. This sounds like a good place to report a completion percentage for any command doing a blockchain rescan, to solve [this problem](https://bitcoin.stackexchange.com/q/83236/90721).
WALLET_FLAG_KEY_ORIGIN_METADATA = (1ULL << 1),
    
    WALLET_FLAG_DISABLE_PRIVATE_KEYS = (1ULL << 32),
    
    
    
    
    
    
    
    
    
    
    WALLET_FLAG_BLANK_WALLET = (1ULL << 33),
};
static constexpr uint64_t g_known_wallet_flags = WALLET_FLAG_DISABLE_PRIVATE_KEYS | WALLET_FLAG_BLANK_WALLET | WALLET_FLAG_KEY_ORIGIN_METADATA;
class CKeyPool