make sure balances are recalculated
Declared in <wallet/transaction.h>
<wallet/transaction.h>
void MarkDirty();