threefoldtecharchive / rivine

Blockchain technology for creating custom chains.
Apache License 2.0
22 stars 12 forks source link

merge defrag feature over from Sia/Wallet #423

Open GlenDC opened 6 years ago

GlenDC commented 6 years ago

extended feature task, flowing out of #309

Certainly not as important (for now) compared to the other wallet merges.

In a nutshell, the defrag feature introduces the concept of value dust. Meaning that any output which value is below that dust-value threshold, is considered dust (in other words: nothing you would want to spend in regular value transactions). Dust has to be cleaned up however, and that is done on a separate thread in the background, when sufficient dust is collected, it is merged into an address of the primarySeed as one big unspent output.

It's in interesting concept, and would certainly prevent miner payouts to be piling up, as well as transaction fees, but really important they are not.

GlenDC commented 6 years ago

@robvanmieghem please let me know if you want this feature to be "merged" over as well. If not, I would just keep it onto the backlog for now.

robvanmieghem commented 6 years ago

It seems like a useful feature but indeed not urgent