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).
{
    
    if (!pwallet->GetBroadcastTransactions()) return false;
    
    if (IsCoinBase()) return false;
    
    if (isAbandoned()) return false;
    
    if (GetDepthInMainChain(locked_chain) != 0) return false;
    
    CValidationState unused_state;
    if (!InMempool() && !AcceptToMemoryPool(locked_chain, unused_state)) return false;
    
    if (!pwallet->chain().p2pEnabled()) return false;
    
    pwallet->WalletLogPrintf("Relaying wtx %s\n", GetHash().ToString());
    pwallet->chain().relayTransaction(GetHash());
    return true;
}
std::set<uint256> CWalletTx::GetConflicts() const