Skip to content

wallet defragmentation

Ava Howell requested to merge wallet-defrag into master

This PR introduces wallet defragmentation, in order to solve the problems noticed by some users, notably Poloniex, where wallets with many outputs would fail to send coins with transaction too large. This PR adds defragWallet(), which is called after every block and sends the sum of the 15 largest outputs to itself.

Merge request reports