1. Use vanitygen to create a key/address pair. 2. Send bitcoins to the address from your Core wallet. 3. Import the private key to the Core wallet (with rescan). 4. Observe transaction list still shows merely the send. 5. Restart the client. 6. Observe the transaction list now shows payment-to-self correctly. Expected behaviour: The rescan should change the transaction immediately. Not sure if this affects RPC, but it does at least the GUI. Moved from bitcoin/bitcoin#9421.