dogecoin/dogecoin — pull request #187 by dooglus (2014-02-01 16:10:28+00:00)
Title: Allow a fixed list of change addresses.

Almost every transaction out of a dogecoin wallet makes a new change address in the wallet for 'change'. After a while a heavily used wallet gets very big and starts consuming all available CPU as it scans incoming transactions against an every-growing list of change addresses.

This pull request allows the user to specify a finite number of change addresses in dogecoin.conf and have transactions out of the wallet send change to one of the specified addresses at random.

In dogecoin.conf, specify 1 or more addresses, like this:

change=Daddress1
change=Daddress2
[etc.]

If no change addresses are specified, dogecoin-qt will fall back to the previous behaviour of making new change addresses per transaction.