zapwallettxes currently loses wallet transaction meta data information like:
- vOrderForm
- strFromAccount
- nOrderPos
- ...
This pull stores all wallet transaction meta data before erasing the transactions, and then restores this information after rescan. Only to those transactions being recovered by rescan obviously.