- Use vanitygen to create a key/address pair.
- Send bitcoins to the address from your Core wallet.
- Import the private key to the Core wallet (with rescan).
- Observe transaction list still shows merely the send.
- Restart the client.
- 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.