Add option to avoid spending unconfirmed change
Merge pull request #3651

1bbca24 Add option to avoid spending unconfirmed change (Wladimir J. van der Laan)